2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
5 # Report bugs to <libsanitizer>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and libsanitizer about
278 $0: your system, including any error possibly output before
279 $0: this message. Then install a modern shell, or manually
280 $0: run the script under such a shell if you do have one."
286 SHELL
=${CONFIG_SHELL-/bin/sh}
288 # Unset more variables known to interfere with behavior of common tools.
289 CLICOLOR_FORCE
= GREP_OPTIONS
=
290 unset CLICOLOR_FORCE GREP_OPTIONS
292 ## --------------------- ##
293 ## M4sh Shell Functions. ##
294 ## --------------------- ##
297 # Portably unset VAR.
300 { eval $1=; unset $1;}
304 # as_fn_set_status STATUS
305 # -----------------------
306 # Set $? to STATUS, without forking.
314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
324 # Create "$as_dir" as a directory, including parents if necessary.
329 -*) as_dir
=.
/$as_dir;;
331 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
335 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 as_dirs
="'$as_qdir' $as_dirs"
339 as_dir
=`$as_dirname -- "$as_dir" ||
340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341 X"$as_dir" : 'X\(//\)[^/]' \| \
342 X"$as_dir" : 'X\(//\)$' \| \
343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
362 test -d "$as_dir" && break
364 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
365 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
370 # as_fn_executable_p FILE
371 # -----------------------
372 # Test if FILE is an executable regular file.
373 as_fn_executable_p
()
375 test -f "$1" && test -x "$1"
376 } # as_fn_executable_p
377 # as_fn_append VAR VALUE
378 # ----------------------
379 # Append the text in VALUE to the end of the definition contained in VAR. Take
380 # advantage of any shell optimizations that allow amortized linear growth over
381 # repeated appends, instead of the typical quadratic growth present in naive
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
384 eval 'as_fn_append ()
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
408 as_val
=`expr "$@" || test $? -eq 1`
413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414 # ----------------------------------------
415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
417 # script with STATUS, using 1 if that was 0.
420 as_status
=$1; test $as_status -eq 0 && as_status
=1
422 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 $as_echo "$as_me: error: $2" >&2
426 as_fn_exit
$as_status
429 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
430 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
436 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
442 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
448 as_me
=`$as_basename -- "$0" ||
449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450 X"$0" : 'X\(//\)$' \| \
451 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 # Avoid depending upon Character Ranges.
468 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
469 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
470 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
471 as_cr_digits
='0123456789'
472 as_cr_alnum
=$as_cr_Letters$as_cr_digits
475 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
476 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
477 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
478 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
479 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495 chmod +x
"$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
498 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499 # already done that, so ensure we don't try to do so again and fall
500 # in an infinite loop. This has already happened in practice.
501 _as_can_reexec
=no
; export _as_can_reexec
502 # Don't try to exec as it changes $[0], causing all sort of problems
503 # (the dirname of $[0] is not the place where we might find the
504 # original and so on. Autoconf is especially sensitive to this).
506 # Exit status is that of the last command.
510 ECHO_C
= ECHO_N
= ECHO_T
=
511 case `echo -n x` in #(((((
513 case `echo 'xy\c'` in
514 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
516 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
523 rm -f conf$$ conf$$.exe conf$$.
file
524 if test -d conf$$.dir
; then
525 rm -f conf$$.dir
/conf$$.
file
528 mkdir conf$$.dir
2>/dev
/null
530 if (echo >conf$$.
file) 2>/dev
/null
; then
531 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
533 # ... but there are two gotchas:
534 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
535 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
536 # In both cases, we have to default to `cp -pR'.
537 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
539 elif ln conf$$.
file conf$$
2>/dev
/null
; then
547 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
548 rmdir conf$$.dir
2>/dev
/null
550 if mkdir
-p .
2>/dev
/null
; then
551 as_mkdir_p
='mkdir -p "$as_dir"'
553 test -d .
/-p && rmdir .
/-p
558 as_executable_p
=as_fn_executable_p
560 # Sed expression to map a string onto a valid CPP name.
561 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563 # Sed expression to map a string onto a valid variable name.
564 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566 SHELL
=${CONFIG_SHELL-/bin/sh}
569 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
573 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
574 # so uname gets run too.
575 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
580 ac_default_prefix
=/usr
/local
582 ac_config_libobj_dir
=.
589 # Identity of this package.
590 PACKAGE_NAME
='package-unused'
591 PACKAGE_TARNAME
='package-unused'
592 PACKAGE_VERSION
='version-unused'
593 PACKAGE_STRING
='package-unused version-unused'
594 PACKAGE_BUGREPORT
='libsanitizer'
597 ac_unique_file
="include/sanitizer/common_interface_defs.h"
598 # Factoring default headers for most tests.
599 ac_includes_default
="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_subst_vars
='am__EXEEXT_FALSE
643 SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS
644 TSAN_TARGET_DEPENDENT_OBJECTS
645 LIBBACKTRACE_SUPPORTED_FALSE
646 LIBBACKTRACE_SUPPORTED_TRUE
648 BACKTRACE_SUPPORTS_THREADS
649 BACKTRACE_USES_MALLOC
654 SANITIZER_SUPPORTED_FALSE
655 SANITIZER_SUPPORTED_TRUE
656 USING_MAC_INTERPOSE_FALSE
657 USING_MAC_INTERPOSE_TRUE
663 HWASAN_SUPPORTED_FALSE
664 HWASAN_SUPPORTED_TRUE
669 ENABLE_DARWIN_AT_RPATH_FALSE
670 ENABLE_DARWIN_AT_RPATH_TRUE
690 am__fastdepCCAS_FALSE
704 MAINTAINER_MODE_FALSE
728 INSTALL_STRIP_PROGRAM
743 LIBSTDCXX_RAW_CXX_LDFLAGS
744 LIBSTDCXX_RAW_CXX_CXXFLAGS
796 program_transform_name
809 enable_option_checking
811 enable_version_specific_runtime_libs
812 enable_dependency_tracking
814 enable_maintainer_mode
822 enable_darwin_at_rpath
824 with_gcc_major_version_only
827 ac_precious_vars
='build_alias
844 # Initialize some variables set by options.
846 ac_init_version
=false
847 ac_unrecognized_opts
=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name
=s
,x
,x
,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir
='${exec_prefix}/bin'
873 sbindir
='${exec_prefix}/sbin'
874 libexecdir
='${exec_prefix}/libexec'
875 datarootdir
='${prefix}/share'
876 datadir
='${datarootdir}'
877 sysconfdir
='${prefix}/etc'
878 sharedstatedir
='${prefix}/com'
879 localstatedir
='${prefix}/var'
880 includedir
='${prefix}/include'
881 oldincludedir
='/usr/include'
882 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
883 infodir
='${datarootdir}/info'
888 libdir
='${exec_prefix}/lib'
889 localedir
='${datarootdir}/locale'
890 mandir
='${datarootdir}/man'
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\
$ac_option
904 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909 # Accept the important Cygnus configure options, so we can diagnose typos.
911 case $ac_dashdash$ac_option in
915 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
917 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
920 -build |
--build |
--buil |
--bui |
--bu)
921 ac_prev
=build_alias
;;
922 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
923 build_alias
=$ac_optarg ;;
925 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
926 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
927 ac_prev
=cache_file
;;
928 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
929 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
930 cache_file
=$ac_optarg ;;
933 cache_file
=config.cache
;;
935 -datadir |
--datadir |
--datadi |
--datad)
937 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
938 datadir
=$ac_optarg ;;
940 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
941 |
--dataroo |
--dataro |
--datar)
942 ac_prev
=datarootdir
;;
943 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
944 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
945 datarootdir
=$ac_optarg ;;
947 -disable-* |
--disable-*)
948 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
951 as_fn_error $?
"invalid feature name: $ac_useropt"
952 ac_useropt_orig
=$ac_useropt
953 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
958 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959 ac_unrecognized_sep
=', ';;
961 eval enable_
$ac_useropt=no
;;
963 -docdir |
--docdir |
--docdi |
--doc |
--do)
965 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
968 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
970 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
973 -enable-* |
--enable-*)
974 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
977 as_fn_error $?
"invalid feature name: $ac_useropt"
978 ac_useropt_orig
=$ac_useropt
979 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
984 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
985 ac_unrecognized_sep
=', ';;
987 eval enable_
$ac_useropt=\
$ac_optarg ;;
989 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
990 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
991 |
--exec |
--exe |
--ex)
992 ac_prev
=exec_prefix
;;
993 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
994 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
995 |
--exec=* |
--exe=* |
--ex=*)
996 exec_prefix
=$ac_optarg ;;
998 -gas |
--gas |
--ga |
--g)
999 # Obsolete; use --with-gas.
1002 -help |
--help |
--hel |
--he |
-h)
1003 ac_init_help
=long
;;
1004 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1005 ac_init_help
=recursive
;;
1006 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1007 ac_init_help
=short
;;
1009 -host |
--host |
--hos |
--ho)
1010 ac_prev
=host_alias
;;
1011 -host=* |
--host=* |
--hos=* |
--ho=*)
1012 host_alias
=$ac_optarg ;;
1014 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1016 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1018 htmldir
=$ac_optarg ;;
1020 -includedir |
--includedir |
--includedi |
--included |
--include \
1021 |
--includ |
--inclu |
--incl |
--inc)
1022 ac_prev
=includedir
;;
1023 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1024 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1025 includedir
=$ac_optarg ;;
1027 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1029 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1030 infodir
=$ac_optarg ;;
1032 -libdir |
--libdir |
--libdi |
--libd)
1034 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1035 libdir
=$ac_optarg ;;
1037 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1038 |
--libexe |
--libex |
--libe)
1039 ac_prev
=libexecdir
;;
1040 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1041 |
--libexe=* |
--libex=* |
--libe=*)
1042 libexecdir
=$ac_optarg ;;
1044 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1045 ac_prev
=localedir
;;
1046 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1047 localedir
=$ac_optarg ;;
1049 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1050 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1051 ac_prev
=localstatedir
;;
1052 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1053 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1054 localstatedir
=$ac_optarg ;;
1056 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1058 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1059 mandir
=$ac_optarg ;;
1061 -nfp |
--nfp |
--nf)
1062 # Obsolete; use --without-fp.
1065 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1066 |
--no-cr |
--no-c |
-n)
1069 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1070 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1073 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1074 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1075 |
--oldin |
--oldi |
--old |
--ol |
--o)
1076 ac_prev
=oldincludedir
;;
1077 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1078 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1079 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1080 oldincludedir
=$ac_optarg ;;
1082 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1084 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1085 prefix
=$ac_optarg ;;
1087 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1088 |
--program-pre |
--program-pr |
--program-p)
1089 ac_prev
=program_prefix
;;
1090 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1091 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1092 program_prefix
=$ac_optarg ;;
1094 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1095 |
--program-suf |
--program-su |
--program-s)
1096 ac_prev
=program_suffix
;;
1097 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1098 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1099 program_suffix
=$ac_optarg ;;
1101 -program-transform-name |
--program-transform-name \
1102 |
--program-transform-nam |
--program-transform-na \
1103 |
--program-transform-n |
--program-transform- \
1104 |
--program-transform |
--program-transfor \
1105 |
--program-transfo |
--program-transf \
1106 |
--program-trans |
--program-tran \
1107 |
--progr-tra |
--program-tr |
--program-t)
1108 ac_prev
=program_transform_name
;;
1109 -program-transform-name=* |
--program-transform-name=* \
1110 |
--program-transform-nam=* |
--program-transform-na=* \
1111 |
--program-transform-n=* |
--program-transform-=* \
1112 |
--program-transform=* |
--program-transfor=* \
1113 |
--program-transfo=* |
--program-transf=* \
1114 |
--program-trans=* |
--program-tran=* \
1115 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1116 program_transform_name
=$ac_optarg ;;
1118 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1120 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1121 pdfdir
=$ac_optarg ;;
1123 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1125 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1128 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1129 |
-silent |
--silent |
--silen |
--sile |
--sil)
1132 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1134 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1136 sbindir
=$ac_optarg ;;
1138 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1139 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1140 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1142 ac_prev
=sharedstatedir
;;
1143 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1144 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1145 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1147 sharedstatedir
=$ac_optarg ;;
1149 -site |
--site |
--sit)
1151 -site=* |
--site=* |
--sit=*)
1154 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1156 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1157 srcdir
=$ac_optarg ;;
1159 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1160 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1161 ac_prev
=sysconfdir
;;
1162 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1163 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1164 sysconfdir
=$ac_optarg ;;
1166 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1167 ac_prev
=target_alias
;;
1168 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1169 target_alias
=$ac_optarg ;;
1171 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1174 -version |
--version |
--versio |
--versi |
--vers |
-V)
1175 ac_init_version
=: ;;
1178 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1181 as_fn_error $?
"invalid package name: $ac_useropt"
1182 ac_useropt_orig
=$ac_useropt
1183 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189 ac_unrecognized_sep
=', ';;
1191 eval with_
$ac_useropt=\
$ac_optarg ;;
1193 -without-* |
--without-*)
1194 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1197 as_fn_error $?
"invalid package name: $ac_useropt"
1198 ac_useropt_orig
=$ac_useropt
1199 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep
=', ';;
1207 eval with_
$ac_useropt=no
;;
1210 # Obsolete; use --with-x.
1213 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1214 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1215 ac_prev
=x_includes
;;
1216 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1217 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1218 x_includes
=$ac_optarg ;;
1220 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1221 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1222 ac_prev
=x_libraries
;;
1223 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1224 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1225 x_libraries
=$ac_optarg ;;
1227 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information"
1232 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1233 # Reject names that are not valid shell variable names.
1234 case $ac_envvar in #(
1235 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1236 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1238 eval $ac_envvar=\
$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1252 if test -n "$ac_prev"; then
1253 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1254 as_fn_error $?
"missing argument to $ac_option"
1257 if test -n "$ac_unrecognized_opts"; then
1258 case $enable_option_checking in
1260 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1261 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1265 # Check all directory arguments for consistency.
1266 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267 datadir sysconfdir sharedstatedir localstatedir includedir \
1268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269 libdir localedir mandir
1271 eval ac_val
=\$
$ac_var
1272 # Remove trailing slashes.
1275 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276 eval $ac_var=\
$ac_val;;
1278 # Be sure to have absolute directory names.
1280 [\\/$
]* | ?
:[\\/]* ) continue;;
1281 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1283 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1291 target
=$target_alias
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x
; then
1295 if test "x$build_alias" = x
; then
1296 cross_compiling
=maybe
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1305 test "$silent" = yes && exec 6>/dev
/null
1308 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di
=`ls -di .` &&
1310 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error $?
"working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error $?
"pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted
=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir
=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1348 ac_srcdir_defaulted
=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1352 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1366 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 for ac_var
in $ac_precious_vars; do
1369 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1370 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1371 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1372 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1376 # Report the --help message.
1378 if test "$ac_init_help" = "long"; then
1379 # Omit some internal or obsolete options to make the list less imposing.
1380 # This message is too long to be a string in the A/UX 3.1 sh.
1382 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE. See below for descriptions of some of the useful variables.
1389 Defaults for the options are specified in brackets.
1392 -h, --help display this help and exit
1393 --help=short display options specific to this package
1394 --help=recursive display the short help of all the included packages
1395 -V, --version display version information and exit
1396 -q, --quiet, --silent do not print \`checking ...' messages
1397 --cache-file=FILE cache test results in FILE [disabled]
1398 -C, --config-cache alias for \`--cache-file=config.cache'
1399 -n, --no-create do not create output files
1400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1402 Installation directories:
1403 --prefix=PREFIX install architecture-independent files in PREFIX
1404 [$ac_default_prefix]
1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1413 For better control, use the options below.
1415 Fine tuning of the installation directories:
1416 --bindir=DIR user executables [EPREFIX/bin]
1417 --sbindir=DIR system admin executables [EPREFIX/sbin]
1418 --libexecdir=DIR program executables [EPREFIX/libexec]
1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1440 --program-prefix=PREFIX prepend PREFIX to installed program names
1441 --program-suffix=SUFFIX append SUFFIX to installed program names
1442 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1445 --build=BUILD configure
for building on BUILD
[guessed
]
1446 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1447 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1451 if test -n "$ac_init_help"; then
1452 case $ac_init_help in
1453 short | recursive
) echo "Configuration of package-unused version-unused:";;
1458 --disable-option-checking ignore unrecognized
--enable/--with options
1459 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1460 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1461 --enable-multilib build many library versions
(default
)
1462 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1463 --enable-dependency-tracking
1464 do not reject slow dependency extractors
1465 --disable-dependency-tracking
1466 speeds up one-time build
1467 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1468 --disable-silent-rules verbose build output
(undo
: "make V=0")
1469 --enable-maintainer-mode
1470 enable make rules and dependencies not useful
(and
1471 sometimes confusing
) to the casual installer
1472 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1473 --enable-static[=PKGS
] build static libraries
[default
=yes]
1474 --enable-fast-install[=PKGS
]
1475 optimize
for fast installation
[default
=yes]
1476 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1477 --enable-darwin-at-rpath
1478 install libraries with @rpath
/library-name
, requires
1479 rpaths to be added to executables
1480 --disable-werror disable building with
-Werror
1481 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1484 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1485 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1486 --with-toolexeclibdir=DIR
1487 install libraries built with a cross compiler within
1489 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1491 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1492 --with-gcc-major-version-only
1493 use only GCC major number
in filesystem paths
1495 Some influential environment variables
:
1496 CC C compiler
command
1497 CFLAGS C compiler flags
1498 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1499 nonstandard directory
<lib dir
>
1500 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1501 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1502 you have headers
in a nonstandard directory
<include dir
>
1504 CXX C
++ compiler
command
1505 CXXFLAGS C
++ compiler flags
1506 CCAS assembler compiler
command (defaults to CC
)
1507 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1508 CXXCPP C
++ preprocessor
1510 Use these variables to override the choices made by
`configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to <libsanitizer>.
1518 if test "$ac_init_help" = "recursive"; then
1519 # If there are subdirs, report their specific --help.
1520 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521 test -d "$ac_dir" ||
1522 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1530 # A ".." for each directory in $ac_dir_suffix.
1531 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1532 case $ac_top_builddir_sub in
1533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 ac_abs_top_builddir=$ac_pwd
1538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539 # for backward compatibility:
1540 ac_top_builddir=$ac_top_build_prefix
1543 .) # We are building in place.
1545 ac_top_srcdir=$ac_top_builddir_sub
1546 ac_abs_top_srcdir=$ac_pwd ;;
1547 [\\/]* | ?:[\\/]* ) # Absolute name.
1548 ac_srcdir=$srcdir$ac_dir_suffix;
1549 ac_top_srcdir=$srcdir
1550 ac_abs_top_srcdir=$srcdir ;;
1552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553 ac_top_srcdir=$ac_top_build_prefix$srcdir
1554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1558 cd "$ac_dir" || { ac_status=$?; continue; }
1559 # Check for guested configure.
1560 if test -f "$ac_srcdir/configure.gnu"; then
1562 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563 elif test -f "$ac_srcdir/configure"; then
1565 $SHELL "$ac_srcdir/configure" --help=recursive
1567 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569 cd "$ac_pwd" || { ac_status=$?; break; }
1573 test -n "$ac_init_help" && exit $ac_status
1574 if $ac_init_version; then
1576 package-unused configure version-unused
1577 generated by GNU Autoconf 2.69
1579 Copyright (C) 2012 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it.
1586 ## ------------------------ ##
1587 ## Autoconf initialization. ##
1588 ## ------------------------ ##
1590 # ac_fn_c_try_compile LINENO
1591 # --------------------------
1592 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1593 ac_fn_c_try_compile ()
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext
1597 if { { ac_try="$ac_compile"
1599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1600 *) ac_try_echo
=$ac_try;;
1602 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_compile") 2>conftest.err
1606 if test -s conftest.err
; then
1607 grep -v '^ *+' conftest.err
>conftest.er1
1608 cat conftest.er1
>&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest.
$ac_objext; then :
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.
$ac_ext >&5
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status
$ac_retval
1626 } # ac_fn_c_try_compile
1628 # ac_fn_c_try_cpp LINENO
1629 # ----------------------
1630 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1633 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1634 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1643 if test -s conftest.err; then
1644 grep -v '^ *+' conftest.err >conftest.er1
1645 cat conftest.er1 >&5
1646 mv -f conftest.er1 conftest.err
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } > conftest.i && {
1650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status $ac_retval
1665 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1666 # -------------------------------------------------------
1667 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1668 # the include files in INCLUDES and setting the cache variable VAR
1670 ac_fn_c_check_header_mongrel ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if eval \${$3+:} false; then :
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if eval \${$3+:} false; then :
1677 $as_echo_n "(cached) " >&6
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1681 $as_echo "$ac_res" >&6; }
1683 # Is the header compilable?
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1685 $as_echo_n "checking $2 usability... " >&6; }
1686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687 /* end confdefs.h. */
1691 if ac_fn_c_try_compile "$LINENO"; then :
1692 ac_header_compiler=yes
1694 ac_header_compiler=no
1696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1698 $as_echo "$ac_header_compiler" >&6; }
1700 # Is the header present?
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1702 $as_echo_n "checking $2 presence... " >&6; }
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1707 if ac_fn_c_try_cpp "$LINENO"; then :
1708 ac_header_preproc=yes
1710 ac_header_preproc=no
1712 rm -f conftest.err conftest.i conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1714 $as_echo "$ac_header_preproc" >&6; }
1716 # So? What about this header?
1717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1720 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1722 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1726 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1728 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1730 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1732 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1735 ( $as_echo "## --------------------------- ##
1736 ## Report this to libsanitizer ##
1737 ## --------------------------- ##"
1738 ) | sed "s/^/$as_me: WARNING: /" >&2
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1742 $as_echo_n "checking for $2... " >&6; }
1743 if eval \${$3+:} false; then :
1744 $as_echo_n "(cached) " >&6
1746 eval "$3=\$ac_header_compiler"
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750 $as_echo "$ac_res" >&6; }
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 } # ac_fn_c_check_header_mongrel
1756 # ac_fn_c_try_run LINENO
1757 # ----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1759 # that executables *can* be run.
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 if { { ac_try="$ac_link"
1765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1766 *) ac_try_echo
=$ac_try;;
1768 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_link") 2>&5
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1774 { { case "(($ac_try" in
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_try") 2>&5
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; }; }; then :
1786 $as_echo "$as_me: program exited with status $ac_status" >&5
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1790 ac_retval=$ac_status
1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status $ac_retval
1798 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1799 # -------------------------------------------------------
1800 # Tests whether HEADER exists and can be compiled using the include files in
1801 # INCLUDES, setting the cache variable VAR accordingly.
1802 ac_fn_c_check_header_compile ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1806 $as_echo_n "checking for $2... " >&6; }
1807 if eval \${$3+:} false; then :
1808 $as_echo_n "(cached) " >&6
1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811 /* end confdefs.h. */
1815 if ac_fn_c_try_compile "$LINENO"; then :
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1824 $as_echo "$ac_res" >&6; }
1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827 } # ac_fn_c_check_header_compile
1829 # ac_fn_cxx_try_compile LINENO
1830 # ----------------------------
1831 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1832 ac_fn_cxx_try_compile ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 rm -f conftest.$ac_objext
1836 if { { ac_try="$ac_compile"
1838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1839 *) ac_try_echo
=$ac_try;;
1841 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_compile") 2>conftest.err
1845 if test -s conftest.err
; then
1846 grep -v '^ *+' conftest.err
>conftest.er1
1847 cat conftest.er1
>&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_cxx_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest.
$ac_objext; then :
1857 $as_echo "$as_me: failed program was:" >&5
1858 sed 's/^/| /' conftest.
$ac_ext >&5
1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 as_fn_set_status
$ac_retval
1865 } # ac_fn_cxx_try_compile
1867 # ac_fn_c_try_link LINENO
1868 # -----------------------
1869 # Try to link conftest.$ac_ext, and return whether this succeeded.
1872 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1873 rm -f conftest.
$ac_objext conftest
$ac_exeext
1874 if { { ac_try
="$ac_link"
1876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_link") 2>conftest.err
1883 if test -s conftest.err; then
1884 grep -v '^ *+' conftest.err >conftest.er1
1885 cat conftest.er1 >&5
1886 mv -f conftest.er1 conftest.err
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; } && {
1890 test -z "$ac_c_werror_flag" ||
1891 test ! -s conftest.err
1892 } && test -s conftest$ac_exeext && {
1893 test "$cross_compiling" = yes ||
1894 test -x conftest$ac_exeext
1898 $as_echo "$as_me: failed program was:" >&5
1899 sed 's/^/| /' conftest.$ac_ext >&5
1903 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1904 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1905 # interfere with the next link command; also delete a directory that is
1906 # left behind by Apple's compiler. We do this before executing the actions.
1907 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 as_fn_set_status $ac_retval
1911 } # ac_fn_c_try_link
1913 # ac_fn_c_check_func LINENO FUNC VAR
1914 # ----------------------------------
1915 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1916 ac_fn_c_check_func ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1920 $as_echo_n "checking for $2... " >&6; }
1921 if eval \${$3+:} false; then :
1922 $as_echo_n "(cached) " >&6
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1926 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1928 #define $2 innocuous_$2
1930 /* System header to define __stub macros and hopefully few prototypes,
1931 which can conflict with char $2 (); below.
1932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1933 <limits.h> exists even on freestanding compilers. */
1936 # include <limits.h>
1938 # include <assert.h>
1943 /* Override any GCC internal prototype to avoid an error.
1944 Use char because int might match the return type of a GCC
1945 builtin and then its argument prototype would still apply. */
1950 /* The GNU C library defines this for functions which it implements
1951 to always fail with ENOSYS. Some functions are actually named
1952 something starting with __ and the normal name is an alias. */
1953 #if defined __stub_$2 || defined __stub___$2
1965 if ac_fn_c_try_link "$LINENO"; then :
1970 rm -f core conftest.err conftest.$ac_objext \
1971 conftest$ac_exeext conftest.$ac_ext
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 $as_echo "$ac_res" >&6; }
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978 } # ac_fn_c_check_func
1980 # ac_fn_cxx_try_cpp LINENO
1981 # ------------------------
1982 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1983 ac_fn_cxx_try_cpp ()
1985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986 if { { ac_try="$ac_cpp conftest.$ac_ext"
1988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1989 *) ac_try_echo
=$ac_try;;
1991 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1995 if test -s conftest.err
; then
1996 grep -v '^ *+' conftest.err
>conftest.er1
1997 cat conftest.er1
>&5
1998 mv -f conftest.er1 conftest.err
2000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2001 test $ac_status = 0; } > conftest.i
&& {
2002 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2003 test ! -s conftest.err
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.
$ac_ext >&5
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 as_fn_set_status
$ac_retval
2015 } # ac_fn_cxx_try_cpp
2017 # ac_fn_cxx_try_link LINENO
2018 # -------------------------
2019 # Try to link conftest.$ac_ext, and return whether this succeeded.
2020 ac_fn_cxx_try_link
()
2022 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2023 rm -f conftest.
$ac_objext conftest
$ac_exeext
2024 if { { ac_try
="$ac_link"
2026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2027 *) ac_try_echo=$ac_try;;
2029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2030 $as_echo "$ac_try_echo"; } >&5
2031 (eval "$ac_link") 2>conftest.err
2033 if test -s conftest.err; then
2034 grep -v '^ *+' conftest.err >conftest.er1
2035 cat conftest.er1 >&5
2036 mv -f conftest.er1 conftest.err
2038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2039 test $ac_status = 0; } && {
2040 test -z "$ac_cxx_werror_flag" ||
2041 test ! -s conftest.err
2042 } && test -s conftest$ac_exeext && {
2043 test "$cross_compiling" = yes ||
2044 test -x conftest$ac_exeext
2048 $as_echo "$as_me: failed program was:" >&5
2049 sed 's/^/| /' conftest.$ac_ext >&5
2053 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2054 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2055 # interfere with the next link command; also delete a directory that is
2056 # left behind by Apple's compiler. We do this before executing the actions.
2057 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059 as_fn_set_status $ac_retval
2061 } # ac_fn_cxx_try_link
2063 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2064 # --------------------------------------------
2065 # Tries to find the compile-time value of EXPR in a program that includes
2066 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2068 ac_fn_c_compute_int ()
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 if test "$cross_compiling" = yes; then
2072 # Depending upon the size, compute the lo and hi bounds.
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2079 static int test_array [1 - 2 * !(($2) >= 0)];
2081 return test_array [0];
2087 if ac_fn_c_try_compile "$LINENO"; then :
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2096 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2098 return test_array [0];
2104 if ac_fn_c_try_compile "$LINENO"; then :
2105 ac_hi=$ac_mid; break
2107 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2108 if test $ac_lo -le $ac_mid; then
2112 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2123 static int test_array [1 - 2 * !(($2) < 0)];
2125 return test_array [0];
2131 if ac_fn_c_try_compile "$LINENO"; then :
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2140 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2142 return test_array [0];
2148 if ac_fn_c_try_compile "$LINENO"; then :
2149 ac_lo=$ac_mid; break
2151 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2152 if test $ac_mid -le $ac_hi; then
2156 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2166 # Binary search between lo and hi bounds.
2167 while test "x$ac_lo" != "x$ac_hi"; do
2168 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2175 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2177 return test_array [0];
2183 if ac_fn_c_try_compile "$LINENO"; then :
2186 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2191 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2196 /* end confdefs.h. */
2198 static long int longval () { return $2; }
2199 static unsigned long int ulongval () { return $2; }
2206 FILE *f = fopen ("conftest.val", "w");
2211 long int i = longval ();
2214 fprintf (f, "%ld", i);
2218 unsigned long int i = ulongval ();
2221 fprintf (f, "%lu", i);
2223 /* Do not output a trailing newline, as this causes \r\n confusion
2224 on some platforms. */
2225 return ferror (f) || fclose (f) != 0;
2231 if ac_fn_c_try_run "$LINENO"; then :
2232 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2237 conftest.$ac_objext conftest.beam conftest.$ac_ext
2241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2242 as_fn_set_status $ac_retval
2244 } # ac_fn_c_compute_int
2246 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2247 # -------------------------------------------
2248 # Tests whether TYPE exists after having included INCLUDES, setting cache
2249 # variable VAR accordingly.
2250 ac_fn_c_check_type ()
2252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2254 $as_echo_n "checking for $2... " >&6; }
2255 if eval \${$3+:} false; then :
2256 $as_echo_n "(cached) " >&6
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2284 if ac_fn_c_try_compile "$LINENO"; then :
2289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2295 $as_echo "$ac_res" >&6; }
2296 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2298 } # ac_fn_c_check_type
2300 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2301 # ---------------------------------------------
2302 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2304 ac_fn_c_check_decl ()
2306 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2307 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2308 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2310 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2311 if eval \${$3+:} false; then :
2312 $as_echo_n "(cached) " >&6
2314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2315 /* end confdefs.h. */
2320 #ifndef $as_decl_name
2322 (void) $as_decl_use;
2324 (void) $as_decl_name;
2332 if ac_fn_c_try_compile "$LINENO"; then :
2337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2341 $as_echo "$ac_res" >&6; }
2342 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2344 } # ac_fn_c_check_decl
2345 cat >config.log <<_ACEOF
2346 This file contains any messages produced by compilers while
2347 running configure, to aid debugging if configure makes a mistake.
2349 It was created by package-unused $as_me version-unused, which was
2350 generated by GNU Autoconf 2.69. Invocation command line was
2362 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2363 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2364 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2365 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2366 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2368 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2369 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2371 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2372 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2373 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2374 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2375 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2376 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2377 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 test -z "$as_dir" && as_dir=.
2386 $as_echo "PATH: $as_dir"
2402 # Keep a trace of the command line.
2403 # Strip out --no-create and --no-recursion so they do not pile up.
2404 # Strip out --silent because we don't want to record it for future runs.
2405 # Also quote any args containing shell meta-characters.
2406 # Make two passes to allow for proper duplicate-argument suppression.
2410 ac_must_keep_next=false
2416 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2417 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2418 | -silent | --silent | --silen | --sile | --sil)
2421 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2424 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2426 as_fn_append ac_configure_args1 " '$ac_arg'"
2427 if test $ac_must_keep_next = true; then
2428 ac_must_keep_next=false # Got value, back to normal.
2431 *=* | --config-cache | -C | -disable-* | --disable-* \
2432 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2433 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2434 | -with-* | --with-* | -without-* | --without-* | --x)
2435 case "$ac_configure_args0 " in
2436 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2439 -* ) ac_must_keep_next=true ;;
2442 as_fn_append ac_configure_args " '$ac_arg'"
2447 { ac_configure_args0=; unset ac_configure_args0;}
2448 { ac_configure_args1=; unset ac_configure_args1;}
2450 # When interrupted or exit'd, cleanup temporary files, and complete
2451 # config.log. We remove comments because anyway the quotes in there
2452 # would cause problems or look ugly.
2453 # WARNING: Use '\'' to represent an apostrophe within the trap.
2454 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2455 trap 'exit_status=$?
2456 # Save into config.log some information that might help in debugging.
2460 $as_echo "## ---------------- ##
2461 ## Cache variables. ##
2462 ## ---------------- ##"
2464 # The following way of writing the cache mishandles newlines in values,
2466 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2467 eval ac_val=\$$ac_var
2471 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2472 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2475 _ | IFS | as_nl) ;; #(
2476 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2477 *) { eval $ac_var=; unset $ac_var;} ;;
2482 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2483 *${as_nl}ac_space=\ *)
2485 "s/'\''/'\''\\\\'\'''\''/g;
2486 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2489 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2496 $as_echo "## ----------------- ##
2497 ## Output variables. ##
2498 ## ----------------- ##"
2500 for ac_var in $ac_subst_vars
2502 eval ac_val=\$$ac_var
2504 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2506 $as_echo "$ac_var='\''$ac_val'\''"
2510 if test -n "$ac_subst_files"; then
2511 $as_echo "## ------------------- ##
2512 ## File substitutions. ##
2513 ## ------------------- ##"
2515 for ac_var in $ac_subst_files
2517 eval ac_val=\$$ac_var
2519 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2521 $as_echo "$ac_var='\''$ac_val'\''"
2526 if test -s confdefs.h; then
2527 $as_echo "## ----------- ##
2534 test "$ac_signal" != 0 &&
2535 $as_echo "$as_me: caught signal $ac_signal"
2536 $as_echo "$as_me: exit $exit_status"
2538 rm -f core *.core core.conftest.* &&
2539 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2542 for ac_signal in 1 2 13 15; do
2543 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2547 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2548 rm -f -r conftest* confdefs.h
2550 $as_echo "/* confdefs.h */" > confdefs.h
2552 # Predefined preprocessor variables.
2554 cat >>confdefs.h <<_ACEOF
2555 #define PACKAGE_NAME "$PACKAGE_NAME"
2558 cat >>confdefs.h <<_ACEOF
2559 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2562 cat >>confdefs.h <<_ACEOF
2563 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2566 cat >>confdefs.h <<_ACEOF
2567 #define PACKAGE_STRING "$PACKAGE_STRING"
2570 cat >>confdefs.h <<_ACEOF
2571 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2574 cat >>confdefs.h <<_ACEOF
2575 #define PACKAGE_URL "$PACKAGE_URL"
2579 # Let the site file select an alternate cache file if it wants to.
2580 # Prefer an explicitly selected file to automatically selected ones.
2583 if test -n "$CONFIG_SITE"; then
2584 # We do not want a PATH search for config.site.
2585 case $CONFIG_SITE in #((
2586 -*) ac_site_file1=./$CONFIG_SITE;;
2587 */*) ac_site_file1=$CONFIG_SITE;;
2588 *) ac_site_file1=./$CONFIG_SITE;;
2590 elif test "x$prefix" != xNONE; then
2591 ac_site_file1=$prefix/share/config.site
2592 ac_site_file2=$prefix/etc/config.site
2594 ac_site_file1=$ac_default_prefix/share/config.site
2595 ac_site_file2=$ac_default_prefix/etc/config.site
2597 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2599 test "x$ac_site_file" = xNONE && continue
2600 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2602 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2603 sed 's/^/| /' "$ac_site_file" >&5
2605 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2607 as_fn_error $? "failed to load site
script $ac_site_file
2608 See \
`config.log' for more details" "$LINENO" 5; }
2612 if test -r "$cache_file"; then
2613 # Some versions of bash will fail to source /dev/null (special files
2614 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2615 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2617 $as_echo "$as_me: loading cache $cache_file" >&6;}
2619 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2620 *) . "./$cache_file";;
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2625 $as_echo "$as_me: creating cache $cache_file" >&6;}
2629 # Check that the precious variables saved in the cache have kept the same
2631 ac_cache_corrupted=false
2632 for ac_var in $ac_precious_vars; do
2633 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2634 eval ac_new_set=\$ac_env_${ac_var}_set
2635 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2636 eval ac_new_val=\$ac_env_${ac_var}_value
2637 case $ac_old_set,$ac_new_set in
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2640 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2641 ac_cache_corrupted=: ;;
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2644 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2645 ac_cache_corrupted=: ;;
2648 if test "x$ac_old_val" != "x$ac_new_val"; then
2649 # differences in whitespace do not lead to failure.
2650 ac_old_val_w=`echo x
$ac_old_val`
2651 ac_new_val_w=`echo x
$ac_new_val`
2652 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2654 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2655 ac_cache_corrupted=:
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2658 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2659 eval $ac_var=\$ac_old_val
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2662 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2664 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2667 # Pass precious variables to config.status.
2668 if test "$ac_new_set" = set; then
2670 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2671 *) ac_arg=$ac_var=$ac_new_val ;;
2673 case " $ac_configure_args " in
2674 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2675 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2679 if $ac_cache_corrupted; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2683 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2684 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2686 ## -------------------- ##
2687 ## Main body of script. ##
2688 ## -------------------- ##
2691 ac_cpp='$CPP $CPPFLAGS'
2692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2702 # Default to --enable-multilib
2703 # Check whether --enable-multilib was given.
2704 if test "${enable_multilib+set}" = set; then :
2705 enableval=$enable_multilib; case "$enableval" in
2706 yes) multilib=yes ;;
2708 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2715 # We may get other options which we leave undocumented:
2716 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2717 # See config-ml.in if you want the gory details.
2719 if test "$srcdir" = "."; then
2720 if test "$with_target_subdir" != "."; then
2721 multi_basedir="$srcdir/$with_multisrctop../.."
2723 multi_basedir="$srcdir/$with_multisrctop.."
2726 multi_basedir="$srcdir/.."
2730 # Even if the default multilib is not a cross compilation,
2731 # it may be that some of the other multilibs are.
2732 if test $cross_compiling = no && test $multilib = yes \
2733 && test "x${with_multisubdir}" != x ; then
2734 cross_compiling=maybe
2737 ac_config_commands="$ac_config_commands default-1"
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2741 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2742 # Check whether --enable-version-specific-runtime-libs was given.
2743 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2744 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2745 yes) version_specific_libs=yes ;;
2746 no) version_specific_libs=no ;;
2747 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2750 version_specific_libs=no
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2754 $as_echo "$version_specific_libs" >&6; }
2757 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2758 if test -f "$ac_dir/install-sh"; then
2760 ac_install_sh="$ac_aux_dir/install-sh -c"
2762 elif test -f "$ac_dir/install.sh"; then
2764 ac_install_sh="$ac_aux_dir/install.sh -c"
2766 elif test -f "$ac_dir/shtool"; then
2768 ac_install_sh="$ac_aux_dir/shtool install -c"
2772 if test -z "$ac_aux_dir"; then
2773 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2776 # These three variables are undocumented and unsupported,
2777 # and are intended to be withdrawn in a future Autoconf release.
2778 # They can cause serious problems if a builder's source tree is in a directory
2779 # whose full name contains unusual characters.
2780 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2781 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2782 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2785 # Expand $ac_aux_dir to an absolute path.
2786 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2789 ac_cpp='$CPP $CPPFLAGS'
2790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2793 if test -n "$ac_tool_prefix"; then
2794 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2795 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2797 $as_echo_n "checking for $ac_word... " >&6; }
2798 if ${ac_cv_prog_CC+:} false; then :
2799 $as_echo_n "(cached) " >&6
2801 if test -n "$CC"; then
2802 ac_cv_prog_CC="$CC" # Let the user override the test.
2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808 test -z "$as_dir" && as_dir=.
2809 for ac_exec_ext in '' $ac_executable_extensions; do
2810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2811 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 if test -n "$CC"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2824 $as_echo "$CC" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2832 if test -z "$ac_cv_prog_CC"; then
2834 # Extract the first word of "gcc", so it can be a program name with args.
2835 set dummy gcc; ac_word=$2
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2837 $as_echo_n "checking for $ac_word... " >&6; }
2838 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2839 $as_echo_n "(cached) " >&6
2841 if test -n "$ac_ct_CC"; then
2842 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848 test -z "$as_dir" && as_dir=.
2849 for ac_exec_ext in '' $ac_executable_extensions; do
2850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851 ac_cv_prog_ac_ct_CC="gcc"
2852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2862 if test -n "$ac_ct_CC"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2864 $as_echo "$ac_ct_CC" >&6; }
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2867 $as_echo "no" >&6; }
2870 if test "x$ac_ct_CC" = x; then
2873 case $cross_compiling:$ac_tool_warned in
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2877 ac_tool_warned=yes ;;
2885 if test -z "$CC"; then
2886 if test -n "$ac_tool_prefix"; then
2887 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2888 set dummy ${ac_tool_prefix}cc; ac_word=$2
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2890 $as_echo_n "checking for $ac_word... " >&6; }
2891 if ${ac_cv_prog_CC+:} false; then :
2892 $as_echo_n "(cached) " >&6
2894 if test -n "$CC"; then
2895 ac_cv_prog_CC="$CC" # Let the user override the test.
2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2901 test -z "$as_dir" && as_dir=.
2902 for ac_exec_ext in '' $ac_executable_extensions; do
2903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2904 ac_cv_prog_CC="${ac_tool_prefix}cc"
2905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2915 if test -n "$CC"; then
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2917 $as_echo "$CC" >&6; }
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2920 $as_echo "no" >&6; }
2926 if test -z "$CC"; then
2927 # Extract the first word of "cc", so it can be a program name with args.
2928 set dummy cc; ac_word=$2
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930 $as_echo_n "checking for $ac_word... " >&6; }
2931 if ${ac_cv_prog_CC+:} false; then :
2932 $as_echo_n "(cached) " >&6
2934 if test -n "$CC"; then
2935 ac_cv_prog_CC="$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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2946 ac_prog_rejected=yes
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 if test $ac_prog_rejected = yes; then
2958 # We found a bogon in the path, so make sure we never use it.
2959 set dummy $ac_cv_prog_CC
2961 if test $# != 0; then
2962 # We chose a different compiler from the bogus one.
2963 # However, it has the same basename, so the bogon will be chosen
2964 # first if we set CC to just the basename; use the full file name.
2966 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2972 if test -n "$CC"; then
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2974 $as_echo "$CC" >&6; }
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2977 $as_echo "no" >&6; }
2982 if test -z "$CC"; then
2983 if test -n "$ac_tool_prefix"; then
2984 for ac_prog in cl.exe
2986 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2987 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if ${ac_cv_prog_CC+:} false; then :
2991 $as_echo_n "(cached) " >&6
2993 if test -n "$CC"; then
2994 ac_cv_prog_CC="$CC" # Let the user override the test.
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir=.
3001 for ac_exec_ext in '' $ac_executable_extensions; do
3002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 if test -n "$CC"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016 $as_echo "$CC" >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3023 test -n "$CC" && break
3026 if test -z "$CC"; then
3028 for ac_prog in cl.exe
3030 # Extract the first word of "$ac_prog", so it can be a program name with args.
3031 set dummy $ac_prog; ac_word=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3035 $as_echo_n "(cached) " >&6
3037 if test -n "$ac_ct_CC"; then
3038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3047 ac_cv_prog_ac_ct_CC="$ac_prog"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3058 if test -n "$ac_ct_CC"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3060 $as_echo "$ac_ct_CC" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3067 test -n "$ac_ct_CC" && break
3070 if test "x$ac_ct_CC" = x; then
3073 case $cross_compiling:$ac_tool_warned in
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3077 ac_tool_warned=yes ;;
3086 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3088 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3089 See \
`config.log' for more details" "$LINENO" 5; }
3091 # Provide some information about the compiler.
3092 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3095 for ac_option in --version -v -V -qversion; do
3096 { { ac_try="$ac_compiler $ac_option >&5"
3098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3099 *) ac_try_echo
=$ac_try;;
3101 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 $as_echo "$ac_try_echo"; } >&5
3103 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3105 if test -s conftest.err
; then
3107 ... rest of stderr output deleted ...
3108 10q' conftest.err
>conftest.er1
3109 cat conftest.er1
>&5
3111 rm -f conftest.er1 conftest.err
3112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3113 test $ac_status = 0; }
3116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3127 ac_clean_files_save
=$ac_clean_files
3128 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3129 # Try to create an executable without -o first, disregard a.out.
3130 # It will help us diagnose broken compilers, and finding out an intuition
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3133 $as_echo_n "checking whether the C compiler works... " >&6; }
3134 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3136 # The possible output files:
3137 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3140 for ac_file
in $ac_files
3143 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3144 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3149 if { { ac_try
="$ac_link_default"
3151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3155 $as_echo "$ac_try_echo"; } >&5
3156 (eval "$ac_link_default") 2>&5
3158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3159 test $ac_status = 0; }; then :
3160 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3161 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3162 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3163 # so that the user can short-circuit this test for compilers unknown to
3165 for ac_file in $ac_files ''
3167 test -f "$ac_file" || continue
3169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3172 # We found the default executable, but exeext='' is most
3176 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3178 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3180 # We set ac_cv_exeext here because the later test for it is not
3181 # safe: cross compilers may not add the suffix if given an `-o'
3182 # argument, so we may need to know it at that point already.
3183 # Even if this section looks crufty: it has the advantage of
3190 test "$ac_cv_exeext" = no && ac_cv_exeext=
3195 if test -z "$ac_file"; then :
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3198 $as_echo "$as_me: failed program was:" >&5
3199 sed 's
/^
/|
/' conftest.$ac_ext >&5
3201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3203 as_fn_error 77 "C compiler cannot create executables
3204 See \`config.log
' for more details" "$LINENO" 5; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3207 $as_echo "yes" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3210 $as_echo_n "checking for C compiler default output file name... " >&6; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3212 $as_echo "$ac_file" >&6; }
3213 ac_exeext=$ac_cv_exeext
3215 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3216 ac_clean_files=$ac_clean_files_save
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3218 $as_echo_n "checking for suffix of executables... " >&6; }
3219 if { { ac_try="$ac_link"
3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3225 $as_echo "$ac_try_echo"; } >&5
3226 (eval "$ac_link") 2>&5
3228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3229 test $ac_status = 0; }; then :
3230 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3231 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3232 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3234 for ac_file
in conftest.exe conftest conftest.
*; do
3235 test -f "$ac_file" ||
continue
3237 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3238 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3246 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3247 See \`config.log' for more details" "$LINENO" 5; }
3249 rm -f conftest conftest
$ac_cv_exeext
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3251 $as_echo "$ac_cv_exeext" >&6; }
3253 rm -f conftest.
$ac_ext
3254 EXEEXT
=$ac_cv_exeext
3256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3262 FILE *f = fopen ("conftest.out", "w");
3263 return ferror (f) || fclose (f) != 0;
3269 ac_clean_files
="$ac_clean_files conftest.out"
3270 # Check that the compiler produces executables we can run. If not, either
3271 # the compiler is broken, or we cross compile.
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3273 $as_echo_n "checking whether we are cross compiling... " >&6; }
3274 if test "$cross_compiling" != yes; then
3275 { { ac_try
="$ac_link"
3277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_link") 2>&5
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }
3286 if { ac_try='./conftest$ac_cv_exeext'
3287 { { case "(($ac_try" in
3288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3289 *) ac_try_echo
=$ac_try;;
3291 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3292 $as_echo "$ac_try_echo"; } >&5
3293 (eval "$ac_try") 2>&5
3295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3296 test $ac_status = 0; }; }; then
3299 if test "$cross_compiling" = maybe
; then
3302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3304 as_fn_error $?
"cannot run C compiled programs.
3305 If you meant to cross compile, use \`--host'.
3306 See \`config.log' for more details" "$LINENO" 5; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3311 $as_echo "$cross_compiling" >&6; }
3313 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3314 ac_clean_files
=$ac_clean_files_save
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3316 $as_echo_n "checking for suffix of object files... " >&6; }
3317 if ${ac_cv_objext+:} false
; then :
3318 $as_echo_n "(cached) " >&6
3320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3321 /* end confdefs.h. */
3331 rm -f conftest.o conftest.obj
3332 if { { ac_try
="$ac_compile"
3334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3338 $as_echo "$ac_try_echo"; } >&5
3339 (eval "$ac_compile") 2>&5
3341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3342 test $ac_status = 0; }; then :
3343 for ac_file in conftest.o conftest.obj conftest.*; do
3344 test -f "$ac_file" || continue;
3346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3347 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3352 $as_echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.$ac_ext >&5
3355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3358 See \
`config.log' for more details" "$LINENO" 5; }
3360 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3363 $as_echo "$ac_cv_objext" >&6; }
3364 OBJEXT=$ac_cv_objext
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3367 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3368 if ${ac_cv_c_compiler_gnu+:} false; then :
3369 $as_echo_n "(cached) " >&6
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3385 if ac_fn_c_try_compile "$LINENO"; then :
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3395 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3396 if test $ac_compiler_gnu = yes; then
3401 ac_test_CFLAGS=${CFLAGS+set}
3402 ac_save_CFLAGS=$CFLAGS
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3404 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3405 if ${ac_cv_prog_cc_g+:} false; then :
3406 $as_echo_n "(cached) " >&6
3408 ac_save_c_werror_flag=$ac_c_werror_flag
3409 ac_c_werror_flag=yes
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3423 if ac_fn_c_try_compile "$LINENO"; then :
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3438 if ac_fn_c_try_compile "$LINENO"; then :
3441 ac_c_werror_flag=$ac_save_c_werror_flag
3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3454 if ac_fn_c_try_compile "$LINENO"; then :
3457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462 ac_c_werror_flag=$ac_save_c_werror_flag
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3465 $as_echo "$ac_cv_prog_cc_g" >&6; }
3466 if test "$ac_test_CFLAGS" = set; then
3467 CFLAGS=$ac_save_CFLAGS
3468 elif test $ac_cv_prog_cc_g = yes; then
3469 if test "$GCC" = yes; then
3475 if test "$GCC" = yes; then
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3482 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3483 if ${ac_cv_prog_cc_c89+:} false; then :
3484 $as_echo_n "(cached) " >&6
3486 ac_cv_prog_cc_c89=no
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3493 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3494 struct buf { int x; };
3495 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3496 static char *e (p, i)
3502 static char *f (char * (*g) (char **, int), char **p, ...)
3507 s = g (p, va_arg (v,int));
3512 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3513 function prototypes and stuff, but not '\xHH' hex character constants.
3514 These don't provoke an error unfortunately, instead are silently treated
3515 as 'x'. The following induces an error, until -std is added to get
3516 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3517 array size at least. It's necessary to write '\x00'==0 to get something
3518 that's true only with -std. */
3519 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3521 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3522 inside strings and character constants. */
3524 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3526 int test (int i, double x);
3527 struct s1 {int (*f) (int a);};
3528 struct s2 {int (*f) (double a);};
3529 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3535 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3540 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3541 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3543 CC="$ac_save_CC $ac_arg"
3544 if ac_fn_c_try_compile "$LINENO"; then :
3545 ac_cv_prog_cc_c89=$ac_arg
3547 rm -f core conftest.err conftest.$ac_objext
3548 test "x$ac_cv_prog_cc_c89" != "xno" && break
3550 rm -f conftest.$ac_ext
3555 case "x$ac_cv_prog_cc_c89" in
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3558 $as_echo "none needed" >&6; } ;;
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3561 $as_echo "unsupported" >&6; } ;;
3563 CC="$CC $ac_cv_prog_cc_c89"
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3565 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3567 if test "x$ac_cv_prog_cc_c89" != xno; then :
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3583 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3584 if ${am_cv_prog_cc_c_o+:} false; then :
3585 $as_echo_n "(cached) " >&6
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3598 # Make sure it works both with $CC and with simple cc.
3599 # Following AC_PROG_CC_C_O, we do the test twice because some
3600 # compilers refuse to overwrite an existing .o file with -o,
3601 # though they will create one.
3602 am_cv_prog_cc_c_o=yes
3604 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3605 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } \
3609 && test -f conftest2.$ac_objext; then
3612 am_cv_prog_cc_c_o=no
3616 rm -f core conftest*
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3620 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3621 if test "$am_cv_prog_cc_c_o" != yes; then
3622 # Losing compiler, so override with the script.
3623 # FIXME: It is wrong to rewrite CC.
3624 # But if we don't then we get into trouble of one sort or another.
3625 # A longer-term fix would be to have automake use am__CC in this case,
3626 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3627 CC="$am_aux_dir/compile $CC"
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638 ac_cpp='$CPP $CPPFLAGS'
3639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3643 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3644 # On Suns, sometimes $CPP names a directory.
3645 if test -n "$CPP" && test -d "$CPP"; then
3648 if test -z "$CPP"; then
3649 if ${ac_cv_prog_CPP+:} false; then :
3650 $as_echo_n "(cached) " >&6
3652 # Double quotes because CPP needs to be expanded
3653 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3656 for ac_c_preproc_warn_flag in '' yes
3658 # Use a header file that comes with gcc, so configuring glibc
3659 # with a fresh cross-compiler works.
3660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3661 # <limits.h> exists even on freestanding compilers.
3662 # On the NeXT, cc -E runs the code through the compiler's parser,
3663 # not just through cpp. "Syntax error" is here to catch this case.
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3667 # include <limits.h>
3669 # include <assert.h>
3673 if ac_fn_c_try_cpp "$LINENO"; then :
3676 # Broken: fails on valid input.
3679 rm -f conftest.err conftest.i conftest.$ac_ext
3681 # OK, works on sane cases. Now check whether nonexistent headers
3682 # can be detected and how.
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3685 #include <ac_nonexistent.h>
3687 if ac_fn_c_try_cpp "$LINENO"; then :
3688 # Broken: success on invalid input.
3691 # Passes both tests.
3695 rm -f conftest.err conftest.i conftest.$ac_ext
3698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3699 rm -f conftest.i conftest.err conftest.
$ac_ext
3700 if $ac_preproc_ok; then :
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3713 $as_echo "$CPP" >&6; }
3715 for ac_c_preproc_warn_flag
in '' yes
3717 # Use a header file that comes with gcc, so configuring glibc
3718 # with a fresh cross-compiler works.
3719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3720 # <limits.h> exists even on freestanding compilers.
3721 # On the NeXT, cc -E runs the code through the compiler's parser,
3722 # not just through cpp. "Syntax error" is here to catch this case.
3723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3726 # include <limits.h>
3728 # include <assert.h>
3732 if ac_fn_c_try_cpp
"$LINENO"; then :
3735 # Broken: fails on valid input.
3738 rm -f conftest.err conftest.i conftest.
$ac_ext
3740 # OK, works on sane cases. Now check whether nonexistent headers
3741 # can be detected and how.
3742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3744 #include <ac_nonexistent.h>
3746 if ac_fn_c_try_cpp
"$LINENO"; then :
3747 # Broken: success on invalid input.
3750 # Passes both tests.
3754 rm -f conftest.err conftest.i conftest.
$ac_ext
3757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3758 rm -f conftest.i conftest.err conftest.
$ac_ext
3759 if $ac_preproc_ok; then :
3762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3764 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3765 See \`config.log' for more details" "$LINENO" 5; }
3769 ac_cpp
='$CPP $CPPFLAGS'
3770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3776 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3777 if ${ac_cv_path_GREP+:} false
; then :
3778 $as_echo_n "(cached) " >&6
3780 if test -z "$GREP"; then
3781 ac_path_GREP_found
=false
3782 # Loop through the user's path and test for each of PROGNAME-LIST
3783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3784 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3787 test -z "$as_dir" && as_dir
=.
3788 for ac_prog
in grep ggrep
; do
3789 for ac_exec_ext
in '' $ac_executable_extensions; do
3790 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3791 as_fn_executable_p
"$ac_path_GREP" ||
continue
3792 # Check for GNU ac_path_GREP and select it if it is found.
3793 # Check for GNU $ac_path_GREP
3794 case `"$ac_path_GREP" --version 2>&1` in
3796 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3799 $as_echo_n 0123456789 >"conftest.in"
3802 cat "conftest.in" "conftest.in" >"conftest.tmp"
3803 mv "conftest.tmp" "conftest.in"
3804 cp "conftest.in" "conftest.nl"
3805 $as_echo 'GREP' >> "conftest.nl"
3806 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3807 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3808 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3809 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3810 # Best one so far, save it but keep looking for a better one
3811 ac_cv_path_GREP
="$ac_path_GREP"
3812 ac_path_GREP_max
=$ac_count
3814 # 10*(2^10) chars as input seems more than enough
3815 test $ac_count -gt 10 && break
3817 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3820 $ac_path_GREP_found && break 3
3825 if test -z "$ac_cv_path_GREP"; then
3826 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3829 ac_cv_path_GREP
=$GREP
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3834 $as_echo "$ac_cv_path_GREP" >&6; }
3835 GREP
="$ac_cv_path_GREP"
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3839 $as_echo_n "checking for egrep... " >&6; }
3840 if ${ac_cv_path_EGREP+:} false
; then :
3841 $as_echo_n "(cached) " >&6
3843 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3844 then ac_cv_path_EGREP
="$GREP -E"
3846 if test -z "$EGREP"; then
3847 ac_path_EGREP_found
=false
3848 # Loop through the user's path and test for each of PROGNAME-LIST
3849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3850 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3853 test -z "$as_dir" && as_dir
=.
3854 for ac_prog
in egrep; do
3855 for ac_exec_ext
in '' $ac_executable_extensions; do
3856 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3857 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3858 # Check for GNU ac_path_EGREP and select it if it is found.
3859 # Check for GNU $ac_path_EGREP
3860 case `"$ac_path_EGREP" --version 2>&1` in
3862 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3865 $as_echo_n 0123456789 >"conftest.in"
3868 cat "conftest.in" "conftest.in" >"conftest.tmp"
3869 mv "conftest.tmp" "conftest.in"
3870 cp "conftest.in" "conftest.nl"
3871 $as_echo 'EGREP' >> "conftest.nl"
3872 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3873 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3874 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3875 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3876 # Best one so far, save it but keep looking for a better one
3877 ac_cv_path_EGREP
="$ac_path_EGREP"
3878 ac_path_EGREP_max
=$ac_count
3880 # 10*(2^10) chars as input seems more than enough
3881 test $ac_count -gt 10 && break
3883 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3886 $ac_path_EGREP_found && break 3
3891 if test -z "$ac_cv_path_EGREP"; then
3892 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3895 ac_cv_path_EGREP
=$EGREP
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3901 $as_echo "$ac_cv_path_EGREP" >&6; }
3902 EGREP
="$ac_cv_path_EGREP"
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3906 $as_echo_n "checking for ANSI C header files... " >&6; }
3907 if ${ac_cv_header_stdc+:} false
; then :
3908 $as_echo_n "(cached) " >&6
3910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3925 if ac_fn_c_try_compile
"$LINENO"; then :
3926 ac_cv_header_stdc
=yes
3928 ac_cv_header_stdc
=no
3930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3932 if test $ac_cv_header_stdc = yes; then
3933 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3940 $EGREP "memchr" >/dev
/null
2>&1; then :
3943 ac_cv_header_stdc
=no
3949 if test $ac_cv_header_stdc = yes; then
3950 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3957 $EGREP "free" >/dev
/null
2>&1; then :
3960 ac_cv_header_stdc
=no
3966 if test $ac_cv_header_stdc = yes; then
3967 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3968 if test "$cross_compiling" = yes; then :
3971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3975 #if ((' ' & 0x0FF) == 0x020)
3976 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3977 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3979 # define ISLOWER(c) \
3980 (('a' <= (c) && (c) <= 'i') \
3981 || ('j' <= (c) && (c) <= 'r') \
3982 || ('s' <= (c) && (c) <= 'z'))
3983 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3986 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3991 for (i = 0; i < 256; i++)
3992 if (XOR (islower (i), ISLOWER (i))
3993 || toupper (i) != TOUPPER (i))
3998 if ac_fn_c_try_run
"$LINENO"; then :
4001 ac_cv_header_stdc
=no
4003 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4004 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4010 $as_echo "$ac_cv_header_stdc" >&6; }
4011 if test $ac_cv_header_stdc = yes; then
4013 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4017 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4018 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4019 inttypes.h stdint.h unistd.h
4021 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4022 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4024 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4025 cat >>confdefs.h
<<_ACEOF
4026 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4035 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4036 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4043 if test "$MINIX" = yes; then
4045 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4048 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4051 $as_echo "#define _MINIX 1" >>confdefs.h
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4057 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4058 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4059 $as_echo_n "(cached) " >&6
4061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4064 # define __EXTENSIONS__ 1
4065 $ac_includes_default
4074 if ac_fn_c_try_compile
"$LINENO"; then :
4075 ac_cv_safe_to_define___extensions__
=yes
4077 ac_cv_safe_to_define___extensions__
=no
4079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4082 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4083 test $ac_cv_safe_to_define___extensions__ = yes &&
4084 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4086 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4088 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4090 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4092 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4096 # Do not delete or change the following two lines. For why, see
4097 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
4098 # Make sure we can run config.sub.
4099 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4100 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4103 $as_echo_n "checking build system type... " >&6; }
4104 if ${ac_cv_build+:} false
; then :
4105 $as_echo_n "(cached) " >&6
4107 ac_build_alias
=$build_alias
4108 test "x$ac_build_alias" = x
&&
4109 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4110 test "x$ac_build_alias" = x
&&
4111 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4112 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4113 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4117 $as_echo "$ac_cv_build" >&6; }
4118 case $ac_cv_build in
4120 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4123 ac_save_IFS
=$IFS; IFS
='-'
4129 # Remember, the first character of IFS is used to create $*,
4130 # except with old shells:
4133 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4137 $as_echo_n "checking host system type... " >&6; }
4138 if ${ac_cv_host+:} false
; then :
4139 $as_echo_n "(cached) " >&6
4141 if test "x$host_alias" = x
; then
4142 ac_cv_host
=$ac_cv_build
4144 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4145 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4150 $as_echo "$ac_cv_host" >&6; }
4153 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4156 ac_save_IFS
=$IFS; IFS
='-'
4162 # Remember, the first character of IFS is used to create $*,
4163 # except with old shells:
4166 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4170 $as_echo_n "checking target system type... " >&6; }
4171 if ${ac_cv_target+:} false
; then :
4172 $as_echo_n "(cached) " >&6
4174 if test "x$target_alias" = x
; then
4175 ac_cv_target
=$ac_cv_host
4177 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4178 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4183 $as_echo "$ac_cv_target" >&6; }
4184 case $ac_cv_target in
4186 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4188 target
=$ac_cv_target
4189 ac_save_IFS
=$IFS; IFS
='-'
4195 # Remember, the first character of IFS is used to create $*,
4196 # except with old shells:
4199 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4202 # The aliases save the names the user supplied, while $host etc.
4203 # will get canonicalized.
4204 test -n "$target_alias" &&
4205 test "$program_prefix$program_suffix$program_transform_name" = \
4207 program_prefix
=${target_alias}-
4209 target_alias
=${target_alias-$host_alias}
4211 case ${build_alias} in
4212 "") build_noncanonical
=${build} ;;
4213 *) build_noncanonical
=${build_alias} ;;
4216 case ${host_alias} in
4217 "") host_noncanonical
=${build_noncanonical} ;;
4218 *) host_noncanonical
=${host_alias} ;;
4221 case ${target_alias} in
4222 "") target_noncanonical
=${host_noncanonical} ;;
4223 *) target_noncanonical
=${target_alias} ;;
4230 LIBSTDCXX_RAW_CXX_CXXFLAGS
="\
4231 -I\$(top_builddir)/../libstdc++-v3/include \
4232 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
4233 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
4234 LIBSTDCXX_RAW_CXX_LDFLAGS
="\
4235 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
4240 am__api_version
='1.15'
4242 # Find a good install program. We prefer a C program (faster),
4243 # so one script is as good as another. But avoid the broken or
4244 # incompatible versions:
4245 # SysV /etc/install, /usr/sbin/install
4246 # SunOS /usr/etc/install
4247 # IRIX /sbin/install
4249 # AmigaOS /C/install, which installs bootblocks on floppy discs
4250 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4251 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4252 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4253 # OS/2's system install, which has a completely different semantic
4254 # ./install, which can be erroneously created by make from ./install.sh.
4255 # Reject install programs that cannot install multiple files.
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4257 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4258 if test -z "$INSTALL"; then
4259 if ${ac_cv_path_install+:} false
; then :
4260 $as_echo_n "(cached) " >&6
4262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4266 test -z "$as_dir" && as_dir
=.
4267 # Account for people who put trailing slashes in PATH elements.
4268 case $as_dir/ in #((
4269 .
/ | .
// |
/[cC
]/* | \
4270 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4271 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4274 # OSF1 and SCO ODT 3.0 have their own names for install.
4275 # Don't use installbsd from OSF since it installs stuff as root
4277 for ac_prog
in ginstall scoinst
install; do
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4280 if test $ac_prog = install &&
4281 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4282 # AIX install. It has an incompatible calling convention.
4284 elif test $ac_prog = install &&
4285 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4286 # program-specific install script used by HP pwplus--don't use.
4289 rm -rf conftest.one conftest.two conftest.dir
4290 echo one
> conftest.one
4291 echo two
> conftest.two
4293 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4294 test -s conftest.one
&& test -s conftest.two
&&
4295 test -s conftest.dir
/conftest.one
&&
4296 test -s conftest.dir
/conftest.two
4298 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4311 rm -rf conftest.one conftest.two conftest.dir
4314 if test "${ac_cv_path_install+set}" = set; then
4315 INSTALL
=$ac_cv_path_install
4317 # As a last resort, use the slow shell script. Don't cache a
4318 # value for INSTALL within a source directory, because that will
4319 # break other packages using the cache if that directory is
4320 # removed, or if the value is a relative name.
4321 INSTALL
=$ac_install_sh
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4325 $as_echo "$INSTALL" >&6; }
4327 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4328 # It thinks the first close brace ends the variable substitution.
4329 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4331 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4333 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4336 $as_echo_n "checking whether build environment is sane... " >&6; }
4337 # Reject unsafe characters in $srcdir or the absolute working directory
4338 # name. Accept space and tab only in the latter.
4342 *[\\\"\
#\$\&\'\`$am_lf]*)
4343 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4346 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4347 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4350 # Do 'set' in a subshell so we don't clobber the current shell's
4351 # arguments. Must try -L first in case configure is actually a
4352 # symlink; some systems play weird games with the mod time of symlinks
4353 # (eg FreeBSD returns the mod time of the symlink's containing
4357 for am_try
in 1 2; do
4358 echo "timestamp, slept: $am_has_slept" > conftest.
file
4359 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4360 if test "$*" = "X"; then
4362 set X
`ls -t "$srcdir/configure" conftest.file`
4364 if test "$*" != "X $srcdir/configure conftest.file" \
4365 && test "$*" != "X conftest.file $srcdir/configure"; then
4367 # If neither matched, then we have a broken ls. This can happen
4368 # if, for instance, CONFIG_SHELL is bash and it inherits a
4369 # broken ls alias from the environment. This has actually
4370 # happened. Such a system could not be considered "sane".
4371 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4372 alias in your environment" "$LINENO" 5
4374 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4381 test "$2" = conftest.
file
4387 as_fn_error $?
"newly created file is older than distributed files!
4388 Check your system clock" "$LINENO" 5
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4391 $as_echo "yes" >&6; }
4392 # If we didn't sleep, we still need to ensure time stamps of config.status and
4393 # generated files are strictly newer.
4395 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4402 test "$program_prefix" != NONE
&&
4403 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4404 # Use a double $ so make ignores it.
4405 test "$program_suffix" != NONE
&&
4406 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4407 # Double any \ or $.
4408 # By default was `s,x,x', remove it if useless.
4409 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4410 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4412 if test x
"${MISSING+set}" != xset
; then
4415 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4417 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4420 # Use eval to expand $SHELL
4421 if eval "$MISSING --is-lightweight"; then
4422 am_missing_run
="$MISSING "
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4426 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4429 if test x
"${install_sh+set}" != xset
; then
4432 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4434 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4438 # Installed binaries are usually stripped using 'strip' when the user
4439 # run "make install-strip". However 'strip' might not be the right
4440 # tool to use in cross-compilation environments, therefore Automake
4441 # will honor the 'STRIP' environment variable to overrule this program.
4442 if test "$cross_compiling" != no
; then
4443 if test -n "$ac_tool_prefix"; then
4444 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4445 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4447 $as_echo_n "checking for $ac_word... " >&6; }
4448 if ${ac_cv_prog_STRIP+:} false
; then :
4449 $as_echo_n "(cached) " >&6
4451 if test -n "$STRIP"; then
4452 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4458 test -z "$as_dir" && as_dir
=.
4459 for ac_exec_ext
in '' $ac_executable_extensions; do
4460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4461 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4471 STRIP
=$ac_cv_prog_STRIP
4472 if test -n "$STRIP"; then
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4474 $as_echo "$STRIP" >&6; }
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4477 $as_echo "no" >&6; }
4482 if test -z "$ac_cv_prog_STRIP"; then
4484 # Extract the first word of "strip", so it can be a program name with args.
4485 set dummy strip
; ac_word
=$2
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4487 $as_echo_n "checking for $ac_word... " >&6; }
4488 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4489 $as_echo_n "(cached) " >&6
4491 if test -n "$ac_ct_STRIP"; then
4492 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4498 test -z "$as_dir" && as_dir
=.
4499 for ac_exec_ext
in '' $ac_executable_extensions; do
4500 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4501 ac_cv_prog_ac_ct_STRIP
="strip"
4502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4512 if test -n "$ac_ct_STRIP"; then
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4514 $as_echo "$ac_ct_STRIP" >&6; }
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4517 $as_echo "no" >&6; }
4520 if test "x$ac_ct_STRIP" = x
; then
4523 case $cross_compiling:$ac_tool_warned in
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4527 ac_tool_warned
=yes ;;
4532 STRIP
="$ac_cv_prog_STRIP"
4536 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4539 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4540 if test -z "$MKDIR_P"; then
4541 if ${ac_cv_path_mkdir+:} false
; then :
4542 $as_echo_n "(cached) " >&6
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4545 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_prog
in mkdir gmkdir
; do
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4552 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4553 'mkdir (GNU coreutils) '* | \
4554 'mkdir (coreutils) '* | \
4555 'mkdir (fileutils) '4.1*)
4556 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4566 test -d .
/--version && rmdir .
/--version
4567 if test "${ac_cv_path_mkdir+set}" = set; then
4568 MKDIR_P
="$ac_cv_path_mkdir -p"
4570 # As a last resort, use the slow shell script. Don't cache a
4571 # value for MKDIR_P within a source directory, because that will
4572 # break other packages using the cache if that directory is
4573 # removed, or if the value is a relative name.
4574 MKDIR_P
="$ac_install_sh -d"
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4578 $as_echo "$MKDIR_P" >&6; }
4580 for ac_prog
in gawk mawk nawk
awk
4582 # Extract the first word of "$ac_prog", so it can be a program name with args.
4583 set dummy
$ac_prog; ac_word
=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if ${ac_cv_prog_AWK+:} false
; then :
4587 $as_echo_n "(cached) " >&6
4589 if test -n "$AWK"; then
4590 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir
=.
4597 for ac_exec_ext
in '' $ac_executable_extensions; do
4598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_AWK
="$ac_prog"
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 if test -n "$AWK"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4612 $as_echo "$AWK" >&6; }
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4619 test -n "$AWK" && break
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4623 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4625 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4626 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4627 $as_echo_n "(cached) " >&6
4629 cat >conftest.
make <<\_ACEOF
4632 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4634 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4635 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4637 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4639 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4643 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4645 $as_echo "yes" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4650 SET_MAKE
="MAKE=${MAKE-make}"
4653 rm -rf .tst
2>/dev
/null
4654 mkdir .tst
2>/dev
/null
4655 if test -d .tst
; then
4660 rmdir .tst
2>/dev
/null
4662 DEPDIR
="${am__leading_dot}deps"
4664 ac_config_commands
="$ac_config_commands depfiles"
4667 am_make
=${MAKE-make}
4668 cat > confinc
<< 'END'
4670 @
echo this is the am__doit target
4673 # If we don't find an include directive, just comment out the code.
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4675 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4679 # First try GNU make style include.
4680 echo "include confinc" > confmf
4681 # Ignore all kinds of additional output from 'make'.
4682 case `$am_make -s -f confmf 2> /dev/null` in #(
4683 *the\ am__doit\ target
*)
4689 # Now try BSD make style include.
4690 if test "$am__include" = "#"; then
4691 echo '.include "confinc"' > confmf
4692 case `$am_make -s -f confmf 2> /dev/null` in #(
4693 *the\ am__doit\ target
*)
4694 am__include
=.include
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4703 $as_echo "$_am_result" >&6; }
4704 rm -f confinc confmf
4706 # Check whether --enable-dependency-tracking was given.
4707 if test "${enable_dependency_tracking+set}" = set; then :
4708 enableval
=$enable_dependency_tracking;
4711 if test "x$enable_dependency_tracking" != xno
; then
4712 am_depcomp
="$ac_aux_dir/depcomp"
4716 if test "x$enable_dependency_tracking" != xno; then
4725 # Check whether --enable-silent-rules was given.
4726 if test "${enable_silent_rules+set}" = set; then :
4727 enableval
=$enable_silent_rules;
4730 case $enable_silent_rules in # (((
4731 yes) AM_DEFAULT_VERBOSITY
=0;;
4732 no
) AM_DEFAULT_VERBOSITY
=1;;
4733 *) AM_DEFAULT_VERBOSITY
=1;;
4735 am_make
=${MAKE-make}
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4737 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4738 if ${am_cv_make_support_nested_variables+:} false
; then :
4739 $as_echo_n "(cached) " >&6
4741 if $as_echo 'TRUE=$(BAR$(V))
4747 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4748 am_cv_make_support_nested_variables
=yes
4750 am_cv_make_support_nested_variables
=no
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4754 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4755 if test $am_cv_make_support_nested_variables = yes; then
4757 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4759 AM_V
=$AM_DEFAULT_VERBOSITY
4760 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4764 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4765 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4766 # is not polluted with repeated "-I."
4767 am__isrc
=' -I$(srcdir)'
4768 # test to see if srcdir already configured
4769 if test -f $srcdir/config.status
; then
4770 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4774 # test whether we have cygpath
4775 if test -z "$CYGPATH_W"; then
4776 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4777 CYGPATH_W
='cygpath -w'
4784 # Define the identity of the package.
4785 PACKAGE
='package-unused'
4786 VERSION
='version-unused'
4789 cat >>confdefs.h
<<_ACEOF
4790 #define PACKAGE "$PACKAGE"
4794 cat >>confdefs.h
<<_ACEOF
4795 #define VERSION "$VERSION"
4798 # Some tools Automake needs.
4800 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4803 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4806 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4809 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4812 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4814 # For better backward compatibility. To be removed once Automake 1.9.x
4815 # dies out for good. For more background, see:
4816 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4817 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4818 mkdir_p
='$(MKDIR_P)'
4820 # We need awk for the "check" target (and possibly the TAP driver). The
4821 # system "awk" is bad on some platforms.
4822 # Always define AMTAR for backward compatibility. Yes, it's still used
4823 # in the wild :-( We should find a proper way to deprecate it ...
4827 # We'll loop over all known methods to create a tar archive until one works.
4828 _am_tools
='gnutar pax cpio none'
4830 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4836 depcc
="$CC" am_compiler_list
=
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4839 $as_echo_n "checking dependency style of $depcc... " >&6; }
4840 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4844 # We make a subdir and do the tests there. Otherwise we can end up
4845 # making bogus files that we don't know about and never remove. For
4846 # instance it was reported that on HP-UX the gcc test will end up
4847 # making a dummy file named 'D' -- because '-MD' means "put the output
4851 # Copy depcomp to subdir because otherwise we won't find it if we're
4852 # using a relative directory.
4853 cp "$am_depcomp" conftest.dir
4855 # We will build objects and dependencies in a subdirectory because
4856 # it helps to detect inapplicable dependency modes. For instance
4857 # both Tru64's cc and ICC support -MD to output dependencies as a
4858 # side effect of compilation, but ICC will put the dependencies in
4859 # the current directory while Tru64 will put them in the object
4863 am_cv_CC_dependencies_compiler_type
=none
4864 if test "$am_compiler_list" = ""; then
4865 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4868 case " $depcc " in #(
4869 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4872 for depmode
in $am_compiler_list; do
4873 # Setup a source with many dependencies, because some compilers
4874 # like to wrap large dependency lists on column 80 (with \), and
4875 # we should not choose a depcomp mode which is confused by this.
4877 # We need to recreate these files for each test, as the compiler may
4878 # overwrite some of them when testing with obscure command lines.
4879 # This happens at least with the AIX C compiler.
4881 for i
in 1 2 3 4 5 6; do
4882 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4883 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4884 # Solaris 10 /bin/sh.
4885 echo '/* dummy */' > sub
/conftst
$i.h
4887 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4889 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4890 # mode. It turns out that the SunPro C++ compiler does not properly
4891 # handle '-M -o', and we need to detect this. Also, some Intel
4892 # versions had trouble with output in subdirs.
4893 am__obj
=sub
/conftest.
${OBJEXT-o}
4894 am__minus_obj
="-o $am__obj"
4897 # This depmode causes a compiler race in universal mode.
4898 test "$am__universal" = false ||
continue
4901 # After this tag, mechanisms are not by side-effect, so they'll
4902 # only be used when explicitly requested.
4903 if test "x$enable_dependency_tracking" = xyes
; then
4909 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4910 # This compiler won't grok '-c -o', but also, the minuso test has
4911 # not run yet. These depmodes are late enough in the game, and
4912 # so weak that their functioning should not be impacted.
4913 am__obj
=conftest.
${OBJEXT-o}
4918 if depmode
=$depmode \
4919 source=sub
/conftest.c object
=$am__obj \
4920 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4921 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4922 >/dev
/null
2>conftest.err
&&
4923 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4924 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4925 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4926 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4927 # icc doesn't choke on unknown options, it will just issue warnings
4928 # or remarks (even with -Werror). So we grep stderr for any message
4929 # that says an option was ignored or not supported.
4930 # When given -MP, icc 7.0 and 7.1 complain thusly:
4931 # icc: Command line warning: ignoring option '-M'; no argument required
4932 # The diagnosis changed in icc 8.0:
4933 # icc: Command line remark: option '-MP' not supported
4934 if (grep 'ignoring option' conftest.err ||
4935 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4936 am_cv_CC_dependencies_compiler_type
=$depmode
4945 am_cv_CC_dependencies_compiler_type
=none
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4950 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4951 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4954 test "x$enable_dependency_tracking" != xno \
4955 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4957 am__fastdepCC_FALSE
='#'
4959 am__fastdepCC_TRUE
='#'
4960 am__fastdepCC_FALSE
=
4965 # POSIX will say in a future version that running "rm -f" with no argument
4966 # is OK; and we want to be able to make that assumption in our Makefile
4967 # recipes. So use an aggressive probe to check that the usage we want is
4968 # actually supported "in the wild" to an acceptable degree.
4969 # See automake bug#10828.
4970 # To make any issue more visible, cause the running configure to be aborted
4971 # by default if the 'rm' program in use doesn't match our expectations; the
4972 # user can still override this though.
4973 if rm -f && rm -fr && rm -rf; then : OK
; else
4977 Your 'rm' program seems unable to run without file operands specified
4978 on the command line, even when the '-f' option is present. This is contrary
4979 to the behaviour of most rm programs out there, and not conforming with
4980 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4982 Please tell bug-automake@gnu.org about your system, including the value
4983 of your $PATH and any error possibly output before this message. This
4984 can help us improve future automake versions.
4987 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4988 echo 'Configuration will proceed anyway, since you have set the' >&2
4989 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4993 Aborting the configuration process, to ensure you take notice of the issue.
4995 You can download and install GNU coreutils to get an 'rm' implementation
4996 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4998 If you want to complete the configuration process using your problematic
4999 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5000 to "yes", and re-run configure.
5003 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5009 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5010 # Check whether --enable-maintainer-mode was given.
5011 if test "${enable_maintainer_mode+set}" = set; then :
5012 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5014 USE_MAINTAINER_MODE
=no
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5018 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5019 if test $USE_MAINTAINER_MODE = yes; then
5020 MAINTAINER_MODE_TRUE
=
5021 MAINTAINER_MODE_FALSE
='#'
5023 MAINTAINER_MODE_TRUE
='#'
5024 MAINTAINER_MODE_FALSE
=
5027 MAINT
=$MAINTAINER_MODE_TRUE
5032 # Check whether --with-toolexeclibdir was given.
5033 if test "${with_toolexeclibdir+set}" = set; then :
5034 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5038 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5042 with_toolexeclibdir
=no
5047 # Calculate toolexeclibdir
5048 # Also toolexecdir, though it's only used in toolexeclibdir
5049 case ${version_specific_libs} in
5051 # Need the gcc compiler version to know where to install libraries
5052 # and header files if --enable-version-specific-runtime-libs option
5054 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5055 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5058 if test -n "$with_cross_host" &&
5059 test x
"$with_cross_host" != x
"no"; then
5060 # Install a library built with a cross compiler in tooldir, not libdir.
5061 toolexecdir
='$(exec_prefix)/$(target_alias)'
5062 case ${with_toolexeclibdir} in
5064 toolexeclibdir
='$(toolexecdir)/lib'
5067 toolexeclibdir
=${with_toolexeclibdir}
5071 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5072 toolexeclibdir
='$(libdir)'
5074 multi_os_directory
=`$CC -print-multi-os-directory`
5075 case $multi_os_directory in
5076 .
) ;; # Avoid trailing /.
5077 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5084 # Checks for programs.
5086 ac_cpp
='$CPP $CPPFLAGS'
5087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5090 if test -n "$ac_tool_prefix"; then
5091 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5092 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if ${ac_cv_prog_CC+:} false
; then :
5096 $as_echo_n "(cached) " >&6
5098 if test -n "$CC"; then
5099 ac_cv_prog_CC
="$CC" # Let the user override the test.
5101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir
=.
5106 for ac_exec_ext
in '' $ac_executable_extensions; do
5107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 if test -n "$CC"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5121 $as_echo "$CC" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5129 if test -z "$ac_cv_prog_CC"; then
5131 # Extract the first word of "gcc", so it can be a program name with args.
5132 set dummy gcc
; ac_word
=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$ac_ct_CC"; then
5139 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir
=.
5146 for ac_exec_ext
in '' $ac_executable_extensions; do
5147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_ac_ct_CC
="gcc"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5159 if test -n "$ac_ct_CC"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5161 $as_echo "$ac_ct_CC" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5167 if test "x$ac_ct_CC" = x
; then
5170 case $cross_compiling:$ac_tool_warned in
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5174 ac_tool_warned
=yes ;;
5182 if test -z "$CC"; then
5183 if test -n "$ac_tool_prefix"; then
5184 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5185 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_CC+:} false
; then :
5189 $as_echo_n "(cached) " >&6
5191 if test -n "$CC"; then
5192 ac_cv_prog_CC
="$CC" # Let the user override the test.
5194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5198 test -z "$as_dir" && as_dir
=.
5199 for ac_exec_ext
in '' $ac_executable_extensions; do
5200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 if test -n "$CC"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5214 $as_echo "$CC" >&6; }
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5223 if test -z "$CC"; then
5224 # Extract the first word of "cc", so it can be a program name with args.
5225 set dummy cc
; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_CC+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$CC"; then
5232 ac_cv_prog_CC
="$CC" # Let the user override the test.
5235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir
=.
5240 for ac_exec_ext
in '' $ac_executable_extensions; do
5241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5243 ac_prog_rejected
=yes
5247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 if test $ac_prog_rejected = yes; then
5255 # We found a bogon in the path, so make sure we never use it.
5256 set dummy
$ac_cv_prog_CC
5258 if test $# != 0; then
5259 # We chose a different compiler from the bogus one.
5260 # However, it has the same basename, so the bogon will be chosen
5261 # first if we set CC to just the basename; use the full file name.
5263 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5269 if test -n "$CC"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5271 $as_echo "$CC" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5279 if test -z "$CC"; then
5280 if test -n "$ac_tool_prefix"; then
5281 for ac_prog
in cl.exe
5283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5284 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_CC+:} false
; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$CC"; then
5291 ac_cv_prog_CC
="$CC" # Let the user override the test.
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_exec_ext
in '' $ac_executable_extensions; do
5299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 if test -n "$CC"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5313 $as_echo "$CC" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5320 test -n "$CC" && break
5323 if test -z "$CC"; then
5325 for ac_prog
in cl.exe
5327 # Extract the first word of "$ac_prog", so it can be a program name with args.
5328 set dummy
$ac_prog; ac_word
=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$ac_ct_CC"; then
5335 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir
=.
5342 for ac_exec_ext
in '' $ac_executable_extensions; do
5343 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5344 ac_cv_prog_ac_ct_CC
="$ac_prog"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5355 if test -n "$ac_ct_CC"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5357 $as_echo "$ac_ct_CC" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5364 test -n "$ac_ct_CC" && break
5367 if test "x$ac_ct_CC" = x
; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned
=yes ;;
5383 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5385 as_fn_error $?
"no acceptable C compiler found in \$PATH
5386 See \`config.log' for more details" "$LINENO" 5; }
5388 # Provide some information about the compiler.
5389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5392 for ac_option
in --version -v -V -qversion; do
5393 { { ac_try
="$ac_compiler $ac_option >&5"
5395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5396 *) ac_try_echo=$ac_try;;
5398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5399 $as_echo "$ac_try_echo"; } >&5
5400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5402 if test -s conftest.err; then
5404 ... rest of stderr output deleted ...
5405 10q' conftest.err >conftest.er1
5406 cat conftest.er1 >&5
5408 rm -f conftest.er1 conftest.err
5409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5410 test $ac_status = 0; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5414 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5415 if ${ac_cv_c_compiler_gnu+:} false; then :
5416 $as_echo_n "(cached) " >&6
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5432 if ac_fn_c_try_compile "$LINENO"; then :
5437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5438 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5442 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5443 if test $ac_compiler_gnu = yes; then
5448 ac_test_CFLAGS=${CFLAGS+set}
5449 ac_save_CFLAGS=$CFLAGS
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5451 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5452 if ${ac_cv_prog_cc_g+:} false; then :
5453 $as_echo_n "(cached) " >&6
5455 ac_save_c_werror_flag=$ac_c_werror_flag
5456 ac_c_werror_flag=yes
5459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5460 /* end confdefs.h. */
5470 if ac_fn_c_try_compile "$LINENO"; then :
5474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475 /* end confdefs.h. */
5485 if ac_fn_c_try_compile "$LINENO"; then :
5488 ac_c_werror_flag=$ac_save_c_werror_flag
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5501 if ac_fn_c_try_compile "$LINENO"; then :
5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509 ac_c_werror_flag=$ac_save_c_werror_flag
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5512 $as_echo "$ac_cv_prog_cc_g" >&6; }
5513 if test "$ac_test_CFLAGS" = set; then
5514 CFLAGS=$ac_save_CFLAGS
5515 elif test $ac_cv_prog_cc_g = yes; then
5516 if test "$GCC" = yes; then
5522 if test "$GCC" = yes; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5529 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5530 if ${ac_cv_prog_cc_c89+:} false; then :
5531 $as_echo_n "(cached) " >&6
5533 ac_cv_prog_cc_c89=no
5535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5536 /* end confdefs.h. */
5540 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5541 struct buf { int x; };
5542 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5543 static char *e (p, i)
5549 static char *f (char * (*g) (char **, int), char **p, ...)
5554 s = g (p, va_arg (v,int));
5559 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5560 function prototypes and stuff, but not '\xHH' hex character constants.
5561 These don't provoke an error unfortunately, instead are silently treated
5562 as 'x'. The following induces an error, until -std is added to get
5563 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5564 array size at least. It's necessary to write '\x00'==0 to get something
5565 that's true only with -std. */
5566 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5568 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5569 inside strings and character constants. */
5571 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5573 int test (int i, double x);
5574 struct s1 {int (*f) (int a);};
5575 struct s2 {int (*f) (double a);};
5576 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5582 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5587 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5588 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5590 CC="$ac_save_CC $ac_arg"
5591 if ac_fn_c_try_compile "$LINENO"; then :
5592 ac_cv_prog_cc_c89=$ac_arg
5594 rm -f core conftest.err conftest.$ac_objext
5595 test "x$ac_cv_prog_cc_c89" != "xno" && break
5597 rm -f conftest.$ac_ext
5602 case "x$ac_cv_prog_cc_c89" in
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5605 $as_echo "none needed" >&6; } ;;
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5608 $as_echo "unsupported" >&6; } ;;
5610 CC="$CC $ac_cv_prog_cc_c89"
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5612 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5614 if test "x$ac_cv_prog_cc_c89" != xno; then :
5619 ac_cpp='$CPP $CPPFLAGS'
5620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5625 ac_cpp='$CPP $CPPFLAGS'
5626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5630 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5631 if ${am_cv_prog_cc_c_o+:} false; then :
5632 $as_echo_n "(cached) " >&6
5634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5645 # Make sure it works both with $CC and with simple cc.
5646 # Following AC_PROG_CC_C_O, we do the test twice because some
5647 # compilers refuse to overwrite an existing .o file with -o,
5648 # though they will create one.
5649 am_cv_prog_cc_c_o=yes
5651 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5652 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); } \
5656 && test -f conftest2.$ac_objext; then
5659 am_cv_prog_cc_c_o=no
5663 rm -f core conftest*
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5667 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5668 if test "$am_cv_prog_cc_c_o" != yes; then
5669 # Losing compiler, so override with the script.
5670 # FIXME: It is wrong to rewrite CC.
5671 # But if we don't then we get into trouble of one sort or another.
5672 # A longer-term fix would be to have automake use am__CC in this case,
5673 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5674 CC="$am_aux_dir/compile $CC"
5677 ac_cpp='$CPP $CPPFLAGS'
5678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5684 ac_cpp='$CXXCPP $CPPFLAGS'
5685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5688 if test -z "$CXX"; then
5689 if test -n "$CCC"; then
5692 if test -n "$ac_tool_prefix"; then
5693 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5696 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if ${ac_cv_prog_CXX+:} false; then :
5700 $as_echo_n "(cached) " >&6
5702 if test -n "$CXX"; then
5703 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir=.
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 if test -n "$CXX"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5725 $as_echo "$CXX" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5732 test -n "$CXX" && break
5735 if test -z "$CXX"; then
5737 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5739 # Extract the first word of "$ac_prog", so it can be a program name with args.
5740 set dummy $ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5744 $as_echo_n "(cached) " >&6
5746 if test -n "$ac_ct_CXX"; then
5747 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_ac_ct_CXX="$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5767 if test -n "$ac_ct_CXX"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5769 $as_echo "$ac_ct_CXX" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$ac_ct_CXX" && break
5779 if test "x$ac_ct_CXX" = x; then
5782 case $cross_compiling:$ac_tool_warned in
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5786 ac_tool_warned=yes ;;
5794 # Provide some information about the compiler.
5795 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5798 for ac_option in --version -v -V -qversion; do
5799 { { ac_try="$ac_compiler $ac_option >&5"
5801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5802 *) ac_try_echo
=$ac_try;;
5804 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5805 $as_echo "$ac_try_echo"; } >&5
5806 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5808 if test -s conftest.err
; then
5810 ... rest of stderr output deleted ...
5811 10q' conftest.err
>conftest.er1
5812 cat conftest.er1
>&5
5814 rm -f conftest.er1 conftest.err
5815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5816 test $ac_status = 0; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5820 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5821 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5822 $as_echo_n "(cached) " >&6
5824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5838 if ac_fn_cxx_try_compile
"$LINENO"; then :
5843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5844 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5848 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5849 if test $ac_compiler_gnu = yes; then
5854 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5855 ac_save_CXXFLAGS
=$CXXFLAGS
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5857 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5858 if ${ac_cv_prog_cxx_g+:} false
; then :
5859 $as_echo_n "(cached) " >&6
5861 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5862 ac_cxx_werror_flag
=yes
5865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5876 if ac_fn_cxx_try_compile
"$LINENO"; then :
5877 ac_cv_prog_cxx_g
=yes
5880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5881 /* end confdefs.h. */
5891 if ac_fn_cxx_try_compile
"$LINENO"; then :
5894 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5897 /* end confdefs.h. */
5907 if ac_fn_cxx_try_compile
"$LINENO"; then :
5908 ac_cv_prog_cxx_g
=yes
5910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5915 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5918 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5919 if test "$ac_test_CXXFLAGS" = set; then
5920 CXXFLAGS
=$ac_save_CXXFLAGS
5921 elif test $ac_cv_prog_cxx_g = yes; then
5922 if test "$GXX" = yes; then
5928 if test "$GXX" = yes; then
5935 ac_cpp
='$CPP $CPPFLAGS'
5936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5940 depcc
="$CXX" am_compiler_list
=
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5943 $as_echo_n "checking dependency style of $depcc... " >&6; }
5944 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5945 $as_echo_n "(cached) " >&6
5947 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5948 # We make a subdir and do the tests there. Otherwise we can end up
5949 # making bogus files that we don't know about and never remove. For
5950 # instance it was reported that on HP-UX the gcc test will end up
5951 # making a dummy file named 'D' -- because '-MD' means "put the output
5955 # Copy depcomp to subdir because otherwise we won't find it if we're
5956 # using a relative directory.
5957 cp "$am_depcomp" conftest.dir
5959 # We will build objects and dependencies in a subdirectory because
5960 # it helps to detect inapplicable dependency modes. For instance
5961 # both Tru64's cc and ICC support -MD to output dependencies as a
5962 # side effect of compilation, but ICC will put the dependencies in
5963 # the current directory while Tru64 will put them in the object
5967 am_cv_CXX_dependencies_compiler_type
=none
5968 if test "$am_compiler_list" = ""; then
5969 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5972 case " $depcc " in #(
5973 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5976 for depmode
in $am_compiler_list; do
5977 # Setup a source with many dependencies, because some compilers
5978 # like to wrap large dependency lists on column 80 (with \), and
5979 # we should not choose a depcomp mode which is confused by this.
5981 # We need to recreate these files for each test, as the compiler may
5982 # overwrite some of them when testing with obscure command lines.
5983 # This happens at least with the AIX C compiler.
5985 for i
in 1 2 3 4 5 6; do
5986 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5987 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5988 # Solaris 10 /bin/sh.
5989 echo '/* dummy */' > sub
/conftst
$i.h
5991 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5993 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5994 # mode. It turns out that the SunPro C++ compiler does not properly
5995 # handle '-M -o', and we need to detect this. Also, some Intel
5996 # versions had trouble with output in subdirs.
5997 am__obj
=sub
/conftest.
${OBJEXT-o}
5998 am__minus_obj
="-o $am__obj"
6001 # This depmode causes a compiler race in universal mode.
6002 test "$am__universal" = false ||
continue
6005 # After this tag, mechanisms are not by side-effect, so they'll
6006 # only be used when explicitly requested.
6007 if test "x$enable_dependency_tracking" = xyes
; then
6013 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6014 # This compiler won't grok '-c -o', but also, the minuso test has
6015 # not run yet. These depmodes are late enough in the game, and
6016 # so weak that their functioning should not be impacted.
6017 am__obj
=conftest.
${OBJEXT-o}
6022 if depmode
=$depmode \
6023 source=sub
/conftest.c object
=$am__obj \
6024 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6025 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6026 >/dev
/null
2>conftest.err
&&
6027 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6028 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6029 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6030 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6031 # icc doesn't choke on unknown options, it will just issue warnings
6032 # or remarks (even with -Werror). So we grep stderr for any message
6033 # that says an option was ignored or not supported.
6034 # When given -MP, icc 7.0 and 7.1 complain thusly:
6035 # icc: Command line warning: ignoring option '-M'; no argument required
6036 # The diagnosis changed in icc 8.0:
6037 # icc: Command line remark: option '-MP' not supported
6038 if (grep 'ignoring option' conftest.err ||
6039 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6040 am_cv_CXX_dependencies_compiler_type
=$depmode
6049 am_cv_CXX_dependencies_compiler_type
=none
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6054 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6055 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6058 test "x$enable_dependency_tracking" != xno \
6059 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6060 am__fastdepCXX_TRUE
=
6061 am__fastdepCXX_FALSE
='#'
6063 am__fastdepCXX_TRUE
='#'
6064 am__fastdepCXX_FALSE
=
6068 # By default we simply use the C compiler to build assembly code.
6070 test "${CCAS+set}" = set || CCAS
=$CC
6071 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
6075 depcc
="$CCAS" am_compiler_list
=
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6078 $as_echo_n "checking dependency style of $depcc... " >&6; }
6079 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
6080 $as_echo_n "(cached) " >&6
6082 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6083 # We make a subdir and do the tests there. Otherwise we can end up
6084 # making bogus files that we don't know about and never remove. For
6085 # instance it was reported that on HP-UX the gcc test will end up
6086 # making a dummy file named 'D' -- because '-MD' means "put the output
6090 # Copy depcomp to subdir because otherwise we won't find it if we're
6091 # using a relative directory.
6092 cp "$am_depcomp" conftest.dir
6094 # We will build objects and dependencies in a subdirectory because
6095 # it helps to detect inapplicable dependency modes. For instance
6096 # both Tru64's cc and ICC support -MD to output dependencies as a
6097 # side effect of compilation, but ICC will put the dependencies in
6098 # the current directory while Tru64 will put them in the object
6102 am_cv_CCAS_dependencies_compiler_type
=none
6103 if test "$am_compiler_list" = ""; then
6104 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6109 for depmode
in $am_compiler_list; do
6110 # Setup a source with many dependencies, because some compilers
6111 # like to wrap large dependency lists on column 80 (with \), and
6112 # we should not choose a depcomp mode which is confused by this.
6114 # We need to recreate these files for each test, as the compiler may
6115 # overwrite some of them when testing with obscure command lines.
6116 # This happens at least with the AIX C compiler.
6118 for i
in 1 2 3 4 5 6; do
6119 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6120 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6121 # Solaris 10 /bin/sh.
6122 echo '/* dummy */' > sub
/conftst
$i.h
6124 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6126 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6127 # mode. It turns out that the SunPro C++ compiler does not properly
6128 # handle '-M -o', and we need to detect this. Also, some Intel
6129 # versions had trouble with output in subdirs.
6130 am__obj
=sub
/conftest.
${OBJEXT-o}
6131 am__minus_obj
="-o $am__obj"
6134 # This depmode causes a compiler race in universal mode.
6135 test "$am__universal" = false ||
continue
6138 # After this tag, mechanisms are not by side-effect, so they'll
6139 # only be used when explicitly requested.
6140 if test "x$enable_dependency_tracking" = xyes
; then
6146 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6147 # This compiler won't grok '-c -o', but also, the minuso test has
6148 # not run yet. These depmodes are late enough in the game, and
6149 # so weak that their functioning should not be impacted.
6150 am__obj
=conftest.
${OBJEXT-o}
6155 if depmode
=$depmode \
6156 source=sub
/conftest.c object
=$am__obj \
6157 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6158 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6159 >/dev
/null
2>conftest.err
&&
6160 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6161 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6162 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6163 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6164 # icc doesn't choke on unknown options, it will just issue warnings
6165 # or remarks (even with -Werror). So we grep stderr for any message
6166 # that says an option was ignored or not supported.
6167 # When given -MP, icc 7.0 and 7.1 complain thusly:
6168 # icc: Command line warning: ignoring option '-M'; no argument required
6169 # The diagnosis changed in icc 8.0:
6170 # icc: Command line remark: option '-MP' not supported
6171 if (grep 'ignoring option' conftest.err ||
6172 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6173 am_cv_CCAS_dependencies_compiler_type
=$depmode
6182 am_cv_CCAS_dependencies_compiler_type
=none
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6187 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6188 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
6191 test "x$enable_dependency_tracking" != xno \
6192 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
6193 am__fastdepCCAS_TRUE
=
6194 am__fastdepCCAS_FALSE
='#'
6196 am__fastdepCCAS_TRUE
='#'
6197 am__fastdepCCAS_FALSE
=
6201 if test -n "$ac_tool_prefix"; then
6202 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6203 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6205 $as_echo_n "checking for $ac_word... " >&6; }
6206 if ${ac_cv_prog_RANLIB+:} false
; then :
6207 $as_echo_n "(cached) " >&6
6209 if test -n "$RANLIB"; then
6210 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6216 test -z "$as_dir" && as_dir
=.
6217 for ac_exec_ext
in '' $ac_executable_extensions; do
6218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6219 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 RANLIB
=$ac_cv_prog_RANLIB
6230 if test -n "$RANLIB"; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6232 $as_echo "$RANLIB" >&6; }
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6235 $as_echo "no" >&6; }
6240 if test -z "$ac_cv_prog_RANLIB"; then
6241 ac_ct_RANLIB
=$RANLIB
6242 # Extract the first word of "ranlib", so it can be a program name with args.
6243 set dummy ranlib
; ac_word
=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245 $as_echo_n "checking for $ac_word... " >&6; }
6246 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6247 $as_echo_n "(cached) " >&6
6249 if test -n "$ac_ct_RANLIB"; then
6250 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir
=.
6257 for ac_exec_ext
in '' $ac_executable_extensions; do
6258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6259 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6269 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6270 if test -n "$ac_ct_RANLIB"; then
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6272 $as_echo "$ac_ct_RANLIB" >&6; }
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6275 $as_echo "no" >&6; }
6278 if test "x$ac_ct_RANLIB" = x
; then
6281 case $cross_compiling:$ac_tool_warned in
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6285 ac_tool_warned
=yes ;;
6287 RANLIB
=$ac_ct_RANLIB
6290 RANLIB
="$ac_cv_prog_RANLIB"
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6301 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6306 macro_version
='2.2.7a'
6307 macro_revision
='1.3134'
6321 ltmain
="$ac_aux_dir/ltmain.sh"
6323 # Backslashify metacharacters that are still active within
6324 # double-quoted strings.
6325 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6327 # Same as above, but do not quote variable references.
6328 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6330 # Sed substitution to delay expansion of an escaped shell variable in a
6331 # double_quote_subst'ed string.
6332 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6334 # Sed substitution to delay expansion of an escaped single quote.
6335 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6337 # Sed substitution to avoid accidental globbing in evaled expressions
6338 no_glob_subst
='s/\*/\\\*/g'
6340 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6342 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6345 $as_echo_n "checking how to print strings... " >&6; }
6346 # Test print first, because it will be a builtin if present.
6347 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6348 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6350 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6353 # Use this function as a fallback that always works.
6354 func_fallback_echo ()
6356 eval 'cat <<_LTECHO_EOF
6360 ECHO='func_fallback_echo
'
6363 # func_echo_all arg...
6364 # Invoke $ECHO with all args, space-separated.
6371 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6372 $as_echo "printf" >&6; } ;;
6373 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6374 $as_echo "print -r" >&6; } ;;
6375 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6376 $as_echo "cat" >&6; } ;;
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6393 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6394 if ${ac_cv_path_SED+:} false; then :
6395 $as_echo_n "(cached) " >&6
6397 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6398 for ac_i in 1 2 3 4 5 6 7; do
6399 ac_script="$ac_script$as_nl$ac_script"
6401 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6402 { ac_script=; unset ac_script;}
6403 if test -z "$SED"; then
6404 ac_path_SED_found=false
6405 # Loop through the user's path and
test for each of PROGNAME-LIST
6406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6410 test -z "$as_dir" && as_dir
=.
6411 for ac_prog
in sed gsed
; do
6412 for ac_exec_ext
in '' $ac_executable_extensions; do
6413 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6414 as_fn_executable_p
"$ac_path_SED" ||
continue
6415 # Check for GNU ac_path_SED and select it if it is found.
6416 # Check for GNU $ac_path_SED
6417 case `"$ac_path_SED" --version 2>&1` in
6419 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6422 $as_echo_n 0123456789 >"conftest.in"
6425 cat "conftest.in" "conftest.in" >"conftest.tmp"
6426 mv "conftest.tmp" "conftest.in"
6427 cp "conftest.in" "conftest.nl"
6428 $as_echo '' >> "conftest.nl"
6429 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6430 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6431 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6432 if test $ac_count -gt ${ac_path_SED_max-0}; then
6433 # Best one so far, save it but keep looking for a better one
6434 ac_cv_path_SED
="$ac_path_SED"
6435 ac_path_SED_max
=$ac_count
6437 # 10*(2^10) chars as input seems more than enough
6438 test $ac_count -gt 10 && break
6440 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6443 $ac_path_SED_found && break 3
6448 if test -z "$ac_cv_path_SED"; then
6449 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6457 $as_echo "$ac_cv_path_SED" >&6; }
6458 SED
="$ac_cv_path_SED"
6461 test -z "$SED" && SED
=sed
6462 Xsed
="$SED -e 1s/^X//"
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6475 $as_echo_n "checking for fgrep... " >&6; }
6476 if ${ac_cv_path_FGREP+:} false
; then :
6477 $as_echo_n "(cached) " >&6
6479 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6480 then ac_cv_path_FGREP
="$GREP -F"
6482 if test -z "$FGREP"; then
6483 ac_path_FGREP_found
=false
6484 # Loop through the user's path and test for each of PROGNAME-LIST
6485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6486 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6489 test -z "$as_dir" && as_dir
=.
6490 for ac_prog
in fgrep
; do
6491 for ac_exec_ext
in '' $ac_executable_extensions; do
6492 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6493 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6494 # Check for GNU ac_path_FGREP and select it if it is found.
6495 # Check for GNU $ac_path_FGREP
6496 case `"$ac_path_FGREP" --version 2>&1` in
6498 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6501 $as_echo_n 0123456789 >"conftest.in"
6504 cat "conftest.in" "conftest.in" >"conftest.tmp"
6505 mv "conftest.tmp" "conftest.in"
6506 cp "conftest.in" "conftest.nl"
6507 $as_echo 'FGREP' >> "conftest.nl"
6508 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6509 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6510 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6511 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6512 # Best one so far, save it but keep looking for a better one
6513 ac_cv_path_FGREP
="$ac_path_FGREP"
6514 ac_path_FGREP_max
=$ac_count
6516 # 10*(2^10) chars as input seems more than enough
6517 test $ac_count -gt 10 && break
6519 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6522 $ac_path_FGREP_found && break 3
6527 if test -z "$ac_cv_path_FGREP"; then
6528 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6531 ac_cv_path_FGREP
=$FGREP
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6537 $as_echo "$ac_cv_path_FGREP" >&6; }
6538 FGREP
="$ac_cv_path_FGREP"
6541 test -z "$GREP" && GREP
=grep
6561 # Check whether --with-gnu-ld was given.
6562 if test "${with_gnu_ld+set}" = set; then :
6563 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6569 if test "$GCC" = yes; then
6570 # Check if gcc -print-prog-name=ld gives a path.
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6572 $as_echo_n "checking for ld used by $CC... " >&6; }
6575 # gcc leaves a trailing carriage return which upsets mingw
6576 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6578 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6581 # Accept absolute paths.
6583 re_direlt
='/[^/][^/]*/\.\./'
6584 # Canonicalize the pathname of ld
6585 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6586 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6587 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6589 test -z "$LD" && LD
="$ac_prog"
6592 # If it fails, then pretend we aren't using GCC.
6596 # If it is relative, then search for the first ld in PATH.
6600 elif test "$with_gnu_ld" = yes; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6602 $as_echo_n "checking for GNU ld... " >&6; }
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6605 $as_echo_n "checking for non-GNU ld... " >&6; }
6607 if ${lt_cv_path_LD+:} false
; then :
6608 $as_echo_n "(cached) " >&6
6610 if test -z "$LD"; then
6611 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6612 for ac_dir
in $PATH; do
6614 test -z "$ac_dir" && ac_dir
=.
6615 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6616 lt_cv_path_LD
="$ac_dir/$ac_prog"
6617 # Check to see if the program is GNU ld. I'd rather use --version,
6618 # but apparently some variants of GNU ld only accept -v.
6619 # Break only if it was the GNU/non-GNU ld that we prefer.
6620 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6621 *GNU
* |
*'with BFD'*)
6622 test "$with_gnu_ld" != no
&& break
6625 test "$with_gnu_ld" != yes && break
6632 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6637 if test -n "$LD"; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6639 $as_echo "$LD" >&6; }
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 $as_echo "no" >&6; }
6644 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6646 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6647 if ${lt_cv_prog_gnu_ld+:} false
; then :
6648 $as_echo_n "(cached) " >&6
6650 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6651 case `$LD -v 2>&1 </dev/null` in
6652 *GNU
* |
*'with BFD'*)
6653 lt_cv_prog_gnu_ld
=yes
6656 lt_cv_prog_gnu_ld
=no
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6661 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6662 with_gnu_ld
=$lt_cv_prog_gnu_ld
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6673 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6674 if ${lt_cv_path_NM+:} false
; then :
6675 $as_echo_n "(cached) " >&6
6677 if test -n "$NM"; then
6678 # Let the user override the nm to test.
6679 lt_nm_to_check
="$NM"
6681 lt_nm_to_check
="${ac_tool_prefix}nm"
6682 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6683 lt_nm_to_check
="$lt_nm_to_check nm"
6686 for lt_tmp_nm
in "$lt_nm_to_check"; do
6687 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6688 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6690 test -z "$ac_dir" && ac_dir
=.
6691 # Strip out any user-provided options from the nm to test twice,
6692 # the first time to test to see if nm (rather than its options) has
6693 # an explicit path, the second time to yield a file which can be
6695 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6696 case "$tmp_nm_path" in
6697 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6698 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6700 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6701 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6702 # Check to see if the nm accepts a BSD-compat flag.
6703 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6704 # nm: unknown option "B" ignored
6705 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6706 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6710 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6712 lt_cv_path_NM
="$tmp_nm -p"
6716 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6717 continue # so that we can try to find one that supports BSD flags
6726 : ${lt_cv_path_NM=no}
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6729 $as_echo "$lt_cv_path_NM" >&6; }
6730 if test "$lt_cv_path_NM" != "no"; then
6733 # Didn't find any BSD compatible name lister, look for dumpbin.
6734 if test -n "$DUMPBIN"; then :
6735 # Let the user override the test.
6737 if test -n "$ac_tool_prefix"; then
6738 for ac_prog
in dumpbin
"link -dump"
6740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6741 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6743 $as_echo_n "checking for $ac_word... " >&6; }
6744 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6745 $as_echo_n "(cached) " >&6
6747 if test -n "$DUMPBIN"; then
6748 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6754 test -z "$as_dir" && as_dir
=.
6755 for ac_exec_ext
in '' $ac_executable_extensions; do
6756 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6757 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 DUMPBIN
=$ac_cv_prog_DUMPBIN
6768 if test -n "$DUMPBIN"; then
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6770 $as_echo "$DUMPBIN" >&6; }
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6773 $as_echo "no" >&6; }
6777 test -n "$DUMPBIN" && break
6780 if test -z "$DUMPBIN"; then
6781 ac_ct_DUMPBIN
=$DUMPBIN
6782 for ac_prog
in dumpbin
"link -dump"
6784 # Extract the first word of "$ac_prog", so it can be a program name with args.
6785 set dummy
$ac_prog; ac_word
=$2
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 $as_echo_n "checking for $ac_word... " >&6; }
6788 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6789 $as_echo_n "(cached) " >&6
6791 if test -n "$ac_ct_DUMPBIN"; then
6792 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6798 test -z "$as_dir" && as_dir
=.
6799 for ac_exec_ext
in '' $ac_executable_extensions; do
6800 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6811 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6812 if test -n "$ac_ct_DUMPBIN"; then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6814 $as_echo "$ac_ct_DUMPBIN" >&6; }
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 $as_echo "no" >&6; }
6821 test -n "$ac_ct_DUMPBIN" && break
6824 if test "x$ac_ct_DUMPBIN" = x
; then
6827 case $cross_compiling:$ac_tool_warned in
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6831 ac_tool_warned
=yes ;;
6833 DUMPBIN
=$ac_ct_DUMPBIN
6837 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6839 DUMPBIN
="$DUMPBIN -symbols"
6847 if test "$DUMPBIN" != ":"; then
6851 test -z "$NM" && NM
=nm
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6859 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6860 if ${lt_cv_nm_interface+:} false
; then :
6861 $as_echo_n "(cached) " >&6
6863 lt_cv_nm_interface
="BSD nm"
6864 echo "int some_variable = 0;" > conftest.
$ac_ext
6865 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6866 (eval "$ac_compile" 2>conftest.err
)
6867 cat conftest.err
>&5
6868 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6869 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6870 cat conftest.err
>&5
6871 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6872 cat conftest.out
>&5
6873 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6874 lt_cv_nm_interface
="MS dumpbin"
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6879 $as_echo "$lt_cv_nm_interface" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6882 $as_echo_n "checking whether ln -s works... " >&6; }
6884 if test "$LN_S" = "ln -s"; then
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6886 $as_echo "yes" >&6; }
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6889 $as_echo "no, using $LN_S" >&6; }
6892 # find the maximum length of command line arguments
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6894 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6895 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6896 $as_echo_n "(cached) " >&6
6903 # On DJGPP, this test can blow up pretty badly due to problems in libc
6904 # (any single argument exceeding 2000 bytes causes a buffer overrun
6905 # during glob expansion). Even if it were fixed, the result of this
6906 # check would be larger than it should be.
6907 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6911 # Under GNU Hurd, this test is not required because there is
6912 # no limit to the length of command line arguments.
6913 # Libtool will interpret -1 as no limit whatsoever
6914 lt_cv_sys_max_cmd_len
=-1;
6917 cygwin
* | mingw
* | cegcc
*)
6918 # On Win9x/ME, this test blows up -- it succeeds, but takes
6919 # about 5 minutes as the teststring grows exponentially.
6920 # Worse, since 9x/ME are not pre-emptively multitasking,
6921 # you end up with a "frozen" computer, even though with patience
6922 # the test eventually succeeds (with a max line length of 256k).
6923 # Instead, let's just punt: use the minimum linelength reported by
6924 # all of the supported platforms: 8192 (on NT/2K/XP).
6925 lt_cv_sys_max_cmd_len
=8192;
6929 # On MiNT this can take a long time and run out of memory.
6930 lt_cv_sys_max_cmd_len
=8192;
6934 # On AmigaOS with pdksh, this test takes hours, literally.
6935 # So we just punt and use a minimum line length of 8192.
6936 lt_cv_sys_max_cmd_len
=8192;
6939 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6940 # This has been around since 386BSD, at least. Likely further.
6941 if test -x /sbin
/sysctl
; then
6942 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6943 elif test -x /usr
/sbin
/sysctl
; then
6944 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6946 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6948 # And add a safety zone
6949 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6950 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6954 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6955 lt_cv_sys_max_cmd_len
=196608
6959 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6960 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6961 # nice to cause kernel panics so lets avoid the loop below.
6962 # First set a reasonable default.
6963 lt_cv_sys_max_cmd_len
=16384
6965 if test -x /sbin
/sysconfig
; then
6966 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6967 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6972 lt_cv_sys_max_cmd_len
=102400
6974 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6975 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6976 if test -n "$kargmax"; then
6977 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6979 lt_cv_sys_max_cmd_len
=32768
6983 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6984 if test -n "$lt_cv_sys_max_cmd_len"; then
6985 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6986 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6988 # Make teststring a little bigger before we do anything with it.
6989 # a 1K string should be a reasonable start.
6990 for i
in 1 2 3 4 5 6 7 8 ; do
6991 teststring
=$teststring$teststring
6993 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6994 # If test is not a shell built-in, we'll probably end up computing a
6995 # maximum length that is only half of the actual maximum length, but
6997 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6998 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6999 test $i != 17 # 1/2 MB should be enough
7002 teststring
=$teststring$teststring
7004 # Only check the string length outside the loop.
7005 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7007 # Add a significant safety factor because C++ compilers can tack on
7008 # massive amounts of additional arguments before passing them to the
7009 # linker. It appears as though 1/2 is a usable value.
7010 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7017 if test -n $lt_cv_sys_max_cmd_len ; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7019 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7022 $as_echo "none" >&6; }
7024 max_cmd_len
=$lt_cv_sys_max_cmd_len
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7036 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7037 # Try some XSI features
7040 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7042 && eval 'test $(( 1 + 1 )) -eq 2 \
7043 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7046 $as_echo "$xsi_shell" >&6; }
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7050 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7052 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7054 && lt_shell_append=yes
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7056 $as_echo "$lt_shell_append" >&6; }
7059 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7069 # test EBCDIC or ASCII
7070 case `echo X|tr X '\101'` in
7071 A) # ASCII based system
7072 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7073 lt_SP2NL='tr \040 \012'
7074 lt_NL2SP='tr \015\012 \040\040'
7076 *) # EBCDIC based system
7077 lt_SP2NL='tr \100 \n'
7078 lt_NL2SP='tr \r\n \100\100'
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7091 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7092 if ${lt_cv_ld_reload_flag+:} false; then :
7093 $as_echo_n "(cached
) " >&6
7095 lt_cv_ld_reload_flag='-r'
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7098 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7099 reload_flag=$lt_cv_ld_reload_flag
7100 case $reload_flag in
7102 *) reload_flag=" $reload_flag" ;;
7104 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7107 if test "$GCC" = yes; then
7108 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7110 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7123 if test -n "$ac_tool_prefix"; then
7124 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7125 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7127 $as_echo_n "checking
for $ac_word...
" >&6; }
7128 if ${ac_cv_prog_OBJDUMP+:} false; then :
7129 $as_echo_n "(cached
) " >&6
7131 if test -n "$OBJDUMP"; then
7132 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7138 test -z "$as_dir" && as_dir=.
7139 for ac_exec_ext in '' $ac_executable_extensions; do
7140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7141 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7151 OBJDUMP=$ac_cv_prog_OBJDUMP
7152 if test -n "$OBJDUMP"; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7154 $as_echo "$OBJDUMP" >&6; }
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7157 $as_echo "no
" >&6; }
7162 if test -z "$ac_cv_prog_OBJDUMP"; then
7163 ac_ct_OBJDUMP=$OBJDUMP
7164 # Extract the first word of "objdump
", so it can be a program name with args.
7165 set dummy objdump; ac_word=$2
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7167 $as_echo_n "checking
for $ac_word...
" >&6; }
7168 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7169 $as_echo_n "(cached
) " >&6
7171 if test -n "$ac_ct_OBJDUMP"; then
7172 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 test -z "$as_dir" && as_dir=.
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7191 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7192 if test -n "$ac_ct_OBJDUMP"; then
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7194 $as_echo "$ac_ct_OBJDUMP" >&6; }
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7197 $as_echo "no
" >&6; }
7200 if test "x
$ac_ct_OBJDUMP" = x; then
7203 case $cross_compiling:$ac_tool_warned in
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7206 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7207 ac_tool_warned=yes ;;
7209 OBJDUMP=$ac_ct_OBJDUMP
7212 OBJDUMP="$ac_cv_prog_OBJDUMP"
7215 test -z "$OBJDUMP" && OBJDUMP=objdump
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7226 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7227 if ${lt_cv_deplibs_check_method+:} false; then :
7228 $as_echo_n "(cached
) " >&6
7230 lt_cv_file_magic_cmd='$MAGIC_CMD'
7231 lt_cv_file_magic_test_file=
7232 lt_cv_deplibs_check_method='unknown'
7233 # Need to set the preceding variable on all platforms that support
7234 # interlibrary dependencies.
7235 # 'none' -- dependencies not supported.
7236 # `unknown' -- same as none, but documents that we really don't know.
7237 # 'pass_all' -- all dependencies passed with no checks.
7238 # 'test_compile' -- check by making test program.
7239 # 'file_magic [[regex]]' -- check by looking for files in library path
7240 # which responds to the $file_magic_cmd with a given extended regex.
7241 # If you have `file' or equivalent on your system and you're not sure
7242 # whether `pass_all' will *always* work, you probably want this one.
7246 lt_cv_deplibs_check_method=pass_all
7250 lt_cv_deplibs_check_method=pass_all
7254 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7255 lt_cv_file_magic_cmd='/usr/bin/file -L'
7256 lt_cv_file_magic_test_file=/shlib/libc.so
7260 # func_win32_libid is a shell function defined in ltmain.sh
7261 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7262 lt_cv_file_magic_cmd='func_win32_libid'
7266 # Base MSYS/MinGW do not provide the 'file' command needed by
7267 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7268 # unless we find 'file', for example because we are cross-compiling.
7269 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7270 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7271 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7272 lt_cv_file_magic_cmd='func_win32_libid'
7274 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7275 lt_cv_file_magic_cmd='$OBJDUMP -f'
7280 # use the weaker test based on 'objdump'. See mingw*.
7281 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7282 lt_cv_file_magic_cmd='$OBJDUMP -f'
7285 darwin* | rhapsody*)
7286 lt_cv_deplibs_check_method=pass_all
7289 freebsd* | dragonfly*)
7290 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7293 # Not sure whether the presence of OpenBSD here was a mistake.
7294 # Let's accept both of them until this is cleared up.
7295 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7296 lt_cv_file_magic_cmd=/usr/bin/file
7297 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7301 lt_cv_deplibs_check_method=pass_all
7306 lt_cv_deplibs_check_method=pass_all
7310 lt_cv_deplibs_check_method=pass_all
7313 hpux10.20* | hpux11*)
7314 lt_cv_file_magic_cmd=/usr/bin/file
7317 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7318 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7321 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]'
7322 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7325 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7326 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7332 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7336 irix5* | irix6* | nonstopux*)
7338 *-32|*"-32 ") libmagic=32-bit;;
7339 *-n32|*"-n32 ") libmagic=N32;;
7340 *-64|*"-64 ") libmagic=64-bit;;
7341 *) libmagic=never-match;;
7343 lt_cv_deplibs_check_method=pass_all
7346 # This must be Linux ELF.
7347 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7348 lt_cv_deplibs_check_method=pass_all
7352 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7353 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7355 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7360 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7361 lt_cv_file_magic_cmd=/usr/bin/file
7362 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7366 lt_cv_deplibs_check_method=pass_all
7370 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7371 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7373 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7377 osf3* | osf4* | osf5*)
7378 lt_cv_deplibs_check_method=pass_all
7382 lt_cv_deplibs_check_method=pass_all
7386 lt_cv_deplibs_check_method=pass_all
7389 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7390 lt_cv_deplibs_check_method=pass_all
7394 case $host_vendor in
7396 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]'
7397 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7400 lt_cv_deplibs_check_method=pass_all
7403 lt_cv_file_magic_cmd='/bin/file'
7404 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7407 lt_cv_file_magic_cmd='/bin/file'
7408 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7409 lt_cv_file_magic_test_file=/lib/libc.so
7412 lt_cv_deplibs_check_method=pass_all
7415 lt_cv_deplibs_check_method=pass_all
7421 lt_cv_deplibs_check_method=pass_all
7424 # Assume VxWorks cross toolchains are built on Linux, possibly
7425 # as canadian for Windows hosts.
7426 lt_cv_deplibs_check_method=pass_all
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7432 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7433 file_magic_cmd=$lt_cv_file_magic_cmd
7434 deplibs_check_method=$lt_cv_deplibs_check_method
7435 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7449 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7450 for plugin in $plugin_names; do
7451 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7452 if test x$plugin_so = x$plugin; then
7453 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7455 if test x$plugin_so != x$plugin; then
7456 plugin_option="--plugin $plugin_so"
7461 if test -n "$ac_tool_prefix"; then
7462 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7463 set dummy ${ac_tool_prefix}ar; ac_word=$2
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7465 $as_echo_n "checking
for $ac_word...
" >&6; }
7466 if ${ac_cv_prog_AR+:} false; then :
7467 $as_echo_n "(cached
) " >&6
7469 if test -n "$AR"; then
7470 ac_cv_prog_AR="$AR" # Let the user override the test.
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 test -z "$as_dir" && as_dir=.
7477 for ac_exec_ext in '' $ac_executable_extensions; do
7478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7479 ac_cv_prog_AR="${ac_tool_prefix}ar"
7480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7490 if test -n "$AR"; then
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7492 $as_echo "$AR" >&6; }
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7495 $as_echo "no
" >&6; }
7500 if test -z "$ac_cv_prog_AR"; then
7502 # Extract the first word of "ar", so it can be a program name with args.
7503 set dummy ar; ac_word=$2
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7505 $as_echo_n "checking
for $ac_word...
" >&6; }
7506 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7507 $as_echo_n "(cached
) " >&6
7509 if test -n "$ac_ct_AR"; then
7510 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 test -z "$as_dir" && as_dir=.
7517 for ac_exec_ext in '' $ac_executable_extensions; do
7518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7519 ac_cv_prog_ac_ct_AR="ar"
7520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7529 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7530 if test -n "$ac_ct_AR"; then
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7532 $as_echo "$ac_ct_AR" >&6; }
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7535 $as_echo "no
" >&6; }
7538 if test "x
$ac_ct_AR" = x; then
7541 case $cross_compiling:$ac_tool_warned in
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7544 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7545 ac_tool_warned=yes ;;
7553 test -z "$AR" && AR=ar
7554 if test -n "$plugin_option"; then
7555 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7557 $AR $plugin_option rc conftest.a conftest.c
7558 if test "$?
" != 0; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7560 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7562 AR="$AR $plugin_option"
7567 test -z "$AR_FLAGS" && AR_FLAGS=cru
7579 if test -n "$ac_tool_prefix"; then
7580 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7581 set dummy ${ac_tool_prefix}strip; ac_word=$2
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7583 $as_echo_n "checking
for $ac_word...
" >&6; }
7584 if ${ac_cv_prog_STRIP+:} false; then :
7585 $as_echo_n "(cached
) " >&6
7587 if test -n "$STRIP"; then
7588 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 test -z "$as_dir" && as_dir=.
7595 for ac_exec_ext in '' $ac_executable_extensions; do
7596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7597 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7607 STRIP=$ac_cv_prog_STRIP
7608 if test -n "$STRIP"; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7610 $as_echo "$STRIP" >&6; }
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7613 $as_echo "no
" >&6; }
7618 if test -z "$ac_cv_prog_STRIP"; then
7620 # Extract the first word of "strip
", so it can be a program name with args.
7621 set dummy strip; ac_word=$2
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7623 $as_echo_n "checking
for $ac_word...
" >&6; }
7624 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7625 $as_echo_n "(cached
) " >&6
7627 if test -n "$ac_ct_STRIP"; then
7628 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 test -z "$as_dir" && as_dir=.
7635 for ac_exec_ext in '' $ac_executable_extensions; do
7636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7637 ac_cv_prog_ac_ct_STRIP="strip
"
7638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7647 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7648 if test -n "$ac_ct_STRIP"; then
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7650 $as_echo "$ac_ct_STRIP" >&6; }
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7653 $as_echo "no
" >&6; }
7656 if test "x
$ac_ct_STRIP" = x; then
7659 case $cross_compiling:$ac_tool_warned in
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7662 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7663 ac_tool_warned=yes ;;
7668 STRIP="$ac_cv_prog_STRIP"
7671 test -z "$STRIP" && STRIP=:
7678 if test -n "$ac_tool_prefix"; then
7679 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7680 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7682 $as_echo_n "checking
for $ac_word...
" >&6; }
7683 if ${ac_cv_prog_RANLIB+:} false; then :
7684 $as_echo_n "(cached
) " >&6
7686 if test -n "$RANLIB"; then
7687 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7693 test -z "$as_dir" && as_dir=.
7694 for ac_exec_ext in '' $ac_executable_extensions; do
7695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7696 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7706 RANLIB=$ac_cv_prog_RANLIB
7707 if test -n "$RANLIB"; then
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7709 $as_echo "$RANLIB" >&6; }
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7712 $as_echo "no
" >&6; }
7717 if test -z "$ac_cv_prog_RANLIB"; then
7718 ac_ct_RANLIB=$RANLIB
7719 # Extract the first word of "ranlib
", so it can be a program name with args.
7720 set dummy ranlib; ac_word=$2
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7722 $as_echo_n "checking
for $ac_word...
" >&6; }
7723 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7724 $as_echo_n "(cached
) " >&6
7726 if test -n "$ac_ct_RANLIB"; then
7727 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7733 test -z "$as_dir" && as_dir=.
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7736 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7746 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7747 if test -n "$ac_ct_RANLIB"; then
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7749 $as_echo "$ac_ct_RANLIB" >&6; }
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7752 $as_echo "no
" >&6; }
7755 if test "x
$ac_ct_RANLIB" = x; then
7758 case $cross_compiling:$ac_tool_warned in
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7761 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7762 ac_tool_warned=yes ;;
7764 RANLIB=$ac_ct_RANLIB
7767 RANLIB="$ac_cv_prog_RANLIB"
7770 test -z "$RANLIB" && RANLIB=:
7771 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7772 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7773 RANLIB="$RANLIB $plugin_option"
7782 # Determine commands to create old-style static archives.
7783 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7784 old_postinstall_cmds='chmod 644 $oldlib'
7785 old_postuninstall_cmds=
7787 if test -n "$RANLIB"; then
7790 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7793 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7796 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7801 lock_old_archive_extraction=yes ;;
7803 lock_old_archive_extraction=no ;;
7844 # If no C compiler was specified, use CC.
7847 # If no C compiler flags were specified, use CFLAGS.
7848 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7850 # Allow CC to be a program name with arguments.
7854 # Check for command to grab the raw symbol name followed by C symbol from nm.
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7856 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7857 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7858 $as_echo_n "(cached
) " >&6
7861 # These are sane defaults that work on at least a few old systems.
7862 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7864 # Character class describing NM global symbol codes.
7865 symcode='[BCDEGRST]'
7867 # Regexp to match symbols that can be accessed directly from C.
7868 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7870 # Define system-specific variables.
7875 cygwin* | mingw* | pw32* | cegcc*)
7876 symcode='[ABCDGISTW]'
7879 if test "$host_cpu" = ia64; then
7880 symcode='[ABCDEGRST]'
7884 symcode='[BCDEGRST]'
7887 symcode='[BCDEGQRST]'
7898 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7906 # If we're using GNU nm, then use its standard symbol codes.
7907 case `$NM -V 2>&1` in
7908 *GNU* | *'with BFD'*)
7909 symcode='[ABCDGIRSTW]' ;;
7912 # Transform an extracted symbol line into a proper C declaration.
7913 # Some systems (esp. on ia64) link data and code symbols differently,
7914 # so use this general approach.
7915 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7917 # Transform an extracted symbol line into symbol name and symbol address
7918 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7919 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'"
7921 # Handle CRLF in mingw tool chain
7925 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7929 # Try without a prefix underscore, then with it.
7930 for ac_symprfx in "" "_
"; do
7932 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7933 symxfrm="\\1 $ac_symprfx\\2 \\2"
7935 # Write the raw and C identifiers.
7936 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7937 # Fake it for dumpbin and say T for any non-static function
7938 # and D for any global variable.
7939 # Also find C++ and __fastcall symbols from MSVC++,
7940 # which start with @ or ?.
7941 lt_cv_sys_global_symbol_pipe="$AWK '"\
7942 " {last_section=section; section=\$ 3};"\
7943 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7944 " \$ 0!~/External *\|/{next};"\
7945 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7946 " {if(hide[section]) next};"\
7947 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7948 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7949 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7950 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7951 " ' prfx
=^
$ac_symprfx"
7953 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7956 # Check to see that the pipe works correctly.
7960 cat > conftest.$ac_ext <<_LT_EOF
7965 void nm_test_func(void);
7966 void nm_test_func(void){}
7970 int main(){nm_test_var='a';nm_test_func();return(0);}
7973 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7974 (eval $ac_compile) 2>&5
7976 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7977 test $ac_status = 0; }; then
7978 # Now try to grab the symbols.
7980 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7981 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7983 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7984 test $ac_status = 0; } && test -s "$nlist"; then
7985 # Try sorting and uniquifying the output.
7986 if sort "$nlist" | uniq > "$nlist"T; then
7987 mv -f "$nlist"T "$nlist"
7992 # Make sure that we snagged all the symbols we need.
7993 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7994 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7995 cat <<_LT_EOF > conftest.$ac_ext
8001 # Now generate the symbol file.
8002 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8004 cat <<_LT_EOF >> conftest.$ac_ext
8006 /* The mapping between symbol names and symbols. */
8011 lt__PROGRAM__LTX_preloaded_symbols[] =
8013 { "@PROGRAM@
", (void *) 0 },
8015 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8016 cat <<\_LT_EOF >> conftest.$ac_ext
8020 /* This works around a problem in FreeBSD linker */
8021 #ifdef FREEBSD_WORKAROUND
8022 static const void *lt_preloaded_setup() {
8023 return lt__PROGRAM__LTX_preloaded_symbols;
8031 # Now try linking the two files.
8032 mv conftest.$ac_objext conftstm.$ac_objext
8033 lt_save_LIBS="$LIBS"
8034 lt_save_CFLAGS="$CFLAGS"
8035 LIBS="conftstm.
$ac_objext"
8036 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8037 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8038 (eval $ac_link) 2>&5
8040 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8041 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8044 LIBS="$lt_save_LIBS"
8045 CFLAGS="$lt_save_CFLAGS"
8047 echo "cannot
find nm_test_func
in $nlist" >&5
8050 echo "cannot
find nm_test_var
in $nlist" >&5
8053 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8056 echo "$progname: failed program was
:" >&5
8057 cat conftest.$ac_ext >&5
8059 rm -rf conftest* conftst*
8061 # Do not use the global_symbol_pipe unless it works.
8062 if test "$pipe_works" = yes; then
8065 lt_cv_sys_global_symbol_pipe=
8071 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8072 lt_cv_sys_global_symbol_to_cdecl=
8074 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8076 $as_echo "failed
" >&6; }
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8079 $as_echo "ok
" >&6; }
8103 # Check whether --enable-libtool-lock was given.
8104 if test "${enable_libtool_lock+set}" = set; then :
8105 enableval=$enable_libtool_lock;
8108 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8110 # Some flags need to be propagated to the compiler or linker for good
8114 # Find out which ABI we are using.
8115 echo 'int i;' > conftest.$ac_ext
8116 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8117 (eval $ac_compile) 2>&5
8119 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8120 test $ac_status = 0; }; then
8121 case `/usr/bin/file conftest.$ac_objext` in
8133 # Find out which ABI we are using.
8134 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8135 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8136 (eval $ac_compile) 2>&5
8138 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8139 test $ac_status = 0; }; then
8140 if test "$lt_cv_prog_gnu_ld" = yes; then
8141 case `/usr/bin/file conftest.$ac_objext` in
8143 LD="${LD-ld} -melf32bsmip"
8146 LD="${LD-ld} -melf32bmipn32"
8149 LD="${LD-ld} -melf64bmip"
8153 case `/usr/bin/file conftest.$ac_objext` in
8169 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8170 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8171 # Find out which ABI we are using.
8172 echo 'int i;' > conftest.$ac_ext
8173 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8174 (eval $ac_compile) 2>&5
8176 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8177 test $ac_status = 0; }; then
8178 case `/usr/bin/file conftest.o` in
8181 x86_64-*kfreebsd*-gnu)
8182 LD="${LD-ld} -m elf_i386_fbsd
"
8185 case `/usr/bin/file conftest.o` in
8187 LD="${LD-ld} -m elf32_x86_64
"
8190 LD="${LD-ld} -m elf_i386
"
8194 powerpc64le-*linux*)
8195 LD="${LD-ld} -m elf32lppclinux
"
8198 LD="${LD-ld} -m elf32ppclinux
"
8201 LD="${LD-ld} -m elf_s390
"
8204 LD="${LD-ld} -m elf32_sparc
"
8210 x86_64-*kfreebsd*-gnu)
8211 LD="${LD-ld} -m elf_x86_64_fbsd
"
8214 LD="${LD-ld} -m elf_x86_64
"
8217 LD="${LD-ld} -m elf64lppc
"
8220 LD="${LD-ld} -m elf64ppc
"
8222 s390*-*linux*|s390*-*tpf*)
8223 LD="${LD-ld} -m elf64_s390
"
8226 LD="${LD-ld} -m elf64_sparc
"
8236 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8237 SAVE_CFLAGS="$CFLAGS"
8238 CFLAGS="$CFLAGS -belf"
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8240 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8241 if ${lt_cv_cc_needs_belf+:} false; then :
8242 $as_echo_n "(cached
) " >&6
8245 ac_cpp='$CPP $CPPFLAGS'
8246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8261 if ac_fn_c_try_link "$LINENO"; then :
8262 lt_cv_cc_needs_belf=yes
8264 lt_cv_cc_needs_belf=no
8266 rm -f core conftest.err conftest.$ac_objext \
8267 conftest$ac_exeext conftest.$ac_ext
8269 ac_cpp='$CPP $CPPFLAGS'
8270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8276 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8277 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8278 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8279 CFLAGS="$SAVE_CFLAGS"
8283 # Find out which ABI we are using.
8284 echo 'int i;' > conftest.$ac_ext
8285 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8286 (eval $ac_compile) 2>&5
8288 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8289 test $ac_status = 0; }; then
8290 case `/usr/bin/file conftest.o` in
8292 case $lt_cv_prog_gnu_ld in
8293 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8295 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8307 need_locks="$enable_libtool_lock"
8311 rhapsody* | darwin*)
8312 if test -n "$ac_tool_prefix"; then
8313 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8314 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8316 $as_echo_n "checking
for $ac_word...
" >&6; }
8317 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8318 $as_echo_n "(cached
) " >&6
8320 if test -n "$DSYMUTIL"; then
8321 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8330 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8340 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8341 if test -n "$DSYMUTIL"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8343 $as_echo "$DSYMUTIL" >&6; }
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8346 $as_echo "no
" >&6; }
8351 if test -z "$ac_cv_prog_DSYMUTIL"; then
8352 ac_ct_DSYMUTIL=$DSYMUTIL
8353 # Extract the first word of "dsymutil
", so it can be a program name with args.
8354 set dummy dsymutil; ac_word=$2
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8356 $as_echo_n "checking
for $ac_word...
" >&6; }
8357 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8358 $as_echo_n "(cached
) " >&6
8360 if test -n "$ac_ct_DSYMUTIL"; then
8361 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8367 test -z "$as_dir" && as_dir=.
8368 for ac_exec_ext in '' $ac_executable_extensions; do
8369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8370 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8380 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8381 if test -n "$ac_ct_DSYMUTIL"; then
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8383 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8386 $as_echo "no
" >&6; }
8389 if test "x
$ac_ct_DSYMUTIL" = x; then
8392 case $cross_compiling:$ac_tool_warned in
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8395 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8396 ac_tool_warned=yes ;;
8398 DSYMUTIL=$ac_ct_DSYMUTIL
8401 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8404 if test -n "$ac_tool_prefix"; then
8405 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8406 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8408 $as_echo_n "checking
for $ac_word...
" >&6; }
8409 if ${ac_cv_prog_NMEDIT+:} false; then :
8410 $as_echo_n "(cached
) " >&6
8412 if test -n "$NMEDIT"; then
8413 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8419 test -z "$as_dir" && as_dir=.
8420 for ac_exec_ext in '' $ac_executable_extensions; do
8421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8422 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8432 NMEDIT=$ac_cv_prog_NMEDIT
8433 if test -n "$NMEDIT"; then
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8435 $as_echo "$NMEDIT" >&6; }
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8438 $as_echo "no
" >&6; }
8443 if test -z "$ac_cv_prog_NMEDIT"; then
8444 ac_ct_NMEDIT=$NMEDIT
8445 # Extract the first word of "nmedit
", so it can be a program name with args.
8446 set dummy nmedit; ac_word=$2
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8448 $as_echo_n "checking
for $ac_word...
" >&6; }
8449 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8450 $as_echo_n "(cached
) " >&6
8452 if test -n "$ac_ct_NMEDIT"; then
8453 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8459 test -z "$as_dir" && as_dir=.
8460 for ac_exec_ext in '' $ac_executable_extensions; do
8461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8462 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8472 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8473 if test -n "$ac_ct_NMEDIT"; then
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8475 $as_echo "$ac_ct_NMEDIT" >&6; }
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8478 $as_echo "no
" >&6; }
8481 if test "x
$ac_ct_NMEDIT" = x; then
8484 case $cross_compiling:$ac_tool_warned in
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8487 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8488 ac_tool_warned=yes ;;
8490 NMEDIT=$ac_ct_NMEDIT
8493 NMEDIT="$ac_cv_prog_NMEDIT"
8496 if test -n "$ac_tool_prefix"; then
8497 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8498 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8500 $as_echo_n "checking
for $ac_word...
" >&6; }
8501 if ${ac_cv_prog_LIPO+:} false; then :
8502 $as_echo_n "(cached
) " >&6
8504 if test -n "$LIPO"; then
8505 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8511 test -z "$as_dir" && as_dir=.
8512 for ac_exec_ext in '' $ac_executable_extensions; do
8513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8514 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8524 LIPO=$ac_cv_prog_LIPO
8525 if test -n "$LIPO"; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8527 $as_echo "$LIPO" >&6; }
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8530 $as_echo "no
" >&6; }
8535 if test -z "$ac_cv_prog_LIPO"; then
8537 # Extract the first word of "lipo
", so it can be a program name with args.
8538 set dummy lipo; ac_word=$2
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8540 $as_echo_n "checking
for $ac_word...
" >&6; }
8541 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8542 $as_echo_n "(cached
) " >&6
8544 if test -n "$ac_ct_LIPO"; then
8545 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8551 test -z "$as_dir" && as_dir=.
8552 for ac_exec_ext in '' $ac_executable_extensions; do
8553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8554 ac_cv_prog_ac_ct_LIPO="lipo
"
8555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8564 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8565 if test -n "$ac_ct_LIPO"; then
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8567 $as_echo "$ac_ct_LIPO" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8570 $as_echo "no
" >&6; }
8573 if test "x
$ac_ct_LIPO" = x; then
8576 case $cross_compiling:$ac_tool_warned in
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8579 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8580 ac_tool_warned=yes ;;
8585 LIPO="$ac_cv_prog_LIPO"
8588 if test -n "$ac_tool_prefix"; then
8589 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8590 set dummy ${ac_tool_prefix}otool; ac_word=$2
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8592 $as_echo_n "checking
for $ac_word...
" >&6; }
8593 if ${ac_cv_prog_OTOOL+:} false; then :
8594 $as_echo_n "(cached
) " >&6
8596 if test -n "$OTOOL"; then
8597 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8603 test -z "$as_dir" && as_dir=.
8604 for ac_exec_ext in '' $ac_executable_extensions; do
8605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8606 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8616 OTOOL=$ac_cv_prog_OTOOL
8617 if test -n "$OTOOL"; then
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8619 $as_echo "$OTOOL" >&6; }
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8622 $as_echo "no
" >&6; }
8627 if test -z "$ac_cv_prog_OTOOL"; then
8629 # Extract the first word of "otool
", so it can be a program name with args.
8630 set dummy otool; ac_word=$2
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8632 $as_echo_n "checking
for $ac_word...
" >&6; }
8633 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8634 $as_echo_n "(cached
) " >&6
8636 if test -n "$ac_ct_OTOOL"; then
8637 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8643 test -z "$as_dir" && as_dir=.
8644 for ac_exec_ext in '' $ac_executable_extensions; do
8645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8646 ac_cv_prog_ac_ct_OTOOL="otool
"
8647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8656 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8657 if test -n "$ac_ct_OTOOL"; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8659 $as_echo "$ac_ct_OTOOL" >&6; }
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8662 $as_echo "no
" >&6; }
8665 if test "x
$ac_ct_OTOOL" = x; then
8668 case $cross_compiling:$ac_tool_warned in
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8671 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8672 ac_tool_warned=yes ;;
8677 OTOOL="$ac_cv_prog_OTOOL"
8680 if test -n "$ac_tool_prefix"; then
8681 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8682 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8684 $as_echo_n "checking
for $ac_word...
" >&6; }
8685 if ${ac_cv_prog_OTOOL64+:} false; then :
8686 $as_echo_n "(cached
) " >&6
8688 if test -n "$OTOOL64"; then
8689 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8695 test -z "$as_dir" && as_dir=.
8696 for ac_exec_ext in '' $ac_executable_extensions; do
8697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8698 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8708 OTOOL64=$ac_cv_prog_OTOOL64
8709 if test -n "$OTOOL64"; then
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8711 $as_echo "$OTOOL64" >&6; }
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8714 $as_echo "no
" >&6; }
8719 if test -z "$ac_cv_prog_OTOOL64"; then
8720 ac_ct_OTOOL64=$OTOOL64
8721 # Extract the first word of "otool64
", so it can be a program name with args.
8722 set dummy otool64; ac_word=$2
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8724 $as_echo_n "checking
for $ac_word...
" >&6; }
8725 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8726 $as_echo_n "(cached
) " >&6
8728 if test -n "$ac_ct_OTOOL64"; then
8729 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8735 test -z "$as_dir" && as_dir=.
8736 for ac_exec_ext in '' $ac_executable_extensions; do
8737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8738 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8748 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8749 if test -n "$ac_ct_OTOOL64"; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8751 $as_echo "$ac_ct_OTOOL64" >&6; }
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8754 $as_echo "no
" >&6; }
8757 if test "x
$ac_ct_OTOOL64" = x; then
8760 case $cross_compiling:$ac_tool_warned in
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8763 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8764 ac_tool_warned=yes ;;
8766 OTOOL64=$ac_ct_OTOOL64
8769 OTOOL64="$ac_cv_prog_OTOOL64"
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8799 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8800 if ${lt_cv_apple_cc_single_mod+:} false; then :
8801 $as_echo_n "(cached
) " >&6
8803 lt_cv_apple_cc_single_mod=no
8804 if test -z "${LT_MULTI_MODULE}"; then
8805 # By default we will add the -single_module flag. You can override
8806 # by either setting the environment variable LT_MULTI_MODULE
8807 # non-empty at configure time, or by adding -multi_module to the
8809 rm -rf libconftest.dylib*
8810 echo "int foo
(void
){return 1;}" > conftest.c
8811 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8812 -dynamiclib -Wl,-single_module conftest.c
" >&5
8813 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8814 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8816 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8817 lt_cv_apple_cc_single_mod=yes
8819 cat conftest.err >&5
8821 rm -rf libconftest.dylib*
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8826 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8828 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8829 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8830 $as_echo_n "(cached
) " >&6
8832 lt_cv_ld_exported_symbols_list=no
8833 save_LDFLAGS=$LDFLAGS
8834 echo "_main
" > conftest.sym
8835 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837 /* end confdefs.h. */
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 lt_cv_ld_exported_symbols_list=yes
8850 lt_cv_ld_exported_symbols_list=no
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 LDFLAGS="$save_LDFLAGS"
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8858 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8860 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8861 if ${lt_cv_ld_force_load+:} false; then :
8862 $as_echo_n "(cached
) " >&6
8864 lt_cv_ld_force_load=no
8865 cat > conftest.c << _LT_EOF
8866 int forced_loaded() { return 2;}
8868 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8869 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8870 echo "$AR cru libconftest.a conftest.o
" >&5
8871 $AR cru libconftest.a conftest.o 2>&5
8872 cat > conftest.c << _LT_EOF
8873 int main() { return 0;}
8875 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8876 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8878 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8879 lt_cv_ld_force_load=yes
8881 cat conftest.err >&5
8883 rm -f conftest.err libconftest.a conftest conftest.c
8884 rm -rf conftest.dSYM
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8888 $as_echo "$lt_cv_ld_force_load" >&6; }
8889 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8890 # build without first building modern cctools / linker.
8891 case $host_cpu-$host_os in
8892 *-rhapsody* | *-darwin1.[012])
8893 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8895 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8897 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8898 # deployment target is forced to an earlier version.
8899 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8900 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
8903 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8910 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8911 _lt_dar_single_mod='$single_module'
8913 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8914 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8916 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8918 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8919 _lt_dsymutil='~$DSYMUTIL $lib || :'
8926 for ac_header in dlfcn.h
8928 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8930 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8931 cat >>confdefs.h <<_ACEOF
8932 #define HAVE_DLFCN_H 1
8952 # Check whether --enable-shared was given.
8953 if test "${enable_shared+set}" = set; then :
8954 enableval=$enable_shared; p=${PACKAGE-default}
8956 yes) enable_shared=yes ;;
8957 no) enable_shared=no ;;
8960 # Look at the argument we got. We use all the common list separators.
8961 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8962 for pkg in $enableval; do
8964 if test "X
$pkg" = "X
$p"; then
8983 # Check whether --enable-static was given.
8984 if test "${enable_static+set}" = set; then :
8985 enableval=$enable_static; p=${PACKAGE-default}
8987 yes) enable_static=yes ;;
8988 no) enable_static=no ;;
8991 # Look at the argument we got. We use all the common list separators.
8992 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8993 for pkg in $enableval; do
8995 if test "X
$pkg" = "X
$p"; then
9015 # Check whether --with-pic was given.
9016 if test "${with_pic+set}" = set; then :
9017 withval=$with_pic; pic_mode="$withval"
9023 test -z "$pic_mode" && pic_mode=default
9031 # Check whether --enable-fast-install was given.
9032 if test "${enable_fast_install+set}" = set; then :
9033 enableval=$enable_fast_install; p=${PACKAGE-default}
9035 yes) enable_fast_install=yes ;;
9036 no) enable_fast_install=no ;;
9038 enable_fast_install=no
9039 # Look at the argument we got. We use all the common list separators.
9040 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9041 for pkg in $enableval; do
9043 if test "X
$pkg" = "X
$p"; then
9044 enable_fast_install=yes
9051 enable_fast_install=yes
9064 # This can be used to rebuild libtool when needed
9065 LIBTOOL_DEPS="$ltmain"
9067 # Always use our own libtool.
9068 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9095 test -z "$LN_S" && LN_S="ln -s"
9110 if test -n "${ZSH_VERSION+set}" ; then
9111 setopt NO_GLOB_SUBST
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9115 $as_echo_n "checking
for objdir...
" >&6; }
9116 if ${lt_cv_objdir+:} false; then :
9117 $as_echo_n "(cached
) " >&6
9119 rm -f .libs 2>/dev/null
9120 mkdir .libs 2>/dev/null
9121 if test -d .libs; then
9124 # MS-DOS does not allow filenames that begin with a dot.
9127 rmdir .libs 2>/dev/null
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9130 $as_echo "$lt_cv_objdir" >&6; }
9131 objdir=$lt_cv_objdir
9137 cat >>confdefs.h <<_ACEOF
9138 #define LT_OBJDIR "$lt_cv_objdir/"
9146 # AIX sometimes has problems with the GCC collect2 program. For some
9147 # reason, if we set the COLLECT_NAMES environment variable, the problems
9148 # vanish in a puff of smoke.
9149 if test "X
${COLLECT_NAMES+set}" != Xset; then
9151 export COLLECT_NAMES
9158 can_build_shared=yes
9160 # All known linkers require a `.a' archive for static linking (except MSVC,
9161 # which needs '.lib').
9164 with_gnu_ld="$lt_cv_prog_gnu_ld"
9167 old_CFLAGS="$CFLAGS"
9169 # Set sane defaults for various variables
9170 test -z "$CC" && CC=cc
9171 test -z "$LTCC" && LTCC=$CC
9172 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9173 test -z "$LD" && LD=ld
9174 test -z "$ac_objext" && ac_objext=o
9176 for cc_temp in $compiler""; do
9178 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9179 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9184 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9187 # Only perform the check for file, if the check method requires it
9188 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9189 case $deplibs_check_method in
9191 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9193 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9194 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9195 $as_echo_n "(cached
) " >&6
9199 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9202 lt_save_MAGIC_CMD="$MAGIC_CMD"
9203 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9204 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9205 for ac_dir in $ac_dummy; do
9207 test -z "$ac_dir" && ac_dir=.
9208 if test -f $ac_dir/${ac_tool_prefix}file; then
9209 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9210 if test -n "$file_magic_test_file"; then
9211 case $deplibs_check_method in
9213 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9214 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9215 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9216 $EGREP "$file_magic_regex" > /dev/null; then
9221 *** Warning: the command libtool uses to detect shared libraries,
9222 *** $file_magic_cmd, produces output that libtool cannot recognize.
9223 *** The result is that libtool may fail to recognize shared libraries
9224 *** as such. This will affect the creation of libtool libraries that
9225 *** depend on shared libraries, but programs linked with such libtool
9226 *** libraries will work regardless of this problem. Nevertheless, you
9227 *** may want to report the problem to your system manager and/or to
9228 *** bug-libtool@gnu.org
9238 MAGIC_CMD="$lt_save_MAGIC_CMD"
9243 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9244 if test -n "$MAGIC_CMD"; then
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9246 $as_echo "$MAGIC_CMD" >&6; }
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9249 $as_echo "no
" >&6; }
9256 if test -z "$lt_cv_path_MAGIC_CMD"; then
9257 if test -n "$ac_tool_prefix"; then
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9259 $as_echo_n "checking
for file...
" >&6; }
9260 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9261 $as_echo_n "(cached
) " >&6
9265 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9268 lt_save_MAGIC_CMD="$MAGIC_CMD"
9269 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9270 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9271 for ac_dir in $ac_dummy; do
9273 test -z "$ac_dir" && ac_dir=.
9274 if test -f $ac_dir/file; then
9275 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9276 if test -n "$file_magic_test_file"; then
9277 case $deplibs_check_method in
9279 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9280 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9281 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9282 $EGREP "$file_magic_regex" > /dev/null; then
9287 *** Warning: the command libtool uses to detect shared libraries,
9288 *** $file_magic_cmd, produces output that libtool cannot recognize.
9289 *** The result is that libtool may fail to recognize shared libraries
9290 *** as such. This will affect the creation of libtool libraries that
9291 *** depend on shared libraries, but programs linked with such libtool
9292 *** libraries will work regardless of this problem. Nevertheless, you
9293 *** may want to report the problem to your system manager and/or to
9294 *** bug-libtool@gnu.org
9304 MAGIC_CMD="$lt_save_MAGIC_CMD"
9309 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9310 if test -n "$MAGIC_CMD"; then
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9312 $as_echo "$MAGIC_CMD" >&6; }
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9315 $as_echo "no
" >&6; }
9328 # Use C for the default configuration in the libtool script
9332 ac_cpp='$CPP $CPPFLAGS'
9333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9338 # Source file extension for C test sources.
9341 # Object file extension for compiled C test sources.
9345 # Code to be used in simple compile tests
9346 lt_simple_compile_test_code="int some_variable
= 0;"
9348 # Code to be used in simple link tests
9349 lt_simple_link_test_code='int main(){return(0);}'
9357 # If no C compiler was specified, use CC.
9360 # If no C compiler flags were specified, use CFLAGS.
9361 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9363 # Allow CC to be a program name with arguments.
9366 # Save the default compiler, since it gets overwritten when the other
9367 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9368 compiler_DEFAULT=$CC
9370 # save warnings/boilerplate of simple test code
9371 ac_outfile=conftest.$ac_objext
9372 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9373 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9374 _lt_compiler_boilerplate=`cat conftest.err`
9377 ac_outfile=conftest.$ac_objext
9378 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9379 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9380 _lt_linker_boilerplate=`cat conftest.err`
9385 ## There is no encapsulation within the following macros, do not change
9386 ## the running order or otherwise move them around unless you know exactly
9387 ## what you are doing...
9388 if test -n "$compiler"; then
9390 lt_prog_compiler_no_builtin_flag=
9392 if test "$GCC" = yes; then
9393 case $cc_basename in
9395 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9397 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9401 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9402 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9403 $as_echo_n "(cached
) " >&6
9405 lt_cv_prog_compiler_rtti_exceptions=no
9406 ac_outfile=conftest.$ac_objext
9407 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9408 lt_compiler_flag="-fno-rtti -fno-exceptions"
9409 # Insert the option either (1) after the last *FLAGS variable, or
9410 # (2) before a word containing "conftest.
", or (3) at the end.
9411 # Note that $ac_compile itself does not contain backslashes and begins
9412 # with a dollar sign (not a hyphen), so the echo should work correctly.
9413 # The option is referenced via a variable to avoid confusing sed.
9414 lt_compile=`echo "$ac_compile" | $SED \
9415 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9416 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9417 -e 's:$: $lt_compiler_flag:'`
9418 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9419 (eval "$lt_compile" 2>conftest.err)
9421 cat conftest.err >&5
9422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9423 if (exit $ac_status) && test -s "$ac_outfile"; then
9424 # The compiler can only warn and ignore the option if not recognized
9425 # So say no if there are warnings other than the usual output.
9426 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9427 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9428 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9429 lt_cv_prog_compiler_rtti_exceptions=yes
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9436 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9438 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9439 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9451 lt_prog_compiler_wl=
9452 lt_prog_compiler_pic=
9453 lt_prog_compiler_static=
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9456 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9458 if test "$GCC" = yes; then
9459 lt_prog_compiler_wl='-Wl,'
9460 lt_prog_compiler_static='-static'
9464 # All AIX code is PIC.
9465 if test "$host_cpu" = ia64; then
9466 # AIX 5 now supports IA64 processor
9467 lt_prog_compiler_static='-Bstatic'
9469 lt_prog_compiler_pic='-fPIC'
9475 # see comment about AmigaOS4 .so support
9476 lt_prog_compiler_pic='-fPIC'
9479 # FIXME: we need at least 68020 code to build shared libraries, but
9480 # adding the `-m68020' flag to GCC prevents building anything better,
9482 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9487 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9488 # PIC is the default for these OSes.
9491 mingw* | cygwin* | pw32* | os2* | cegcc*)
9492 # This hack is so that the source file can tell whether it is being
9493 # built for inclusion in a dll (and should export symbols for example).
9494 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9495 # (--disable-auto-import) libraries
9496 lt_prog_compiler_pic='-DDLL_EXPORT'
9499 darwin* | rhapsody*)
9500 # PIC is the default on this platform
9501 # Common symbols not allowed in MH_DYLIB files
9502 lt_prog_compiler_pic='-fno-common'
9506 # PIC is the default for Haiku.
9507 # The "-static" flag exists, but is broken.
9508 lt_prog_compiler_static=
9512 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9513 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9514 # sets the default TLS model and affects inlining.
9520 lt_prog_compiler_pic='-fPIC'
9526 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9527 # Instead, we relocate shared libraries at runtime.
9531 # Just because we use GCC doesn't mean we suddenly get shared libraries
9532 # on systems that don't support them.
9533 lt_prog_compiler_can_build_shared=no
9538 # QNX uses GNU C++, but need to define -shared option too, otherwise
9540 lt_prog_compiler_pic='-fPIC -shared'
9544 if test -d /usr/nec; then
9545 lt_prog_compiler_pic=-Kconform_pic
9550 lt_prog_compiler_pic='-fPIC'
9554 case $cc_basename in
9555 nvcc*) # Cuda Compiler Driver 2.2
9556 lt_prog_compiler_wl='-Xlinker '
9557 lt_prog_compiler_pic='-Xcompiler -fPIC'
9561 # PORTME Check for flag to pass linker flags through the system compiler.
9564 lt_prog_compiler_wl='-Wl,'
9565 if test "$host_cpu" = ia64; then
9566 # AIX 5 now supports IA64 processor
9567 lt_prog_compiler_static='-Bstatic'
9569 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9573 mingw* | cygwin* | pw32* | os2* | cegcc*)
9574 # This hack is so that the source file can tell whether it is being
9575 # built for inclusion in a dll (and should export symbols for example).
9576 lt_prog_compiler_pic='-DDLL_EXPORT'
9579 hpux9* | hpux10* | hpux11*)
9580 lt_prog_compiler_wl='-Wl,'
9581 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9588 lt_prog_compiler_pic='+Z'
9591 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9592 lt_prog_compiler_static='${wl}-a ${wl}archive'
9595 irix5* | irix6* | nonstopux*)
9596 lt_prog_compiler_wl='-Wl,'
9597 # PIC (with -KPIC) is the default.
9598 lt_prog_compiler_static='-non_shared'
9601 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9602 case $cc_basename in
9603 # old Intel for x86_64 which still supported -KPIC.
9605 lt_prog_compiler_wl='-Wl,'
9606 lt_prog_compiler_pic='-KPIC'
9607 lt_prog_compiler_static='-static'
9609 # icc used to be incompatible with GCC.
9610 # ICC 10 doesn't accept -KPIC any more.
9612 lt_prog_compiler_wl='-Wl,'
9613 lt_prog_compiler_pic='-fPIC'
9614 lt_prog_compiler_static='-static'
9616 # Lahey Fortran 8.1.
9618 lt_prog_compiler_wl='-Wl,'
9619 lt_prog_compiler_pic='--shared'
9620 lt_prog_compiler_static='--static'
9622 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9623 # Portland Group compilers (*not* the Pentium gcc compiler,
9624 # which looks to be a dead project)
9625 lt_prog_compiler_wl='-Wl,'
9626 lt_prog_compiler_pic='-fpic'
9627 lt_prog_compiler_static='-Bstatic'
9630 lt_prog_compiler_wl='-Wl,'
9631 # All Alpha code is PIC.
9632 lt_prog_compiler_static='-non_shared'
9634 xl* | bgxl* | bgf* | mpixl*)
9635 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9636 lt_prog_compiler_wl='-Wl,'
9637 lt_prog_compiler_pic='-qpic'
9638 lt_prog_compiler_static='-qstaticlink'
9641 case `$CC -V 2>&1 | sed 5q` in
9642 *Sun\ F* | *Sun*Fortran*)
9643 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9644 lt_prog_compiler_pic='-KPIC'
9645 lt_prog_compiler_static='-Bstatic'
9646 lt_prog_compiler_wl=''
9650 lt_prog_compiler_pic='-KPIC'
9651 lt_prog_compiler_static='-Bstatic'
9652 lt_prog_compiler_wl='-Wl,'
9660 lt_prog_compiler_pic='-KPIC'
9661 lt_prog_compiler_static='-Bstatic'
9665 # QNX uses GNU C++, but need to define -shared option too, otherwise
9667 lt_prog_compiler_pic='-fPIC -shared'
9670 osf3* | osf4* | osf5*)
9671 lt_prog_compiler_wl='-Wl,'
9672 # All OSF/1 code is PIC.
9673 lt_prog_compiler_static='-non_shared'
9677 lt_prog_compiler_static='-non_shared'
9681 lt_prog_compiler_pic='-KPIC'
9682 lt_prog_compiler_static='-Bstatic'
9683 case $cc_basename in
9685 lt_prog_compiler_wl='-Qoption ld ';;
9687 lt_prog_compiler_wl='-Wl,';;
9692 lt_prog_compiler_wl='-Qoption ld '
9693 lt_prog_compiler_pic='-PIC'
9694 lt_prog_compiler_static='-Bstatic'
9697 sysv4 | sysv4.2uw2* | sysv4.3*)
9698 lt_prog_compiler_wl='-Wl,'
9699 lt_prog_compiler_pic='-KPIC'
9700 lt_prog_compiler_static='-Bstatic'
9704 if test -d /usr/nec ;then
9705 lt_prog_compiler_pic='-Kconform_pic'
9706 lt_prog_compiler_static='-Bstatic'
9710 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9711 lt_prog_compiler_wl='-Wl,'
9712 lt_prog_compiler_pic='-KPIC'
9713 lt_prog_compiler_static='-Bstatic'
9717 lt_prog_compiler_wl='-Wl,'
9718 lt_prog_compiler_can_build_shared=no
9722 lt_prog_compiler_pic='-pic'
9723 lt_prog_compiler_static='-Bstatic'
9727 lt_prog_compiler_can_build_shared=no
9733 # For platforms which do not support PIC, -DPIC is meaningless:
9735 lt_prog_compiler_pic=
9738 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9742 $as_echo "$lt_prog_compiler_pic" >&6; }
9750 # Check to make sure the PIC flag actually works.
9752 if test -n "$lt_prog_compiler_pic"; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9754 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9755 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9756 $as_echo_n "(cached
) " >&6
9758 lt_cv_prog_compiler_pic_works=no
9759 ac_outfile=conftest.$ac_objext
9760 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9761 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9762 # Insert the option either (1) after the last *FLAGS variable, or
9763 # (2) before a word containing "conftest.
", or (3) at the end.
9764 # Note that $ac_compile itself does not contain backslashes and begins
9765 # with a dollar sign (not a hyphen), so the echo should work correctly.
9766 # The option is referenced via a variable to avoid confusing sed.
9767 lt_compile=`echo "$ac_compile" | $SED \
9768 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9769 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9770 -e 's:$: $lt_compiler_flag:'`
9771 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9772 (eval "$lt_compile" 2>conftest.err)
9774 cat conftest.err >&5
9775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9776 if (exit $ac_status) && test -s "$ac_outfile"; then
9777 # The compiler can only warn and ignore the option if not recognized
9778 # So say no if there are warnings other than the usual output.
9779 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9780 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9781 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9782 lt_cv_prog_compiler_pic_works=yes
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9789 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9791 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9792 case $lt_prog_compiler_pic in
9794 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9797 lt_prog_compiler_pic=
9798 lt_prog_compiler_can_build_shared=no
9809 # Check to make sure the static flag actually works.
9811 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9813 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9814 if ${lt_cv_prog_compiler_static_works+:} false; then :
9815 $as_echo_n "(cached
) " >&6
9817 lt_cv_prog_compiler_static_works=no
9818 save_LDFLAGS="$LDFLAGS"
9819 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9820 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9821 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9822 # The linker can only warn and ignore the option if not recognized
9823 # So say no if there are warnings
9824 if test -s conftest.err; then
9825 # Append any errors to the config.log.
9826 cat conftest.err 1>&5
9827 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9829 if diff conftest.exp conftest.er2 >/dev/null; then
9830 lt_cv_prog_compiler_static_works=yes
9833 lt_cv_prog_compiler_static_works=yes
9837 LDFLAGS="$save_LDFLAGS"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9841 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9843 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9846 lt_prog_compiler_static=
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9856 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9857 if ${lt_cv_prog_compiler_c_o+:} false; then :
9858 $as_echo_n "(cached
) " >&6
9860 lt_cv_prog_compiler_c_o=no
9861 $RM -r conftest 2>/dev/null
9865 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9867 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9868 # Insert the option either (1) after the last *FLAGS variable, or
9869 # (2) before a word containing "conftest.
", or (3) at the end.
9870 # Note that $ac_compile itself does not contain backslashes and begins
9871 # with a dollar sign (not a hyphen), so the echo should work correctly.
9872 lt_compile=`echo "$ac_compile" | $SED \
9873 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9874 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9875 -e 's:$: $lt_compiler_flag:'`
9876 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9877 (eval "$lt_compile" 2>out/conftest.err)
9879 cat out/conftest.err >&5
9880 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9881 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9883 # The compiler can only warn and ignore the option if not recognized
9884 # So say no if there are warnings
9885 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9886 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9887 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9888 lt_cv_prog_compiler_c_o=yes
9893 # SGI C++ compiler will create directory out/ii_files/ for
9894 # template instantiation
9895 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9896 $RM out/* && rmdir out
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9903 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9911 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9912 if ${lt_cv_prog_compiler_c_o+:} false; then :
9913 $as_echo_n "(cached
) " >&6
9915 lt_cv_prog_compiler_c_o=no
9916 $RM -r conftest 2>/dev/null
9920 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9922 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9923 # Insert the option either (1) after the last *FLAGS variable, or
9924 # (2) before a word containing "conftest.
", or (3) at the end.
9925 # Note that $ac_compile itself does not contain backslashes and begins
9926 # with a dollar sign (not a hyphen), so the echo should work correctly.
9927 lt_compile=`echo "$ac_compile" | $SED \
9928 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9929 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9930 -e 's:$: $lt_compiler_flag:'`
9931 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9932 (eval "$lt_compile" 2>out/conftest.err)
9934 cat out/conftest.err >&5
9935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9936 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9938 # The compiler can only warn and ignore the option if not recognized
9939 # So say no if there are warnings
9940 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9941 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9942 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9943 lt_cv_prog_compiler_c_o=yes
9948 # SGI C++ compiler will create directory out/ii_files/ for
9949 # template instantiation
9950 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9951 $RM out/* && rmdir out
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9958 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9963 hard_links="nottested
"
9964 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9965 # do not overwrite the value of need_locks provided by the user
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9967 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9970 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9972 ln conftest.a conftest.b 2>&5 || hard_links=no
9973 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9975 $as_echo "$hard_links" >&6; }
9976 if test "$hard_links" = no; then
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9978 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9991 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9994 allow_undefined_flag=
9995 always_export_symbols=no
9997 archive_expsym_cmds=
9998 compiler_needs_object=no
9999 enable_shared_with_static_runtimes=no
10000 export_dynamic_flag_spec=
10001 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10002 hardcode_automatic=no
10004 hardcode_direct_absolute=no
10005 hardcode_libdir_flag_spec=
10006 hardcode_libdir_flag_spec_ld=
10007 hardcode_libdir_separator=
10008 hardcode_minus_L=no
10009 hardcode_shlibpath_var=unsupported
10011 link_all_deplibs=unknown
10013 module_expsym_cmds=
10014 old_archive_from_new_cmds=
10015 old_archive_from_expsyms_cmds=
10016 thread_safe_flag_spec=
10017 whole_archive_flag_spec=
10018 # include_expsyms should be a list of space-separated symbols to be *always*
10019 # included in the symbol list
10021 # exclude_expsyms can be an extended regexp of symbols to exclude
10022 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10023 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10024 # as well as any symbol that contains `d'.
10025 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10026 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10027 # platforms (ab)use it in PIC code, but their linkers get confused if
10028 # the symbol is explicitly referenced. Since portable code cannot
10029 # rely on this symbol name, it's probably fine to never include it in
10030 # preloaded symbol tables.
10031 # Exclude shared library initialization/finalization symbols.
10032 extract_expsyms_cmds=
10035 cygwin* | mingw* | pw32* | cegcc*)
10036 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10037 # When not using gcc, we currently assume that we are using
10038 # Microsoft Visual C++.
10039 if test "$GCC" != yes; then
10044 # we just hope/assume this is gcc and not c89 (= MSVC++)
10054 # On some targets, GNU ld is compatible enough with the native linker
10055 # that we're better off using the native interface for both.
10056 lt_use_gnu_ld_interface=no
10057 if test "$with_gnu_ld" = yes; then
10060 # The AIX port of GNU ld has always aspired to compatibility
10061 # with the native linker. However, as the warning in the GNU ld
10062 # block says, versions before 2.19.5* couldn't really create working
10063 # shared libraries, regardless of the interface used.
10064 case `$LD -v 2>&1` in
10065 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10066 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10067 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10069 lt_use_gnu_ld_interface=yes
10074 lt_use_gnu_ld_interface=yes
10079 if test "$lt_use_gnu_ld_interface" = yes; then
10080 # If archive_cmds runs LD, not CC, wlarc should be empty
10083 # Set some defaults for GNU ld with shared library support. These
10084 # are reset later if shared libraries are not supported. Putting them
10085 # here allows them to be overridden if necessary.
10086 runpath_var=LD_RUN_PATH
10087 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10088 export_dynamic_flag_spec='${wl}--export-dynamic'
10089 # ancient GNU ld didn't support --whole-archive et. al.
10090 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10091 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10093 whole_archive_flag_spec=
10095 supports_anon_versioning=no
10096 case `$LD -v 2>&1` in
10097 *GNU\ gold*) supports_anon_versioning=yes ;;
10098 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10099 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10100 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10101 *\ 2.11.*) ;; # other 2.11 versions
10102 *) supports_anon_versioning=yes ;;
10105 # See if GNU ld supports shared libraries.
10108 # On AIX/PPC, the GNU linker is very broken
10109 if test "$host_cpu" != ia64; then
10113 *** Warning: the GNU linker, at least up to release 2.19, is reported
10114 *** to be unable to reliably create shared libraries on AIX.
10115 *** Therefore, libtool is disabling shared libraries support. If you
10116 *** really care for shared libraries, you may want to install binutils
10117 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10118 *** You will then need to restart the configuration process.
10127 # see comment about AmigaOS4 .so support
10128 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10129 archive_expsym_cmds=''
10132 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)'
10133 hardcode_libdir_flag_spec
='-L$libdir'
10134 hardcode_minus_L
=yes
10140 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10141 allow_undefined_flag
=unsupported
10142 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10143 # support --undefined. This deserves some investigation. FIXME
10144 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10150 cygwin
* | mingw
* | pw32
* | cegcc
*)
10151 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10152 # as there is no search path for DLLs.
10153 hardcode_libdir_flag_spec
='-L$libdir'
10154 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10155 allow_undefined_flag
=unsupported
10156 always_export_symbols
=no
10157 enable_shared_with_static_runtimes
=yes
10158 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10160 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10161 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10162 # If the export-symbols file already is a .def file (1st line
10163 # is EXPORTS), use it as is; otherwise, prepend...
10164 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10165 cp $export_symbols $output_objdir/$soname.def;
10167 echo EXPORTS > $output_objdir/$soname.def;
10168 cat $export_symbols >> $output_objdir/$soname.def;
10170 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10177 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10178 link_all_deplibs
=yes
10183 hardcode_shlibpath_var
=no
10184 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10185 export_dynamic_flag_spec
='${wl}-E'
10186 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10187 # Instead, shared libraries are loaded at an image base (0x10000000 by
10188 # default) and relocated if they conflict, which is a slow very memory
10189 # consuming and fragmenting process. To avoid this, we pick a random,
10190 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10191 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10192 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10193 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'
10196 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10198 if test "$host_os" = linux-dietlibc
; then
10199 case $cc_basename in
10200 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10203 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10204 && test "$tmp_diet" = no
10206 tmp_addflag
=' $pic_flag'
10207 tmp_sharedflag
='-shared'
10208 case $cc_basename,$host_cpu in
10209 pgcc
*) # Portland Group C compiler
10210 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'
10211 tmp_addflag
=' $pic_flag'
10213 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10214 # Portland Group f77 and f90 compilers
10215 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'
10216 tmp_addflag
=' $pic_flag -Mnomain' ;;
10217 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10218 tmp_addflag
=' -i_dynamic' ;;
10219 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10220 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10221 ifc
* | ifort
*) # Intel Fortran compiler
10222 tmp_addflag
=' -nofor_main' ;;
10223 lf95
*) # Lahey Fortran 8.1
10224 whole_archive_flag_spec
=
10225 tmp_sharedflag
='--shared' ;;
10226 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10227 tmp_sharedflag
='-qmkshrobj'
10229 nvcc
*) # Cuda Compiler Driver 2.2
10230 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'
10231 compiler_needs_object
=yes
10234 case `$CC -V 2>&1 | sed 5q` in
10235 *Sun\ C
*) # Sun C 5.9
10236 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'
10237 compiler_needs_object
=yes
10238 tmp_sharedflag
='-G' ;;
10239 *Sun\ F
*) # Sun Fortran 8.3
10240 tmp_sharedflag
='-G' ;;
10242 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10244 if test "x$supports_anon_versioning" = xyes
; then
10245 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10246 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10247 echo "local: *; };" >> $output_objdir/$libname.ver~
10248 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10251 case $cc_basename in
10252 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10253 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10254 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10255 hardcode_libdir_flag_spec
=
10256 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10257 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10258 if test "x$supports_anon_versioning" = xyes
; then
10259 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10260 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10261 echo "local: *; };" >> $output_objdir/$libname.ver~
10262 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10272 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10273 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10276 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10277 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10282 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10286 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10287 *** create shared libraries on Solaris systems. Therefore, libtool
10288 *** is disabling shared libraries support. We urge you to upgrade GNU
10289 *** binutils to release 2.9.1 or newer. Another option is to modify
10290 *** your PATH or compiler configuration so that the native linker is
10291 *** used, and then restart.
10294 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10295 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10296 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10302 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10303 case `$LD -v 2>&1` in
10304 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10308 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10309 *** reliably create shared libraries on SCO systems. Therefore, libtool
10310 *** is disabling shared libraries support. We urge you to upgrade GNU
10311 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10312 *** your PATH or compiler configuration so that the native linker is
10313 *** used, and then restart.
10318 # For security reasons, it is highly recommended that you always
10319 # use absolute paths for naming shared libraries, and exclude the
10320 # DT_RUNPATH tag from executables and libraries. But doing so
10321 # requires that you compile everything twice, which is a pain.
10322 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10323 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10324 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10325 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10334 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10336 hardcode_direct
=yes
10337 hardcode_shlibpath_var
=no
10341 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10342 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10343 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10350 if test "$ld_shlibs" = no
; then
10352 hardcode_libdir_flag_spec
=
10353 export_dynamic_flag_spec
=
10354 whole_archive_flag_spec
=
10357 # PORTME fill in a description of your system's linker (not GNU ld)
10360 allow_undefined_flag
=unsupported
10361 always_export_symbols
=yes
10362 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'
10363 # Note: this linker hardcodes the directories in LIBPATH if there
10364 # are no directories specified by -L.
10365 hardcode_minus_L
=yes
10366 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10367 # Neither direct hardcoding nor static linking is supported with a
10369 hardcode_direct
=unsupported
10374 if test "$host_cpu" = ia64
; then
10375 # On IA64, the linker does run time linking by default, so we don't
10376 # have to do anything special.
10377 aix_use_runtimelinking
=no
10378 exp_sym_flag
='-Bexport'
10381 # If we're using GNU nm, then we don't want the "-C" option.
10382 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10383 # Also, AIX nm treats weak defined symbols like other global
10384 # defined symbols, whereas GNU nm marks them as "W".
10385 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10386 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'
10388 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'
10390 aix_use_runtimelinking
=no
10392 # Test if we are trying to use run time linking or normal
10393 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10394 # need to do runtime linking.
10395 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10396 for ld_flag
in $LDFLAGS; do
10397 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10398 aix_use_runtimelinking
=yes
10405 exp_sym_flag
='-bexport'
10406 no_entry_flag
='-bnoentry'
10409 # When large executables or shared objects are built, AIX ld can
10410 # have problems creating the table of contents. If linking a library
10411 # or program results in "error TOC overflow" add -mminimal-toc to
10412 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10413 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10416 hardcode_direct
=yes
10417 hardcode_direct_absolute
=yes
10418 hardcode_libdir_separator
=':'
10419 link_all_deplibs
=yes
10420 file_list_spec
='${wl}-f,'
10422 if test "$GCC" = yes; then
10423 case $host_os in aix4.
[012]|aix4.
[012].
*)
10424 # We only want to do this on AIX 4.2 and lower, the check
10425 # below for broken collect2 doesn't work under 4.3+
10426 collect2name
=`${CC} -print-prog-name=collect2`
10427 if test -f "$collect2name" &&
10428 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10430 # We have reworked collect2
10433 # We have old collect2
10434 hardcode_direct
=unsupported
10435 # It fails to find uninstalled libraries when the uninstalled
10436 # path is not listed in the libpath. Setting hardcode_minus_L
10437 # to unsupported forces relinking
10438 hardcode_minus_L
=yes
10439 hardcode_libdir_flag_spec
='-L$libdir'
10440 hardcode_libdir_separator
=
10444 shared_flag
='-shared'
10445 if test "$aix_use_runtimelinking" = yes; then
10446 shared_flag
="$shared_flag "'${wl}-G'
10450 if test "$host_cpu" = ia64
; then
10451 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10452 # chokes on -Wl,-G. The following line is correct:
10455 if test "$aix_use_runtimelinking" = yes; then
10456 shared_flag
='${wl}-G'
10458 shared_flag
='${wl}-bM:SRE'
10463 export_dynamic_flag_spec
='${wl}-bexpall'
10464 # It seems that -bexpall does not export symbols beginning with
10465 # underscore (_), so it is better to generate a list of symbols to export.
10466 always_export_symbols
=yes
10467 if test "$aix_use_runtimelinking" = yes; then
10468 # Warning - without using the other runtime loading flags (-brtl),
10469 # -berok will link without error, but may produce a broken library.
10470 allow_undefined_flag
='-berok'
10471 # Determine the default libpath from the value encoded in an
10472 # empty executable.
10473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10484 if ac_fn_c_try_link
"$LINENO"; then :
10486 lt_aix_libpath_sed
='
10487 /Import File Strings/,/^$/ {
10493 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10494 # Check for a 64-bit object if we didn't find anything.
10495 if test -z "$aix_libpath"; then
10496 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10499 rm -f core conftest.err conftest.
$ac_objext \
10500 conftest
$ac_exeext conftest.
$ac_ext
10501 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10503 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10504 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"
10506 if test "$host_cpu" = ia64
; then
10507 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10508 allow_undefined_flag
="-z nodefs"
10509 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"
10511 # Determine the default libpath from the value encoded in an
10512 # empty executable.
10513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10524 if ac_fn_c_try_link
"$LINENO"; then :
10526 lt_aix_libpath_sed
='
10527 /Import File Strings/,/^$/ {
10533 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10534 # Check for a 64-bit object if we didn't find anything.
10535 if test -z "$aix_libpath"; then
10536 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10539 rm -f core conftest.err conftest.
$ac_objext \
10540 conftest
$ac_exeext conftest.
$ac_ext
10541 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10543 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10544 # Warning - without using the other run time loading flags,
10545 # -berok will link without error, but may produce a broken library.
10546 no_undefined_flag
=' ${wl}-bernotok'
10547 allow_undefined_flag
=' ${wl}-berok'
10548 if test "$with_gnu_ld" = yes; then
10549 # We only use this code for GNU lds that support --whole-archive.
10550 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10552 # Exported symbols can be pulled into shared objects from archives
10553 whole_archive_flag_spec
='$convenience'
10555 archive_cmds_need_lc
=yes
10556 # This is similar to how AIX traditionally builds its shared libraries.
10557 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'
10565 # see comment about AmigaOS4 .so support
10566 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10567 archive_expsym_cmds
=''
10570 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)'
10571 hardcode_libdir_flag_spec
='-L$libdir'
10572 hardcode_minus_L
=yes
10578 export_dynamic_flag_spec
=-rdynamic
10581 cygwin
* | mingw
* | pw32
* | cegcc
*)
10582 # When not using gcc, we currently assume that we are using
10583 # Microsoft Visual C++.
10584 # hardcode_libdir_flag_spec is actually meaningless, as there is
10585 # no search path for DLLs.
10586 hardcode_libdir_flag_spec
=' '
10587 allow_undefined_flag
=unsupported
10588 # Tell ltmain to make .lib files, not .a files.
10590 # Tell ltmain to make .dll files, not .so files.
10592 # FIXME: Setting linknames here is a bad hack.
10593 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10594 # The linker will automatically build a .lib file if we build a DLL.
10595 old_archive_from_new_cmds
='true'
10596 # FIXME: Should let the user specify the lib program.
10597 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10598 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10599 enable_shared_with_static_runtimes
=yes
10602 darwin
* | rhapsody
*)
10606 # Publish an arg to allow the user to select that Darwin host (and target)
10607 # libraries should be given install-names like @rpath/libfoo.dylib. This
10608 # requires that the user of the library then adds an 'rpath' to the DSO that
10610 # NOTE: there are defaults below, for systems that support rpaths. The person
10611 # configuring can override the defaults for any system version that supports
10612 # them - they are, however, forced off for system versions without support.
10613 # Check whether --enable-darwin-at-rpath was given.
10614 if test "${enable_darwin_at_rpath+set}" = set; then :
10615 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10616 # This is not supported before macOS 10.5 / Darwin9.
10617 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10618 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10620 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10621 enable_darwin_at_rpath
=no
10626 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10627 # As above, before 10.5 / Darwin9 this does not work.
10628 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10629 enable_darwin_at_rpath
=no
10632 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10633 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10634 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10635 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10637 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10638 enable_darwin_at_rpath
=yes
10640 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10641 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10648 archive_cmds_need_lc
=no
10650 hardcode_automatic
=yes
10651 hardcode_shlibpath_var
=unsupported
10652 if test "$lt_cv_ld_force_load" = "yes"; then
10653 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\"`'
10655 whole_archive_flag_spec
=''
10657 link_all_deplibs
=yes
10658 allow_undefined_flag
="$_lt_dar_allow_undefined"
10659 case $cc_basename in
10660 ifort
*) _lt_dar_can_shared
=yes ;;
10661 *) _lt_dar_can_shared
=$GCC ;;
10663 if test "$_lt_dar_can_shared" = "yes"; then
10664 output_verbose_link_cmd
=func_echo_all
10665 _lt_install_name
='\$rpath/\$soname'
10666 if test "x$enable_darwin_at_rpath" = "xyes"; then
10667 _lt_install_name
='@rpath/\$soname'
10669 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
10670 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10671 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
10672 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}"
10681 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10682 hardcode_libdir_flag_spec
='-L$libdir'
10683 hardcode_shlibpath_var
=no
10686 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10687 # support. Future versions do this automatically, but an explicit c++rt0.o
10688 # does not break anything, and helps significantly (at the cost of a little
10691 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10692 hardcode_libdir_flag_spec
='-R$libdir'
10693 hardcode_direct
=yes
10694 hardcode_shlibpath_var
=no
10697 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10699 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10700 hardcode_direct
=yes
10701 hardcode_minus_L
=yes
10702 hardcode_shlibpath_var
=no
10705 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10706 freebsd
* | dragonfly
*)
10707 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10708 hardcode_libdir_flag_spec
='-R$libdir'
10709 hardcode_direct
=yes
10710 hardcode_shlibpath_var
=no
10714 if test "$GCC" = yes; then
10715 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'
10717 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'
10719 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10720 hardcode_libdir_separator
=:
10721 hardcode_direct
=yes
10723 # hardcode_minus_L: Not really in the search PATH,
10724 # but as the default location of the library.
10725 hardcode_minus_L
=yes
10726 export_dynamic_flag_spec
='${wl}-E'
10730 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10731 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10733 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10735 if test "$with_gnu_ld" = no
; then
10736 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10737 hardcode_libdir_flag_spec_ld
='+b $libdir'
10738 hardcode_libdir_separator
=:
10739 hardcode_direct
=yes
10740 hardcode_direct_absolute
=yes
10741 export_dynamic_flag_spec
='${wl}-E'
10742 # hardcode_minus_L: Not really in the search PATH,
10743 # but as the default location of the library.
10744 hardcode_minus_L
=yes
10749 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10752 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10755 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10758 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10764 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10767 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10771 # Older versions of the 11.00 compiler do not understand -b yet
10772 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10774 $as_echo_n "checking if $CC understands -b... " >&6; }
10775 if ${lt_cv_prog_compiler__b+:} false
; then :
10776 $as_echo_n "(cached) " >&6
10778 lt_cv_prog_compiler__b
=no
10779 save_LDFLAGS
="$LDFLAGS"
10780 LDFLAGS
="$LDFLAGS -b"
10781 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10782 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10783 # The linker can only warn and ignore the option if not recognized
10784 # So say no if there are warnings
10785 if test -s conftest.err
; then
10786 # Append any errors to the config.log.
10787 cat conftest.err
1>&5
10788 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10789 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10790 if diff conftest.exp conftest.er2
>/dev
/null
; then
10791 lt_cv_prog_compiler__b
=yes
10794 lt_cv_prog_compiler__b
=yes
10798 LDFLAGS
="$save_LDFLAGS"
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10802 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10804 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10805 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10807 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10813 if test "$with_gnu_ld" = no
; then
10814 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10815 hardcode_libdir_separator
=:
10820 hardcode_shlibpath_var
=no
10823 hardcode_direct
=yes
10824 hardcode_direct_absolute
=yes
10825 export_dynamic_flag_spec
='${wl}-E'
10827 # hardcode_minus_L: Not really in the search PATH,
10828 # but as the default location of the library.
10829 hardcode_minus_L
=yes
10835 irix5
* | irix6
* | nonstopux
*)
10836 if test "$GCC" = yes; then
10837 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'
10838 # Try to use the -exported_symbol ld option, if it does not
10839 # work, assume that -exports_file does not work either and
10840 # implicitly export all symbols.
10841 save_LDFLAGS
="$LDFLAGS"
10842 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10847 if ac_fn_c_try_link
"$LINENO"; then :
10848 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'
10851 rm -f core conftest.err conftest.
$ac_objext \
10852 conftest
$ac_exeext conftest.
$ac_ext
10853 LDFLAGS
="$save_LDFLAGS"
10855 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'
10856 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'
10858 archive_cmds_need_lc
='no'
10859 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10860 hardcode_libdir_separator
=:
10862 link_all_deplibs
=yes
10866 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10867 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10869 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10871 hardcode_libdir_flag_spec
='-R$libdir'
10872 hardcode_direct
=yes
10873 hardcode_shlibpath_var
=no
10877 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10878 hardcode_direct
=yes
10879 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10880 hardcode_libdir_separator
=:
10881 hardcode_shlibpath_var
=no
10888 if test -f /usr
/libexec
/ld.so
; then
10889 hardcode_direct
=yes
10890 hardcode_shlibpath_var
=no
10891 hardcode_direct_absolute
=yes
10892 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10893 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10894 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10895 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10896 export_dynamic_flag_spec
='${wl}-E'
10899 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10900 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10901 hardcode_libdir_flag_spec
='-R$libdir'
10904 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10905 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10915 hardcode_libdir_flag_spec
='-L$libdir'
10916 hardcode_minus_L
=yes
10917 allow_undefined_flag
=unsupported
10918 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'
10919 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10923 if test "$GCC" = yes; then
10924 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10925 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'
10927 allow_undefined_flag
=' -expect_unresolved \*'
10928 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'
10930 archive_cmds_need_lc
='no'
10931 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10932 hardcode_libdir_separator
=:
10935 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10936 if test "$GCC" = yes; then
10937 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10938 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'
10939 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10941 allow_undefined_flag
=' -expect_unresolved \*'
10942 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'
10943 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~
10944 $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'
10946 # Both c and cxx compiler support -rpath directly
10947 hardcode_libdir_flag_spec
='-rpath $libdir'
10949 archive_cmds_need_lc
='no'
10950 hardcode_libdir_separator
=:
10954 no_undefined_flag
=' -z defs'
10955 if test "$GCC" = yes; then
10957 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10958 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10959 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10961 case `$CC -V 2>&1` in
10964 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10965 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10966 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10970 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10971 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10972 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10976 hardcode_libdir_flag_spec
='-R$libdir'
10977 hardcode_shlibpath_var
=no
10979 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10981 # The compiler driver will combine and reorder linker options,
10982 # but understands `-z linker_flag'. GCC discards it without `$wl',
10983 # but is careful enough not to reorder.
10984 # Supported since Solaris 2.6 (maybe 2.5.1?)
10985 if test "$GCC" = yes; then
10986 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10988 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10992 link_all_deplibs
=yes
10996 if test "x$host_vendor" = xsequent
; then
10997 # Use $CC to link under sequent, because it throws in some extra .o
10998 # files that make .init and .fini sections work.
10999 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11001 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11003 hardcode_libdir_flag_spec
='-L$libdir'
11004 hardcode_direct
=yes
11005 hardcode_minus_L
=yes
11006 hardcode_shlibpath_var
=no
11010 case $host_vendor in
11012 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11013 hardcode_direct
=yes # is this really true???
11016 ## LD is ld it makes a PLAMLIB
11017 ## CC just makes a GrossModule.
11018 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11019 reload_cmds
='$CC -r -o $output$reload_objs'
11023 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11024 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11027 runpath_var
='LD_RUN_PATH'
11028 hardcode_shlibpath_var
=no
11032 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11033 hardcode_shlibpath_var
=no
11034 export_dynamic_flag_spec
='-Bexport'
11038 if test -d /usr
/nec
; then
11039 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11040 hardcode_shlibpath_var
=no
11041 runpath_var
=LD_RUN_PATH
11042 hardcode_runpath_var
=yes
11047 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11048 no_undefined_flag
='${wl}-z,text'
11049 archive_cmds_need_lc
=no
11050 hardcode_shlibpath_var
=no
11051 runpath_var
='LD_RUN_PATH'
11053 if test "$GCC" = yes; then
11054 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11055 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11057 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11058 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11062 sysv5
* | sco3.2v5
* | sco5v6
*)
11063 # Note: We can NOT use -z defs as we might desire, because we do not
11064 # link with -lc, and that would cause any symbols used from libc to
11065 # always be unresolved, which means just about no library would
11066 # ever link correctly. If we're not using GNU ld we use -z text
11067 # though, which does catch some bad symbols but isn't as heavy-handed
11069 no_undefined_flag
='${wl}-z,text'
11070 allow_undefined_flag
='${wl}-z,nodefs'
11071 archive_cmds_need_lc
=no
11072 hardcode_shlibpath_var
=no
11073 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11074 hardcode_libdir_separator
=':'
11075 link_all_deplibs
=yes
11076 export_dynamic_flag_spec
='${wl}-Bexport'
11077 runpath_var
='LD_RUN_PATH'
11079 if test "$GCC" = yes; then
11080 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11081 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11083 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11084 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11089 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11090 hardcode_libdir_flag_spec
='-L$libdir'
11091 hardcode_shlibpath_var
=no
11099 if test x
$host_vendor = xsni
; then
11101 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11102 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11109 $as_echo "$ld_shlibs" >&6; }
11110 test "$ld_shlibs" = no
&& can_build_shared
=no
11112 with_gnu_ld
=$with_gnu_ld
11129 # Do we need to explicitly link libc?
11131 case "x$archive_cmds_need_lc" in
11133 # Assume -lc should be added
11134 archive_cmds_need_lc
=yes
11136 if test "$enable_shared" = yes && test "$GCC" = yes; then
11137 case $archive_cmds in
11139 # FIXME: we may have to deal with multi-command sequences.
11142 # Test whether the compiler implicitly links with -lc since on some
11143 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11144 # to ld, don't add -lc before -lgcc.
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11146 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11147 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11148 $as_echo_n "(cached) " >&6
11151 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11154 (eval $ac_compile) 2>&5
11156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11157 test $ac_status = 0; } 2>conftest.err
; then
11160 libobjs
=conftest.
$ac_objext
11162 wl
=$lt_prog_compiler_wl
11163 pic_flag
=$lt_prog_compiler_pic
11169 lt_save_allow_undefined_flag
=$allow_undefined_flag
11170 allow_undefined_flag
=
11171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11172 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11175 test $ac_status = 0; }
11177 lt_cv_archive_cmds_need_lc
=no
11179 lt_cv_archive_cmds_need_lc
=yes
11181 allow_undefined_flag
=$lt_save_allow_undefined_flag
11183 cat conftest.err
1>&5
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11189 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11190 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11354 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11356 if test "$GCC" = yes; then
11358 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11359 *) lt_awk_arg
="/^libraries:/" ;;
11362 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11363 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11365 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11366 case $lt_search_path_spec in
11368 # if the path contains ";" then we assume it to be the separator
11369 # otherwise default to the standard path separator (i.e. ":") - it is
11370 # assumed that no part of a normal pathname contains ";" but that should
11371 # okay in the real world where ";" in dirpaths is itself problematic.
11372 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11375 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11378 # Ok, now we have the path, separated by spaces, we can step through it
11379 # and add multilib dir if necessary.
11380 lt_tmp_lt_search_path_spec
=
11381 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11382 for lt_sys_path
in $lt_search_path_spec; do
11383 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11384 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11386 test -d "$lt_sys_path" && \
11387 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11390 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11391 BEGIN {RS=" "; FS="/|\n";} {
11394 for (lt_i = NF; lt_i > 0; lt_i--) {
11395 if ($lt_i != "" && $lt_i != ".") {
11396 if ($lt_i == "..") {
11399 if (lt_count == 0) {
11400 lt_foo="/" $lt_i lt_foo;
11407 if (lt_foo != "") { lt_freq[lt_foo]++; }
11408 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11410 # AWK program above erroneously prepends '/' to C:/dos/paths
11413 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11414 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11416 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11418 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11420 library_names_spec
=
11421 libname_spec
='lib$name'
11425 postuninstall_cmds
=
11429 shlibpath_overrides_runpath
=unknown
11431 dynamic_linker
="$host_os ld.so"
11432 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11433 need_lib_prefix
=unknown
11434 hardcode_into_libs
=no
11436 # when you set need_version to no, make sure it does not cause -set_version
11437 # flags to be left without arguments
11438 need_version
=unknown
11443 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11444 shlibpath_var
=LIBPATH
11446 # AIX 3 has no versioning support, so we append a major version to the name.
11447 soname_spec
='${libname}${release}${shared_ext}$major'
11454 hardcode_into_libs
=yes
11455 if test "$host_cpu" = ia64
; then
11456 # AIX 5 supports IA64
11457 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11458 shlibpath_var
=LD_LIBRARY_PATH
11460 # With GCC up to 2.95.x, collect2 would create an import file
11461 # for dependence libraries. The import file would start with
11462 # the line `#! .'. This would cause the generated library to
11463 # depend on `.', always an invalid library. This was fixed in
11464 # development snapshots of GCC prior to 3.0.
11466 aix4 | aix4.
[01] | aix4.
[01].
*)
11467 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11469 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11472 can_build_shared
=no
11476 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11477 # soname into executable. Probably we can add versioning support to
11478 # collect2, so additional links can be useful in future.
11479 if test "$aix_use_runtimelinking" = yes; then
11480 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11481 # instead of lib<name>.a to let people know that these are not
11482 # typical AIX shared libraries.
11483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11485 # We preserve .a as extension for shared libraries through AIX4.2
11486 # and later when we are not doing run time linking.
11487 library_names_spec
='${libname}${release}.a $libname.a'
11488 soname_spec
='${libname}${release}${shared_ext}$major'
11490 shlibpath_var
=LIBPATH
11497 # Since July 2007 AmigaOS4 officially supports .so libraries.
11498 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11502 library_names_spec
='$libname.ixlibrary $libname.a'
11503 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11504 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'
11510 library_names_spec
='${libname}${shared_ext}'
11511 dynamic_linker
="$host_os ld.so"
11512 shlibpath_var
=LIBRARY_PATH
11518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11519 soname_spec
='${libname}${release}${shared_ext}$major'
11520 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11521 shlibpath_var
=LD_LIBRARY_PATH
11522 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11523 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11524 # the default ld.so.conf also contains /usr/contrib/lib and
11525 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11526 # libtool to hard-code these into programs
11529 cygwin
* | mingw
* | pw32
* | cegcc
*)
11530 version_type
=windows
11535 case $GCC,$host_os in
11536 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11537 library_names_spec
='$libname.dll.a'
11538 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11539 postinstall_cmds
='base_file=`basename \${file}`~
11540 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11541 dldir=$destdir/`dirname \$dlpath`~
11542 test -d \$dldir || mkdir -p \$dldir~
11543 $install_prog $dir/$dlname \$dldir/$dlname~
11544 chmod a+x \$dldir/$dlname~
11545 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11546 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11548 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11549 dlpath=$dir/\$dldll~
11551 shlibpath_overrides_runpath
=yes
11555 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11556 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11558 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11561 # MinGW DLLs use traditional 'lib' prefix
11562 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11565 # pw32 DLLs use 'pw' prefix rather than 'lib'
11566 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11572 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11575 dynamic_linker
='Win32 ld.exe'
11576 # FIXME: first we should search . and the directory the executable is in
11580 darwin
* | rhapsody
*)
11581 dynamic_linker
="$host_os dyld"
11582 version_type
=darwin
11585 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11586 soname_spec
='${libname}${release}${major}$shared_ext'
11587 shlibpath_overrides_runpath
=yes
11588 shlibpath_var
=DYLD_LIBRARY_PATH
11589 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11591 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11592 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11600 soname_spec
='${libname}${release}${shared_ext}$major'
11601 shlibpath_var
=LD_LIBRARY_PATH
11604 freebsd
* | dragonfly
*)
11605 # DragonFly does not have aout. When/if they implement a new
11606 # versioning mechanism, adjust this.
11607 if test -x /usr
/bin
/objformat
; then
11608 objformat
=`/usr/bin/objformat`
11611 freebsd
[23].
*) objformat
=aout
;;
11612 *) objformat
=elf
;;
11615 version_type
=freebsd-
$objformat
11616 case $version_type in
11618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11623 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11627 shlibpath_var
=LD_LIBRARY_PATH
11630 shlibpath_overrides_runpath
=yes
11632 freebsd3.
[01]* | freebsdelf3.
[01]*)
11633 shlibpath_overrides_runpath
=yes
11634 hardcode_into_libs
=yes
11636 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11637 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11638 shlibpath_overrides_runpath
=no
11639 hardcode_into_libs
=yes
11641 *) # from 4.6 on, and DragonFly
11642 shlibpath_overrides_runpath
=yes
11643 hardcode_into_libs
=yes
11652 dynamic_linker
="$host_os runtime_loader"
11653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11654 soname_spec
='${libname}${release}${shared_ext}$major'
11655 shlibpath_var
=LIBRARY_PATH
11656 shlibpath_overrides_runpath
=yes
11657 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11658 hardcode_into_libs
=yes
11661 hpux9
* | hpux10
* | hpux11
*)
11662 # Give a soname corresponding to the major version so that dld.sl refuses to
11663 # link against other versions.
11670 hardcode_into_libs
=yes
11671 dynamic_linker
="$host_os dld.so"
11672 shlibpath_var
=LD_LIBRARY_PATH
11673 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11675 soname_spec
='${libname}${release}${shared_ext}$major'
11676 if test "X$HPUX_IA64_MODE" = X32
; then
11677 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11679 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11681 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11685 hardcode_into_libs
=yes
11686 dynamic_linker
="$host_os dld.sl"
11687 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11688 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11690 soname_spec
='${libname}${release}${shared_ext}$major'
11691 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11692 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11696 dynamic_linker
="$host_os dld.sl"
11697 shlibpath_var
=SHLIB_PATH
11698 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11700 soname_spec
='${libname}${release}${shared_ext}$major'
11703 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11704 postinstall_cmds
='chmod 555 $lib'
11705 # or fails outright, so override atomically:
11706 install_override_mode
=555
11713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11714 soname_spec
='${libname}${release}${shared_ext}$major'
11715 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11716 shlibpath_var
=LD_LIBRARY_PATH
11717 shlibpath_overrides_runpath
=no
11718 hardcode_into_libs
=yes
11721 irix5
* | irix6
* | nonstopux
*)
11723 nonstopux
*) version_type
=nonstopux
;;
11725 if test "$lt_cv_prog_gnu_ld" = yes; then
11733 soname_spec
='${libname}${release}${shared_ext}$major'
11734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11736 irix5
* | nonstopux
*)
11737 libsuff
= shlibsuff
=
11740 case $LD in # libtool.m4 will add one of these switches to LD
11741 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11742 libsuff
= shlibsuff
= libmagic
=32-bit;;
11743 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11744 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11745 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11746 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11747 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11751 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11752 shlibpath_overrides_runpath
=no
11753 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11754 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11755 hardcode_into_libs
=yes
11758 # No shared lib support for Linux oldld, aout, or coff.
11759 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11763 # This must be Linux ELF.
11765 # uclinux* changes (here and below) have been submitted to the libtool
11766 # project, but have not yet been accepted: they are GCC-local changes
11767 # for the time being. (See
11768 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11769 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11774 soname_spec
='${libname}${release}${shared_ext}$major'
11775 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11776 shlibpath_var
=LD_LIBRARY_PATH
11777 shlibpath_overrides_runpath
=no
11779 # Some binutils ld are patched to set DT_RUNPATH
11780 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11781 $as_echo_n "(cached) " >&6
11783 lt_cv_shlibpath_overrides_runpath
=no
11784 save_LDFLAGS
=$LDFLAGS
11785 save_libdir
=$libdir
11786 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11787 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11799 if ac_fn_c_try_link
"$LINENO"; then :
11800 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11801 lt_cv_shlibpath_overrides_runpath
=yes
11804 rm -f core conftest.err conftest.
$ac_objext \
11805 conftest
$ac_exeext conftest.
$ac_ext
11806 LDFLAGS
=$save_LDFLAGS
11807 libdir
=$save_libdir
11811 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11813 # This implies no fast_install, which is unacceptable.
11814 # Some rework will be needed to allow for fast_install
11815 # before this can be enabled.
11816 hardcode_into_libs
=yes
11818 # Append ld.so.conf contents to the search path
11819 if test -f /etc
/ld.so.conf
; then
11820 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' ' '`
11821 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11824 # We used to test for /lib/ld.so.1 and disable shared libraries on
11825 # powerpc, because MkLinux only supported shared libraries with the
11826 # GNU dynamic linker. Since this was broken with cross compilers,
11827 # most powerpc-linux boxes support dynamic linking these days and
11828 # people can always --disable-shared, the test was removed, and we
11829 # assume the GNU/Linux dynamic linker is in use.
11830 dynamic_linker
='GNU/Linux ld.so'
11837 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11839 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11840 dynamic_linker
='NetBSD (a.out) ld.so'
11842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11843 soname_spec
='${libname}${release}${shared_ext}$major'
11844 dynamic_linker
='NetBSD ld.elf_so'
11846 shlibpath_var
=LD_LIBRARY_PATH
11847 shlibpath_overrides_runpath
=yes
11848 hardcode_into_libs
=yes
11853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11854 shlibpath_var
=LD_LIBRARY_PATH
11855 shlibpath_overrides_runpath
=yes
11862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11863 soname_spec
='${libname}${release}${shared_ext}$major'
11864 shlibpath_var
=LD_LIBRARY_PATH
11865 shlibpath_overrides_runpath
=no
11866 hardcode_into_libs
=yes
11867 dynamic_linker
='ldqnx.so'
11872 sys_lib_dlsearch_path_spec
="/usr/lib"
11874 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11876 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11877 *) need_version
=no
;;
11879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11880 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11881 shlibpath_var
=LD_LIBRARY_PATH
11882 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11884 openbsd2.
[89] | openbsd2.
[89].
*)
11885 shlibpath_overrides_runpath
=no
11888 shlibpath_overrides_runpath
=yes
11892 shlibpath_overrides_runpath
=yes
11897 libname_spec
='$name'
11900 library_names_spec
='$libname${shared_ext} $libname.a'
11901 dynamic_linker
='OS/2 ld.exe'
11902 shlibpath_var
=LIBPATH
11905 osf3
* | osf4
* | osf5
*)
11909 soname_spec
='${libname}${release}${shared_ext}$major'
11910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11911 shlibpath_var
=LD_LIBRARY_PATH
11912 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11913 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11925 soname_spec
='${libname}${release}${shared_ext}$major'
11926 shlibpath_var
=LD_LIBRARY_PATH
11927 shlibpath_overrides_runpath
=yes
11928 hardcode_into_libs
=yes
11929 # ldd complains unless libraries are executable
11930 postinstall_cmds
='chmod +x $lib'
11935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11936 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11937 shlibpath_var
=LD_LIBRARY_PATH
11938 shlibpath_overrides_runpath
=yes
11939 if test "$with_gnu_ld" = yes; then
11947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11948 soname_spec
='${libname}${release}${shared_ext}$major'
11949 shlibpath_var
=LD_LIBRARY_PATH
11950 case $host_vendor in
11952 shlibpath_overrides_runpath
=no
11954 runpath_var
=LD_RUN_PATH
11962 shlibpath_overrides_runpath
=no
11963 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11969 if test -d /usr
/nec
;then
11971 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11972 soname_spec
='$libname${shared_ext}.$major'
11973 shlibpath_var
=LD_LIBRARY_PATH
11977 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11978 version_type
=freebsd-elf
11981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11982 soname_spec
='${libname}${release}${shared_ext}$major'
11983 shlibpath_var
=LD_LIBRARY_PATH
11984 shlibpath_overrides_runpath
=yes
11985 hardcode_into_libs
=yes
11986 if test "$with_gnu_ld" = yes; then
11987 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11989 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11992 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11996 sys_lib_dlsearch_path_spec
='/usr/lib'
12000 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12005 shlibpath_var
=LD_LIBRARY_PATH
12006 shlibpath_overrides_runpath
=no
12007 hardcode_into_libs
=yes
12012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12013 soname_spec
='${libname}${release}${shared_ext}$major'
12014 shlibpath_var
=LD_LIBRARY_PATH
12017 # Shared libraries for VwWorks, >= 7 only at this stage
12018 # and (fpic) still incompatible with "large" code models
12019 # in a few configurations. Only for RTP mode in any case,
12020 # and upon explicit request at configure time.
12023 case ${with_multisubdir}-${enable_shared} in
12030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12031 soname_spec
='${libname}${release}${shared_ext}$major'
12032 dynamic_linker
="$host_os module_loader"
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12041 $as_echo "$dynamic_linker" >&6; }
12042 test "$dynamic_linker" = no
&& can_build_shared
=no
12044 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12045 if test "$GCC" = yes; then
12046 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12049 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12050 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12052 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12053 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12148 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12150 if test -n "$hardcode_libdir_flag_spec" ||
12151 test -n "$runpath_var" ||
12152 test "X$hardcode_automatic" = "Xyes" ; then
12154 # We can hardcode non-existent directories.
12155 if test "$hardcode_direct" != no
&&
12156 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12157 # have to relink, otherwise we might link with an installed library
12158 # when we should be linking with a yet-to-be-installed one
12159 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12160 test "$hardcode_minus_L" != no
; then
12161 # Linking always hardcodes the temporary library directory.
12162 hardcode_action
=relink
12164 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12165 hardcode_action
=immediate
12168 # We cannot hardcode anything, or else we can only hardcode existing
12170 hardcode_action
=unsupported
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12173 $as_echo "$hardcode_action" >&6; }
12175 if test "$hardcode_action" = relink ||
12176 test "$inherit_rpath" = yes; then
12177 # Fast installation is not supported
12178 enable_fast_install
=no
12179 elif test "$shlibpath_overrides_runpath" = yes ||
12180 test "$enable_shared" = no
; then
12181 # Fast installation is not necessary
12182 enable_fast_install
=needless
12190 if test "x$enable_dlopen" != xyes
; then
12191 enable_dlopen
=unknown
12192 enable_dlopen_self
=unknown
12193 enable_dlopen_self_static
=unknown
12200 lt_cv_dlopen
="load_add_on"
12202 lt_cv_dlopen_self
=yes
12205 mingw
* | pw32
* | cegcc
*)
12206 lt_cv_dlopen
="LoadLibrary"
12211 lt_cv_dlopen
="dlopen"
12216 # if libdl is installed we need to link against it
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12218 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12219 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12220 $as_echo_n "(cached) " >&6
12222 ac_check_lib_save_LIBS
=$LIBS
12224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12227 /* Override any GCC internal prototype to avoid an error.
12228 Use char because int might match the return type of a GCC
12229 builtin and then its argument prototype would still apply. */
12242 if ac_fn_c_try_link
"$LINENO"; then :
12243 ac_cv_lib_dl_dlopen
=yes
12245 ac_cv_lib_dl_dlopen
=no
12247 rm -f core conftest.err conftest.
$ac_objext \
12248 conftest
$ac_exeext conftest.
$ac_ext
12249 LIBS
=$ac_check_lib_save_LIBS
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12252 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12253 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12254 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12257 lt_cv_dlopen
="dyld"
12259 lt_cv_dlopen_self
=yes
12266 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12267 if test "x$ac_cv_func_shl_load" = xyes
; then :
12268 lt_cv_dlopen
="shl_load"
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12271 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12272 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12273 $as_echo_n "(cached) " >&6
12275 ac_check_lib_save_LIBS
=$LIBS
12277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12290 return shl_load ();
12295 if ac_fn_c_try_link
"$LINENO"; then :
12296 ac_cv_lib_dld_shl_load
=yes
12298 ac_cv_lib_dld_shl_load
=no
12300 rm -f core conftest.err conftest.
$ac_objext \
12301 conftest
$ac_exeext conftest.
$ac_ext
12302 LIBS
=$ac_check_lib_save_LIBS
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12305 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12306 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12307 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12309 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12310 if test "x$ac_cv_func_dlopen" = xyes
; then :
12311 lt_cv_dlopen
="dlopen"
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12314 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12315 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12316 $as_echo_n "(cached) " >&6
12318 ac_check_lib_save_LIBS
=$LIBS
12320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12338 if ac_fn_c_try_link
"$LINENO"; then :
12339 ac_cv_lib_dl_dlopen
=yes
12341 ac_cv_lib_dl_dlopen
=no
12343 rm -f core conftest.err conftest.
$ac_objext \
12344 conftest
$ac_exeext conftest.
$ac_ext
12345 LIBS
=$ac_check_lib_save_LIBS
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12348 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12349 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12350 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12353 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12354 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12355 $as_echo_n "(cached) " >&6
12357 ac_check_lib_save_LIBS
=$LIBS
12358 LIBS
="-lsvld $LIBS"
12359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12377 if ac_fn_c_try_link
"$LINENO"; then :
12378 ac_cv_lib_svld_dlopen
=yes
12380 ac_cv_lib_svld_dlopen
=no
12382 rm -f core conftest.err conftest.
$ac_objext \
12383 conftest
$ac_exeext conftest.
$ac_ext
12384 LIBS
=$ac_check_lib_save_LIBS
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12387 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12388 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12389 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12392 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12393 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12394 $as_echo_n "(cached) " >&6
12396 ac_check_lib_save_LIBS
=$LIBS
12398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12411 return dld_link ();
12416 if ac_fn_c_try_link
"$LINENO"; then :
12417 ac_cv_lib_dld_dld_link
=yes
12419 ac_cv_lib_dld_dld_link
=no
12421 rm -f core conftest.err conftest.
$ac_objext \
12422 conftest
$ac_exeext conftest.
$ac_ext
12423 LIBS
=$ac_check_lib_save_LIBS
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12426 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12427 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12428 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12449 if test "x$lt_cv_dlopen" != xno
; then
12455 case $lt_cv_dlopen in
12457 save_CPPFLAGS
="$CPPFLAGS"
12458 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12460 save_LDFLAGS
="$LDFLAGS"
12461 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12464 LIBS
="$lt_cv_dlopen_libs $LIBS"
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12467 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12468 if ${lt_cv_dlopen_self+:} false
; then :
12469 $as_echo_n "(cached) " >&6
12471 if test "$cross_compiling" = yes; then :
12472 lt_cv_dlopen_self
=cross
12474 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12475 lt_status
=$lt_dlunknown
12476 cat > conftest.
$ac_ext <<_LT_EOF
12477 #line 12477 "configure"
12478 #include "confdefs.h"
12487 # define LT_DLGLOBAL RTLD_GLOBAL
12490 # define LT_DLGLOBAL DL_GLOBAL
12492 # define LT_DLGLOBAL 0
12496 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12497 find out it does not work in some platform. */
12498 #ifndef LT_DLLAZY_OR_NOW
12500 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12503 # define LT_DLLAZY_OR_NOW DL_LAZY
12506 # define LT_DLLAZY_OR_NOW RTLD_NOW
12509 # define LT_DLLAZY_OR_NOW DL_NOW
12511 # define LT_DLLAZY_OR_NOW 0
12518 /* When -fvisbility=hidden is used, assume the code has been annotated
12519 correspondingly for the symbols needed. */
12520 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12521 void fnord () __attribute__((visibility("default")));
12524 void fnord () { int i=42; }
12527 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12528 int status = $lt_dlunknown;
12532 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12535 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12536 else puts (dlerror ());
12538 /* dlclose (self); */
12546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12547 (eval $ac_link) 2>&5
12549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12550 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12551 (.
/conftest
; exit; ) >&5 2>/dev
/null
12553 case x
$lt_status in
12554 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12555 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12556 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12559 # compilation failed
12560 lt_cv_dlopen_self
=no
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12568 $as_echo "$lt_cv_dlopen_self" >&6; }
12570 if test "x$lt_cv_dlopen_self" = xyes
; then
12571 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12573 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12574 if ${lt_cv_dlopen_self_static+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 if test "$cross_compiling" = yes; then :
12578 lt_cv_dlopen_self_static
=cross
12580 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12581 lt_status
=$lt_dlunknown
12582 cat > conftest.
$ac_ext <<_LT_EOF
12583 #line 12583 "configure"
12584 #include "confdefs.h"
12593 # define LT_DLGLOBAL RTLD_GLOBAL
12596 # define LT_DLGLOBAL DL_GLOBAL
12598 # define LT_DLGLOBAL 0
12602 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12603 find out it does not work in some platform. */
12604 #ifndef LT_DLLAZY_OR_NOW
12606 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12609 # define LT_DLLAZY_OR_NOW DL_LAZY
12612 # define LT_DLLAZY_OR_NOW RTLD_NOW
12615 # define LT_DLLAZY_OR_NOW DL_NOW
12617 # define LT_DLLAZY_OR_NOW 0
12624 /* When -fvisbility=hidden is used, assume the code has been annotated
12625 correspondingly for the symbols needed. */
12626 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12627 void fnord () __attribute__((visibility("default")));
12630 void fnord () { int i=42; }
12633 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12634 int status = $lt_dlunknown;
12638 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12641 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12642 else puts (dlerror ());
12644 /* dlclose (self); */
12652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12653 (eval $ac_link) 2>&5
12655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12656 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12657 (.
/conftest
; exit; ) >&5 2>/dev
/null
12659 case x
$lt_status in
12660 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12661 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12662 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12665 # compilation failed
12666 lt_cv_dlopen_self_static
=no
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12674 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12677 CPPFLAGS
="$save_CPPFLAGS"
12678 LDFLAGS
="$save_LDFLAGS"
12683 case $lt_cv_dlopen_self in
12684 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12685 *) enable_dlopen_self
=unknown
;;
12688 case $lt_cv_dlopen_self_static in
12689 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12690 *) enable_dlopen_self_static
=unknown
;;
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12713 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12714 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12715 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12716 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12718 $as_echo "yes" >&6; }
12720 # FIXME - insert some real tests, host_os isn't really good enough
12723 if test -n "$STRIP" ; then
12724 striplib
="$STRIP -x"
12725 old_striplib
="$STRIP -S"
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12727 $as_echo "yes" >&6; }
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12730 $as_echo "no" >&6; }
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12735 $as_echo "no" >&6; }
12751 # Report which library types will actually be built
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12753 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12755 $as_echo "$can_build_shared" >&6; }
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12758 $as_echo_n "checking whether to build shared libraries... " >&6; }
12759 test "$can_build_shared" = "no" && enable_shared
=no
12761 # On AIX, shared libraries and static libraries use the same namespace, and
12762 # are all built from PIC.
12765 test "$enable_shared" = yes && enable_static
=no
12766 if test -n "$RANLIB"; then
12767 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12768 postinstall_cmds
='$RANLIB $lib'
12773 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12774 test "$enable_shared" = yes && enable_static
=no
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12779 $as_echo "$enable_shared" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12782 $as_echo_n "checking whether to build static libraries... " >&6; }
12783 # Make sure either enable_shared or enable_static is yes.
12784 test "$enable_shared" = yes || enable_static
=yes
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12786 $as_echo "$enable_static" >&6; }
12793 ac_cpp
='$CPP $CPPFLAGS'
12794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12800 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12801 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12802 (test "X$CXX" != "Xg++"))) ; then
12804 ac_cpp
='$CXXCPP $CPPFLAGS'
12805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12809 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12810 if test -z "$CXXCPP"; then
12811 if ${ac_cv_prog_CXXCPP+:} false
; then :
12812 $as_echo_n "(cached) " >&6
12814 # Double quotes because CXXCPP needs to be expanded
12815 for CXXCPP
in "$CXX -E" "/lib/cpp"
12817 ac_preproc_ok
=false
12818 for ac_cxx_preproc_warn_flag
in '' yes
12820 # Use a header file that comes with gcc, so configuring glibc
12821 # with a fresh cross-compiler works.
12822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12823 # <limits.h> exists even on freestanding compilers.
12824 # On the NeXT, cc -E runs the code through the compiler's parser,
12825 # not just through cpp. "Syntax error" is here to catch this case.
12826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12827 /* end confdefs.h. */
12829 # include <limits.h>
12831 # include <assert.h>
12835 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12838 # Broken: fails on valid input.
12841 rm -f conftest.err conftest.i conftest.
$ac_ext
12843 # OK, works on sane cases. Now check whether nonexistent headers
12844 # can be detected and how.
12845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12847 #include <ac_nonexistent.h>
12849 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12850 # Broken: success on invalid input.
12853 # Passes both tests.
12857 rm -f conftest.err conftest.i conftest.
$ac_ext
12860 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12861 rm -f conftest.i conftest.err conftest.
$ac_ext
12862 if $ac_preproc_ok; then :
12867 ac_cv_prog_CXXCPP
=$CXXCPP
12870 CXXCPP
=$ac_cv_prog_CXXCPP
12872 ac_cv_prog_CXXCPP
=$CXXCPP
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12875 $as_echo "$CXXCPP" >&6; }
12876 ac_preproc_ok
=false
12877 for ac_cxx_preproc_warn_flag
in '' yes
12879 # Use a header file that comes with gcc, so configuring glibc
12880 # with a fresh cross-compiler works.
12881 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12882 # <limits.h> exists even on freestanding compilers.
12883 # On the NeXT, cc -E runs the code through the compiler's parser,
12884 # not just through cpp. "Syntax error" is here to catch this case.
12885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12886 /* end confdefs.h. */
12888 # include <limits.h>
12890 # include <assert.h>
12894 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12897 # Broken: fails on valid input.
12900 rm -f conftest.err conftest.i conftest.
$ac_ext
12902 # OK, works on sane cases. Now check whether nonexistent headers
12903 # can be detected and how.
12904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12905 /* end confdefs.h. */
12906 #include <ac_nonexistent.h>
12908 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12909 # Broken: success on invalid input.
12912 # Passes both tests.
12916 rm -f conftest.err conftest.i conftest.
$ac_ext
12919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12920 rm -f conftest.i conftest.err conftest.
$ac_ext
12921 if $ac_preproc_ok; then :
12924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12926 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12927 See \`config.log' for more details" "$LINENO" 5; }
12931 ac_cpp
='$CPP $CPPFLAGS'
12932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12937 _lt_caught_CXX_error
=yes
12941 ac_cpp
='$CXXCPP $CPPFLAGS'
12942 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12943 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12944 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12946 archive_cmds_need_lc_CXX
=no
12947 allow_undefined_flag_CXX
=
12948 always_export_symbols_CXX
=no
12949 archive_expsym_cmds_CXX
=
12950 compiler_needs_object_CXX
=no
12951 export_dynamic_flag_spec_CXX
=
12952 hardcode_direct_CXX
=no
12953 hardcode_direct_absolute_CXX
=no
12954 hardcode_libdir_flag_spec_CXX
=
12955 hardcode_libdir_flag_spec_ld_CXX
=
12956 hardcode_libdir_separator_CXX
=
12957 hardcode_minus_L_CXX
=no
12958 hardcode_shlibpath_var_CXX
=unsupported
12959 hardcode_automatic_CXX
=no
12960 inherit_rpath_CXX
=no
12962 module_expsym_cmds_CXX
=
12963 link_all_deplibs_CXX
=unknown
12964 old_archive_cmds_CXX
=$old_archive_cmds
12965 reload_flag_CXX
=$reload_flag
12966 reload_cmds_CXX
=$reload_cmds
12967 no_undefined_flag_CXX
=
12968 whole_archive_flag_spec_CXX
=
12969 enable_shared_with_static_runtimes_CXX
=no
12971 # Source file extension for C++ test sources.
12974 # Object file extension for compiled C++ test sources.
12978 # No sense in running all these tests if we already determined that
12979 # the CXX compiler isn't working. Some variables (like enable_shared)
12980 # are currently assumed to apply to all compilers on this platform,
12981 # and will be corrupted by setting them based on a non-working compiler.
12982 if test "$_lt_caught_CXX_error" != yes; then
12983 # Code to be used in simple compile tests
12984 lt_simple_compile_test_code
="int some_variable = 0;"
12986 # Code to be used in simple link tests
12987 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12989 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12996 # If no C compiler was specified, use CC.
12999 # If no C compiler flags were specified, use CFLAGS.
13000 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13002 # Allow CC to be a program name with arguments.
13006 # save warnings/boilerplate of simple test code
13007 ac_outfile
=conftest.
$ac_objext
13008 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13009 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13010 _lt_compiler_boilerplate
=`cat conftest.err`
13013 ac_outfile
=conftest.
$ac_objext
13014 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13015 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13016 _lt_linker_boilerplate
=`cat conftest.err`
13020 # Allow CC to be a program name with arguments.
13025 lt_save_with_gnu_ld
=$with_gnu_ld
13026 lt_save_path_LD
=$lt_cv_path_LD
13027 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13028 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13030 $as_unset lt_cv_prog_gnu_ld
13032 if test -n "${lt_cv_path_LDCXX+set}"; then
13033 lt_cv_path_LD
=$lt_cv_path_LDCXX
13035 $as_unset lt_cv_path_LD
13037 test -z "${LDCXX+set}" || LD
=$LDCXX
13041 for cc_temp
in $compiler""; do
13043 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13044 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13049 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13052 if test -n "$compiler"; then
13053 # We don't want -fno-exception when compiling C++ code, so set the
13054 # no_builtin_flag separately
13055 if test "$GXX" = yes; then
13056 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13058 lt_prog_compiler_no_builtin_flag_CXX
=
13061 if test "$GXX" = yes; then
13062 # Set up default GNU C++ configuration
13066 # Check whether --with-gnu-ld was given.
13067 if test "${with_gnu_ld+set}" = set; then :
13068 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13074 if test "$GCC" = yes; then
13075 # Check if gcc -print-prog-name=ld gives a path.
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13077 $as_echo_n "checking for ld used by $CC... " >&6; }
13080 # gcc leaves a trailing carriage return which upsets mingw
13081 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13083 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13086 # Accept absolute paths.
13088 re_direlt
='/[^/][^/]*/\.\./'
13089 # Canonicalize the pathname of ld
13090 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13091 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13092 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13094 test -z "$LD" && LD
="$ac_prog"
13097 # If it fails, then pretend we aren't using GCC.
13101 # If it is relative, then search for the first ld in PATH.
13102 with_gnu_ld
=unknown
13105 elif test "$with_gnu_ld" = yes; then
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13107 $as_echo_n "checking for GNU ld... " >&6; }
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13110 $as_echo_n "checking for non-GNU ld... " >&6; }
13112 if ${lt_cv_path_LD+:} false
; then :
13113 $as_echo_n "(cached) " >&6
13115 if test -z "$LD"; then
13116 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13117 for ac_dir
in $PATH; do
13119 test -z "$ac_dir" && ac_dir
=.
13120 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13121 lt_cv_path_LD
="$ac_dir/$ac_prog"
13122 # Check to see if the program is GNU ld. I'd rather use --version,
13123 # but apparently some variants of GNU ld only accept -v.
13124 # Break only if it was the GNU/non-GNU ld that we prefer.
13125 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13126 *GNU
* |
*'with BFD'*)
13127 test "$with_gnu_ld" != no
&& break
13130 test "$with_gnu_ld" != yes && break
13137 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13141 LD
="$lt_cv_path_LD"
13142 if test -n "$LD"; then
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13144 $as_echo "$LD" >&6; }
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13147 $as_echo "no" >&6; }
13149 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13151 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13152 if ${lt_cv_prog_gnu_ld+:} false
; then :
13153 $as_echo_n "(cached) " >&6
13155 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13156 case `$LD -v 2>&1 </dev/null` in
13157 *GNU
* |
*'with BFD'*)
13158 lt_cv_prog_gnu_ld
=yes
13161 lt_cv_prog_gnu_ld
=no
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13166 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13167 with_gnu_ld
=$lt_cv_prog_gnu_ld
13175 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13176 # archiving commands below assume that GNU ld is being used.
13177 if test "$with_gnu_ld" = yes; then
13178 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13179 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'
13181 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13182 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13184 # If archive_cmds runs LD, not CC, wlarc should be empty
13185 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13186 # investigate it a little bit more. (MM)
13189 # ancient GNU ld didn't support --whole-archive et. al.
13190 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13191 $GREP 'no-whole-archive' > /dev
/null
; then
13192 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13194 whole_archive_flag_spec_CXX
=
13200 # A generic and very simple default shared library creation
13201 # command for GNU C++ for the case where it uses the native
13202 # linker, instead of GNU ld. If possible, this setting should
13203 # overridden to take advantage of the native linker features on
13204 # the platform it is being used on.
13205 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13208 # Commands to make compiler produce verbose output that lists
13209 # what "hidden" libraries, object files and flags are used when
13210 # linking a shared library.
13211 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13219 # PORTME: fill in a description of your system's C++ link characteristics
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13221 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13225 # FIXME: insert proper C++ library support
13229 if test "$host_cpu" = ia64
; then
13230 # On IA64, the linker does run time linking by default, so we don't
13231 # have to do anything special.
13232 aix_use_runtimelinking
=no
13233 exp_sym_flag
='-Bexport'
13236 aix_use_runtimelinking
=no
13238 # Test if we are trying to use run time linking or normal
13239 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13240 # need to do runtime linking.
13241 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13242 for ld_flag
in $LDFLAGS; do
13245 aix_use_runtimelinking
=yes
13253 exp_sym_flag
='-bexport'
13254 no_entry_flag
='-bnoentry'
13257 # When large executables or shared objects are built, AIX ld can
13258 # have problems creating the table of contents. If linking a library
13259 # or program results in "error TOC overflow" add -mminimal-toc to
13260 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13261 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13263 archive_cmds_CXX
=''
13264 hardcode_direct_CXX
=yes
13265 hardcode_direct_absolute_CXX
=yes
13266 hardcode_libdir_separator_CXX
=':'
13267 link_all_deplibs_CXX
=yes
13268 file_list_spec_CXX
='${wl}-f,'
13270 if test "$GXX" = yes; then
13271 case $host_os in aix4.
[012]|aix4.
[012].
*)
13272 # We only want to do this on AIX 4.2 and lower, the check
13273 # below for broken collect2 doesn't work under 4.3+
13274 collect2name
=`${CC} -print-prog-name=collect2`
13275 if test -f "$collect2name" &&
13276 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13278 # We have reworked collect2
13281 # We have old collect2
13282 hardcode_direct_CXX
=unsupported
13283 # It fails to find uninstalled libraries when the uninstalled
13284 # path is not listed in the libpath. Setting hardcode_minus_L
13285 # to unsupported forces relinking
13286 hardcode_minus_L_CXX
=yes
13287 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13288 hardcode_libdir_separator_CXX
=
13291 shared_flag
='-shared'
13292 if test "$aix_use_runtimelinking" = yes; then
13293 shared_flag
="$shared_flag "'${wl}-G'
13297 if test "$host_cpu" = ia64
; then
13298 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13299 # chokes on -Wl,-G. The following line is correct:
13302 if test "$aix_use_runtimelinking" = yes; then
13303 shared_flag
='${wl}-G'
13305 shared_flag
='${wl}-bM:SRE'
13310 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13311 # It seems that -bexpall does not export symbols beginning with
13312 # underscore (_), so it is better to generate a list of symbols to
13314 always_export_symbols_CXX
=yes
13315 if test "$aix_use_runtimelinking" = yes; then
13316 # Warning - without using the other runtime loading flags (-brtl),
13317 # -berok will link without error, but may produce a broken library.
13318 allow_undefined_flag_CXX
='-berok'
13319 # Determine the default libpath from the value encoded in an empty
13321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13332 if ac_fn_cxx_try_link
"$LINENO"; then :
13334 lt_aix_libpath_sed
='
13335 /Import File Strings/,/^$/ {
13341 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13342 # Check for a 64-bit object if we didn't find anything.
13343 if test -z "$aix_libpath"; then
13344 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13347 rm -f core conftest.err conftest.
$ac_objext \
13348 conftest
$ac_exeext conftest.
$ac_ext
13349 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13351 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13353 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"
13355 if test "$host_cpu" = ia64
; then
13356 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13357 allow_undefined_flag_CXX
="-z nodefs"
13358 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"
13360 # Determine the default libpath from the value encoded in an
13361 # empty executable.
13362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13373 if ac_fn_cxx_try_link
"$LINENO"; then :
13375 lt_aix_libpath_sed
='
13376 /Import File Strings/,/^$/ {
13382 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13383 # Check for a 64-bit object if we didn't find anything.
13384 if test -z "$aix_libpath"; then
13385 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13388 rm -f core conftest.err conftest.
$ac_objext \
13389 conftest
$ac_exeext conftest.
$ac_ext
13390 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13392 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13393 # Warning - without using the other run time loading flags,
13394 # -berok will link without error, but may produce a broken library.
13395 no_undefined_flag_CXX
=' ${wl}-bernotok'
13396 allow_undefined_flag_CXX
=' ${wl}-berok'
13397 if test "$with_gnu_ld" = yes; then
13398 # We only use this code for GNU lds that support --whole-archive.
13399 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13401 # Exported symbols can be pulled into shared objects from archives
13402 whole_archive_flag_spec_CXX
='$convenience'
13404 archive_cmds_need_lc_CXX
=yes
13405 # This is similar to how AIX traditionally builds its shared
13407 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'
13413 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13414 allow_undefined_flag_CXX
=unsupported
13415 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13416 # support --undefined. This deserves some investigation. FIXME
13417 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13424 case $cc_basename in
13426 # FIXME: insert proper C++ library support
13432 cygwin
* | mingw
* | pw32
* | cegcc
*)
13433 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13434 # as there is no search path for DLLs.
13435 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13436 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13437 allow_undefined_flag_CXX
=unsupported
13438 always_export_symbols_CXX
=no
13439 enable_shared_with_static_runtimes_CXX
=yes
13441 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13442 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'
13443 # If the export-symbols file already is a .def file (1st line
13444 # is EXPORTS), use it as is; otherwise, prepend...
13445 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13446 cp $export_symbols $output_objdir/$soname.def;
13448 echo EXPORTS > $output_objdir/$soname.def;
13449 cat $export_symbols >> $output_objdir/$soname.def;
13451 $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'
13456 darwin
* | rhapsody
*)
13460 # Publish an arg to allow the user to select that Darwin host (and target)
13461 # libraries should be given install-names like @rpath/libfoo.dylib. This
13462 # requires that the user of the library then adds an 'rpath' to the DSO that
13464 # NOTE: there are defaults below, for systems that support rpaths. The person
13465 # configuring can override the defaults for any system version that supports
13466 # them - they are, however, forced off for system versions without support.
13467 # Check whether --enable-darwin-at-rpath was given.
13468 if test "${enable_darwin_at_rpath+set}" = set; then :
13469 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
13470 # This is not supported before macOS 10.5 / Darwin9.
13471 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13472 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
13474 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
13475 enable_darwin_at_rpath
=no
13480 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13481 # As above, before 10.5 / Darwin9 this does not work.
13482 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13483 enable_darwin_at_rpath
=no
13486 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
13487 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
13488 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
13489 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
13491 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
13492 enable_darwin_at_rpath
=yes
13494 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
13495 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
13502 archive_cmds_need_lc_CXX
=no
13503 hardcode_direct_CXX
=no
13504 hardcode_automatic_CXX
=yes
13505 hardcode_shlibpath_var_CXX
=unsupported
13506 if test "$lt_cv_ld_force_load" = "yes"; then
13507 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\"`'
13509 whole_archive_flag_spec_CXX
=''
13511 link_all_deplibs_CXX
=yes
13512 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13513 case $cc_basename in
13514 ifort
*) _lt_dar_can_shared
=yes ;;
13515 *) _lt_dar_can_shared
=$GCC ;;
13517 if test "$_lt_dar_can_shared" = "yes"; then
13518 output_verbose_link_cmd
=func_echo_all
13519 _lt_install_name
='\$rpath/\$soname'
13520 if test "x$enable_darwin_at_rpath" = "xyes"; then
13521 _lt_install_name
='@rpath/\$soname'
13523 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
13524 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13525 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
13526 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}"
13527 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13528 _lt_install_name
='\$rpath/\$soname'
13529 if test "x$enable_darwin_at_rpath" = "xyes"; then
13530 _lt_install_name
='@rpath/\$soname'
13532 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 ${_lt_install_name} \$verstring${_lt_dsymutil}"
13533 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}"
13543 case $cc_basename in
13545 # FIXME: insert proper C++ library support
13549 # Green Hills C++ Compiler
13550 # FIXME: insert proper C++ library support
13554 # FIXME: insert proper C++ library support
13561 # C++ shared libraries reported to be fairly broken before
13567 archive_cmds_need_lc_CXX
=no
13570 freebsd
* | dragonfly
*)
13571 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13580 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13581 link_all_deplibs_CXX
=yes
13585 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13586 hardcode_libdir_separator_CXX
=:
13587 export_dynamic_flag_spec_CXX
='${wl}-E'
13588 hardcode_direct_CXX
=yes
13589 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13590 # but as the default
13591 # location of the library.
13593 case $cc_basename in
13595 # FIXME: insert proper C++ library support
13599 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'
13600 # Commands to make compiler produce verbose output that lists
13601 # what "hidden" libraries, object files and flags are used when
13602 # linking a shared library.
13604 # There doesn't appear to be a way to prevent this compiler from
13605 # explicitly linking system object files so we need to strip them
13606 # from the output so that they don't get included in the library
13608 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"'
13611 if test "$GXX" = yes; then
13612 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'
13614 # FIXME: insert proper C++ library support
13622 if test $with_gnu_ld = no
; then
13623 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13624 hardcode_libdir_separator_CXX
=:
13630 export_dynamic_flag_spec_CXX
='${wl}-E'
13636 hardcode_direct_CXX
=no
13637 hardcode_shlibpath_var_CXX
=no
13640 hardcode_direct_CXX
=yes
13641 hardcode_direct_absolute_CXX
=yes
13642 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13643 # but as the default
13644 # location of the library.
13648 case $cc_basename in
13650 # FIXME: insert proper C++ library support
13656 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13659 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13662 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13665 # Commands to make compiler produce verbose output that lists
13666 # what "hidden" libraries, object files and flags are used when
13667 # linking a shared library.
13669 # There doesn't appear to be a way to prevent this compiler from
13670 # explicitly linking system object files so we need to strip them
13671 # from the output so that they don't get included in the library
13673 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"'
13676 if test "$GXX" = yes; then
13677 if test $with_gnu_ld = no
; then
13680 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13683 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13686 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'
13691 # FIXME: insert proper C++ library support
13699 hardcode_direct_CXX
=no
13700 hardcode_shlibpath_var_CXX
=no
13701 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13702 export_dynamic_flag_spec_CXX
='${wl}-E'
13703 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13704 # Instead, shared libraries are loaded at an image base (0x10000000 by
13705 # default) and relocated if they conflict, which is a slow very memory
13706 # consuming and fragmenting process. To avoid this, we pick a random,
13707 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13708 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13709 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'
13710 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'
13713 case $cc_basename in
13716 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'
13718 # Archives containing C++ object files must be created using
13719 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13720 # necessary to make sure instantiated templates are included
13722 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13725 if test "$GXX" = yes; then
13726 if test "$with_gnu_ld" = no
; then
13727 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'
13729 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'
13732 link_all_deplibs_CXX
=yes
13735 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13736 hardcode_libdir_separator_CXX
=:
13737 inherit_rpath_CXX
=yes
13740 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13741 case $cc_basename in
13743 # Kuck and Associates, Inc. (KAI) C++ Compiler
13745 # KCC will only create a shared library if the output file
13746 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13747 # to its proper name (with version) after linking.
13748 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'
13749 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'
13750 # Commands to make compiler produce verbose output that lists
13751 # what "hidden" libraries, object files and flags are used when
13752 # linking a shared library.
13754 # There doesn't appear to be a way to prevent this compiler from
13755 # explicitly linking system object files so we need to strip them
13756 # from the output so that they don't get included in the library
13758 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"'
13760 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13761 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13763 # Archives containing C++ object files must be created using
13764 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13765 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13770 # version 8.0 and above of icpc choke on multiply defined symbols
13771 # if we add $predep_objects and $postdep_objects, however 7.1 and
13772 # earlier do not add the objects themselves.
13773 case `$CC -V 2>&1` in
13775 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13776 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'
13778 *) # Version 8.0 or newer
13781 ia64
*) tmp_idyn
=' -i_dynamic';;
13783 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13784 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'
13787 archive_cmds_need_lc_CXX
=no
13788 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13789 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13790 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13793 # Portland Group C++ compiler
13795 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13796 prelink_cmds_CXX
='tpldir=Template.dir~
13798 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13799 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13800 old_archive_cmds_CXX
='tpldir=Template.dir~
13802 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13803 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13805 archive_cmds_CXX
='tpldir=Template.dir~
13807 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13808 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13809 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13811 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13812 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13814 *) # Version 6 and above use weak symbols
13815 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13816 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'
13820 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13821 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13822 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'
13826 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13827 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'
13829 runpath_var
=LD_RUN_PATH
13830 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13831 hardcode_libdir_separator_CXX
=:
13833 # Commands to make compiler produce verbose output that lists
13834 # what "hidden" libraries, object files and flags are used when
13835 # linking a shared library.
13837 # There doesn't appear to be a way to prevent this compiler from
13838 # explicitly linking system object files so we need to strip them
13839 # from the output so that they don't get included in the library
13841 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'
13843 xl
* | mpixl
* | bgxl
*)
13844 # IBM XL 8.0 on PPC, with GNU ld
13845 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13846 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13847 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13848 if test "x$supports_anon_versioning" = xyes
; then
13849 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13850 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13851 echo "local: *; };" >> $output_objdir/$libname.ver~
13852 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13856 case `$CC -V 2>&1 | sed 5q` in
13859 no_undefined_flag_CXX
=' -zdefs'
13860 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13861 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'
13862 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13863 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'
13864 compiler_needs_object_CXX
=yes
13866 # Not sure whether something based on
13867 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13869 output_verbose_link_cmd
='func_echo_all'
13871 # Archives containing C++ object files must be created using
13872 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13873 # necessary to make sure instantiated templates are included
13875 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13883 # FIXME: insert proper C++ library support
13888 # FIXME: insert proper C++ library support
13893 case $cc_basename in
13895 # FIXME: insert proper C++ library support
13899 # FIXME: insert proper C++ library support
13906 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13907 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13909 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13910 hardcode_direct_CXX
=yes
13911 hardcode_shlibpath_var_CXX
=no
13913 # Workaround some broken pre-1.5 toolchains
13914 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13922 # C++ shared libraries are fairly broken
13927 if test -f /usr
/libexec
/ld.so
; then
13928 hardcode_direct_CXX
=yes
13929 hardcode_shlibpath_var_CXX
=no
13930 hardcode_direct_absolute_CXX
=yes
13931 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13932 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13933 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13934 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13935 export_dynamic_flag_spec_CXX
='${wl}-E'
13936 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13938 output_verbose_link_cmd
=func_echo_all
13944 osf3
* | osf4
* | osf5
*)
13945 case $cc_basename in
13947 # Kuck and Associates, Inc. (KAI) C++ Compiler
13949 # KCC will only create a shared library if the output file
13950 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13951 # to its proper name (with version) after linking.
13952 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'
13954 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13955 hardcode_libdir_separator_CXX
=:
13957 # Archives containing C++ object files must be created using
13958 # the KAI C++ compiler.
13960 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13961 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13965 # Rational C++ 2.4.1
13966 # FIXME: insert proper C++ library support
13972 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13973 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'
13974 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13977 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13978 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'
13979 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13980 echo "-hidden">> $lib.exp~
13981 $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~
13983 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13987 hardcode_libdir_separator_CXX
=:
13989 # Commands to make compiler produce verbose output that lists
13990 # what "hidden" libraries, object files and flags are used when
13991 # linking a shared library.
13993 # There doesn't appear to be a way to prevent this compiler from
13994 # explicitly linking system object files so we need to strip them
13995 # from the output so that they don't get included in the library
13997 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"'
14000 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14001 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14004 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'
14007 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'
14011 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14012 hardcode_libdir_separator_CXX
=:
14014 # Commands to make compiler produce verbose output that lists
14015 # what "hidden" libraries, object files and flags are used when
14016 # linking a shared library.
14017 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14020 # FIXME: insert proper C++ library support
14028 # FIXME: insert proper C++ library support
14033 case $cc_basename in
14036 # FIXME: insert proper C++ library support
14041 # FIXME: insert proper C++ library support
14045 # FIXME: insert proper C++ library support
14052 case $cc_basename in
14054 # Sun C++ 4.2, 5.x and Centerline C++
14055 archive_cmds_need_lc_CXX
=yes
14056 no_undefined_flag_CXX
=' -zdefs'
14057 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14058 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14059 $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'
14061 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14062 hardcode_shlibpath_var_CXX
=no
14064 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14066 # The compiler driver will combine and reorder linker options,
14067 # but understands `-z linker_flag'.
14068 # Supported since Solaris 2.6 (maybe 2.5.1?)
14069 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14072 link_all_deplibs_CXX
=yes
14074 output_verbose_link_cmd
='func_echo_all'
14076 # Archives containing C++ object files must be created using
14077 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14078 # necessary to make sure instantiated templates are included
14080 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14083 # Green Hills C++ Compiler
14084 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14086 # The C++ compiler must be used to create the archive.
14087 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14090 # GNU C++ compiler with Solaris linker
14091 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14092 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14093 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14094 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14095 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14096 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14098 # Commands to make compiler produce verbose output that lists
14099 # what "hidden" libraries, object files and flags are used when
14100 # linking a shared library.
14101 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14103 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14105 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14106 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14107 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14109 # Commands to make compiler produce verbose output that lists
14110 # what "hidden" libraries, object files and flags are used when
14111 # linking a shared library.
14112 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14115 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14117 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14119 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14127 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14128 no_undefined_flag_CXX
='${wl}-z,text'
14129 archive_cmds_need_lc_CXX
=no
14130 hardcode_shlibpath_var_CXX
=no
14131 runpath_var
='LD_RUN_PATH'
14133 case $cc_basename in
14135 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14136 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14139 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14140 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14145 sysv5
* | sco3.2v5
* | sco5v6
*)
14146 # Note: We can NOT use -z defs as we might desire, because we do not
14147 # link with -lc, and that would cause any symbols used from libc to
14148 # always be unresolved, which means just about no library would
14149 # ever link correctly. If we're not using GNU ld we use -z text
14150 # though, which does catch some bad symbols but isn't as heavy-handed
14152 no_undefined_flag_CXX
='${wl}-z,text'
14153 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14154 archive_cmds_need_lc_CXX
=no
14155 hardcode_shlibpath_var_CXX
=no
14156 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14157 hardcode_libdir_separator_CXX
=':'
14158 link_all_deplibs_CXX
=yes
14159 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14160 runpath_var
='LD_RUN_PATH'
14162 case $cc_basename in
14164 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14165 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14166 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14167 '"$old_archive_cmds_CXX"
14168 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14169 '"$reload_cmds_CXX"
14172 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14173 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14179 case $cc_basename in
14181 # NonStop-UX NCC 3.20
14182 # FIXME: insert proper C++ library support
14186 # FIXME: insert proper C++ library support
14193 # For VxWorks ports, we assume the use of a GNU linker with
14194 # standard elf conventions.
14199 # FIXME: insert proper C++ library support
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14205 $as_echo "$ld_shlibs_CXX" >&6; }
14206 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14212 ## There is no encapsulation within the following macros, do not change
14213 ## the running order or otherwise move them around unless you know exactly
14214 ## what you are doing...
14215 # Dependencies to place before and after the object being linked:
14216 predep_objects_CXX
=
14217 postdep_objects_CXX
=
14220 compiler_lib_search_path_CXX
=
14222 cat > conftest.
$ac_ext <<_LT_EOF
14226 Foo (void) { a = 0; }
14232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14233 (eval $ac_compile) 2>&5
14235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14236 test $ac_status = 0; }; then
14237 # Parse the compiler output and extract the necessary
14238 # objects, libraries and library flags.
14240 # Sentinel used to keep track of whether or not we are before
14241 # the conftest object file.
14242 pre_test_object_deps_done
=no
14244 for p
in `eval "$output_verbose_link_cmd"`; do
14248 # Some compilers place space between "-{L,R}" and the path.
14249 # Remove the space.
14250 if test $p = "-L" ||
14251 test $p = "-R"; then
14258 if test "$pre_test_object_deps_done" = no
; then
14261 # Internal compiler library paths should come after those
14262 # provided the user. The postdeps already come after the
14263 # user supplied libs so there is no need to process them.
14264 if test -z "$compiler_lib_search_path_CXX"; then
14265 compiler_lib_search_path_CXX
="${prev}${p}"
14267 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14270 # The "-l" case would never come before the object being
14271 # linked, so don't bother handling this case.
14274 if test -z "$postdeps_CXX"; then
14275 postdeps_CXX
="${prev}${p}"
14277 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14283 # This assumes that the test object file only shows up
14284 # once in the compiler output.
14285 if test "$p" = "conftest.$objext"; then
14286 pre_test_object_deps_done
=yes
14290 if test "$pre_test_object_deps_done" = no
; then
14291 if test -z "$predep_objects_CXX"; then
14292 predep_objects_CXX
="$p"
14294 predep_objects_CXX
="$predep_objects_CXX $p"
14297 if test -z "$postdep_objects_CXX"; then
14298 postdep_objects_CXX
="$p"
14300 postdep_objects_CXX
="$postdep_objects_CXX $p"
14305 *) ;; # Ignore the rest.
14313 echo "libtool.m4: error: problem compiling CXX test program"
14316 $RM -f confest.
$objext
14318 # PORTME: override above test on systems where it is broken
14321 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14322 # hack all around it, let's just trust "g++" to DTRT.
14323 predep_objects_CXX
=
14324 postdep_objects_CXX
=
14329 case `$CC -V 2>&1 | sed 5q` in
14333 # The more standards-conforming stlport4 library is
14334 # incompatible with the Cstd library. Avoid specifying
14335 # it if it's in CXXFLAGS. Ignore libCrun as
14336 # -library=stlport4 depends on it.
14337 case " $CXX $CXXFLAGS " in
14338 *" -library=stlport4 "*)
14339 solaris_use_stlport4
=yes
14343 if test "$solaris_use_stlport4" != yes; then
14344 postdeps_CXX
='-library=Cstd -library=Crun'
14351 case $cc_basename in
14353 # The more standards-conforming stlport4 library is
14354 # incompatible with the Cstd library. Avoid specifying
14355 # it if it's in CXXFLAGS. Ignore libCrun as
14356 # -library=stlport4 depends on it.
14357 case " $CXX $CXXFLAGS " in
14358 *" -library=stlport4 "*)
14359 solaris_use_stlport4
=yes
14363 # Adding this requires a known-good setup of shared libraries for
14364 # Sun compiler versions before 5.6, else PIC objects from an old
14365 # archive will be linked into the output, leading to subtle bugs.
14366 if test "$solaris_use_stlport4" != yes; then
14367 postdeps_CXX
='-library=Cstd -library=Crun'
14375 case " $postdeps_CXX " in
14376 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14378 compiler_lib_search_dirs_CXX
=
14379 if test -n "${compiler_lib_search_path_CXX}"; then
14380 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14413 lt_prog_compiler_wl_CXX
=
14414 lt_prog_compiler_pic_CXX
=
14415 lt_prog_compiler_static_CXX
=
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14418 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14420 # C++ specific cases for pic, static, wl, etc.
14421 if test "$GXX" = yes; then
14422 lt_prog_compiler_wl_CXX
='-Wl,'
14423 lt_prog_compiler_static_CXX
='-static'
14427 # All AIX code is PIC.
14428 if test "$host_cpu" = ia64
; then
14429 # AIX 5 now supports IA64 processor
14430 lt_prog_compiler_static_CXX
='-Bstatic'
14432 lt_prog_compiler_pic_CXX
='-fPIC'
14438 # see comment about AmigaOS4 .so support
14439 lt_prog_compiler_pic_CXX
='-fPIC'
14442 # FIXME: we need at least 68020 code to build shared libraries, but
14443 # adding the `-m68020' flag to GCC prevents building anything better,
14445 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14450 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14451 # PIC is the default for these OSes.
14453 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14454 # This hack is so that the source file can tell whether it is being
14455 # built for inclusion in a dll (and should export symbols for example).
14456 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14457 # (--disable-auto-import) libraries
14458 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14460 darwin
* | rhapsody
*)
14461 # PIC is the default on this platform
14462 # Common symbols not allowed in MH_DYLIB files
14463 lt_prog_compiler_pic_CXX
='-fno-common'
14466 # DJGPP does not support shared libraries at all
14467 lt_prog_compiler_pic_CXX
=
14470 # PIC is the default for Haiku.
14471 # The "-static" flag exists, but is broken.
14472 lt_prog_compiler_static_CXX
=
14475 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14476 # Instead, we relocate shared libraries at runtime.
14479 if test -d /usr
/nec
; then
14480 lt_prog_compiler_pic_CXX
=-Kconform_pic
14484 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14485 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14486 # sets the default TLS model and affects inlining.
14491 lt_prog_compiler_pic_CXX
='-fPIC'
14496 # QNX uses GNU C++, but need to define -shared option too, otherwise
14497 # it will coredump.
14498 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14501 lt_prog_compiler_pic_CXX
='-fPIC'
14507 # All AIX code is PIC.
14508 if test "$host_cpu" = ia64
; then
14509 # AIX 5 now supports IA64 processor
14510 lt_prog_compiler_static_CXX
='-Bstatic'
14512 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14516 case $cc_basename in
14518 # Green Hills C++ Compiler
14519 # _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"
14524 case $cc_basename in
14526 lt_prog_compiler_pic_CXX
='-KPIC'
14529 # Green Hills C++ Compiler
14530 lt_prog_compiler_pic_CXX
='-pic'
14536 freebsd
* | dragonfly
*)
14537 # FreeBSD uses GNU C++
14539 hpux9
* | hpux10
* | hpux11
*)
14540 case $cc_basename in
14542 lt_prog_compiler_wl_CXX
='-Wl,'
14543 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14544 if test "$host_cpu" != ia64
; then
14545 lt_prog_compiler_pic_CXX
='+Z'
14549 lt_prog_compiler_wl_CXX
='-Wl,'
14550 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14556 lt_prog_compiler_pic_CXX
='+Z'
14565 # This is c89, which is MS Visual C++ (no shared libs)
14566 # Anyone wants to do a port?
14568 irix5
* | irix6
* | nonstopux
*)
14569 case $cc_basename in
14571 lt_prog_compiler_wl_CXX
='-Wl,'
14572 lt_prog_compiler_static_CXX
='-non_shared'
14573 # CC pic flag -KPIC is the default.
14579 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14580 case $cc_basename in
14583 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14584 lt_prog_compiler_pic_CXX
='-fPIC'
14587 # old Intel C++ for x86_64 which still supported -KPIC.
14588 lt_prog_compiler_wl_CXX
='-Wl,'
14589 lt_prog_compiler_pic_CXX
='-KPIC'
14590 lt_prog_compiler_static_CXX
='-static'
14593 # Intel C++, used to be incompatible with GCC.
14594 # ICC 10 doesn't accept -KPIC any more.
14595 lt_prog_compiler_wl_CXX
='-Wl,'
14596 lt_prog_compiler_pic_CXX
='-fPIC'
14597 lt_prog_compiler_static_CXX
='-static'
14600 # Portland Group C++ compiler
14601 lt_prog_compiler_wl_CXX
='-Wl,'
14602 lt_prog_compiler_pic_CXX
='-fpic'
14603 lt_prog_compiler_static_CXX
='-Bstatic'
14607 # Make sure the PIC flag is empty. It appears that all Alpha
14608 # Linux and Compaq Tru64 Unix objects are PIC.
14609 lt_prog_compiler_pic_CXX
=
14610 lt_prog_compiler_static_CXX
='-non_shared'
14612 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14613 # IBM XL 8.0, 9.0 on PPC and BlueGene
14614 lt_prog_compiler_wl_CXX
='-Wl,'
14615 lt_prog_compiler_pic_CXX
='-qpic'
14616 lt_prog_compiler_static_CXX
='-qstaticlink'
14619 case `$CC -V 2>&1 | sed 5q` in
14622 lt_prog_compiler_pic_CXX
='-KPIC'
14623 lt_prog_compiler_static_CXX
='-Bstatic'
14624 lt_prog_compiler_wl_CXX
='-Qoption ld '
14635 case $cc_basename in
14637 lt_prog_compiler_pic_CXX
='-W c,exportall'
14646 # QNX uses GNU C++, but need to define -shared option too, otherwise
14647 # it will coredump.
14648 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14650 osf3
* | osf4
* | osf5
*)
14651 case $cc_basename in
14653 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14656 # Rational C++ 2.4.1
14657 lt_prog_compiler_pic_CXX
='-pic'
14660 # Digital/Compaq C++
14661 lt_prog_compiler_wl_CXX
='-Wl,'
14662 # Make sure the PIC flag is empty. It appears that all Alpha
14663 # Linux and Compaq Tru64 Unix objects are PIC.
14664 lt_prog_compiler_pic_CXX
=
14665 lt_prog_compiler_static_CXX
='-non_shared'
14674 case $cc_basename in
14676 # Sun C++ 4.2, 5.x and Centerline C++
14677 lt_prog_compiler_pic_CXX
='-KPIC'
14678 lt_prog_compiler_static_CXX
='-Bstatic'
14679 lt_prog_compiler_wl_CXX
='-Qoption ld '
14682 # Green Hills C++ Compiler
14683 lt_prog_compiler_pic_CXX
='-PIC'
14690 case $cc_basename in
14693 lt_prog_compiler_pic_CXX
='-pic'
14694 lt_prog_compiler_static_CXX
='-Bstatic'
14698 lt_prog_compiler_pic_CXX
='-pic'
14704 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14705 case $cc_basename in
14707 lt_prog_compiler_wl_CXX
='-Wl,'
14708 lt_prog_compiler_pic_CXX
='-KPIC'
14709 lt_prog_compiler_static_CXX
='-Bstatic'
14714 case $cc_basename in
14716 # NonStop-UX NCC 3.20
14717 lt_prog_compiler_pic_CXX
='-KPIC'
14726 lt_prog_compiler_can_build_shared_CXX
=no
14732 # For platforms which do not support PIC, -DPIC is meaningless:
14734 lt_prog_compiler_pic_CXX
=
14737 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14741 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14746 # Check to make sure the PIC flag actually works.
14748 if test -n "$lt_prog_compiler_pic_CXX"; then
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14750 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14751 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14752 $as_echo_n "(cached) " >&6
14754 lt_cv_prog_compiler_pic_works_CXX
=no
14755 ac_outfile
=conftest.
$ac_objext
14756 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14757 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14758 # Insert the option either (1) after the last *FLAGS variable, or
14759 # (2) before a word containing "conftest.", or (3) at the end.
14760 # Note that $ac_compile itself does not contain backslashes and begins
14761 # with a dollar sign (not a hyphen), so the echo should work correctly.
14762 # The option is referenced via a variable to avoid confusing sed.
14763 lt_compile
=`echo "$ac_compile" | $SED \
14764 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14766 -e 's:$: $lt_compiler_flag:'`
14767 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14768 (eval "$lt_compile" 2>conftest.err
)
14770 cat conftest.err
>&5
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 if (exit $ac_status) && test -s "$ac_outfile"; then
14773 # The compiler can only warn and ignore the option if not recognized
14774 # So say no if there are warnings other than the usual output.
14775 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14776 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14777 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14778 lt_cv_prog_compiler_pic_works_CXX
=yes
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14785 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14787 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14788 case $lt_prog_compiler_pic_CXX in
14790 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14793 lt_prog_compiler_pic_CXX
=
14794 lt_prog_compiler_can_build_shared_CXX
=no
14802 # Check to make sure the static flag actually works.
14804 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14806 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14807 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14808 $as_echo_n "(cached) " >&6
14810 lt_cv_prog_compiler_static_works_CXX
=no
14811 save_LDFLAGS
="$LDFLAGS"
14812 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14813 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14814 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14815 # The linker can only warn and ignore the option if not recognized
14816 # So say no if there are warnings
14817 if test -s conftest.err
; then
14818 # Append any errors to the config.log.
14819 cat conftest.err
1>&5
14820 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14821 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14822 if diff conftest.exp conftest.er2
>/dev
/null
; then
14823 lt_cv_prog_compiler_static_works_CXX
=yes
14826 lt_cv_prog_compiler_static_works_CXX
=yes
14830 LDFLAGS
="$save_LDFLAGS"
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14834 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14836 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14839 lt_prog_compiler_static_CXX
=
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14846 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14847 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14848 $as_echo_n "(cached) " >&6
14850 lt_cv_prog_compiler_c_o_CXX
=no
14851 $RM -r conftest
2>/dev
/null
14855 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14857 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14858 # Insert the option either (1) after the last *FLAGS variable, or
14859 # (2) before a word containing "conftest.", or (3) at the end.
14860 # Note that $ac_compile itself does not contain backslashes and begins
14861 # with a dollar sign (not a hyphen), so the echo should work correctly.
14862 lt_compile
=`echo "$ac_compile" | $SED \
14863 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14865 -e 's:$: $lt_compiler_flag:'`
14866 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14867 (eval "$lt_compile" 2>out
/conftest.err
)
14869 cat out
/conftest.err
>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14873 # The compiler can only warn and ignore the option if not recognized
14874 # So say no if there are warnings
14875 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14876 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14877 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14878 lt_cv_prog_compiler_c_o_CXX
=yes
14883 # SGI C++ compiler will create directory out/ii_files/ for
14884 # template instantiation
14885 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14886 $RM out
/* && rmdir out
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14893 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14898 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14899 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14900 $as_echo_n "(cached) " >&6
14902 lt_cv_prog_compiler_c_o_CXX
=no
14903 $RM -r conftest
2>/dev
/null
14907 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14909 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14910 # Insert the option either (1) after the last *FLAGS variable, or
14911 # (2) before a word containing "conftest.", or (3) at the end.
14912 # Note that $ac_compile itself does not contain backslashes and begins
14913 # with a dollar sign (not a hyphen), so the echo should work correctly.
14914 lt_compile
=`echo "$ac_compile" | $SED \
14915 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14916 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14917 -e 's:$: $lt_compiler_flag:'`
14918 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14919 (eval "$lt_compile" 2>out
/conftest.err
)
14921 cat out
/conftest.err
>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14925 # The compiler can only warn and ignore the option if not recognized
14926 # So say no if there are warnings
14927 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14928 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14929 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14930 lt_cv_prog_compiler_c_o_CXX
=yes
14935 # SGI C++ compiler will create directory out/ii_files/ for
14936 # template instantiation
14937 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14938 $RM out
/* && rmdir out
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14945 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14950 hard_links
="nottested"
14951 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14952 # do not overwrite the value of need_locks provided by the user
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14954 $as_echo_n "checking if we can lock with hard links... " >&6; }
14957 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14959 ln conftest.a conftest.b
2>&5 || hard_links
=no
14960 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14962 $as_echo "$hard_links" >&6; }
14963 if test "$hard_links" = no
; then
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14965 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14975 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14977 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14980 # If we're using GNU nm, then we don't want the "-C" option.
14981 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14982 # Also, AIX nm treats weak defined symbols like other global defined
14983 # symbols, whereas GNU nm marks them as "W".
14984 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14985 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'
14987 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'
14991 export_symbols_cmds_CXX
="$ltdll_cmds"
14993 cygwin
* | mingw
* | cegcc
*)
14994 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'
14997 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15000 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15003 $as_echo "$ld_shlibs_CXX" >&6; }
15004 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15006 with_gnu_ld_CXX
=$with_gnu_ld
15014 # Do we need to explicitly link libc?
15016 case "x$archive_cmds_need_lc_CXX" in
15018 # Assume -lc should be added
15019 archive_cmds_need_lc_CXX
=yes
15021 if test "$enable_shared" = yes && test "$GCC" = yes; then
15022 case $archive_cmds_CXX in
15024 # FIXME: we may have to deal with multi-command sequences.
15027 # Test whether the compiler implicitly links with -lc since on some
15028 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15029 # to ld, don't add -lc before -lgcc.
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15031 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15032 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15033 $as_echo_n "(cached) " >&6
15036 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15039 (eval $ac_compile) 2>&5
15041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15042 test $ac_status = 0; } 2>conftest.err
; then
15045 libobjs
=conftest.
$ac_objext
15047 wl
=$lt_prog_compiler_wl_CXX
15048 pic_flag
=$lt_prog_compiler_pic_CXX
15054 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15055 allow_undefined_flag_CXX
=
15056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15057 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15060 test $ac_status = 0; }
15062 lt_cv_archive_cmds_need_lc_CXX
=no
15064 lt_cv_archive_cmds_need_lc_CXX
=yes
15066 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15068 cat conftest.err
1>&5
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15074 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15075 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15146 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15148 library_names_spec
=
15149 libname_spec
='lib$name'
15153 postuninstall_cmds
=
15157 shlibpath_overrides_runpath
=unknown
15159 dynamic_linker
="$host_os ld.so"
15160 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15161 need_lib_prefix
=unknown
15162 hardcode_into_libs
=no
15164 # when you set need_version to no, make sure it does not cause -set_version
15165 # flags to be left without arguments
15166 need_version
=unknown
15171 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15172 shlibpath_var
=LIBPATH
15174 # AIX 3 has no versioning support, so we append a major version to the name.
15175 soname_spec
='${libname}${release}${shared_ext}$major'
15182 hardcode_into_libs
=yes
15183 if test "$host_cpu" = ia64
; then
15184 # AIX 5 supports IA64
15185 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15186 shlibpath_var
=LD_LIBRARY_PATH
15188 # With GCC up to 2.95.x, collect2 would create an import file
15189 # for dependence libraries. The import file would start with
15190 # the line `#! .'. This would cause the generated library to
15191 # depend on `.', always an invalid library. This was fixed in
15192 # development snapshots of GCC prior to 3.0.
15194 aix4 | aix4.
[01] | aix4.
[01].
*)
15195 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15197 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15200 can_build_shared
=no
15204 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15205 # soname into executable. Probably we can add versioning support to
15206 # collect2, so additional links can be useful in future.
15207 if test "$aix_use_runtimelinking" = yes; then
15208 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15209 # instead of lib<name>.a to let people know that these are not
15210 # typical AIX shared libraries.
15211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15213 # We preserve .a as extension for shared libraries through AIX4.2
15214 # and later when we are not doing run time linking.
15215 library_names_spec
='${libname}${release}.a $libname.a'
15216 soname_spec
='${libname}${release}${shared_ext}$major'
15218 shlibpath_var
=LIBPATH
15225 # Since July 2007 AmigaOS4 officially supports .so libraries.
15226 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15230 library_names_spec
='$libname.ixlibrary $libname.a'
15231 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15232 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'
15238 library_names_spec
='${libname}${shared_ext}'
15239 dynamic_linker
="$host_os ld.so"
15240 shlibpath_var
=LIBRARY_PATH
15246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15247 soname_spec
='${libname}${release}${shared_ext}$major'
15248 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15249 shlibpath_var
=LD_LIBRARY_PATH
15250 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15251 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15252 # the default ld.so.conf also contains /usr/contrib/lib and
15253 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15254 # libtool to hard-code these into programs
15257 cygwin
* | mingw
* | pw32
* | cegcc
*)
15258 version_type
=windows
15263 case $GCC,$host_os in
15264 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15265 library_names_spec
='$libname.dll.a'
15266 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15267 postinstall_cmds
='base_file=`basename \${file}`~
15268 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15269 dldir=$destdir/`dirname \$dlpath`~
15270 test -d \$dldir || mkdir -p \$dldir~
15271 $install_prog $dir/$dlname \$dldir/$dlname~
15272 chmod a+x \$dldir/$dlname~
15273 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15274 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15276 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15277 dlpath=$dir/\$dldll~
15279 shlibpath_overrides_runpath
=yes
15283 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15284 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15288 # MinGW DLLs use traditional 'lib' prefix
15289 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15292 # pw32 DLLs use 'pw' prefix rather than 'lib'
15293 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15299 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15302 dynamic_linker
='Win32 ld.exe'
15303 # FIXME: first we should search . and the directory the executable is in
15307 darwin
* | rhapsody
*)
15308 dynamic_linker
="$host_os dyld"
15309 version_type
=darwin
15312 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15313 soname_spec
='${libname}${release}${major}$shared_ext'
15314 shlibpath_overrides_runpath
=yes
15315 shlibpath_var
=DYLD_LIBRARY_PATH
15316 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15318 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15326 soname_spec
='${libname}${release}${shared_ext}$major'
15327 shlibpath_var
=LD_LIBRARY_PATH
15330 freebsd
* | dragonfly
*)
15331 # DragonFly does not have aout. When/if they implement a new
15332 # versioning mechanism, adjust this.
15333 if test -x /usr
/bin
/objformat
; then
15334 objformat
=`/usr/bin/objformat`
15337 freebsd
[23].
*) objformat
=aout
;;
15338 *) objformat
=elf
;;
15341 version_type
=freebsd-
$objformat
15342 case $version_type in
15344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15349 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15353 shlibpath_var
=LD_LIBRARY_PATH
15356 shlibpath_overrides_runpath
=yes
15358 freebsd3.
[01]* | freebsdelf3.
[01]*)
15359 shlibpath_overrides_runpath
=yes
15360 hardcode_into_libs
=yes
15362 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15363 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15364 shlibpath_overrides_runpath
=no
15365 hardcode_into_libs
=yes
15367 *) # from 4.6 on, and DragonFly
15368 shlibpath_overrides_runpath
=yes
15369 hardcode_into_libs
=yes
15378 dynamic_linker
="$host_os runtime_loader"
15379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15380 soname_spec
='${libname}${release}${shared_ext}$major'
15381 shlibpath_var
=LIBRARY_PATH
15382 shlibpath_overrides_runpath
=yes
15383 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15384 hardcode_into_libs
=yes
15387 hpux9
* | hpux10
* | hpux11
*)
15388 # Give a soname corresponding to the major version so that dld.sl refuses to
15389 # link against other versions.
15396 hardcode_into_libs
=yes
15397 dynamic_linker
="$host_os dld.so"
15398 shlibpath_var
=LD_LIBRARY_PATH
15399 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15401 soname_spec
='${libname}${release}${shared_ext}$major'
15402 if test "X$HPUX_IA64_MODE" = X32
; then
15403 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15405 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15407 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15411 hardcode_into_libs
=yes
15412 dynamic_linker
="$host_os dld.sl"
15413 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15414 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15416 soname_spec
='${libname}${release}${shared_ext}$major'
15417 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15418 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15422 dynamic_linker
="$host_os dld.sl"
15423 shlibpath_var
=SHLIB_PATH
15424 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15426 soname_spec
='${libname}${release}${shared_ext}$major'
15429 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15430 postinstall_cmds
='chmod 555 $lib'
15431 # or fails outright, so override atomically:
15432 install_override_mode
=555
15439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15440 soname_spec
='${libname}${release}${shared_ext}$major'
15441 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15442 shlibpath_var
=LD_LIBRARY_PATH
15443 shlibpath_overrides_runpath
=no
15444 hardcode_into_libs
=yes
15447 irix5
* | irix6
* | nonstopux
*)
15449 nonstopux
*) version_type
=nonstopux
;;
15451 if test "$lt_cv_prog_gnu_ld" = yes; then
15459 soname_spec
='${libname}${release}${shared_ext}$major'
15460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15462 irix5
* | nonstopux
*)
15463 libsuff
= shlibsuff
=
15466 case $LD in # libtool.m4 will add one of these switches to LD
15467 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15468 libsuff
= shlibsuff
= libmagic
=32-bit;;
15469 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15470 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15471 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15472 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15473 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15477 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15478 shlibpath_overrides_runpath
=no
15479 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15480 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15481 hardcode_into_libs
=yes
15484 # No shared lib support for Linux oldld, aout, or coff.
15485 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15489 # This must be Linux ELF.
15491 # uclinux* changes (here and below) have been submitted to the libtool
15492 # project, but have not yet been accepted: they are GCC-local changes
15493 # for the time being. (See
15494 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15495 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15500 soname_spec
='${libname}${release}${shared_ext}$major'
15501 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15502 shlibpath_var
=LD_LIBRARY_PATH
15503 shlibpath_overrides_runpath
=no
15505 # Some binutils ld are patched to set DT_RUNPATH
15506 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15507 $as_echo_n "(cached) " >&6
15509 lt_cv_shlibpath_overrides_runpath
=no
15510 save_LDFLAGS
=$LDFLAGS
15511 save_libdir
=$libdir
15512 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15513 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15515 /* end confdefs.h. */
15525 if ac_fn_cxx_try_link
"$LINENO"; then :
15526 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15527 lt_cv_shlibpath_overrides_runpath
=yes
15530 rm -f core conftest.err conftest.
$ac_objext \
15531 conftest
$ac_exeext conftest.
$ac_ext
15532 LDFLAGS
=$save_LDFLAGS
15533 libdir
=$save_libdir
15537 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15539 # This implies no fast_install, which is unacceptable.
15540 # Some rework will be needed to allow for fast_install
15541 # before this can be enabled.
15542 hardcode_into_libs
=yes
15544 # Append ld.so.conf contents to the search path
15545 if test -f /etc
/ld.so.conf
; then
15546 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' ' '`
15547 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15550 # We used to test for /lib/ld.so.1 and disable shared libraries on
15551 # powerpc, because MkLinux only supported shared libraries with the
15552 # GNU dynamic linker. Since this was broken with cross compilers,
15553 # most powerpc-linux boxes support dynamic linking these days and
15554 # people can always --disable-shared, the test was removed, and we
15555 # assume the GNU/Linux dynamic linker is in use.
15556 dynamic_linker
='GNU/Linux ld.so'
15563 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15565 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15566 dynamic_linker
='NetBSD (a.out) ld.so'
15568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15569 soname_spec
='${libname}${release}${shared_ext}$major'
15570 dynamic_linker
='NetBSD ld.elf_so'
15572 shlibpath_var
=LD_LIBRARY_PATH
15573 shlibpath_overrides_runpath
=yes
15574 hardcode_into_libs
=yes
15579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15580 shlibpath_var
=LD_LIBRARY_PATH
15581 shlibpath_overrides_runpath
=yes
15588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15589 soname_spec
='${libname}${release}${shared_ext}$major'
15590 shlibpath_var
=LD_LIBRARY_PATH
15591 shlibpath_overrides_runpath
=no
15592 hardcode_into_libs
=yes
15593 dynamic_linker
='ldqnx.so'
15598 sys_lib_dlsearch_path_spec
="/usr/lib"
15600 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15602 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15603 *) need_version
=no
;;
15605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15606 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15607 shlibpath_var
=LD_LIBRARY_PATH
15608 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15610 openbsd2.
[89] | openbsd2.
[89].
*)
15611 shlibpath_overrides_runpath
=no
15614 shlibpath_overrides_runpath
=yes
15618 shlibpath_overrides_runpath
=yes
15623 libname_spec
='$name'
15626 library_names_spec
='$libname${shared_ext} $libname.a'
15627 dynamic_linker
='OS/2 ld.exe'
15628 shlibpath_var
=LIBPATH
15631 osf3
* | osf4
* | osf5
*)
15635 soname_spec
='${libname}${release}${shared_ext}$major'
15636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15637 shlibpath_var
=LD_LIBRARY_PATH
15638 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15639 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15651 soname_spec
='${libname}${release}${shared_ext}$major'
15652 shlibpath_var
=LD_LIBRARY_PATH
15653 shlibpath_overrides_runpath
=yes
15654 hardcode_into_libs
=yes
15655 # ldd complains unless libraries are executable
15656 postinstall_cmds
='chmod +x $lib'
15661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15662 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15663 shlibpath_var
=LD_LIBRARY_PATH
15664 shlibpath_overrides_runpath
=yes
15665 if test "$with_gnu_ld" = yes; then
15673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15674 soname_spec
='${libname}${release}${shared_ext}$major'
15675 shlibpath_var
=LD_LIBRARY_PATH
15676 case $host_vendor in
15678 shlibpath_overrides_runpath
=no
15680 runpath_var
=LD_RUN_PATH
15688 shlibpath_overrides_runpath
=no
15689 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15695 if test -d /usr
/nec
;then
15697 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15698 soname_spec
='$libname${shared_ext}.$major'
15699 shlibpath_var
=LD_LIBRARY_PATH
15703 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15704 version_type
=freebsd-elf
15707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15708 soname_spec
='${libname}${release}${shared_ext}$major'
15709 shlibpath_var
=LD_LIBRARY_PATH
15710 shlibpath_overrides_runpath
=yes
15711 hardcode_into_libs
=yes
15712 if test "$with_gnu_ld" = yes; then
15713 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15715 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15718 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15722 sys_lib_dlsearch_path_spec
='/usr/lib'
15726 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15731 shlibpath_var
=LD_LIBRARY_PATH
15732 shlibpath_overrides_runpath
=no
15733 hardcode_into_libs
=yes
15738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15739 soname_spec
='${libname}${release}${shared_ext}$major'
15740 shlibpath_var
=LD_LIBRARY_PATH
15743 # Shared libraries for VwWorks, >= 7 only at this stage
15744 # and (fpic) still incompatible with "large" code models
15745 # in a few configurations. Only for RTP mode in any case,
15746 # and upon explicit request at configure time.
15749 case ${with_multisubdir}-${enable_shared} in
15756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15757 soname_spec
='${libname}${release}${shared_ext}$major'
15758 dynamic_linker
="$host_os module_loader"
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15767 $as_echo "$dynamic_linker" >&6; }
15768 test "$dynamic_linker" = no
&& can_build_shared
=no
15770 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15771 if test "$GCC" = yes; then
15772 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15775 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15776 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15778 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15779 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15820 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15821 hardcode_action_CXX
=
15822 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15823 test -n "$runpath_var_CXX" ||
15824 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15826 # We can hardcode non-existent directories.
15827 if test "$hardcode_direct_CXX" != no
&&
15828 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15829 # have to relink, otherwise we might link with an installed library
15830 # when we should be linking with a yet-to-be-installed one
15831 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15832 test "$hardcode_minus_L_CXX" != no
; then
15833 # Linking always hardcodes the temporary library directory.
15834 hardcode_action_CXX
=relink
15836 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15837 hardcode_action_CXX
=immediate
15840 # We cannot hardcode anything, or else we can only hardcode existing
15842 hardcode_action_CXX
=unsupported
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15845 $as_echo "$hardcode_action_CXX" >&6; }
15847 if test "$hardcode_action_CXX" = relink ||
15848 test "$inherit_rpath_CXX" = yes; then
15849 # Fast installation is not supported
15850 enable_fast_install
=no
15851 elif test "$shlibpath_overrides_runpath" = yes ||
15852 test "$enable_shared" = no
; then
15853 # Fast installation is not necessary
15854 enable_fast_install
=needless
15863 fi # test -n "$compiler"
15869 with_gnu_ld
=$lt_save_with_gnu_ld
15870 lt_cv_path_LDCXX
=$lt_cv_path_LD
15871 lt_cv_path_LD
=$lt_save_path_LD
15872 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15873 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15874 fi # test "$_lt_caught_CXX_error" != yes
15877 ac_cpp
='$CPP $CPPFLAGS'
15878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15894 ac_config_commands
="$ac_config_commands libtool"
15899 # Only expand once:
15903 for ac_prog
in gawk mawk nawk
awk
15905 # Extract the first word of "$ac_prog", so it can be a program name with args.
15906 set dummy
$ac_prog; ac_word
=$2
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15908 $as_echo_n "checking for $ac_word... " >&6; }
15909 if ${ac_cv_prog_AWK+:} false
; then :
15910 $as_echo_n "(cached) " >&6
15912 if test -n "$AWK"; then
15913 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
15915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15916 for as_dir
in $PATH
15919 test -z "$as_dir" && as_dir
=.
15920 for ac_exec_ext
in '' $ac_executable_extensions; do
15921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15922 ac_cv_prog_AWK
="$ac_prog"
15923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15932 AWK
=$ac_cv_prog_AWK
15933 if test -n "$AWK"; then
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
15935 $as_echo "$AWK" >&6; }
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15938 $as_echo "no" >&6; }
15942 test -n "$AWK" && break
15946 "") as_fn_error $?
"can't build without awk" "$LINENO" 5 ;;
15952 if test x
$enable_darwin_at_rpath = xyes
; then
15953 ENABLE_DARWIN_AT_RPATH_TRUE
=
15954 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
15956 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
15957 ENABLE_DARWIN_AT_RPATH_FALSE
=
15961 # The cast to long int works around a bug in the HP C Compiler
15962 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15963 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15964 # This bug is HP SR number 8606223364.
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15966 $as_echo_n "checking size of void *... " >&6; }
15967 if ${ac_cv_sizeof_void_p+:} false
; then :
15968 $as_echo_n "(cached) " >&6
15970 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15973 if test "$ac_cv_type_void_p" = yes; then
15974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15976 as_fn_error
77 "cannot compute sizeof (void *)
15977 See \`config.log' for more details" "$LINENO" 5; }
15979 ac_cv_sizeof_void_p
=0
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15985 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15989 cat >>confdefs.h
<<_ACEOF
15990 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15995 if test "${multilib}" = "yes"; then
15996 multilib_arg
="--enable-multilib"
16001 # Get target configury.
16002 unset TSAN_SUPPORTED
16003 unset LSAN_SUPPORTED
16004 unset HWASAN_SUPPORTED
16005 .
${srcdir}/configure.tgt
16006 if test "x$TSAN_SUPPORTED" = "xyes"; then
16007 TSAN_SUPPORTED_TRUE
=
16008 TSAN_SUPPORTED_FALSE
='#'
16010 TSAN_SUPPORTED_TRUE
='#'
16011 TSAN_SUPPORTED_FALSE
=
16014 if test "x$LSAN_SUPPORTED" = "xyes"; then
16015 LSAN_SUPPORTED_TRUE
=
16016 LSAN_SUPPORTED_FALSE
='#'
16018 LSAN_SUPPORTED_TRUE
='#'
16019 LSAN_SUPPORTED_FALSE
=
16022 if test "x$HWASAN_SUPPORTED" = "xyes"; then
16023 HWASAN_SUPPORTED_TRUE
=
16024 HWASAN_SUPPORTED_FALSE
='#'
16026 HWASAN_SUPPORTED_TRUE
='#'
16027 HWASAN_SUPPORTED_FALSE
=
16031 # Check for functions needed.
16032 for ac_func
in clock_getres clock_gettime clock_settime lstat readlink
16034 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16035 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16036 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16037 cat >>confdefs.h
<<_ACEOF
16038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16045 # Common libraries that we need to link against for all sanitizer libs.
16046 link_sanitizer_common
='-lpthread -lm'
16048 # At least for glibc, shm_open is in librt. But don't pull that
16049 # in if it still doesn't give us the function we want. This
16050 # test is copied from libgomp.
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
16052 $as_echo_n "checking for shm_open in -lrt... " >&6; }
16053 if ${ac_cv_lib_rt_shm_open+:} false
; then :
16054 $as_echo_n "(cached) " >&6
16056 ac_check_lib_save_LIBS
=$LIBS
16058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16059 /* end confdefs.h. */
16061 /* Override any GCC internal prototype to avoid an error.
16062 Use char because int might match the return type of a GCC
16063 builtin and then its argument prototype would still apply. */
16071 return shm_open ();
16076 if ac_fn_c_try_link
"$LINENO"; then :
16077 ac_cv_lib_rt_shm_open
=yes
16079 ac_cv_lib_rt_shm_open
=no
16081 rm -f core conftest.err conftest.
$ac_objext \
16082 conftest
$ac_exeext conftest.
$ac_ext
16083 LIBS
=$ac_check_lib_save_LIBS
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
16086 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
16087 if test "x$ac_cv_lib_rt_shm_open" = xyes
; then :
16088 link_sanitizer_common
="-lrt $link_sanitizer_common"
16092 # Do a configure time check for -ldl
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
16094 $as_echo_n "checking for dlsym in -ldl... " >&6; }
16095 if ${ac_cv_lib_dl_dlsym+:} false
; then :
16096 $as_echo_n "(cached) " >&6
16098 ac_check_lib_save_LIBS
=$LIBS
16100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16101 /* end confdefs.h. */
16103 /* Override any GCC internal prototype to avoid an error.
16104 Use char because int might match the return type of a GCC
16105 builtin and then its argument prototype would still apply. */
16118 if ac_fn_c_try_link
"$LINENO"; then :
16119 ac_cv_lib_dl_dlsym
=yes
16121 ac_cv_lib_dl_dlsym
=no
16123 rm -f core conftest.err conftest.
$ac_objext \
16124 conftest
$ac_exeext conftest.
$ac_ext
16125 LIBS
=$ac_check_lib_save_LIBS
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
16128 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
16129 if test "x$ac_cv_lib_dl_dlsym" = xyes
; then :
16130 link_sanitizer_common
="-ldl $link_sanitizer_common"
16134 # Set up the set of additional libraries that we need to link against for libasan.
16135 link_libasan
=$link_sanitizer_common
16138 # Set up the set of additional libraries that we need to link against for libhwasan.
16139 link_libhwasan
=$link_sanitizer_common
16142 # Set up the set of additional libraries that we need to link against for libtsan.
16143 link_libtsan
=$link_sanitizer_common
16146 # Set up the set of additional libraries that we need to link against for libubsan.
16147 link_libubsan
=$link_sanitizer_common
16150 # Set up the set of additional libraries that we need to link against for liblsan.
16151 link_liblsan
=$link_sanitizer_common
16155 # At least for glibc, clock_gettime is in librt. But don't pull that
16156 # in if it still doesn't give us the function we want. This
16157 # test is copied from libgomp.
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
16159 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
16160 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
16161 $as_echo_n "(cached) " >&6
16163 ac_check_lib_save_LIBS
=$LIBS
16165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16168 /* Override any GCC internal prototype to avoid an error.
16169 Use char because int might match the return type of a GCC
16170 builtin and then its argument prototype would still apply. */
16174 char clock_gettime ();
16178 return clock_gettime ();
16183 if ac_fn_c_try_link
"$LINENO"; then :
16184 ac_cv_lib_rt_clock_gettime
=yes
16186 ac_cv_lib_rt_clock_gettime
=no
16188 rm -f core conftest.err conftest.
$ac_objext \
16189 conftest
$ac_exeext conftest.
$ac_ext
16190 LIBS
=$ac_check_lib_save_LIBS
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
16193 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
16194 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
16195 link_libasan
="-lrt $link_libasan"
16196 link_libtsan
="-lrt $link_libtsan"
16197 # Other sanitizers do not override clock_* API
16203 *-*-darwin*) MAC_INTERPOSE
=true
; enable_static
=no
;;
16204 *) MAC_INTERPOSE
=false
;;
16206 if $MAC_INTERPOSE; then
16207 USING_MAC_INTERPOSE_TRUE
=
16208 USING_MAC_INTERPOSE_FALSE
='#'
16210 USING_MAC_INTERPOSE_TRUE
='#'
16211 USING_MAC_INTERPOSE_FALSE
=
16215 backtrace_supported
=yes
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for necessary platform features" >&5
16218 $as_echo_n "checking for necessary platform features... " >&6; }
16221 # Some old Linux distributions miss required syscalls.
16222 sanitizer_supported
=no
16223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h. */
16225 #include <sys/syscall.h>
16226 #include <unistd.h>
16231 syscall (__NR_gettid);
16232 syscall (__NR_futex);
16233 syscall (__NR_exit_group);
16239 if ac_fn_c_try_compile
"$LINENO"; then :
16240 sanitizer_supported
=yes
16242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16245 sanitizer_supported
=yes
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sanitizer_supported" >&5
16249 $as_echo "$sanitizer_supported" >&6; }
16250 if test "$sanitizer_supported" = yes; then
16251 SANITIZER_SUPPORTED_TRUE
=
16252 SANITIZER_SUPPORTED_FALSE
='#'
16254 SANITIZER_SUPPORTED_TRUE
='#'
16255 SANITIZER_SUPPORTED_FALSE
=
16259 # Test for __sync support.
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
16261 $as_echo_n "checking __sync extensions... " >&6; }
16262 if ${libsanitizer_cv_sys_sync+:} false
; then :
16263 $as_echo_n "(cached) " >&6
16265 if test -n "${with_target_subdir}"; then
16266 libsanitizer_cv_sys_sync
=yes
16268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16269 /* end confdefs.h. */
16274 __sync_bool_compare_and_swap (&i, i, i);
16275 __sync_lock_test_and_set (&i, 1);
16276 __sync_lock_release (&i);
16281 if ac_fn_c_try_link
"$LINENO"; then :
16282 libsanitizer_cv_sys_sync
=yes
16284 libsanitizer_cv_sys_sync
=no
16286 rm -f core conftest.err conftest.
$ac_objext \
16287 conftest
$ac_exeext conftest.
$ac_ext
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_sync" >&5
16291 $as_echo "$libsanitizer_cv_sys_sync" >&6; }
16292 if test "$libsanitizer_cv_sys_sync" = "yes"; then
16294 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
16298 # Test for __atomic support.
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
16300 $as_echo_n "checking __atomic extensions... " >&6; }
16301 if ${libsanitizer_cv_sys_atomic+:} false
; then :
16302 $as_echo_n "(cached) " >&6
16304 if test -n "${with_target_subdir}"; then
16305 libsanitizer_cv_sys_atomic
=yes
16307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16308 /* end confdefs.h. */
16313 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
16314 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
16319 if ac_fn_c_try_link
"$LINENO"; then :
16320 libsanitizer_cv_sys_atomic
=yes
16322 libsanitizer_cv_sys_atomic
=no
16324 rm -f core conftest.err conftest.
$ac_objext \
16325 conftest
$ac_exeext conftest.
$ac_ext
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_atomic" >&5
16329 $as_echo "$libsanitizer_cv_sys_atomic" >&6; }
16330 if test "$libsanitizer_cv_sys_atomic" = "yes"; then
16332 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
16336 # The library needs to be able to read the executable itself. Compile
16337 # a file to determine the executable format. The awk script
16338 # filetype.awk prints out the file type.
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
16340 $as_echo_n "checking output filetype... " >&6; }
16341 if ${libsanitizer_cv_sys_filetype+:} false
; then :
16342 $as_echo_n "(cached) " >&6
16345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16356 if ac_fn_c_try_compile
"$LINENO"; then :
16357 filetype
=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
16359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16361 as_fn_error $?
"compiler failed
16362 See \`config.log' for more details" "$LINENO" 5; }
16364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16365 libsanitizer_cv_sys_filetype
=$filetype
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_filetype" >&5
16368 $as_echo "$libsanitizer_cv_sys_filetype" >&6; }
16370 # Match the file type to decide what files to compile.
16372 case "$libsanitizer_cv_sys_filetype" in
16373 elf
*) FORMAT_FILE
="elf.lo" ;;
16374 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
16375 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
16376 FORMAT_FILE
="unknown.lo"
16377 backtrace_supported
=no
16384 case "$libsanitizer_cv_sys_filetype" in
16385 elf32
) elfsize
=32 ;;
16386 elf64
) elfsize
=64 ;;
16389 cat >>confdefs.h
<<_ACEOF
16390 #define BACKTRACE_ELF_SIZE $elfsize
16394 BACKTRACE_SUPPORTED
=0
16395 if test "$backtrace_supported" = "yes"; then
16396 BACKTRACE_SUPPORTED
=1
16402 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16404 acx_cv_header_stdint
=stddef.h
16405 acx_cv_header_stdint_kind
="(already complete)"
16406 for i
in stdint.h
$inttype_headers; do
16407 unset ac_cv_type_uintptr_t
16408 unset ac_cv_type_uintmax_t
16409 unset ac_cv_type_int_least32_t
16410 unset ac_cv_type_int_fast32_t
16411 unset ac_cv_type_uint64_t
16412 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16413 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16416 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16417 acx_cv_header_stdint
=$i
16422 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16425 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16428 acx_cv_header_stdint_kind
="(mostly complete)"
16431 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16434 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16437 acx_cv_header_stdint_kind
="(mostly complete)"
16440 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16443 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16446 acx_cv_header_stdint_kind
="(mostly complete)"
16449 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16452 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16455 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16460 if test "$acx_cv_header_stdint" = stddef.h
; then
16461 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16462 for i
in stdint.h
$inttype_headers; do
16463 unset ac_cv_type_uintptr_t
16464 unset ac_cv_type_uint32_t
16465 unset ac_cv_type_uint64_t
16466 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16467 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16470 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16471 acx_cv_header_stdint
=$i
16476 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16479 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16483 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16486 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16493 if test "$acx_cv_header_stdint" = stddef.h
; then
16494 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16495 for i
in sys
/types.h
$inttype_headers; do
16496 unset ac_cv_type_u_int32_t
16497 unset ac_cv_type_u_int64_t
16498 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16499 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16502 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16503 acx_cv_header_stdint
=$i
16508 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16511 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16518 if test "$acx_cv_header_stdint" = stddef.h
; then
16519 acx_cv_header_stdint_kind
="(using manual detection)"
16522 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16523 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16524 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16525 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16526 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16528 # ----------------- Summarize what we found so far
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16531 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16533 case `$as_basename -- gstdint.h ||
16534 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16535 Xgstdint.h : 'X\(//\)$' \| \
16536 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16537 $as_echo X/gstdint.h |
16538 sed '/^.*\/\([^/][^/]*\)\/*$/{
16551 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16552 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16553 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16554 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16559 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16561 # ----------------- done included file, check C basic types --------
16563 # Lacking an uintptr_t? Test size of void *
16564 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16565 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16566 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16567 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16568 # This bug is HP SR number 8606223364.
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16570 $as_echo_n "checking size of void *... " >&6; }
16571 if ${ac_cv_sizeof_void_p+:} false
; then :
16572 $as_echo_n "(cached) " >&6
16574 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16577 if test "$ac_cv_type_void_p" = yes; then
16578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16580 as_fn_error
77 "cannot compute sizeof (void *)
16581 See \`config.log' for more details" "$LINENO" 5; }
16583 ac_cv_sizeof_void_p
=0
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16589 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16593 cat >>confdefs.h
<<_ACEOF
16594 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16600 # Lacking an uint64_t? Test size of long
16601 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16602 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16603 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16604 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16605 # This bug is HP SR number 8606223364.
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16607 $as_echo_n "checking size of long... " >&6; }
16608 if ${ac_cv_sizeof_long+:} false
; then :
16609 $as_echo_n "(cached) " >&6
16611 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16614 if test "$ac_cv_type_long" = yes; then
16615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16617 as_fn_error
77 "cannot compute sizeof (long)
16618 See \`config.log' for more details" "$LINENO" 5; }
16620 ac_cv_sizeof_long
=0
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16626 $as_echo "$ac_cv_sizeof_long" >&6; }
16630 cat >>confdefs.h
<<_ACEOF
16631 #define SIZEOF_LONG $ac_cv_sizeof_long
16637 if test $acx_cv_header_stdint = stddef.h
; then
16638 # Lacking a good header? Test size of everything and deduce all types.
16639 # The cast to long int works around a bug in the HP C Compiler
16640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16642 # This bug is HP SR number 8606223364.
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16644 $as_echo_n "checking size of int... " >&6; }
16645 if ${ac_cv_sizeof_int+:} false
; then :
16646 $as_echo_n "(cached) " >&6
16648 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16651 if test "$ac_cv_type_int" = yes; then
16652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16654 as_fn_error
77 "cannot compute sizeof (int)
16655 See \`config.log' for more details" "$LINENO" 5; }
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16663 $as_echo "$ac_cv_sizeof_int" >&6; }
16667 cat >>confdefs.h
<<_ACEOF
16668 #define SIZEOF_INT $ac_cv_sizeof_int
16672 # The cast to long int works around a bug in the HP C Compiler
16673 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16674 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16675 # This bug is HP SR number 8606223364.
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16677 $as_echo_n "checking size of short... " >&6; }
16678 if ${ac_cv_sizeof_short+:} false
; then :
16679 $as_echo_n "(cached) " >&6
16681 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16684 if test "$ac_cv_type_short" = yes; then
16685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16687 as_fn_error
77 "cannot compute sizeof (short)
16688 See \`config.log' for more details" "$LINENO" 5; }
16690 ac_cv_sizeof_short
=0
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16696 $as_echo "$ac_cv_sizeof_short" >&6; }
16700 cat >>confdefs.h
<<_ACEOF
16701 #define SIZEOF_SHORT $ac_cv_sizeof_short
16705 # The cast to long int works around a bug in the HP C Compiler
16706 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16707 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16708 # This bug is HP SR number 8606223364.
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16710 $as_echo_n "checking size of char... " >&6; }
16711 if ${ac_cv_sizeof_char+:} false
; then :
16712 $as_echo_n "(cached) " >&6
16714 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16717 if test "$ac_cv_type_char" = yes; then
16718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16720 as_fn_error
77 "cannot compute sizeof (char)
16721 See \`config.log' for more details" "$LINENO" 5; }
16723 ac_cv_sizeof_char
=0
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16729 $as_echo "$ac_cv_sizeof_char" >&6; }
16733 cat >>confdefs.h
<<_ACEOF
16734 #define SIZEOF_CHAR $ac_cv_sizeof_char
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16740 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16741 case "$ac_cv_sizeof_char" in
16742 1) acx_cv_type_int8_t
=char
;;
16743 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16746 $as_echo "$acx_cv_type_int8_t" >&6; }
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16749 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16750 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16751 2:*) acx_cv_type_int16_t
=int
;;
16752 *:2) acx_cv_type_int16_t
=short
;;
16753 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16756 $as_echo "$acx_cv_type_int16_t" >&6; }
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16759 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16760 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16761 4:*) acx_cv_type_int32_t
=int
;;
16762 *:4) acx_cv_type_int32_t
=long
;;
16763 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16766 $as_echo "$acx_cv_type_int32_t" >&6; }
16769 # These tests are here to make the output prettier
16771 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16772 case "$ac_cv_sizeof_long" in
16773 8) acx_cv_type_int64_t
=long
;;
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16776 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16778 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16781 # Now we can use the above types
16783 if test "$ac_cv_type_uintptr_t" != yes; then
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16785 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16786 case $ac_cv_sizeof_void_p in
16787 2) acx_cv_type_intptr_t
=int16_t
;;
16788 4) acx_cv_type_intptr_t
=int32_t
;;
16789 8) acx_cv_type_intptr_t
=int64_t
;;
16790 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16793 $as_echo "$acx_cv_type_intptr_t" >&6; }
16796 # ----------------- done all checks, emit header -------------
16797 ac_config_commands
="$ac_config_commands gstdint.h"
16802 for ac_header
in sys
/mman.h alloca.h
16804 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16805 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16806 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16807 cat >>confdefs.h
<<_ACEOF
16808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16815 if test "$ac_cv_header_sys_mman_h" = "no"; then
16818 if test -n "${with_target_subdir}"; then
16819 # When built as a GCC target library, we can't do a link test. We
16820 # simply assume that if we have mman.h, we have mmap.
16823 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
16824 if test "x$ac_cv_func_mmap" = xyes
; then :
16832 if test "$have_mmap" = "no"; then
16834 ALLOC_FILE
=alloc.lo
16836 VIEW_FILE
=mmapio.lo
16837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16840 #include <sys/mman.h>
16841 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
16842 #error no MAP_ANONYMOUS
16846 if ac_fn_c_try_cpp
"$LINENO"; then :
16849 ALLOC_FILE
=alloc.lo
16851 rm -f conftest.err conftest.i conftest.
$ac_ext
16856 BACKTRACE_USES_MALLOC
=0
16857 if test "$ALLOC_FILE" = "alloc.lo"; then
16858 BACKTRACE_USES_MALLOC
=1
16862 # Don't care about thread support
16863 BACKTRACE_SUPPORTS_THREADS
=0
16866 # Check for dl_iterate_phdr.
16867 for ac_header
in link.h
16869 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
16870 if test "x$ac_cv_header_link_h" = xyes
; then :
16871 cat >>confdefs.h
<<_ACEOF
16872 #define HAVE_LINK_H 1
16879 if test "$ac_cv_header_link_h" = "no"; then
16880 have_dl_iterate_phdr
=no
16882 # When built as a GCC target library, we can't do a link test.
16883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16889 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
16890 have_dl_iterate_phdr
=yes
16892 have_dl_iterate_phdr
=no
16897 if test "$have_dl_iterate_phdr" = "yes"; then
16899 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
16903 # Check for the fcntl function.
16904 if test -n "${with_target_subdir}"; then
16906 *-*-mingw*) have_fcntl
=no
;;
16907 *) have_fcntl
=yes ;;
16910 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
16911 if test "x$ac_cv_func_fcntl" = xyes
; then :
16918 if test "$have_fcntl" = "yes"; then
16920 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
16924 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
16925 if test "x$ac_cv_have_decl_strnlen" = xyes
; then :
16931 cat >>confdefs.h
<<_ACEOF
16932 #define HAVE_DECL_STRNLEN $ac_have_decl
16936 # Check for getexecname function.
16937 if test -n "${with_target_subdir}"; then
16939 *-*-solaris2*) have_getexecname
=yes ;;
16940 *) have_getexecname
=no
;;
16943 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
16944 if test "x$ac_cv_func_getexecname" = xyes
; then :
16945 have_getexecname
=yes
16947 have_getexecname
=no
16951 if test "$have_getexecname" = "yes"; then
16953 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
16957 # Check for rpc/xdr.h
16958 for ac_header
in rpc
/xdr.h
16960 ac_fn_c_check_header_mongrel
"$LINENO" "rpc/xdr.h" "ac_cv_header_rpc_xdr_h" "$ac_includes_default"
16961 if test "x$ac_cv_header_rpc_xdr_h" = xyes
; then :
16962 cat >>confdefs.h
<<_ACEOF
16963 #define HAVE_RPC_XDR_H 1
16970 if test x
"$ac_cv_header_rpc_xdr_h" = xyes
; then
16971 rpc_defs
="$rpc_defs -DHAVE_RPC_XDR_H=1"
16973 rpc_defs
="$rpc_defs -DHAVE_RPC_XDR_H=0"
16976 # Check for tirpc/rpc/xdr.h
16977 for ac_header
in tirpc
/rpc
/xdr.h
16979 ac_fn_c_check_header_mongrel
"$LINENO" "tirpc/rpc/xdr.h" "ac_cv_header_tirpc_rpc_xdr_h" "$ac_includes_default"
16980 if test "x$ac_cv_header_tirpc_rpc_xdr_h" = xyes
; then :
16981 cat >>confdefs.h
<<_ACEOF
16982 #define HAVE_TIRPC_RPC_XDR_H 1
16989 if test x
"$ac_cv_header_tirpc_rpc_xdr_h" = xyes
; then
16990 rpc_defs
="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=1"
16992 rpc_defs
="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=0"
16998 if test "x${BACKTRACE_SUPPORTED}x${BACKTRACE_USES_MALLOC}" = "x1x0"; then
16999 LIBBACKTRACE_SUPPORTED_TRUE
=
17000 LIBBACKTRACE_SUPPORTED_FALSE
='#'
17002 LIBBACKTRACE_SUPPORTED_TRUE
='#'
17003 LIBBACKTRACE_SUPPORTED_FALSE
=
17008 ac_config_files
="$ac_config_files Makefile libsanitizer.spec libbacktrace/backtrace-supported.h"
17010 ac_config_headers
="$ac_config_headers config.h"
17013 ac_config_files
="$ac_config_files interception/Makefile sanitizer_common/Makefile libbacktrace/Makefile lsan/Makefile asan/Makefile ubsan/Makefile"
17016 if test "x$TSAN_SUPPORTED" = "xyes"; then
17017 ac_config_files
="$ac_config_files tsan/Makefile"
17021 if test "x$HWASAN_SUPPORTED" = "xyes"; then
17022 ac_config_files
="$ac_config_files hwasan/Makefile"
17029 # Check whether --enable-werror was given.
17030 if test "${enable_werror+set}" = set; then :
17031 enableval
=$enable_werror;
17036 ac_cpp
='$CPP $CPPFLAGS'
17037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17042 save_CFLAGS
="$CFLAGS"
17043 for real_option
in -Wextra -Wall -Wwrite-strings \
17044 -Wmissing-format-attribute -Wcast-qual; do
17045 # Do the check with the no- prefix removed since gcc silently
17046 # accepts any -Wno-* option on purpose
17047 case $real_option in
17048 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
17049 *) option
=$real_option ;;
17051 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
17054 $as_echo_n "checking whether $CC supports $option... " >&6; }
17055 if eval \
${$as_acx_Woption+:} false
; then :
17056 $as_echo_n "(cached) " >&6
17059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17070 if ac_fn_c_try_compile
"$LINENO"; then :
17071 eval "$as_acx_Woption=yes"
17073 eval "$as_acx_Woption=no"
17075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17078 eval ac_res
=\$
$as_acx_Woption
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17080 $as_echo "$ac_res" >&6; }
17081 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
17082 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
17085 CFLAGS
="$save_CFLAGS"
17087 ac_cpp
='$CPP $CPPFLAGS'
17088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17093 if test "x$enable_werror" != "xno"; then :
17094 WARN_FLAGS
="$WARN_FLAGS -Werror"
17098 # Determine what GCC version number to use in filesystem paths.
17100 get_gcc_base_ver
="cat"
17102 # Check whether --with-gcc-major-version-only was given.
17103 if test "${with_gcc_major_version_only+set}" = set; then :
17104 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
17105 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
17113 # Add CET specific flags if Intel CET is enabled.
17114 # Check whether --enable-cet was given.
17115 if test "${enable_cet+set}" = set; then :
17116 enableval
=$enable_cet;
17117 case "$enableval" in
17119 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
17128 $as_echo_n "checking for CET support... " >&6; }
17130 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
17132 i
[34567]86-*-linux* | x86_64-
*-linux*)
17133 case "$enable_cet" in
17135 # Check if target supports multi-byte NOPs
17136 # and if compiler and assembler support CET insn.
17137 cet_save_CFLAGS
="$CFLAGS"
17138 CFLAGS
="$CFLAGS -fcf-protection"
17139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17146 #if !defined(__SSE2__)
17147 #error target does not support multi-byte NOPs
17156 if ac_fn_c_try_compile
"$LINENO"; then :
17161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17162 CFLAGS
="$cet_save_CFLAGS"
17165 # Check if assembler supports CET.
17166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17177 if ac_fn_c_try_compile
"$LINENO"; then :
17180 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
17182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17190 if test x
$enable_cet = xyes
; then
17191 CET_FLAGS
="-fcf-protection -mshstk"
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17193 $as_echo "yes" >&6; }
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17196 $as_echo "no" >&6; }
17200 # Always set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to sync with LLVM,
17201 # and keep struct *stat* have the same size.
17203 mips
*-*) FILE64_FLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ;;
17204 *) FILE64_FLAGS
="" ;;
17207 EXTRA_CFLAGS
="$EXTRA_CFLAGS $CET_FLAGS $FILE64_FLAGS"
17208 EXTRA_CXXFLAGS
="$EXTRA_CXXFLAGS $CET_FLAGS $FILE64_FLAGS"
17209 EXTRA_ASFLAGS
=$CET_FLAGS
17214 cat >confcache
<<\_ACEOF
17215 # This file is a shell script that caches the results of configure
17216 # tests run on this system so they can be shared between configure
17217 # scripts and configure runs, see configure's option --config-cache.
17218 # It is not useful on other systems. If it contains results you don't
17219 # want to keep, you may remove or edit it.
17221 # config.status only pays attention to the cache file if you give it
17222 # the --recheck option to rerun configure.
17224 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17225 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17226 # following values.
17230 # The following way of writing the cache mishandles newlines in values,
17231 # but we know of no workaround that is simple, portable, and efficient.
17232 # So, we kill variables containing newlines.
17233 # Ultrix sh set writes to stderr and can't be redirected directly,
17234 # and sets the high bit in the cache file unless we assign to the vars.
17236 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17237 eval ac_val
=\$
$ac_var
17241 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17242 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17245 _ | IFS | as_nl
) ;; #(
17246 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17247 *) { eval $ac_var=; unset $ac_var;} ;;
17253 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17254 *${as_nl}ac_space
=\
*)
17255 # `set' does not quote correctly, so add quotes: double-quote
17256 # substitution turns \\\\ into \\, and sed turns \\ into \.
17259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17262 # `set' quotes correctly as required by POSIX, so do not add quotes.
17263 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17272 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17274 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17276 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17277 if test -w "$cache_file"; then
17278 if test "x$cache_file" != "x/dev/null"; then
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17280 $as_echo "$as_me: updating cache $cache_file" >&6;}
17281 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17282 cat confcache
>"$cache_file"
17284 case $cache_file in #(
17286 mv -f confcache
"$cache_file"$$
&&
17287 mv -f "$cache_file"$$
"$cache_file" ;; #(
17289 mv -f confcache
"$cache_file" ;;
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17295 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17300 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17301 # Let make expand exec_prefix.
17302 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17304 DEFS
=-DHAVE_CONFIG_H
17309 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17310 # 1. Remove the extension, and $U if already installed.
17311 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17312 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17313 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17314 # will be set to the directory where LIBOBJS objects are built.
17315 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17316 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17318 LIBOBJS
=$ac_libobjs
17320 LTLIBOBJS
=$ac_ltlibobjs
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17324 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17325 if test -n "$am_sleep_pid"; then
17326 # Hide warnings about reused PIDs.
17327 wait $am_sleep_pid 2>/dev
/null
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17330 $as_echo "done" >&6; }
17331 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17332 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17335 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17336 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17339 if test -n "$EXEEXT"; then
17341 am__EXEEXT_FALSE
='#'
17343 am__EXEEXT_TRUE
='#'
17347 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17348 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17351 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17352 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
17353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17355 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
17356 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
17357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17359 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
17360 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
17361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17363 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
17364 as_fn_error $?
"conditional \"TSAN_SUPPORTED\" was never defined.
17365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17367 if test -z "${LSAN_SUPPORTED_TRUE}" && test -z "${LSAN_SUPPORTED_FALSE}"; then
17368 as_fn_error $?
"conditional \"LSAN_SUPPORTED\" was never defined.
17369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17371 if test -z "${HWASAN_SUPPORTED_TRUE}" && test -z "${HWASAN_SUPPORTED_FALSE}"; then
17372 as_fn_error $?
"conditional \"HWASAN_SUPPORTED\" was never defined.
17373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17375 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
17376 as_fn_error $?
"conditional \"USING_MAC_INTERPOSE\" was never defined.
17377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17379 if test -z "${SANITIZER_SUPPORTED_TRUE}" && test -z "${SANITIZER_SUPPORTED_FALSE}"; then
17380 as_fn_error $?
"conditional \"SANITIZER_SUPPORTED\" was never defined.
17381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17383 if test -z "${LIBBACKTRACE_SUPPORTED_TRUE}" && test -z "${LIBBACKTRACE_SUPPORTED_FALSE}"; then
17384 as_fn_error $?
"conditional \"LIBBACKTRACE_SUPPORTED\" was never defined.
17385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17388 : "${CONFIG_STATUS=./config.status}"
17390 ac_clean_files_save
=$ac_clean_files
17391 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17393 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17395 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17397 # Generated by $as_me.
17398 # Run this file to recreate the current configuration.
17399 # Compiler output produced by configure, useful for debugging
17400 # configure, is in config.log if it exists.
17403 ac_cs_recheck=false
17406 SHELL=\${CONFIG_SHELL-$SHELL}
17409 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17410 ## -------------------- ##
17411 ## M4sh Initialization. ##
17412 ## -------------------- ##
17414 # Be more Bourne compatible
17415 DUALCASE
=1; export DUALCASE
# for MKS sh
17416 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17419 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17420 # is contrary to our usage. Disable this feature.
17421 alias -g '${1+"$@"}'='"$@"'
17422 setopt NO_GLOB_SUBST
17424 case `(set -o) 2>/dev/null` in #(
17436 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17437 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17438 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17439 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17440 # Prefer a ksh shell builtin over an external printf program on Solaris,
17441 # but without wasting forks for bash or zsh.
17442 if test -z "$BASH_VERSION$ZSH_VERSION" \
17443 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17444 as_echo='print
-r --'
17445 as_echo_n='print
-rn --'
17446 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17447 as_echo='printf %s
\n'
17448 as_echo_n='printf %s
'
17450 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17451 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17452 as_echo_n='/usr
/ucb
/echo -n'
17454 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17455 as_echo_n_body='eval
17459 expr "X$arg" : "X\\(.*\\)$as_nl";
17460 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17462 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17464 export as_echo_n_body
17465 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17467 export as_echo_body
17468 as_echo='sh
-c $as_echo_body as_echo
'
17471 # The user is always right.
17472 if test "${PATH_SEPARATOR+set}" != set; then
17474 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17475 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17482 # We need space, tab and new line, in precisely that order. Quoting is
17483 # there to prevent editors from complaining about space-tab.
17484 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17485 # splitting by setting IFS to empty value.)
17488 # Find who we are. Look in the path if we contain no directory separator.
17491 *[\\/]* ) as_myself=$0 ;;
17492 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17493 for as_dir in $PATH
17496 test -z "$as_dir" && as_dir=.
17497 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17503 # We did not find ourselves, most probably we were run as `sh COMMAND'
17504 # in which case we are not to be found in the path.
17505 if test "x$as_myself" = x
; then
17508 if test ! -f "$as_myself"; then
17509 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17513 # Unset variables that we do not need and which cause bugs (e.g. in
17514 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17515 # suppresses any "Segmentation fault" message there. '((' could
17516 # trigger a bug in pdksh 5.2.14.
17517 for as_var
in BASH_ENV ENV MAIL MAILPATH
17518 do eval test x\
${$as_var+set} = xset \
17519 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17532 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17535 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17536 # ----------------------------------------
17537 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17538 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17539 # script with STATUS, using 1 if that was 0.
17542 as_status
=$1; test $as_status -eq 0 && as_status
=1
17544 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17545 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17547 $as_echo "$as_me: error: $2" >&2
17548 as_fn_exit
$as_status
17552 # as_fn_set_status STATUS
17553 # -----------------------
17554 # Set $? to STATUS, without forking.
17555 as_fn_set_status
()
17558 } # as_fn_set_status
17560 # as_fn_exit STATUS
17561 # -----------------
17562 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17566 as_fn_set_status
$1
17572 # Portably unset VAR.
17575 { eval $1=; unset $1;}
17577 as_unset
=as_fn_unset
17578 # as_fn_append VAR VALUE
17579 # ----------------------
17580 # Append the text in VALUE to the end of the definition contained in VAR. Take
17581 # advantage of any shell optimizations that allow amortized linear growth over
17582 # repeated appends, instead of the typical quadratic growth present in naive
17584 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17585 eval 'as_fn_append ()
17596 # as_fn_arith ARG...
17597 # ------------------
17598 # Perform arithmetic evaluation on the ARGs, and store the result in the
17599 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17600 # must be portable across $(()) and expr.
17601 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17602 eval 'as_fn_arith ()
17609 as_val
=`expr "$@" || test $? -eq 1`
17614 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17615 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17621 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17622 as_basename
=basename
17627 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17633 as_me
=`$as_basename -- "$0" ||
17634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17635 X"$0" : 'X\(//\)$' \| \
17636 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17638 sed '/^.*\/\([^/][^/]*\)\/*$/{
17652 # Avoid depending upon Character Ranges.
17653 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17654 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17655 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17656 as_cr_digits
='0123456789'
17657 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17659 ECHO_C
= ECHO_N
= ECHO_T
=
17660 case `echo -n x` in #(((((
17662 case `echo 'xy\c'` in
17663 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17665 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17672 rm -f conf$$ conf$$.exe conf$$.
file
17673 if test -d conf$$.dir
; then
17674 rm -f conf$$.dir
/conf$$.
file
17677 mkdir conf$$.dir
2>/dev
/null
17679 if (echo >conf$$.
file) 2>/dev
/null
; then
17680 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17682 # ... but there are two gotchas:
17683 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17684 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17685 # In both cases, we have to default to `cp -pR'.
17686 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17688 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17696 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17697 rmdir conf$$.dir
2>/dev
/null
17702 # Create "$as_dir" as a directory, including parents if necessary.
17707 -*) as_dir
=.
/$as_dir;;
17709 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17713 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17714 *) as_qdir
=$as_dir;;
17716 as_dirs
="'$as_qdir' $as_dirs"
17717 as_dir
=`$as_dirname -- "$as_dir" ||
17718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17719 X"$as_dir" : 'X\(//\)[^/]' \| \
17720 X"$as_dir" : 'X\(//\)$' \| \
17721 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17722 $as_echo X"$as_dir" |
17723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17727 /^X\(\/\/\)[^/].*/{
17740 test -d "$as_dir" && break
17742 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17743 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17747 if mkdir
-p .
2>/dev
/null
; then
17748 as_mkdir_p
='mkdir -p "$as_dir"'
17750 test -d .
/-p && rmdir .
/-p
17755 # as_fn_executable_p FILE
17756 # -----------------------
17757 # Test if FILE is an executable regular file.
17758 as_fn_executable_p
()
17760 test -f "$1" && test -x "$1"
17761 } # as_fn_executable_p
17762 as_test_x
='test -x'
17763 as_executable_p
=as_fn_executable_p
17765 # Sed expression to map a string onto a valid CPP name.
17766 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17768 # Sed expression to map a string onto a valid variable name.
17769 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17773 ## ----------------------------------- ##
17774 ## Main body of $CONFIG_STATUS script. ##
17775 ## ----------------------------------- ##
17777 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17780 # Save the log message, to keep $0 and so on meaningful, and to
17781 # report actual input values of CONFIG_FILES etc. instead of their
17782 # values after options handling.
17784 This file was extended by package-unused $as_me version-unused, which was
17785 generated by GNU Autoconf 2.69. Invocation command line was
17787 CONFIG_FILES = $CONFIG_FILES
17788 CONFIG_HEADERS = $CONFIG_HEADERS
17789 CONFIG_LINKS = $CONFIG_LINKS
17790 CONFIG_COMMANDS = $CONFIG_COMMANDS
17793 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17798 case $ac_config_files in *"
17799 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17802 case $ac_config_headers in *"
17803 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17808 # Files that config.status was made for.
17809 config_files="$ac_config_files"
17810 config_headers="$ac_config_headers"
17811 config_commands="$ac_config_commands"
17815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17817 \`$as_me' instantiates files and other configuration actions
17818 from templates according to the current configuration. Unless the files
17819 and actions are specified as TAGs, all are instantiated by default.
17821 Usage: $0 [OPTION]... [TAG]...
17823 -h, --help print this help, then exit
17824 -V, --version print version number and configuration settings, then exit
17825 --config print configuration, then exit
17826 -q, --quiet, --silent
17827 do not print progress messages
17828 -d, --debug don't remove temporary files
17829 --recheck update $as_me by reconfiguring in the same conditions
17830 --file=FILE[:TEMPLATE]
17831 instantiate the configuration file FILE
17832 --header=FILE[:TEMPLATE]
17833 instantiate the configuration header FILE
17835 Configuration files:
17838 Configuration headers:
17841 Configuration commands:
17844 Report bugs to <libsanitizer>."
17847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17848 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17850 package-unused config.status version-unused
17851 configured by $0, generated by GNU Autoconf 2.69,
17852 with options \\"\$ac_cs_config\\"
17854 Copyright (C) 2012 Free Software Foundation, Inc.
17855 This config.status script is free software; the Free Software Foundation
17856 gives unlimited permission to copy, distribute and modify it."
17863 test -n "\$AWK" || AWK=awk
17866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17867 # The default lists apply if the user does not specify any file.
17873 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17874 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17878 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17890 # Handling of the options.
17891 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17893 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17894 $as_echo "$ac_cs_version"; exit ;;
17895 --config |
--confi |
--conf |
--con |
--co |
--c )
17896 $as_echo "$ac_cs_config"; exit ;;
17897 --debug |
--debu |
--deb |
--de |
--d |
-d )
17899 --file |
--fil |
--fi |
--f )
17902 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17903 '') as_fn_error $?
"missing file argument" ;;
17905 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17906 ac_need_defaults
=false
;;
17907 --header |
--heade |
--head |
--hea )
17910 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17912 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17913 ac_need_defaults
=false
;;
17915 # Conflict between --help and --header
17916 as_fn_error $?
"ambiguous option: \`$1'
17917 Try \`$0 --help' for more information.";;
17918 --help |
--hel |
-h )
17919 $as_echo "$ac_cs_usage"; exit ;;
17920 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17921 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17924 # This is an error.
17925 -*) as_fn_error $?
"unrecognized option: \`$1'
17926 Try \`$0 --help' for more information." ;;
17928 *) as_fn_append ac_config_targets
" $1"
17929 ac_need_defaults
=false
;;
17935 ac_configure_extra_args
=
17937 if $ac_cs_silent; then
17939 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17944 if \$ac_cs_recheck; then
17945 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17947 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17948 CONFIG_SHELL='$SHELL'
17949 export CONFIG_SHELL
17954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17958 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17959 ## Running $as_me. ##
17965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17973 with_multisubdir="$with_multisubdir"
17974 with_multisrctop="$with_multisrctop"
17975 with_target_subdir="$with_target_subdir"
17976 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17977 multi_basedir="$multi_basedir"
17978 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17981 GFORTRAN="$GFORTRAN"
17983 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17986 # The HP-UX ksh and POSIX shell print the target directory to stdout
17987 # if CDPATH is set.
17988 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17990 sed_quote_subst='$sed_quote_subst'
17991 double_quote_subst='$double_quote_subst'
17992 delay_variable_subst='$delay_variable_subst'
17993 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17994 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17995 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17996 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17997 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17998 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17999 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18000 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18001 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18002 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18003 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18004 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18005 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18006 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18007 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18008 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18009 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18010 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18011 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18012 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18013 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18014 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18015 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18016 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18017 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18018 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18019 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18020 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18021 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18022 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18023 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18024 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18025 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18026 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18027 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18028 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18029 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18030 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18031 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18032 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18033 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18034 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18035 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18036 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18037 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18038 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18039 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18040 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18041 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"`'
18042 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18043 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18044 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18045 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18046 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18047 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18048 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18049 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18050 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18051 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18052 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18053 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18054 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18055 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18056 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18057 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18058 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18059 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18060 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18061 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18062 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18063 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18064 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18065 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18066 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18067 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18068 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18069 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18070 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18071 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18072 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18073 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18074 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18075 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18076 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18077 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18078 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18079 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18080 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18081 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18082 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18083 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18084 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18085 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18086 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18087 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18088 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18089 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18090 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18091 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18092 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18093 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18094 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18095 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18096 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18097 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18098 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18099 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18100 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18101 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18102 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18103 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18104 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18105 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18106 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18107 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18108 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18109 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18110 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18111 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18112 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18113 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18114 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18115 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18116 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18117 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18118 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18119 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18120 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18121 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18122 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18123 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18124 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18125 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18126 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18127 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18128 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18129 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18130 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18131 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18132 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18133 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18134 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18135 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18136 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18137 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18138 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18139 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18140 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18141 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18142 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18143 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18144 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18145 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18146 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18147 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18148 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18149 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18150 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18151 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18152 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18153 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18154 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18155 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18156 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18157 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18158 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18159 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18160 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18161 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18162 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18163 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18164 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18165 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18166 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18167 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18170 LTCFLAGS='$LTCFLAGS'
18171 compiler='$compiler_DEFAULT'
18173 # A function that is used when there is no print builtin or printf.
18174 func_fallback_echo ()
18176 eval 'cat <<_LTECHO_EOF
18181 # Quote evaled strings.
18195 deplibs_check_method \
18204 lt_cv_sys_global_symbol_pipe \
18205 lt_cv_sys_global_symbol_to_cdecl \
18206 lt_cv_sys_global_symbol_to_c_name_address \
18207 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18208 lt_prog_compiler_no_builtin_flag \
18209 lt_prog_compiler_wl \
18210 lt_prog_compiler_pic \
18211 lt_prog_compiler_static \
18212 lt_cv_prog_compiler_c_o \
18220 export_dynamic_flag_spec \
18221 whole_archive_flag_spec \
18222 compiler_needs_object \
18224 allow_undefined_flag \
18225 no_undefined_flag \
18226 hardcode_libdir_flag_spec \
18227 hardcode_libdir_flag_spec_ld \
18228 hardcode_libdir_separator \
18233 variables_saved_for_relink \
18235 library_names_spec \
18237 install_override_mode \
18241 compiler_lib_search_dirs \
18246 compiler_lib_search_path \
18250 lt_prog_compiler_no_builtin_flag_CXX \
18251 lt_prog_compiler_wl_CXX \
18252 lt_prog_compiler_pic_CXX \
18253 lt_prog_compiler_static_CXX \
18254 lt_cv_prog_compiler_c_o_CXX \
18255 export_dynamic_flag_spec_CXX \
18256 whole_archive_flag_spec_CXX \
18257 compiler_needs_object_CXX \
18259 allow_undefined_flag_CXX \
18260 no_undefined_flag_CXX \
18261 hardcode_libdir_flag_spec_CXX \
18262 hardcode_libdir_flag_spec_ld_CXX \
18263 hardcode_libdir_separator_CXX \
18264 fix_srcfile_path_CXX \
18265 exclude_expsyms_CXX \
18266 include_expsyms_CXX \
18267 file_list_spec_CXX \
18268 compiler_lib_search_dirs_CXX \
18269 predep_objects_CXX \
18270 postdep_objects_CXX \
18273 compiler_lib_search_path_CXX; do
18274 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18275 *[\\\\\\\`\\"\\\$]*)
18276 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18279 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18284 # Double-quote double-evaled strings.
18285 for var in reload_cmds \
18286 old_postinstall_cmds \
18287 old_postuninstall_cmds \
18289 extract_expsyms_cmds \
18290 old_archive_from_new_cmds \
18291 old_archive_from_expsyms_cmds \
18293 archive_expsym_cmds \
18295 module_expsym_cmds \
18296 export_symbols_cmds \
18299 postuninstall_cmds \
18301 sys_lib_search_path_spec \
18302 sys_lib_dlsearch_path_spec \
18304 old_archive_cmds_CXX \
18305 old_archive_from_new_cmds_CXX \
18306 old_archive_from_expsyms_cmds_CXX \
18308 archive_expsym_cmds_CXX \
18310 module_expsym_cmds_CXX \
18311 export_symbols_cmds_CXX \
18312 prelink_cmds_CXX; do
18313 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18314 *[\\\\\\\`\\"\\\$]*)
18315 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18318 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18323 ac_aux_dir='$ac_aux_dir'
18324 xsi_shell='$xsi_shell'
18325 lt_shell_append='$lt_shell_append'
18327 # See if we are running on zsh, and set the options which allow our
18328 # commands through without removal of \ escapes INIT.
18329 if test -n "\${ZSH_VERSION+set}" ; then
18330 setopt NO_GLOB_SUBST
18336 TIMESTAMP='$TIMESTAMP'
18347 acx_cv_header_stdint="$acx_cv_header_stdint"
18348 acx_cv_type_int8_t="$acx_cv_type_int8_t"
18349 acx_cv_type_int16_t="$acx_cv_type_int16_t"
18350 acx_cv_type_int32_t="$acx_cv_type_int32_t"
18351 acx_cv_type_int64_t="$acx_cv_type_int64_t"
18352 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
18353 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
18354 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
18355 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
18356 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
18357 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
18358 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
18359 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
18360 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
18365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18367 # Handling of arguments.
18368 for ac_config_target
in $ac_config_targets
18370 case $ac_config_target in
18371 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18372 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18373 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18374 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
18375 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18376 "libsanitizer.spec") CONFIG_FILES
="$CONFIG_FILES libsanitizer.spec" ;;
18377 "libbacktrace/backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES libbacktrace/backtrace-supported.h" ;;
18378 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18379 "interception/Makefile") CONFIG_FILES
="$CONFIG_FILES interception/Makefile" ;;
18380 "sanitizer_common/Makefile") CONFIG_FILES
="$CONFIG_FILES sanitizer_common/Makefile" ;;
18381 "libbacktrace/Makefile") CONFIG_FILES
="$CONFIG_FILES libbacktrace/Makefile" ;;
18382 "lsan/Makefile") CONFIG_FILES
="$CONFIG_FILES lsan/Makefile" ;;
18383 "asan/Makefile") CONFIG_FILES
="$CONFIG_FILES asan/Makefile" ;;
18384 "ubsan/Makefile") CONFIG_FILES
="$CONFIG_FILES ubsan/Makefile" ;;
18385 "tsan/Makefile") CONFIG_FILES
="$CONFIG_FILES tsan/Makefile" ;;
18386 "hwasan/Makefile") CONFIG_FILES
="$CONFIG_FILES hwasan/Makefile" ;;
18388 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18393 # If the user did not use the arguments to specify the items to instantiate,
18394 # then the envvar interface is used. Set only those that are not.
18395 # We use the long form for the default assignment because of an extremely
18396 # bizarre bug on SunOS 4.1.3.
18397 if $ac_need_defaults; then
18398 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18399 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18400 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18403 # Have a temporary directory for convenience. Make it in the build tree
18404 # simply because there is no reason against having it here, and in addition,
18405 # creating and moving files from /tmp can sometimes cause problems.
18406 # Hook for its removal unless debugging.
18407 # Note that there is a small window in which the directory will not be cleaned:
18408 # after its creation but before its name has been assigned to `$tmp'.
18412 trap 'exit_status=$?
18413 : "${ac_tmp:=$tmp}"
18414 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18416 trap 'as_fn_exit 1' 1 2 13 15
18418 # Create a (secure) tmp directory for tmp files.
18421 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18425 tmp
=.
/conf$$
-$RANDOM
18426 (umask 077 && mkdir
"$tmp")
18427 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18430 # Set up the scripts for CONFIG_FILES section.
18431 # No need to generate them if there are no CONFIG_FILES.
18432 # This happens for instance with `./config.status config.h'.
18433 if test -n "$CONFIG_FILES"; then
18436 ac_cr
=`echo X | tr X '\015'`
18437 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18438 # But we know of no other shell where ac_cr would be empty at this
18439 # point, so we can use a bashism as a fallback.
18440 if test "x$ac_cr" = x
; then
18441 eval ac_cr
=\$
\'\\r
\'
18443 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18444 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18447 ac_cs_awk_cr
=$ac_cr
18450 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18455 echo "cat >conf$$subs.awk <<_ACEOF" &&
18456 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18458 } >conf$$subs.sh ||
18459 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18460 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18462 for ac_last_try in false false false false false :; do
18463 . ./conf$$subs.sh ||
18464 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18466 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18467 if test $ac_delim_n = $ac_delim_num; then
18469 elif $ac_last_try; then
18470 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18472 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18475 rm -f conf$$subs.sh
18477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18478 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18482 s/^/S["/; s
/!.
*/"]=/
18492 s/\(.\{148\}\)..*/\1/
18494 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18499 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18506 s/\(.\{148\}\)..*/\1/
18508 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18512 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18517 ' <conf$$subs.awk | sed '
18522 ' >>$CONFIG_STATUS || ac_write_fail=1
18523 rm -f conf$$subs.awk
18524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18526 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18527 for (key in S) S_is_set[key] = 1
18533 nfields = split(line, field, "@
")
18535 len = length(field[1])
18536 for (i = 2; i < nfields; i++) {
18538 keylen = length(key)
18539 if (S_is_set[key]) {
18541 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18542 len += length(value) + length(field[++i])
18553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18554 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18555 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18558 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18559 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18562 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18563 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18564 # trailing colons and then remove the whole line if VPATH becomes empty
18565 # (actually we leave an empty line to preserve line numbers).
18566 if test "x
$srcdir" = x.; then
18567 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18586 fi # test -n "$CONFIG_FILES"
18588 # Set up the scripts for CONFIG_HEADERS section.
18589 # No need to generate them if there are no CONFIG_HEADERS.
18590 # This happens for instance with `./config.status Makefile'.
18591 if test -n "$CONFIG_HEADERS"; then
18592 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18596 # Transform confdefs.h into an awk script `defines.awk', embedded as
18597 # here-document in config.status, that substitutes the proper values into
18598 # config.h.in to produce config.h.
18600 # Create a delimiter string that does not exist in confdefs.h, to ease
18601 # handling of long lines.
18603 for ac_last_try in false false :; do
18604 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18605 if test -z "$ac_tt"; then
18607 elif $ac_last_try; then
18608 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18610 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18614 # For the awk script, D is an array of macro values keyed by name,
18615 # likewise P contains macro parameters if any. Preserve backslash
18616 # newline sequences.
18618 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18620 s/.\{148\}/&'"$ac_delim"'/g
18623 s/^[ ]*#[ ]*define[ ][ ]*/ /
18630 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18632 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18636 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18637 D["\
1"]=" \
3\\\\\\n
"\\/p
18639 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18644 s/.\{148\}/&'"$ac_delim"'/g
18649 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18652 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18654 ' <confdefs.h | sed '
18655 s/'"$ac_delim"'/"\\\
18656 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18659 for (key in D) D_is_set[key] = 1
18662 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18664 split(line, arg, " ")
18665 if (arg[1] == "#") {
18669 defundef
= substr
(arg
[1], 2)
18672 split(mac1
, mac2
, "(") #)
18674 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18675 if (D_is_set
[macro
]) {
18676 # Preserve the white space surrounding the "#".
18677 print prefix
"define", macro P
[macro
] D
[macro
]
18680 # Replace #undef with comments. This is necessary, for example,
18681 # in the case of _POSIX_SOURCE, which is predefined and required
18682 # on some systems where configure will not decide to define it.
18683 if (defundef
== "undef") {
18684 print
"/*", prefix defundef
, macro
, "*/"
18692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18693 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18694 fi # test -n "$CONFIG_HEADERS"
18697 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18702 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18704 case $ac_mode$ac_tag in
18706 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18707 :[FH
]-) ac_tag
=-:-;;
18708 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18725 -) ac_f
="$ac_tmp/stdin";;
18726 *) # Look for the file first in the build tree, then in the source tree
18727 # (if the path is not absolute). The absolute path cannot be DOS-style,
18728 # because $ac_f cannot contain `:'.
18732 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18734 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18736 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18737 as_fn_append ac_file_inputs
" '$ac_f'"
18740 # Let's still pretend it is `configure' which instantiates (i.e., don't
18741 # use $as_me), people would be surprised to read:
18742 # /* config.h. Generated by config.status. */
18743 configure_input
='Generated from '`
18744 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18746 if test x
"$ac_file" != x-
; then
18747 configure_input
="$ac_file. $configure_input"
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18749 $as_echo "$as_me: creating $ac_file" >&6;}
18751 # Neutralize special characters interpreted by sed in replacement strings.
18752 case $configure_input in #(
18753 *\
&* |
*\|
* |
*\\* )
18754 ac_sed_conf_input
=`$as_echo "$configure_input" |
18755 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18756 *) ac_sed_conf_input
=$configure_input;;
18760 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18761 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18766 ac_dir
=`$as_dirname -- "$ac_file" ||
18767 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18768 X"$ac_file" : 'X\(//\)[^/]' \| \
18769 X"$ac_file" : 'X\(//\)$' \| \
18770 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18771 $as_echo X"$ac_file" |
18772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18776 /^X\(\/\/\)[^/].*/{
18789 as_dir
="$ac_dir"; as_fn_mkdir_p
18793 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18795 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18796 # A ".." for each directory in $ac_dir_suffix.
18797 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18798 case $ac_top_builddir_sub in
18799 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18800 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18803 ac_abs_top_builddir
=$ac_pwd
18804 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18805 # for backward compatibility:
18806 ac_top_builddir
=$ac_top_build_prefix
18809 .
) # We are building in place.
18811 ac_top_srcdir
=$ac_top_builddir_sub
18812 ac_abs_top_srcdir
=$ac_pwd ;;
18813 [\\/]* | ?
:[\\/]* ) # Absolute name.
18814 ac_srcdir
=$srcdir$ac_dir_suffix;
18815 ac_top_srcdir
=$srcdir
18816 ac_abs_top_srcdir
=$srcdir ;;
18817 *) # Relative name.
18818 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18819 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18820 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18822 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18832 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18833 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18835 ac_MKDIR_P
=$MKDIR_P
18837 [\\/$
]* | ?
:[\\/]* ) ;;
18838 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18843 # If the template does not know about datarootdir, expand it.
18844 # FIXME: This hack should be removed a few years after 2.60.
18845 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18856 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18857 *datarootdir
*) ac_datarootdir_seen
=yes;;
18858 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18860 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18863 ac_datarootdir_hack='
18864 s&@datadir@&$datadir&g
18865 s&@docdir@&$docdir&g
18866 s&@infodir@&$infodir&g
18867 s&@localedir@&$localedir&g
18868 s&@mandir@&$mandir&g
18869 s&\\\${datarootdir}&$datarootdir&g' ;;
18873 # Neutralize VPATH when `$srcdir' = `.'.
18874 # Shell code in configure.ac might set extrasub.
18875 # FIXME: do we really want to maintain this feature?
18876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18877 ac_sed_extra="$ac_vpsub
18880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18882 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18883 s|@configure_input@|
$ac_sed_conf_input|
;t t
18884 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18885 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18886 s
&@srcdir@
&$ac_srcdir&;t t
18887 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18888 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18889 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18890 s
&@builddir@
&$ac_builddir&;t t
18891 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18892 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18893 s
&@INSTALL@
&$ac_INSTALL&;t t
18894 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18895 $ac_datarootdir_hack
18897 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18898 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18900 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18901 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18902 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18903 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18905 which seems to be undefined. Please make sure it is defined" >&5
18906 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18907 which seems to be undefined. Please make sure it is defined" >&2;}
18909 rm -f "$ac_tmp/stdin"
18911 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18912 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18914 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18920 if test x"$ac_file" != x-; then
18922 $as_echo "/* $configure_input */" \
18923 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18924 } >"$ac_tmp/config.h" \
18925 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18926 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18928 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18931 mv "$ac_tmp/config.h" "$ac_file" \
18932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18935 $as_echo "/* $configure_input */" \
18936 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18937 || as_fn_error $? "could not create -" "$LINENO" 5
18939 # Compute "$ac_file"'s index
in $config_headers.
18942 for _am_header
in $config_headers :; do
18943 case $_am_header in
18944 $_am_arg |
$_am_arg:* )
18947 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18950 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18951 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18952 X"$_am_arg" : 'X\(//\)[^/]' \| \
18953 X"$_am_arg" : 'X\(//\)$' \| \
18954 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18955 $as_echo X"$_am_arg" |
18956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18960 /^X\(\/\/\)[^/].*/{
18972 s/.*/./; q'`/stamp-h
$_am_stamp_count
18975 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18976 $as_echo "$as_me: executing $ac_file commands" >&6;}
18981 case $ac_file$ac_mode in
18983 # Only add multilib support code if we just rebuilt the top-level
18985 case " $CONFIG_FILES " in
18987 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18990 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18991 # Older Autoconf quotes --file arguments for eval, but not when files
18992 # are listed without --file. Let's play safe and only enable the eval
18993 # if we detect the quoting.
18994 case $CONFIG_FILES in
18995 *\'*) eval set x
"$CONFIG_FILES" ;;
18996 *) set x
$CONFIG_FILES ;;
19001 # Strip MF so we end up with the name of the file.
19002 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19003 # Check whether this is an Automake generated Makefile or not.
19004 # We used to match only the files named 'Makefile.in', but
19005 # some people rename them; so instead we look at the file content.
19006 # Grep'ing the first line is not enough: some people post-process
19007 # each Makefile.in and add a new line on top of each file to say so.
19008 # Grep'ing the whole file is not good either: AIX grep has a line
19009 # limit of 2048, but all sed's we know have understand at least 4000.
19010 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19011 dirpart
=`$as_dirname -- "$mf" ||
19012 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19013 X"$mf" : 'X\(//\)[^/]' \| \
19014 X"$mf" : 'X\(//\)$' \| \
19015 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19021 /^X\(\/\/\)[^/].*/{
19037 # Extract the definition of DEPDIR, am__include, and am__quote
19038 # from the Makefile without running 'make'.
19039 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19040 test -z "$DEPDIR" && continue
19041 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19042 test -z "$am__include" && continue
19043 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19044 # Find all dependency output files, they are included files with
19045 # $(DEPDIR) in their names. We invoke sed twice because it is the
19046 # simplest approach to changing $(DEPDIR) to its actual value in the
19048 for file in `sed -n "
19049 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19050 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19051 # Make sure the directory exists.
19052 test -f "$dirpart/$file" && continue
19053 fdir
=`$as_dirname -- "$file" ||
19054 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19055 X"$file" : 'X\(//\)[^/]' \| \
19056 X"$file" : 'X\(//\)$' \| \
19057 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19058 $as_echo X"$file" |
19059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19063 /^X\(\/\/\)[^/].*/{
19076 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19077 # echo "creating $dirpart/$file"
19078 echo '# dummy' > "$dirpart/$file"
19085 # See if we are running on zsh, and set the options which allow our
19086 # commands through without removal of \ escapes.
19087 if test -n "${ZSH_VERSION+set}" ; then
19088 setopt NO_GLOB_SUBST
19091 cfgfile
="${ofile}T"
19092 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19095 cat <<_LT_EOF >> "$cfgfile"
19098 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19099 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19100 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19101 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19103 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19104 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19105 # Written by Gordon Matzigkeit, 1996
19107 # This file is part of GNU Libtool.
19109 # GNU Libtool is free software; you can redistribute it and/or
19110 # modify it under the terms of the GNU General Public License as
19111 # published by the Free Software Foundation; either version 2 of
19112 # the License, or (at your option) any later version.
19114 # As a special exception to the GNU General Public License,
19115 # if you distribute this file as part of a program or library that
19116 # is built using GNU Libtool, you may include this file under the
19117 # same distribution terms that you use for the rest of that program.
19119 # GNU Libtool is distributed in the hope that it will be useful,
19120 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19121 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19122 # GNU General Public License for more details.
19124 # You should have received a copy of the GNU General Public License
19125 # along with GNU Libtool; see the file COPYING. If not, a copy
19126 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19127 # obtained by writing to the Free Software Foundation, Inc.,
19128 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19131 # The names of the tagged configurations supported by this script.
19132 available_tags="CXX "
19134 # ### BEGIN LIBTOOL CONFIG
19136 # Which release of libtool.m4 was used?
19137 macro_version=$macro_version
19138 macro_revision=$macro_revision
19140 # Whether or not to build shared libraries.
19141 build_libtool_libs=$enable_shared
19143 # Whether or not to build static libraries.
19144 build_old_libs=$enable_static
19146 # What type of objects to build.
19149 # Whether or not to optimize for fast installation.
19150 fast_install=$enable_fast_install
19152 # Shell to use when invoking shell scripts.
19155 # An echo program that protects backslashes.
19159 host_alias=$host_alias
19163 # The build system.
19164 build_alias=$build_alias
19168 # A sed program that does not truncate output.
19171 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19172 Xsed="\$SED -e 1s/^X//"
19174 # A grep program that handles long lines.
19180 # A literal string matcher.
19183 # A BSD- or MS-compatible name lister.
19186 # Whether we need soft or hard links.
19189 # What is the maximum length of a command?
19190 max_cmd_len=$max_cmd_len
19192 # Object file suffix (normally "o").
19195 # Executable file suffix (normally "").
19198 # whether the shell understands "unset".
19201 # turn spaces into newlines.
19204 # turn newlines into spaces.
19207 # An object symbol dumper.
19208 OBJDUMP=$lt_OBJDUMP
19210 # Method to check whether dependent libraries are shared objects.
19211 deplibs_check_method=$lt_deplibs_check_method
19213 # Command to use when deplibs_check_method == "file_magic".
19214 file_magic_cmd=$lt_file_magic_cmd
19218 AR_FLAGS=$lt_AR_FLAGS
19220 # A symbol stripping program.
19223 # Commands used to install an old-style archive.
19225 old_postinstall_cmds=$lt_old_postinstall_cmds
19226 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19228 # Whether to use a lock for old archive extraction.
19229 lock_old_archive_extraction=$lock_old_archive_extraction
19234 # LTCC compiler flags.
19235 LTCFLAGS=$lt_CFLAGS
19237 # Take the output of nm and produce a listing of raw symbols and C names.
19238 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19240 # Transform the output of nm in a proper C declaration.
19241 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19243 # Transform the output of nm in a C name address pair.
19244 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19246 # Transform the output of nm in a C name address pair when lib prefix is needed.
19247 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19249 # The name of the directory that contains temporary libtool files.
19252 # Used to examine libraries when file_magic_cmd begins with "file".
19253 MAGIC_CMD=$MAGIC_CMD
19255 # Must we lock files when doing compilation?
19256 need_locks=$lt_need_locks
19258 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19259 DSYMUTIL=$lt_DSYMUTIL
19261 # Tool to change global to local symbols on Mac OS X.
19264 # Tool to manipulate fat objects and archives on Mac OS X.
19267 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19270 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19271 OTOOL64=$lt_OTOOL64
19273 # Old archive suffix (normally "a").
19276 # Shared library suffix (normally ".so").
19277 shrext_cmds=$lt_shrext_cmds
19279 # The commands to extract the exported symbol list from a shared archive.
19280 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19282 # Variables whose values should be saved in libtool wrapper scripts and
19283 # restored at link time.
19284 variables_saved_for_relink=$lt_variables_saved_for_relink
19286 # Do we need the "lib" prefix for modules?
19287 need_lib_prefix=$need_lib_prefix
19289 # Do we need a version for libraries?
19290 need_version=$need_version
19292 # Library versioning type.
19293 version_type=$version_type
19295 # Shared library runtime path variable.
19296 runpath_var=$runpath_var
19298 # Shared library path variable.
19299 shlibpath_var=$shlibpath_var
19301 # Is shlibpath searched before the hard-coded library search path?
19302 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19304 # Format of library name prefix.
19305 libname_spec=$lt_libname_spec
19307 # List of archive names. First name is the real one, the rest are links.
19308 # The last name is the one that the linker finds with -lNAME
19309 library_names_spec=$lt_library_names_spec
19311 # The coded name of the library, if different from the real name.
19312 soname_spec=$lt_soname_spec
19314 # Permission mode override for installation of shared libraries.
19315 install_override_mode=$lt_install_override_mode
19317 # Command to use after installation of a shared archive.
19318 postinstall_cmds=$lt_postinstall_cmds
19320 # Command to use after uninstallation of a shared archive.
19321 postuninstall_cmds=$lt_postuninstall_cmds
19323 # Commands used to finish a libtool library installation in a directory.
19324 finish_cmds=$lt_finish_cmds
19326 # As "finish_cmds", except a single script fragment to be evaled but
19328 finish_eval=$lt_finish_eval
19330 # Whether we should hardcode library paths into libraries.
19331 hardcode_into_libs=$hardcode_into_libs
19333 # Compile-time system search path for libraries.
19334 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19336 # Run-time system search path for libraries.
19337 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19339 # Whether dlopen is supported.
19340 dlopen_support=$enable_dlopen
19342 # Whether dlopen of programs is supported.
19343 dlopen_self=$enable_dlopen_self
19345 # Whether dlopen of statically linked programs is supported.
19346 dlopen_self_static=$enable_dlopen_self_static
19348 # Commands to strip libraries.
19349 old_striplib=$lt_old_striplib
19350 striplib=$lt_striplib
19353 # The linker used to build libraries.
19356 # How to create reloadable object files.
19357 reload_flag=$lt_reload_flag
19358 reload_cmds=$lt_reload_cmds
19360 # Commands used to build an old-style archive.
19361 old_archive_cmds=$lt_old_archive_cmds
19363 # A language specific compiler.
19366 # Is the compiler the GNU compiler?
19369 # Compiler flag to turn off builtin functions.
19370 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19372 # How to pass a linker flag through the compiler.
19373 wl=$lt_lt_prog_compiler_wl
19375 # Additional compiler flags for building library objects.
19376 pic_flag=$lt_lt_prog_compiler_pic
19378 # Compiler flag to prevent dynamic linking.
19379 link_static_flag=$lt_lt_prog_compiler_static
19381 # Does compiler simultaneously support -c and -o options?
19382 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19384 # Whether or not to add -lc for building shared libraries.
19385 build_libtool_need_lc=$archive_cmds_need_lc
19387 # Whether or not to disallow shared libs when runtime libs are static.
19388 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19390 # Compiler flag to allow reflexive dlopens.
19391 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19393 # Compiler flag to generate shared objects directly from archives.
19394 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19396 # Whether the compiler copes with passing no objects directly.
19397 compiler_needs_object=$lt_compiler_needs_object
19399 # Create an old-style archive from a shared archive.
19400 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19402 # Create a temporary old-style archive to link instead of a shared archive.
19403 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19405 # Commands used to build a shared archive.
19406 archive_cmds=$lt_archive_cmds
19407 archive_expsym_cmds=$lt_archive_expsym_cmds
19409 # Commands used to build a loadable module if different from building
19410 # a shared archive.
19411 module_cmds=$lt_module_cmds
19412 module_expsym_cmds=$lt_module_expsym_cmds
19414 # Whether we are building with GNU ld or not.
19415 with_gnu_ld=$lt_with_gnu_ld
19417 # Flag that allows shared libraries with undefined symbols to be built.
19418 allow_undefined_flag=$lt_allow_undefined_flag
19420 # Flag that enforces no undefined symbols.
19421 no_undefined_flag=$lt_no_undefined_flag
19423 # Flag to hardcode \$libdir into a binary during linking.
19424 # This must work even if \$libdir does not exist
19425 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19427 # If ld is used when linking, flag to hardcode \$libdir into a binary
19428 # during linking. This must work even if \$libdir does not exist.
19429 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19431 # Whether we need a single "-rpath" flag with a separated argument.
19432 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19434 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19435 # DIR into the resulting binary.
19436 hardcode_direct=$hardcode_direct
19438 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19439 # DIR into the resulting binary and the resulting library dependency is
19440 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19441 # library is relocated.
19442 hardcode_direct_absolute=$hardcode_direct_absolute
19444 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19445 # into the resulting binary.
19446 hardcode_minus_L=$hardcode_minus_L
19448 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19449 # into the resulting binary.
19450 hardcode_shlibpath_var=$hardcode_shlibpath_var
19452 # Set to "yes" if building a shared library automatically hardcodes DIR
19453 # into the library and all subsequent libraries and executables linked
19455 hardcode_automatic=$hardcode_automatic
19457 # Set to yes if linker adds runtime paths of dependent libraries
19458 # to runtime path list.
19459 inherit_rpath=$inherit_rpath
19461 # Whether libtool must link a program against all its dependency libraries.
19462 link_all_deplibs=$link_all_deplibs
19464 # Fix the shell variable \$srcfile for the compiler.
19465 fix_srcfile_path=$lt_fix_srcfile_path
19467 # Set to "yes" if exported symbols are required.
19468 always_export_symbols=$always_export_symbols
19470 # The commands to list exported symbols.
19471 export_symbols_cmds=$lt_export_symbols_cmds
19473 # Symbols that should not be listed in the preloaded symbols.
19474 exclude_expsyms=$lt_exclude_expsyms
19476 # Symbols that must always be exported.
19477 include_expsyms=$lt_include_expsyms
19479 # Commands necessary for linking programs (against libraries) with templates.
19480 prelink_cmds=$lt_prelink_cmds
19482 # Specify filename containing input files.
19483 file_list_spec=$lt_file_list_spec
19485 # How to hardcode a shared library path into an executable.
19486 hardcode_action=$hardcode_action
19488 # The directories searched by this compiler when creating a shared library.
19489 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19491 # Dependencies to place before and after the objects being linked to
19492 # create a shared library.
19493 predep_objects=$lt_predep_objects
19494 postdep_objects=$lt_postdep_objects
19495 predeps=$lt_predeps
19496 postdeps=$lt_postdeps
19498 # The library search path used internally by the compiler when linking
19499 # a shared library.
19500 compiler_lib_search_path=$lt_compiler_lib_search_path
19502 # ### END LIBTOOL CONFIG
19508 cat <<\_LT_EOF
>> "$cfgfile"
19509 # AIX sometimes has problems with the GCC collect2 program. For some
19510 # reason, if we set the COLLECT_NAMES environment variable, the problems
19511 # vanish in a puff of smoke.
19512 if test "X${COLLECT_NAMES+set}" != Xset
; then
19514 export COLLECT_NAMES
19521 ltmain
="$ac_aux_dir/ltmain.sh"
19524 # We use sed instead of cat because bash on DJGPP gets confused if
19525 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19526 # text mode, it properly converts lines to CR/LF. This bash problem
19527 # is reportedly fixed, but why not run on old versions too?
19528 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19529 ||
(rm -f "$cfgfile"; exit 1)
19533 cat << \_LT_EOF
>> "$cfgfile"
19535 # func_dirname file append nondir_replacement
19536 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19537 # otherwise set result to NONDIR_REPLACEMENT.
19541 */*) func_dirname_result
="${1%/*}${2}" ;;
19542 * ) func_dirname_result
="${3}" ;;
19546 # func_basename file
19549 func_basename_result
="${1##*/}"
19552 # func_dirname_and_basename file append nondir_replacement
19553 # perform func_basename and func_dirname in a single function
19555 # dirname: Compute the dirname of FILE. If nonempty,
19556 # add APPEND to the result, otherwise set result
19557 # to NONDIR_REPLACEMENT.
19558 # value returned in "$func_dirname_result"
19559 # basename: Compute filename of FILE.
19560 # value retuned in "$func_basename_result"
19561 # Implementation must be kept synchronized with func_dirname
19562 # and func_basename. For efficiency, we do not delegate to
19563 # those functions but instead duplicate the functionality here.
19564 func_dirname_and_basename
()
19567 */*) func_dirname_result
="${1%/*}${2}" ;;
19568 * ) func_dirname_result
="${3}" ;;
19570 func_basename_result
="${1##*/}"
19573 # func_stripname prefix suffix name
19574 # strip PREFIX and SUFFIX off of NAME.
19575 # PREFIX and SUFFIX must not contain globbing or regex special
19576 # characters, hashes, percent signs, but SUFFIX may contain a leading
19577 # dot (in which case that matches only a dot).
19580 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19581 # positional parameters, so assign one to ordinary parameter first.
19582 func_stripname_result
=${3}
19583 func_stripname_result
=${func_stripname_result#"${1}"}
19584 func_stripname_result
=${func_stripname_result%"${2}"}
19590 func_opt_split_opt
=${1%%=*}
19591 func_opt_split_arg
=${1#*=}
19598 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19599 *) func_lo2o_result
=${1} ;;
19603 # func_xform libobj-or-source
19606 func_xform_result
=${1%.*}.lo
19609 # func_arith arithmetic-term...
19612 func_arith_result
=$
(( $
* ))
19616 # STRING may not start with a hyphen.
19619 func_len_result
=${#1}
19624 *) # Bourne compatible functions.
19625 cat << \_LT_EOF
>> "$cfgfile"
19627 # func_dirname file append nondir_replacement
19628 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19629 # otherwise set result to NONDIR_REPLACEMENT.
19632 # Extract subdirectory from the argument.
19633 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19634 if test "X$func_dirname_result" = "X${1}"; then
19635 func_dirname_result
="${3}"
19637 func_dirname_result
="$func_dirname_result${2}"
19641 # func_basename file
19644 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19648 # func_stripname prefix suffix name
19649 # strip PREFIX and SUFFIX off of NAME.
19650 # PREFIX and SUFFIX must not contain globbing or regex special
19651 # characters, hashes, percent signs, but SUFFIX may contain a leading
19652 # dot (in which case that matches only a dot).
19653 # func_strip_suffix prefix name
19657 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19658 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19663 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19664 my_sed_long_arg
='1s/^-[^=]*=//'
19669 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19670 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19676 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19679 # func_xform libobj-or-source
19682 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19685 # func_arith arithmetic-term...
19688 func_arith_result
=`expr "$@"`
19692 # STRING may not start with a hyphen.
19695 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19701 case $lt_shell_append in
19703 cat << \_LT_EOF
>> "$cfgfile"
19705 # func_append var value
19706 # Append VALUE to the end of shell variable VAR.
19714 cat << \_LT_EOF
>> "$cfgfile"
19716 # func_append var value
19717 # Append VALUE to the end of shell variable VAR.
19728 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19729 ||
(rm -f "$cfgfile"; exit 1)
19731 mv -f "$cfgfile" "$ofile" ||
19732 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19736 cat <<_LT_EOF >> "$ofile"
19738 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19740 # The linker used to build libraries.
19743 # How to create reloadable object files.
19744 reload_flag=$lt_reload_flag_CXX
19745 reload_cmds=$lt_reload_cmds_CXX
19747 # Commands used to build an old-style archive.
19748 old_archive_cmds=$lt_old_archive_cmds_CXX
19750 # A language specific compiler.
19751 CC=$lt_compiler_CXX
19753 # Is the compiler the GNU compiler?
19756 # Compiler flag to turn off builtin functions.
19757 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19759 # How to pass a linker flag through the compiler.
19760 wl=$lt_lt_prog_compiler_wl_CXX
19762 # Additional compiler flags for building library objects.
19763 pic_flag=$lt_lt_prog_compiler_pic_CXX
19765 # Compiler flag to prevent dynamic linking.
19766 link_static_flag=$lt_lt_prog_compiler_static_CXX
19768 # Does compiler simultaneously support -c and -o options?
19769 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19771 # Whether or not to add -lc for building shared libraries.
19772 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19774 # Whether or not to disallow shared libs when runtime libs are static.
19775 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19777 # Compiler flag to allow reflexive dlopens.
19778 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19780 # Compiler flag to generate shared objects directly from archives.
19781 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19783 # Whether the compiler copes with passing no objects directly.
19784 compiler_needs_object=$lt_compiler_needs_object_CXX
19786 # Create an old-style archive from a shared archive.
19787 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19789 # Create a temporary old-style archive to link instead of a shared archive.
19790 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19792 # Commands used to build a shared archive.
19793 archive_cmds=$lt_archive_cmds_CXX
19794 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19796 # Commands used to build a loadable module if different from building
19797 # a shared archive.
19798 module_cmds=$lt_module_cmds_CXX
19799 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19801 # Whether we are building with GNU ld or not.
19802 with_gnu_ld=$lt_with_gnu_ld_CXX
19804 # Flag that allows shared libraries with undefined symbols to be built.
19805 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19807 # Flag that enforces no undefined symbols.
19808 no_undefined_flag=$lt_no_undefined_flag_CXX
19810 # Flag to hardcode \$libdir into a binary during linking.
19811 # This must work even if \$libdir does not exist
19812 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19814 # If ld is used when linking, flag to hardcode \$libdir into a binary
19815 # during linking. This must work even if \$libdir does not exist.
19816 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19818 # Whether we need a single "-rpath" flag with a separated argument.
19819 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19821 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19822 # DIR into the resulting binary.
19823 hardcode_direct=$hardcode_direct_CXX
19825 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19826 # DIR into the resulting binary and the resulting library dependency is
19827 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19828 # library is relocated.
19829 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19831 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19832 # into the resulting binary.
19833 hardcode_minus_L=$hardcode_minus_L_CXX
19835 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19836 # into the resulting binary.
19837 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19839 # Set to "yes" if building a shared library automatically hardcodes DIR
19840 # into the library and all subsequent libraries and executables linked
19842 hardcode_automatic=$hardcode_automatic_CXX
19844 # Set to yes if linker adds runtime paths of dependent libraries
19845 # to runtime path list.
19846 inherit_rpath=$inherit_rpath_CXX
19848 # Whether libtool must link a program against all its dependency libraries.
19849 link_all_deplibs=$link_all_deplibs_CXX
19851 # Fix the shell variable \$srcfile for the compiler.
19852 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19854 # Set to "yes" if exported symbols are required.
19855 always_export_symbols=$always_export_symbols_CXX
19857 # The commands to list exported symbols.
19858 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19860 # Symbols that should not be listed in the preloaded symbols.
19861 exclude_expsyms=$lt_exclude_expsyms_CXX
19863 # Symbols that must always be exported.
19864 include_expsyms=$lt_include_expsyms_CXX
19866 # Commands necessary for linking programs (against libraries) with templates.
19867 prelink_cmds=$lt_prelink_cmds_CXX
19869 # Specify filename containing input files.
19870 file_list_spec=$lt_file_list_spec_CXX
19872 # How to hardcode a shared library path into an executable.
19873 hardcode_action=$hardcode_action_CXX
19875 # The directories searched by this compiler when creating a shared library.
19876 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19878 # Dependencies to place before and after the objects being linked to
19879 # create a shared library.
19880 predep_objects=$lt_predep_objects_CXX
19881 postdep_objects=$lt_postdep_objects_CXX
19882 predeps=$lt_predeps_CXX
19883 postdeps=$lt_postdeps_CXX
19885 # The library search path used internally by the compiler when linking
19886 # a shared library.
19887 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19889 # ### END LIBTOOL TAG CONFIG: CXX
19894 if test "$GCC" = yes; then
19895 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
19897 echo "/* generated for $CC */" > tmp-stdint.h
19900 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19902 #ifndef GCC_GENERATED_STDINT_H
19903 #define GCC_GENERATED_STDINT_H 1
19905 #include <sys/types.h>
19908 if test "$acx_cv_header_stdint" != stdint.h
; then
19909 echo "#include <stddef.h>" >> tmp-stdint.h
19911 if test "$acx_cv_header_stdint" != stddef.h
; then
19912 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
19915 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19916 /* glibc uses these symbols as guards to prevent redefinitions. */
19917 #ifdef __int8_t_defined
19922 #ifdef __uint32_t_defined
19928 # ----------------- done header, emit basic int types -------------
19929 if test "$acx_cv_header_stdint" = stddef.h
; then
19930 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19934 #ifndef __uint8_t_defined
19935 #define __uint8_t_defined
19937 typedef unsigned $acx_cv_type_int8_t uint8_t;
19944 #ifndef __uint16_t_defined
19945 #define __uint16_t_defined
19947 typedef unsigned $acx_cv_type_int16_t uint16_t;
19954 #ifndef __uint32_t_defined
19955 #define __uint32_t_defined
19957 typedef unsigned $acx_cv_type_int32_t uint32_t;
19964 #ifndef __int8_t_defined
19965 #define __int8_t_defined
19967 typedef $acx_cv_type_int8_t int8_t;
19974 #ifndef __int16_t_defined
19975 #define __int16_t_defined
19977 typedef $acx_cv_type_int16_t int16_t;
19984 #ifndef __int32_t_defined
19985 #define __int32_t_defined
19987 typedef $acx_cv_type_int32_t int32_t;
19992 elif test "$ac_cv_type_u_int32_t" = yes; then
19993 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19995 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
20008 #ifndef __uint8_t_defined
20009 #define __uint8_t_defined
20011 typedef u_int8_t uint8_t;
20018 #ifndef __uint16_t_defined
20019 #define __uint16_t_defined
20021 typedef u_int16_t uint16_t;
20028 #ifndef __uint32_t_defined
20029 #define __uint32_t_defined
20031 typedef u_int32_t uint32_t;
20037 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20039 /* Some systems have guard macros to prevent redefinitions, define them. */
20061 # ------------- done basic int types, emit int64_t types ------------
20062 if test "$ac_cv_type_uint64_t" = yes; then
20063 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20065 /* system headers have good uint64_t and int64_t */
20073 elif test "$ac_cv_type_u_int64_t" = yes; then
20074 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20076 /* system headers have an u_int64_t (and int64_t) */
20082 #ifndef __uint64_t_defined
20083 #define __uint64_t_defined
20085 typedef u_int64_t uint64_t;
20090 elif test -n "$acx_cv_type_int64_t"; then
20091 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20093 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
20097 typedef $acx_cv_type_int64_t int64_t;
20102 #ifndef __uint64_t_defined
20103 #define __uint64_t_defined
20105 typedef unsigned $acx_cv_type_int64_t uint64_t;
20111 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20113 /* some common heuristics for int64_t, using compiler-specific tests */
20114 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
20117 #ifndef __int64_t_defined
20119 typedef long long int64_t;
20126 typedef unsigned long long uint64_t;
20130 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
20131 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
20132 does not implement __extension__. But that compiler doesn't define
20134 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
20135 # define __extension__
20141 __extension__ typedef long long int64_t;
20147 __extension__ typedef unsigned long long uint64_t;
20151 #elif !defined __STRICT_ANSI__
20152 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
20157 typedef __int64 int64_t;
20163 typedef unsigned __int64 uint64_t;
20166 # endif /* compiler */
20168 #endif /* ANSI version */
20172 # ------------- done int64_t types, emit intptr types ------------
20173 if test "$ac_cv_type_uintptr_t" != yes; then
20174 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20176 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
20177 #ifndef __uintptr_t_defined
20179 typedef u$acx_cv_type_intptr_t uintptr_t;
20182 #ifndef __intptr_t_defined
20184 typedef $acx_cv_type_intptr_t intptr_t;
20190 # ------------- done intptr types, emit int_least types ------------
20191 if test "$ac_cv_type_int_least32_t" != yes; then
20192 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20194 /* Define int_least types */
20195 typedef int8_t int_least8_t;
20196 typedef int16_t int_least16_t;
20197 typedef int32_t int_least32_t;
20199 typedef int64_t int_least64_t;
20202 typedef uint8_t uint_least8_t;
20203 typedef uint16_t uint_least16_t;
20204 typedef uint32_t uint_least32_t;
20206 typedef uint64_t uint_least64_t;
20211 # ------------- done intptr types, emit int_fast types ------------
20212 if test "$ac_cv_type_int_fast32_t" != yes; then
20213 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20215 /* Define int_fast types. short is often slow */
20216 typedef int8_t int_fast8_t;
20217 typedef int int_fast16_t;
20218 typedef int32_t int_fast32_t;
20220 typedef int64_t int_fast64_t;
20223 typedef uint8_t uint_fast8_t;
20224 typedef unsigned int uint_fast16_t;
20225 typedef uint32_t uint_fast32_t;
20227 typedef uint64_t uint_fast64_t;
20232 if test "$ac_cv_type_uintmax_t" != yes; then
20233 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20235 /* Define intmax based on what we found */
20238 typedef int64_t intmax_t;
20240 typedef long intmax_t;
20245 typedef uint64_t uintmax_t;
20247 typedef unsigned long uintmax_t;
20253 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20255 #endif /* GCC_GENERATED_STDINT_H */
20258 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
20261 mv -f tmp-stdint.h gstdint.h
20265 "interception/Makefile":F
) cat > vpsed$$
<< \_EOF
20266 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20268 sed -f vpsed$$
$ac_file > tmp$$
20271 echo 'MULTISUBDIR =' >> $ac_file
20273 .
${multi_basedir}/config-ml.
in
20274 { ml_norecursion
=; unset ml_norecursion
;}
20276 "sanitizer_common/Makefile":F
) cat > vpsed$$
<< \_EOF
20277 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20279 sed -f vpsed$$
$ac_file > tmp$$
20282 echo 'MULTISUBDIR =' >> $ac_file
20284 .
${multi_basedir}/config-ml.
in
20285 { ml_norecursion
=; unset ml_norecursion
;}
20287 "libbacktrace/Makefile":F
) cat > vpsed$$
<< \_EOF
20288 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20290 sed -f vpsed$$
$ac_file > tmp$$
20293 echo 'MULTISUBDIR =' >> $ac_file
20295 .
${multi_basedir}/config-ml.
in
20296 { ml_norecursion
=; unset ml_norecursion
;}
20298 "lsan/Makefile":F
) cat > vpsed$$
<< \_EOF
20299 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20301 sed -f vpsed$$
$ac_file > tmp$$
20304 echo 'MULTISUBDIR =' >> $ac_file
20306 .
${multi_basedir}/config-ml.
in
20307 { ml_norecursion
=; unset ml_norecursion
;}
20309 "asan/Makefile":F
) cat > vpsed$$
<< \_EOF
20310 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20312 sed -f vpsed$$
$ac_file > tmp$$
20315 echo 'MULTISUBDIR =' >> $ac_file
20317 .
${multi_basedir}/config-ml.
in
20318 { ml_norecursion
=; unset ml_norecursion
;}
20320 "ubsan/Makefile":F
) cat > vpsed$$
<< \_EOF
20321 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20323 sed -f vpsed$$
$ac_file > tmp$$
20326 echo 'MULTISUBDIR =' >> $ac_file
20328 .
${multi_basedir}/config-ml.
in
20329 { ml_norecursion
=; unset ml_norecursion
;}
20331 "tsan/Makefile":F
) cat > vpsed$$
<< \_EOF
20332 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20334 sed -f vpsed$$
$ac_file > tmp$$
20337 echo 'MULTISUBDIR =' >> $ac_file
20339 .
${multi_basedir}/config-ml.
in
20340 { ml_norecursion
=; unset ml_norecursion
;}
20342 "hwasan/Makefile":F
) cat > vpsed$$
<< \_EOF
20343 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20345 sed -f vpsed$$
$ac_file > tmp$$
20348 echo 'MULTISUBDIR =' >> $ac_file
20350 .
${multi_basedir}/config-ml.
in
20351 { ml_norecursion
=; unset ml_norecursion
;}
20360 ac_clean_files
=$ac_clean_files_save
20362 test $ac_write_fail = 0 ||
20363 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20366 # configure is writing to config.log, and then calls config.status.
20367 # config.status does its own redirection, appending to config.log.
20368 # Unfortunately, on DOS this fails, as config.log is still kept open
20369 # by configure, so config.status won't be able to write to it; its
20370 # output is simply discarded. So we exec the FD to /dev/null,
20371 # effectively closing config.log, so it can be properly (re)opened and
20372 # appended to by config.status. When coming back to configure, we
20373 # need to make the FD available again.
20374 if test "$no_create" != yes; then
20376 ac_config_status_args
=
20377 test "$silent" = yes &&
20378 ac_config_status_args
="$ac_config_status_args --quiet"
20380 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20382 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20383 # would make configure fail if this is the last instruction.
20384 $ac_cs_success || as_fn_exit
1
20386 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20388 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}