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
655 SANITIZER_SUPPORTED_FALSE
656 SANITIZER_SUPPORTED_TRUE
657 USING_MAC_INTERPOSE_FALSE
658 USING_MAC_INTERPOSE_TRUE
664 HWASAN_SUPPORTED_FALSE
665 HWASAN_SUPPORTED_TRUE
670 ENABLE_DARWIN_AT_RPATH_FALSE
671 ENABLE_DARWIN_AT_RPATH_TRUE
691 am__fastdepCCAS_FALSE
705 MAINTAINER_MODE_FALSE
729 INSTALL_STRIP_PROGRAM
744 LIBSTDCXX_RAW_CXX_LDFLAGS
745 LIBSTDCXX_RAW_CXX_CXXFLAGS
797 program_transform_name
810 enable_option_checking
812 enable_version_specific_runtime_libs
813 enable_dependency_tracking
815 enable_maintainer_mode
823 enable_darwin_at_rpath
825 with_gcc_major_version_only
828 ac_precious_vars
='build_alias
845 # Initialize some variables set by options.
847 ac_init_version
=false
848 ac_unrecognized_opts
=
850 # The variables have the same names as the options, with
851 # dashes changed to underlines.
859 program_transform_name
=s
,x
,x
,
867 # Installation directory options.
868 # These are left unexpanded so users can "make install exec_prefix=/foo"
869 # and all the variables that are supposed to be based on exec_prefix
870 # by default will actually change.
871 # Use braces instead of parens because sh, perl, etc. also accept them.
872 # (The list follows the same order as the GNU Coding Standards.)
873 bindir
='${exec_prefix}/bin'
874 sbindir
='${exec_prefix}/sbin'
875 libexecdir
='${exec_prefix}/libexec'
876 datarootdir
='${prefix}/share'
877 datadir
='${datarootdir}'
878 sysconfdir
='${prefix}/etc'
879 sharedstatedir
='${prefix}/com'
880 localstatedir
='${prefix}/var'
881 includedir
='${prefix}/include'
882 oldincludedir
='/usr/include'
883 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
884 infodir
='${datarootdir}/info'
889 libdir
='${exec_prefix}/lib'
890 localedir
='${datarootdir}/locale'
891 mandir
='${datarootdir}/man'
897 # If the previous option needs an argument, assign it.
898 if test -n "$ac_prev"; then
899 eval $ac_prev=\
$ac_option
905 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error $?
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=no
;;
964 -docdir |
--docdir |
--docdi |
--doc |
--do)
966 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
969 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
971 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
974 -enable-* |
--enable-*)
975 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
978 as_fn_error $?
"invalid feature name: $ac_useropt"
979 ac_useropt_orig
=$ac_useropt
980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986 ac_unrecognized_sep
=', ';;
988 eval enable_
$ac_useropt=\
$ac_optarg ;;
990 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
991 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
992 |
--exec |
--exe |
--ex)
993 ac_prev
=exec_prefix
;;
994 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
995 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
996 |
--exec=* |
--exe=* |
--ex=*)
997 exec_prefix
=$ac_optarg ;;
999 -gas |
--gas |
--ga |
--g)
1000 # Obsolete; use --with-gas.
1003 -help |
--help |
--hel |
--he |
-h)
1004 ac_init_help
=long
;;
1005 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1006 ac_init_help
=recursive
;;
1007 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1008 ac_init_help
=short
;;
1010 -host |
--host |
--hos |
--ho)
1011 ac_prev
=host_alias
;;
1012 -host=* |
--host=* |
--hos=* |
--ho=*)
1013 host_alias
=$ac_optarg ;;
1015 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1017 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1019 htmldir
=$ac_optarg ;;
1021 -includedir |
--includedir |
--includedi |
--included |
--include \
1022 |
--includ |
--inclu |
--incl |
--inc)
1023 ac_prev
=includedir
;;
1024 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1025 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1026 includedir
=$ac_optarg ;;
1028 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1030 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1031 infodir
=$ac_optarg ;;
1033 -libdir |
--libdir |
--libdi |
--libd)
1035 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1036 libdir
=$ac_optarg ;;
1038 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1039 |
--libexe |
--libex |
--libe)
1040 ac_prev
=libexecdir
;;
1041 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1042 |
--libexe=* |
--libex=* |
--libe=*)
1043 libexecdir
=$ac_optarg ;;
1045 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1046 ac_prev
=localedir
;;
1047 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1048 localedir
=$ac_optarg ;;
1050 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1051 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1052 ac_prev
=localstatedir
;;
1053 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1054 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1055 localstatedir
=$ac_optarg ;;
1057 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1059 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1060 mandir
=$ac_optarg ;;
1062 -nfp |
--nfp |
--nf)
1063 # Obsolete; use --without-fp.
1066 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1067 |
--no-cr |
--no-c |
-n)
1070 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1071 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1074 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1075 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1076 |
--oldin |
--oldi |
--old |
--ol |
--o)
1077 ac_prev
=oldincludedir
;;
1078 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1079 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1080 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1081 oldincludedir
=$ac_optarg ;;
1083 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1085 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1086 prefix
=$ac_optarg ;;
1088 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1089 |
--program-pre |
--program-pr |
--program-p)
1090 ac_prev
=program_prefix
;;
1091 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1092 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1093 program_prefix
=$ac_optarg ;;
1095 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1096 |
--program-suf |
--program-su |
--program-s)
1097 ac_prev
=program_suffix
;;
1098 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1099 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1100 program_suffix
=$ac_optarg ;;
1102 -program-transform-name |
--program-transform-name \
1103 |
--program-transform-nam |
--program-transform-na \
1104 |
--program-transform-n |
--program-transform- \
1105 |
--program-transform |
--program-transfor \
1106 |
--program-transfo |
--program-transf \
1107 |
--program-trans |
--program-tran \
1108 |
--progr-tra |
--program-tr |
--program-t)
1109 ac_prev
=program_transform_name
;;
1110 -program-transform-name=* |
--program-transform-name=* \
1111 |
--program-transform-nam=* |
--program-transform-na=* \
1112 |
--program-transform-n=* |
--program-transform-=* \
1113 |
--program-transform=* |
--program-transfor=* \
1114 |
--program-transfo=* |
--program-transf=* \
1115 |
--program-trans=* |
--program-tran=* \
1116 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1117 program_transform_name
=$ac_optarg ;;
1119 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1121 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1122 pdfdir
=$ac_optarg ;;
1124 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1126 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1129 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1130 |
-silent |
--silent |
--silen |
--sile |
--sil)
1133 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1135 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1137 sbindir
=$ac_optarg ;;
1139 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1140 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1141 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1143 ac_prev
=sharedstatedir
;;
1144 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1145 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1146 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1148 sharedstatedir
=$ac_optarg ;;
1150 -site |
--site |
--sit)
1152 -site=* |
--site=* |
--sit=*)
1155 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1157 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1158 srcdir
=$ac_optarg ;;
1160 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1161 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1162 ac_prev
=sysconfdir
;;
1163 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1164 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1165 sysconfdir
=$ac_optarg ;;
1167 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1168 ac_prev
=target_alias
;;
1169 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1170 target_alias
=$ac_optarg ;;
1172 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1175 -version |
--version |
--versio |
--versi |
--vers |
-V)
1176 ac_init_version
=: ;;
1179 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 as_fn_error $?
"invalid package name: $ac_useropt"
1183 ac_useropt_orig
=$ac_useropt
1184 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1189 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval with_
$ac_useropt=\
$ac_optarg ;;
1194 -without-* |
--without-*)
1195 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1196 # Reject names that are not valid shell variable names.
1197 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1198 as_fn_error $?
"invalid package name: $ac_useropt"
1199 ac_useropt_orig
=$ac_useropt
1200 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201 case $ac_user_opts in
1205 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1206 ac_unrecognized_sep
=', ';;
1208 eval with_
$ac_useropt=no
;;
1211 # Obsolete; use --with-x.
1214 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1215 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1216 ac_prev
=x_includes
;;
1217 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1218 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1219 x_includes
=$ac_optarg ;;
1221 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1222 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1223 ac_prev
=x_libraries
;;
1224 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1225 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1226 x_libraries
=$ac_optarg ;;
1228 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1229 Try \`$0 --help' for more information"
1233 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1234 # Reject names that are not valid shell variable names.
1235 case $ac_envvar in #(
1236 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1237 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1239 eval $ac_envvar=\
$ac_optarg
1240 export $ac_envvar ;;
1243 # FIXME: should be removed in autoconf 3.0.
1244 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1245 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1246 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1247 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1253 if test -n "$ac_prev"; then
1254 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1255 as_fn_error $?
"missing argument to $ac_option"
1258 if test -n "$ac_unrecognized_opts"; then
1259 case $enable_option_checking in
1261 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1262 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266 # Check all directory arguments for consistency.
1267 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268 datadir sysconfdir sharedstatedir localstatedir includedir \
1269 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270 libdir localedir mandir
1272 eval ac_val
=\$
$ac_var
1273 # Remove trailing slashes.
1276 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1277 eval $ac_var=\
$ac_val;;
1279 # Be sure to have absolute directory names.
1281 [\\/$
]* | ?
:[\\/]* ) continue;;
1282 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1284 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1287 # There might be people who depend on the old broken behavior: `$host'
1288 # used to hold the argument of --host etc.
1289 # FIXME: To remove some day.
1292 target
=$target_alias
1294 # FIXME: To remove some day.
1295 if test "x$host_alias" != x
; then
1296 if test "x$build_alias" = x
; then
1297 cross_compiling
=maybe
1298 elif test "x$build_alias" != "x$host_alias"; then
1304 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1306 test "$silent" = yes && exec 6>/dev
/null
1309 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di
=`ls -di .` &&
1311 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1312 as_fn_error $?
"working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 as_fn_error $?
"pwd does not report name of working directory"
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted
=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir
=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$as_myself" : 'X\(//\)[^/]' \| \
1324 X"$as_myself" : 'X\(//\)$' \| \
1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted
=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1353 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1355 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1367 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 for ac_var
in $ac_precious_vars; do
1370 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1372 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1373 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking ...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --program-prefix=PREFIX prepend PREFIX to installed program names
1442 --program-suffix=SUFFIX append SUFFIX to installed program names
1443 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1446 --build=BUILD configure
for building on BUILD
[guessed
]
1447 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1448 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1452 if test -n "$ac_init_help"; then
1453 case $ac_init_help in
1454 short | recursive
) echo "Configuration of package-unused version-unused:";;
1459 --disable-option-checking ignore unrecognized
--enable/--with options
1460 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1461 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1462 --enable-multilib build many library versions
(default
)
1463 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1464 --enable-dependency-tracking
1465 do not reject slow dependency extractors
1466 --disable-dependency-tracking
1467 speeds up one-time build
1468 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1469 --disable-silent-rules verbose build output
(undo
: "make V=0")
1470 --enable-maintainer-mode
1471 enable make rules and dependencies not useful
(and
1472 sometimes confusing
) to the casual installer
1473 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1474 --enable-static[=PKGS
] build static libraries
[default
=yes]
1475 --enable-fast-install[=PKGS
]
1476 optimize
for fast installation
[default
=yes]
1477 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1478 --enable-darwin-at-rpath
1479 install libraries with @rpath
/library-name
, requires
1480 rpaths to be added to executables
1481 --disable-werror disable building with
-Werror
1482 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1485 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1486 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1487 --with-toolexeclibdir=DIR
1488 install libraries built with a cross compiler within
1490 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1492 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1493 --with-gcc-major-version-only
1494 use only GCC major number
in filesystem paths
1496 Some influential environment variables
:
1497 CC C compiler
command
1498 CFLAGS C compiler flags
1499 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1500 nonstandard directory
<lib dir
>
1501 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1502 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1503 you have headers
in a nonstandard directory
<include dir
>
1505 CXX C
++ compiler
command
1506 CXXFLAGS C
++ compiler flags
1507 CCAS assembler compiler
command (defaults to CC
)
1508 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1509 CXXCPP C
++ preprocessor
1511 Use these variables to override the choices made by
`configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1514 Report bugs to <libsanitizer>.
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1522 test -d "$ac_dir" ||
1523 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1531 # A ".." for each directory in $ac_dir_suffix.
1532 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1533 case $ac_top_builddir_sub in
1534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538 ac_abs_top_builddir=$ac_pwd
1539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1540 # for backward compatibility:
1541 ac_top_builddir=$ac_top_build_prefix
1544 .) # We are building in place.
1546 ac_top_srcdir=$ac_top_builddir_sub
1547 ac_abs_top_srcdir=$ac_pwd ;;
1548 [\\/]* | ?:[\\/]* ) # Absolute name.
1549 ac_srcdir=$srcdir$ac_dir_suffix;
1550 ac_top_srcdir=$srcdir
1551 ac_abs_top_srcdir=$srcdir ;;
1553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554 ac_top_srcdir=$ac_top_build_prefix$srcdir
1555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1559 cd "$ac_dir" || { ac_status=$?; continue; }
1560 # Check for guested configure.
1561 if test -f "$ac_srcdir/configure.gnu"; then
1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564 elif test -f "$ac_srcdir/configure"; then
1566 $SHELL "$ac_srcdir/configure" --help=recursive
1568 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 cd "$ac_pwd" || { ac_status=$?; break; }
1574 test -n "$ac_init_help" && exit $ac_status
1575 if $ac_init_version; then
1577 package-unused configure version-unused
1578 generated by GNU Autoconf 2.69
1580 Copyright (C) 2012 Free Software Foundation, Inc.
1581 This configure script is free software; the Free Software Foundation
1582 gives unlimited permission to copy, distribute and modify it.
1587 ## ------------------------ ##
1588 ## Autoconf initialization. ##
1589 ## ------------------------ ##
1591 # ac_fn_c_try_compile LINENO
1592 # --------------------------
1593 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1594 ac_fn_c_try_compile ()
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 rm -f conftest.$ac_objext
1598 if { { ac_try="$ac_compile"
1600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1601 *) ac_try_echo
=$ac_try;;
1603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_compile") 2>conftest.err
1607 if test -s conftest.err
; then
1608 grep -v '^ *+' conftest.err
>conftest.er1
1609 cat conftest.er1
>&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest.
$ac_objext; then :
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.
$ac_ext >&5
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status
$ac_retval
1627 } # ac_fn_c_try_compile
1629 # ac_fn_c_try_cpp LINENO
1630 # ----------------------
1631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1635 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1644 if test -s conftest.err; then
1645 grep -v '^ *+' conftest.err >conftest.er1
1646 cat conftest.er1 >&5
1647 mv -f conftest.er1 conftest.err
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } > conftest.i && {
1651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status $ac_retval
1666 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1669 # the include files in INCLUDES and setting the cache variable VAR
1671 ac_fn_c_check_header_mongrel ()
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 if eval \${$3+:} false; then :
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval \${$3+:} false; then :
1678 $as_echo_n "(cached) " >&6
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1682 $as_echo "$ac_res" >&6; }
1684 # Is the header compilable?
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1686 $as_echo_n "checking $2 usability... " >&6; }
1687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1692 if ac_fn_c_try_compile "$LINENO"; then :
1693 ac_header_compiler=yes
1695 ac_header_compiler=no
1697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1699 $as_echo "$ac_header_compiler" >&6; }
1701 # Is the header present?
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1703 $as_echo_n "checking $2 presence... " >&6; }
1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1708 if ac_fn_c_try_cpp "$LINENO"; then :
1709 ac_header_preproc=yes
1711 ac_header_preproc=no
1713 rm -f conftest.err conftest.i conftest.$ac_ext
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1715 $as_echo "$ac_header_preproc" >&6; }
1717 # So? What about this header?
1718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1721 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1723 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1727 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1729 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1731 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1733 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1736 ( $as_echo "## --------------------------- ##
1737 ## Report this to libsanitizer ##
1738 ## --------------------------- ##"
1739 ) | sed "s/^/$as_me: WARNING: /" >&2
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \${$3+:} false; then :
1745 $as_echo_n "(cached) " >&6
1747 eval "$3=\$ac_header_compiler"
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 } # ac_fn_c_check_header_mongrel
1757 # ac_fn_c_try_run LINENO
1758 # ----------------------
1759 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1760 # that executables *can* be run.
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 if { { ac_try="$ac_link"
1766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1767 *) ac_try_echo
=$ac_try;;
1769 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_link") 2>&5
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1775 { { case "(($ac_try" in
1776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_try") 2>&5
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; }; }; then :
1787 $as_echo "$as_me: program exited with status $ac_status" >&5
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1791 ac_retval=$ac_status
1793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 as_fn_set_status $ac_retval
1799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1800 # -------------------------------------------------------
1801 # Tests whether HEADER exists and can be compiled using the include files in
1802 # INCLUDES, setting the cache variable VAR accordingly.
1803 ac_fn_c_check_header_compile ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \${$3+:} false; then :
1809 $as_echo_n "(cached) " >&6
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1816 if ac_fn_c_try_compile "$LINENO"; then :
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_header_compile
1830 # ac_fn_cxx_try_compile LINENO
1831 # ----------------------------
1832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1833 ac_fn_cxx_try_compile ()
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 rm -f conftest.$ac_objext
1837 if { { ac_try="$ac_compile"
1839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1840 *) ac_try_echo
=$ac_try;;
1842 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_compile") 2>conftest.err
1846 if test -s conftest.err
; then
1847 grep -v '^ *+' conftest.err
>conftest.er1
1848 cat conftest.er1
>&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } && {
1853 test -z "$ac_cxx_werror_flag" ||
1854 test ! -s conftest.err
1855 } && test -s conftest.
$ac_objext; then :
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.
$ac_ext >&5
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 as_fn_set_status
$ac_retval
1866 } # ac_fn_cxx_try_compile
1868 # ac_fn_c_try_link LINENO
1869 # -----------------------
1870 # Try to link conftest.$ac_ext, and return whether this succeeded.
1873 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1874 rm -f conftest.
$ac_objext conftest
$ac_exeext
1875 if { { ac_try
="$ac_link"
1877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1878 *) ac_try_echo=$ac_try;;
1880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1881 $as_echo "$ac_try_echo"; } >&5
1882 (eval "$ac_link") 2>conftest.err
1884 if test -s conftest.err; then
1885 grep -v '^ *+' conftest.err >conftest.er1
1886 cat conftest.er1 >&5
1887 mv -f conftest.er1 conftest.err
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890 test $ac_status = 0; } && {
1891 test -z "$ac_c_werror_flag" ||
1892 test ! -s conftest.err
1893 } && test -s conftest$ac_exeext && {
1894 test "$cross_compiling" = yes ||
1895 test -x conftest$ac_exeext
1899 $as_echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.$ac_ext >&5
1904 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1905 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1906 # interfere with the next link command; also delete a directory that is
1907 # left behind by Apple's compiler. We do this before executing the actions.
1908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval
1912 } # ac_fn_c_try_link
1914 # ac_fn_c_check_func LINENO FUNC VAR
1915 # ----------------------------------
1916 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1917 ac_fn_c_check_func ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval \${$3+:} false; then :
1923 $as_echo_n "(cached) " >&6
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1929 #define $2 innocuous_$2
1931 /* System header to define __stub macros and hopefully few prototypes,
1932 which can conflict with char $2 (); below.
1933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934 <limits.h> exists even on freestanding compilers. */
1937 # include <limits.h>
1939 # include <assert.h>
1944 /* Override any GCC internal prototype to avoid an error.
1945 Use char because int might match the return type of a GCC
1946 builtin and then its argument prototype would still apply. */
1951 /* The GNU C library defines this for functions which it implements
1952 to always fail with ENOSYS. Some functions are actually named
1953 something starting with __ and the normal name is an alias. */
1954 #if defined __stub_$2 || defined __stub___$2
1966 if ac_fn_c_try_link "$LINENO"; then :
1971 rm -f core conftest.err conftest.$ac_objext \
1972 conftest$ac_exeext conftest.$ac_ext
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1979 } # ac_fn_c_check_func
1981 # ac_fn_cxx_try_cpp LINENO
1982 # ------------------------
1983 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1984 ac_fn_cxx_try_cpp ()
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 if { { ac_try="$ac_cpp conftest.$ac_ext"
1989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1990 *) ac_try_echo
=$ac_try;;
1992 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1996 if test -s conftest.err
; then
1997 grep -v '^ *+' conftest.err
>conftest.er1
1998 cat conftest.er1
>&5
1999 mv -f conftest.er1 conftest.err
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } > conftest.i
&& {
2003 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2004 test ! -s conftest.err
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.
$ac_ext >&5
2013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014 as_fn_set_status
$ac_retval
2016 } # ac_fn_cxx_try_cpp
2018 # ac_fn_cxx_try_link LINENO
2019 # -------------------------
2020 # Try to link conftest.$ac_ext, and return whether this succeeded.
2021 ac_fn_cxx_try_link
()
2023 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2024 rm -f conftest.
$ac_objext conftest
$ac_exeext
2025 if { { ac_try
="$ac_link"
2027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_link") 2>conftest.err
2034 if test -s conftest.err; then
2035 grep -v '^ *+' conftest.err >conftest.er1
2036 cat conftest.er1 >&5
2037 mv -f conftest.er1 conftest.err
2039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2040 test $ac_status = 0; } && {
2041 test -z "$ac_cxx_werror_flag" ||
2042 test ! -s conftest.err
2043 } && test -s conftest$ac_exeext && {
2044 test "$cross_compiling" = yes ||
2045 test -x conftest$ac_exeext
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2054 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2055 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2056 # interfere with the next link command; also delete a directory that is
2057 # left behind by Apple's compiler. We do this before executing the actions.
2058 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060 as_fn_set_status $ac_retval
2062 } # ac_fn_cxx_try_link
2064 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2065 # --------------------------------------------
2066 # Tries to find the compile-time value of EXPR in a program that includes
2067 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2069 ac_fn_c_compute_int ()
2071 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2072 if test "$cross_compiling" = yes; then
2073 # Depending upon the size, compute the lo and hi bounds.
2074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2075 /* end confdefs.h. */
2080 static int test_array [1 - 2 * !(($2) >= 0)];
2082 return test_array [0];
2088 if ac_fn_c_try_compile "$LINENO"; then :
2091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092 /* end confdefs.h. */
2097 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2099 return test_array [0];
2105 if ac_fn_c_try_compile "$LINENO"; then :
2106 ac_hi=$ac_mid; break
2108 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2109 if test $ac_lo -le $ac_mid; then
2113 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2124 static int test_array [1 - 2 * !(($2) < 0)];
2126 return test_array [0];
2132 if ac_fn_c_try_compile "$LINENO"; then :
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2141 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2143 return test_array [0];
2149 if ac_fn_c_try_compile "$LINENO"; then :
2150 ac_lo=$ac_mid; break
2152 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2153 if test $ac_mid -le $ac_hi; then
2157 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167 # Binary search between lo and hi bounds.
2168 while test "x$ac_lo" != "x$ac_hi"; do
2169 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2171 /* end confdefs.h. */
2176 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2178 return test_array [0];
2184 if ac_fn_c_try_compile "$LINENO"; then :
2187 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2192 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2199 static long int longval () { return $2; }
2200 static unsigned long int ulongval () { return $2; }
2207 FILE *f = fopen ("conftest.val", "w");
2212 long int i = longval ();
2215 fprintf (f, "%ld", i);
2219 unsigned long int i = ulongval ();
2222 fprintf (f, "%lu", i);
2224 /* Do not output a trailing newline, as this causes \r\n confusion
2225 on some platforms. */
2226 return ferror (f) || fclose (f) != 0;
2232 if ac_fn_c_try_run "$LINENO"; then :
2233 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2238 conftest.$ac_objext conftest.beam conftest.$ac_ext
2242 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2243 as_fn_set_status $ac_retval
2245 } # ac_fn_c_compute_int
2247 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2248 # -------------------------------------------
2249 # Tests whether TYPE exists after having included INCLUDES, setting cache
2250 # variable VAR accordingly.
2251 ac_fn_c_check_type ()
2253 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2255 $as_echo_n "checking for $2... " >&6; }
2256 if eval \${$3+:} false; then :
2257 $as_echo_n "(cached) " >&6
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2272 if ac_fn_c_try_compile "$LINENO"; then :
2273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2274 /* end confdefs.h. */
2285 if ac_fn_c_try_compile "$LINENO"; then :
2290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2296 $as_echo "$ac_res" >&6; }
2297 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2299 } # ac_fn_c_check_type
2301 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2302 # ---------------------------------------------
2303 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2305 ac_fn_c_check_decl ()
2307 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2308 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2309 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2311 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2312 if eval \${$3+:} false; then :
2313 $as_echo_n "(cached) " >&6
2315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2316 /* end confdefs.h. */
2321 #ifndef $as_decl_name
2323 (void) $as_decl_use;
2325 (void) $as_decl_name;
2333 if ac_fn_c_try_compile "$LINENO"; then :
2338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2342 $as_echo "$ac_res" >&6; }
2343 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2345 } # ac_fn_c_check_decl
2346 cat >config.log <<_ACEOF
2347 This file contains any messages produced by compilers while
2348 running configure, to aid debugging if configure makes a mistake.
2350 It was created by package-unused $as_me version-unused, which was
2351 generated by GNU Autoconf 2.69. Invocation command line was
2363 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2364 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2365 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2366 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2367 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2369 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2370 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2372 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2373 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2374 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2375 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2376 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2377 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2378 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir=.
2387 $as_echo "PATH: $as_dir"
2403 # Keep a trace of the command line.
2404 # Strip out --no-create and --no-recursion so they do not pile up.
2405 # Strip out --silent because we don't want to record it for future runs.
2406 # Also quote any args containing shell meta-characters.
2407 # Make two passes to allow for proper duplicate-argument suppression.
2411 ac_must_keep_next=false
2417 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2418 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2419 | -silent | --silent | --silen | --sile | --sil)
2422 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2425 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2427 as_fn_append ac_configure_args1 " '$ac_arg'"
2428 if test $ac_must_keep_next = true; then
2429 ac_must_keep_next=false # Got value, back to normal.
2432 *=* | --config-cache | -C | -disable-* | --disable-* \
2433 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2434 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2435 | -with-* | --with-* | -without-* | --without-* | --x)
2436 case "$ac_configure_args0 " in
2437 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2440 -* ) ac_must_keep_next=true ;;
2443 as_fn_append ac_configure_args " '$ac_arg'"
2448 { ac_configure_args0=; unset ac_configure_args0;}
2449 { ac_configure_args1=; unset ac_configure_args1;}
2451 # When interrupted or exit'd, cleanup temporary files, and complete
2452 # config.log. We remove comments because anyway the quotes in there
2453 # would cause problems or look ugly.
2454 # WARNING: Use '\'' to represent an apostrophe within the trap.
2455 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2456 trap 'exit_status=$?
2457 # Save into config.log some information that might help in debugging.
2461 $as_echo "## ---------------- ##
2462 ## Cache variables. ##
2463 ## ---------------- ##"
2465 # The following way of writing the cache mishandles newlines in values,
2467 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2468 eval ac_val=\$$ac_var
2472 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2473 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2476 _ | IFS | as_nl) ;; #(
2477 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2478 *) { eval $ac_var=; unset $ac_var;} ;;
2483 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2484 *${as_nl}ac_space=\ *)
2486 "s/'\''/'\''\\\\'\'''\''/g;
2487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2490 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2497 $as_echo "## ----------------- ##
2498 ## Output variables. ##
2499 ## ----------------- ##"
2501 for ac_var in $ac_subst_vars
2503 eval ac_val=\$$ac_var
2505 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2507 $as_echo "$ac_var='\''$ac_val'\''"
2511 if test -n "$ac_subst_files"; then
2512 $as_echo "## ------------------- ##
2513 ## File substitutions. ##
2514 ## ------------------- ##"
2516 for ac_var in $ac_subst_files
2518 eval ac_val=\$$ac_var
2520 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2522 $as_echo "$ac_var='\''$ac_val'\''"
2527 if test -s confdefs.h; then
2528 $as_echo "## ----------- ##
2535 test "$ac_signal" != 0 &&
2536 $as_echo "$as_me: caught signal $ac_signal"
2537 $as_echo "$as_me: exit $exit_status"
2539 rm -f core *.core core.conftest.* &&
2540 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2543 for ac_signal in 1 2 13 15; do
2544 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2548 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2549 rm -f -r conftest* confdefs.h
2551 $as_echo "/* confdefs.h */" > confdefs.h
2553 # Predefined preprocessor variables.
2555 cat >>confdefs.h <<_ACEOF
2556 #define PACKAGE_NAME "$PACKAGE_NAME"
2559 cat >>confdefs.h <<_ACEOF
2560 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2563 cat >>confdefs.h <<_ACEOF
2564 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2567 cat >>confdefs.h <<_ACEOF
2568 #define PACKAGE_STRING "$PACKAGE_STRING"
2571 cat >>confdefs.h <<_ACEOF
2572 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2575 cat >>confdefs.h <<_ACEOF
2576 #define PACKAGE_URL "$PACKAGE_URL"
2580 # Let the site file select an alternate cache file if it wants to.
2581 # Prefer an explicitly selected file to automatically selected ones.
2584 if test -n "$CONFIG_SITE"; then
2585 # We do not want a PATH search for config.site.
2586 case $CONFIG_SITE in #((
2587 -*) ac_site_file1=./$CONFIG_SITE;;
2588 */*) ac_site_file1=$CONFIG_SITE;;
2589 *) ac_site_file1=./$CONFIG_SITE;;
2591 elif test "x$prefix" != xNONE; then
2592 ac_site_file1=$prefix/share/config.site
2593 ac_site_file2=$prefix/etc/config.site
2595 ac_site_file1=$ac_default_prefix/share/config.site
2596 ac_site_file2=$ac_default_prefix/etc/config.site
2598 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2600 test "x$ac_site_file" = xNONE && continue
2601 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2603 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2604 sed 's/^/| /' "$ac_site_file" >&5
2606 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2608 as_fn_error $? "failed to load site
script $ac_site_file
2609 See \
`config.log' for more details" "$LINENO" 5; }
2613 if test -r "$cache_file"; then
2614 # Some versions of bash will fail to source /dev/null (special files
2615 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2616 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2618 $as_echo "$as_me: loading cache $cache_file" >&6;}
2620 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2621 *) . "./$cache_file";;
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2626 $as_echo "$as_me: creating cache $cache_file" >&6;}
2630 # Check that the precious variables saved in the cache have kept the same
2632 ac_cache_corrupted=false
2633 for ac_var in $ac_precious_vars; do
2634 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2635 eval ac_new_set=\$ac_env_${ac_var}_set
2636 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2637 eval ac_new_val=\$ac_env_${ac_var}_value
2638 case $ac_old_set,$ac_new_set in
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2641 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2642 ac_cache_corrupted=: ;;
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2645 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2646 ac_cache_corrupted=: ;;
2649 if test "x$ac_old_val" != "x$ac_new_val"; then
2650 # differences in whitespace do not lead to failure.
2651 ac_old_val_w=`echo x
$ac_old_val`
2652 ac_new_val_w=`echo x
$ac_new_val`
2653 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2655 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2656 ac_cache_corrupted=:
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2659 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2660 eval $ac_var=\$ac_old_val
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2663 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2665 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2668 # Pass precious variables to config.status.
2669 if test "$ac_new_set" = set; then
2671 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2672 *) ac_arg=$ac_var=$ac_new_val ;;
2674 case " $ac_configure_args " in
2675 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2676 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2680 if $ac_cache_corrupted; then
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2684 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2685 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2687 ## -------------------- ##
2688 ## Main body of script. ##
2689 ## -------------------- ##
2692 ac_cpp='$CPP $CPPFLAGS'
2693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2703 # Default to --enable-multilib
2704 # Check whether --enable-multilib was given.
2705 if test "${enable_multilib+set}" = set; then :
2706 enableval=$enable_multilib; case "$enableval" in
2707 yes) multilib=yes ;;
2709 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2716 # We may get other options which we leave undocumented:
2717 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2718 # See config-ml.in if you want the gory details.
2720 if test "$srcdir" = "."; then
2721 if test "$with_target_subdir" != "."; then
2722 multi_basedir="$srcdir/$with_multisrctop../.."
2724 multi_basedir="$srcdir/$with_multisrctop.."
2727 multi_basedir="$srcdir/.."
2731 # Even if the default multilib is not a cross compilation,
2732 # it may be that some of the other multilibs are.
2733 if test $cross_compiling = no && test $multilib = yes \
2734 && test "x${with_multisubdir}" != x ; then
2735 cross_compiling=maybe
2738 ac_config_commands="$ac_config_commands default-1"
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2742 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2743 # Check whether --enable-version-specific-runtime-libs was given.
2744 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2745 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2746 yes) version_specific_libs=yes ;;
2747 no) version_specific_libs=no ;;
2748 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2751 version_specific_libs=no
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2755 $as_echo "$version_specific_libs" >&6; }
2758 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2759 if test -f "$ac_dir/install-sh"; then
2761 ac_install_sh="$ac_aux_dir/install-sh -c"
2763 elif test -f "$ac_dir/install.sh"; then
2765 ac_install_sh="$ac_aux_dir/install.sh -c"
2767 elif test -f "$ac_dir/shtool"; then
2769 ac_install_sh="$ac_aux_dir/shtool install -c"
2773 if test -z "$ac_aux_dir"; then
2774 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2777 # These three variables are undocumented and unsupported,
2778 # and are intended to be withdrawn in a future Autoconf release.
2779 # They can cause serious problems if a builder's source tree is in a directory
2780 # whose full name contains unusual characters.
2781 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2782 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2783 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2786 # Expand $ac_aux_dir to an absolute path.
2787 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2790 ac_cpp='$CPP $CPPFLAGS'
2791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2794 if test -n "$ac_tool_prefix"; then
2795 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2796 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798 $as_echo_n "checking for $ac_word... " >&6; }
2799 if ${ac_cv_prog_CC+:} false; then :
2800 $as_echo_n "(cached) " >&6
2802 if test -n "$CC"; then
2803 ac_cv_prog_CC="$CC" # Let the user override the test.
2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir=.
2810 for ac_exec_ext in '' $ac_executable_extensions; do
2811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2812 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 if test -n "$CC"; then
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2825 $as_echo "$CC" >&6; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828 $as_echo "no" >&6; }
2833 if test -z "$ac_cv_prog_CC"; then
2835 # Extract the first word of "gcc", so it can be a program name with args.
2836 set dummy gcc; ac_word=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2840 $as_echo_n "(cached) " >&6
2842 if test -n "$ac_ct_CC"; then
2843 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir=.
2850 for ac_exec_ext in '' $ac_executable_extensions; do
2851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2852 ac_cv_prog_ac_ct_CC="gcc"
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2863 if test -n "$ac_ct_CC"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2865 $as_echo "$ac_ct_CC" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2871 if test "x$ac_ct_CC" = x; then
2874 case $cross_compiling:$ac_tool_warned in
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2878 ac_tool_warned=yes ;;
2886 if test -z "$CC"; then
2887 if test -n "$ac_tool_prefix"; then
2888 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2889 set dummy ${ac_tool_prefix}cc; ac_word=$2
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891 $as_echo_n "checking for $ac_word... " >&6; }
2892 if ${ac_cv_prog_CC+:} false; then :
2893 $as_echo_n "(cached) " >&6
2895 if test -n "$CC"; then
2896 ac_cv_prog_CC="$CC" # Let the user override the test.
2898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 test -z "$as_dir" && as_dir=.
2903 for ac_exec_ext in '' $ac_executable_extensions; do
2904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2905 ac_cv_prog_CC="${ac_tool_prefix}cc"
2906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2916 if test -n "$CC"; then
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2918 $as_echo "$CC" >&6; }
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2927 if test -z "$CC"; then
2928 # Extract the first word of "cc", so it can be a program name with args.
2929 set dummy cc; ac_word=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if ${ac_cv_prog_CC+:} false; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$CC"; then
2936 ac_cv_prog_CC="$CC" # Let the user override the test.
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2947 ac_prog_rejected=yes
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 if test $ac_prog_rejected = yes; then
2959 # We found a bogon in the path, so make sure we never use it.
2960 set dummy $ac_cv_prog_CC
2962 if test $# != 0; then
2963 # We chose a different compiler from the bogus one.
2964 # However, it has the same basename, so the bogon will be chosen
2965 # first if we set CC to just the basename; use the full file name.
2967 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2973 if test -n "$CC"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2975 $as_echo "$CC" >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2983 if test -z "$CC"; then
2984 if test -n "$ac_tool_prefix"; then
2985 for ac_prog in cl.exe
2987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2988 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990 $as_echo_n "checking for $ac_word... " >&6; }
2991 if ${ac_cv_prog_CC+:} false; then :
2992 $as_echo_n "(cached) " >&6
2994 if test -n "$CC"; then
2995 ac_cv_prog_CC="$CC" # Let the user override the test.
2997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 test -z "$as_dir" && as_dir=.
3002 for ac_exec_ext in '' $ac_executable_extensions; do
3003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3004 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 if test -n "$CC"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3017 $as_echo "$CC" >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 $as_echo "no" >&6; }
3024 test -n "$CC" && break
3027 if test -z "$CC"; then
3029 for ac_prog in cl.exe
3031 # Extract the first word of "$ac_prog", so it can be a program name with args.
3032 set dummy $ac_prog; ac_word=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3036 $as_echo_n "(cached) " >&6
3038 if test -n "$ac_ct_CC"; then
3039 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048 ac_cv_prog_ac_ct_CC="$ac_prog"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3059 if test -n "$ac_ct_CC"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3061 $as_echo "$ac_ct_CC" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3068 test -n "$ac_ct_CC" && break
3071 if test "x$ac_ct_CC" = x; then
3074 case $cross_compiling:$ac_tool_warned in
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3078 ac_tool_warned=yes ;;
3087 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3089 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3090 See \
`config.log' for more details" "$LINENO" 5; }
3092 # Provide some information about the compiler.
3093 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3096 for ac_option in --version -v -V -qversion; do
3097 { { ac_try="$ac_compiler $ac_option >&5"
3099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3100 *) ac_try_echo
=$ac_try;;
3102 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103 $as_echo "$ac_try_echo"; } >&5
3104 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3106 if test -s conftest.err
; then
3108 ... rest of stderr output deleted ...
3109 10q' conftest.err
>conftest.er1
3110 cat conftest.er1
>&5
3112 rm -f conftest.er1 conftest.err
3113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114 test $ac_status = 0; }
3117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3128 ac_clean_files_save
=$ac_clean_files
3129 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3130 # Try to create an executable without -o first, disregard a.out.
3131 # It will help us diagnose broken compilers, and finding out an intuition
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3134 $as_echo_n "checking whether the C compiler works... " >&6; }
3135 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3137 # The possible output files:
3138 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3141 for ac_file
in $ac_files
3144 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3145 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3150 if { { ac_try
="$ac_link_default"
3152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3156 $as_echo "$ac_try_echo"; } >&5
3157 (eval "$ac_link_default") 2>&5
3159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3160 test $ac_status = 0; }; then :
3161 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3162 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3163 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3164 # so that the user can short-circuit this test for compilers unknown to
3166 for ac_file in $ac_files ''
3168 test -f "$ac_file" || continue
3170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3173 # We found the default executable, but exeext='' is most
3177 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3179 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3181 # We set ac_cv_exeext here because the later test for it is not
3182 # safe: cross compilers may not add the suffix if given an `-o'
3183 # argument, so we may need to know it at that point already.
3184 # Even if this section looks crufty: it has the advantage of
3191 test "$ac_cv_exeext" = no && ac_cv_exeext=
3196 if test -z "$ac_file"; then :
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3199 $as_echo "$as_me: failed program was:" >&5
3200 sed 's
/^
/|
/' conftest.$ac_ext >&5
3202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3203 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3204 as_fn_error 77 "C compiler cannot create executables
3205 See \`config.log
' for more details" "$LINENO" 5; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3208 $as_echo "yes" >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3211 $as_echo_n "checking for C compiler default output file name... " >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3213 $as_echo "$ac_file" >&6; }
3214 ac_exeext=$ac_cv_exeext
3216 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3217 ac_clean_files=$ac_clean_files_save
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3219 $as_echo_n "checking for suffix of executables... " >&6; }
3220 if { { ac_try="$ac_link"
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_link") 2>&5
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }; then :
3231 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3232 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3233 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3235 for ac_file
in conftest.exe conftest conftest.
*; do
3236 test -f "$ac_file" ||
continue
3238 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3239 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3247 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3248 See \`config.log' for more details" "$LINENO" 5; }
3250 rm -f conftest conftest
$ac_cv_exeext
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3252 $as_echo "$ac_cv_exeext" >&6; }
3254 rm -f conftest.
$ac_ext
3255 EXEEXT
=$ac_cv_exeext
3257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3263 FILE *f = fopen ("conftest.out", "w");
3264 return ferror (f) || fclose (f) != 0;
3270 ac_clean_files
="$ac_clean_files conftest.out"
3271 # Check that the compiler produces executables we can run. If not, either
3272 # the compiler is broken, or we cross compile.
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3274 $as_echo_n "checking whether we are cross compiling... " >&6; }
3275 if test "$cross_compiling" != yes; then
3276 { { ac_try
="$ac_link"
3278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282 $as_echo "$ac_try_echo"; } >&5
3283 (eval "$ac_link") 2>&5
3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286 test $ac_status = 0; }
3287 if { ac_try='./conftest$ac_cv_exeext'
3288 { { case "(($ac_try" in
3289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3290 *) ac_try_echo
=$ac_try;;
3292 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293 $as_echo "$ac_try_echo"; } >&5
3294 (eval "$ac_try") 2>&5
3296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297 test $ac_status = 0; }; }; then
3300 if test "$cross_compiling" = maybe
; then
3303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3305 as_fn_error $?
"cannot run C compiled programs.
3306 If you meant to cross compile, use \`--host'.
3307 See \`config.log' for more details" "$LINENO" 5; }
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3312 $as_echo "$cross_compiling" >&6; }
3314 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3315 ac_clean_files
=$ac_clean_files_save
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3317 $as_echo_n "checking for suffix of object files... " >&6; }
3318 if ${ac_cv_objext+:} false
; then :
3319 $as_echo_n "(cached) " >&6
3321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3332 rm -f conftest.o conftest.obj
3333 if { { ac_try
="$ac_compile"
3335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
3340 (eval "$ac_compile") 2>&5
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
3344 for ac_file in conftest.o conftest.obj conftest.*; do
3345 test -f "$ac_file" || continue;
3347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3348 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3353 $as_echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.$ac_ext >&5
3356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3359 See \
`config.log' for more details" "$LINENO" 5; }
3361 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3364 $as_echo "$ac_cv_objext" >&6; }
3365 OBJEXT=$ac_cv_objext
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3368 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3369 if ${ac_cv_c_compiler_gnu+:} false; then :
3370 $as_echo_n "(cached) " >&6
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3386 if ac_fn_c_try_compile "$LINENO"; then :
3391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3396 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3397 if test $ac_compiler_gnu = yes; then
3402 ac_test_CFLAGS=${CFLAGS+set}
3403 ac_save_CFLAGS=$CFLAGS
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3405 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3406 if ${ac_cv_prog_cc_g+:} false; then :
3407 $as_echo_n "(cached) " >&6
3409 ac_save_c_werror_flag=$ac_c_werror_flag
3410 ac_c_werror_flag=yes
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3424 if ac_fn_c_try_compile "$LINENO"; then :
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3439 if ac_fn_c_try_compile "$LINENO"; then :
3442 ac_c_werror_flag=$ac_save_c_werror_flag
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3455 if ac_fn_c_try_compile "$LINENO"; then :
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463 ac_c_werror_flag=$ac_save_c_werror_flag
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3466 $as_echo "$ac_cv_prog_cc_g" >&6; }
3467 if test "$ac_test_CFLAGS" = set; then
3468 CFLAGS=$ac_save_CFLAGS
3469 elif test $ac_cv_prog_cc_g = yes; then
3470 if test "$GCC" = yes; then
3476 if test "$GCC" = yes; then
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3483 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3484 if ${ac_cv_prog_cc_c89+:} false; then :
3485 $as_echo_n "(cached) " >&6
3487 ac_cv_prog_cc_c89=no
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h. */
3494 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3495 struct buf { int x; };
3496 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3497 static char *e (p, i)
3503 static char *f (char * (*g) (char **, int), char **p, ...)
3508 s = g (p, va_arg (v,int));
3513 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3514 function prototypes and stuff, but not '\xHH' hex character constants.
3515 These don't provoke an error unfortunately, instead are silently treated
3516 as 'x'. The following induces an error, until -std is added to get
3517 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3518 array size at least. It's necessary to write '\x00'==0 to get something
3519 that's true only with -std. */
3520 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3522 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3523 inside strings and character constants. */
3525 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3527 int test (int i, double x);
3528 struct s1 {int (*f) (int a);};
3529 struct s2 {int (*f) (double a);};
3530 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3536 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3541 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3542 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3544 CC="$ac_save_CC $ac_arg"
3545 if ac_fn_c_try_compile "$LINENO"; then :
3546 ac_cv_prog_cc_c89=$ac_arg
3548 rm -f core conftest.err conftest.$ac_objext
3549 test "x$ac_cv_prog_cc_c89" != "xno" && break
3551 rm -f conftest.$ac_ext
3556 case "x$ac_cv_prog_cc_c89" in
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3559 $as_echo "none needed" >&6; } ;;
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3562 $as_echo "unsupported" >&6; } ;;
3564 CC="$CC $ac_cv_prog_cc_c89"
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3566 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3568 if test "x$ac_cv_prog_cc_c89" != xno; then :
3573 ac_cpp='$CPP $CPPFLAGS'
3574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3579 ac_cpp='$CPP $CPPFLAGS'
3580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3584 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3585 if ${am_cv_prog_cc_c_o+:} false; then :
3586 $as_echo_n "(cached) " >&6
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3599 # Make sure it works both with $CC and with simple cc.
3600 # Following AC_PROG_CC_C_O, we do the test twice because some
3601 # compilers refuse to overwrite an existing .o file with -o,
3602 # though they will create one.
3603 am_cv_prog_cc_c_o=yes
3605 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3606 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } \
3610 && test -f conftest2.$ac_objext; then
3613 am_cv_prog_cc_c_o=no
3617 rm -f core conftest*
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3621 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3622 if test "$am_cv_prog_cc_c_o" != yes; then
3623 # Losing compiler, so override with the script.
3624 # FIXME: It is wrong to rewrite CC.
3625 # But if we don't then we get into trouble of one sort or another.
3626 # A longer-term fix would be to have automake use am__CC in this case,
3627 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3628 CC="$am_aux_dir/compile $CC"
3631 ac_cpp='$CPP $CPPFLAGS'
3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3639 ac_cpp='$CPP $CPPFLAGS'
3640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3644 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3645 # On Suns, sometimes $CPP names a directory.
3646 if test -n "$CPP" && test -d "$CPP"; then
3649 if test -z "$CPP"; then
3650 if ${ac_cv_prog_CPP+:} false; then :
3651 $as_echo_n "(cached) " >&6
3653 # Double quotes because CPP needs to be expanded
3654 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3657 for ac_c_preproc_warn_flag in '' yes
3659 # Use a header file that comes with gcc, so configuring glibc
3660 # with a fresh cross-compiler works.
3661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3662 # <limits.h> exists even on freestanding compilers.
3663 # On the NeXT, cc -E runs the code through the compiler's parser,
3664 # not just through cpp. "Syntax error" is here to catch this case.
3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h. */
3668 # include <limits.h>
3670 # include <assert.h>
3674 if ac_fn_c_try_cpp "$LINENO"; then :
3677 # Broken: fails on valid input.
3680 rm -f conftest.err conftest.i conftest.$ac_ext
3682 # OK, works on sane cases. Now check whether nonexistent headers
3683 # can be detected and how.
3684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3686 #include <ac_nonexistent.h>
3688 if ac_fn_c_try_cpp "$LINENO"; then :
3689 # Broken: success on invalid input.
3692 # Passes both tests.
3696 rm -f conftest.err conftest.i conftest.$ac_ext
3699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3700 rm -f conftest.i conftest.err conftest.
$ac_ext
3701 if $ac_preproc_ok; then :
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3714 $as_echo "$CPP" >&6; }
3716 for ac_c_preproc_warn_flag
in '' yes
3718 # Use a header file that comes with gcc, so configuring glibc
3719 # with a fresh cross-compiler works.
3720 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3721 # <limits.h> exists even on freestanding compilers.
3722 # On the NeXT, cc -E runs the code through the compiler's parser,
3723 # not just through cpp. "Syntax error" is here to catch this case.
3724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3727 # include <limits.h>
3729 # include <assert.h>
3733 if ac_fn_c_try_cpp
"$LINENO"; then :
3736 # Broken: fails on valid input.
3739 rm -f conftest.err conftest.i conftest.
$ac_ext
3741 # OK, works on sane cases. Now check whether nonexistent headers
3742 # can be detected and how.
3743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3745 #include <ac_nonexistent.h>
3747 if ac_fn_c_try_cpp
"$LINENO"; then :
3748 # Broken: success on invalid input.
3751 # Passes both tests.
3755 rm -f conftest.err conftest.i conftest.
$ac_ext
3758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3759 rm -f conftest.i conftest.err conftest.
$ac_ext
3760 if $ac_preproc_ok; then :
3763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3765 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3766 See \`config.log' for more details" "$LINENO" 5; }
3770 ac_cpp
='$CPP $CPPFLAGS'
3771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3777 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3778 if ${ac_cv_path_GREP+:} false
; then :
3779 $as_echo_n "(cached) " >&6
3781 if test -z "$GREP"; then
3782 ac_path_GREP_found
=false
3783 # Loop through the user's path and test for each of PROGNAME-LIST
3784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3785 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3788 test -z "$as_dir" && as_dir
=.
3789 for ac_prog
in grep ggrep
; do
3790 for ac_exec_ext
in '' $ac_executable_extensions; do
3791 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3792 as_fn_executable_p
"$ac_path_GREP" ||
continue
3793 # Check for GNU ac_path_GREP and select it if it is found.
3794 # Check for GNU $ac_path_GREP
3795 case `"$ac_path_GREP" --version 2>&1` in
3797 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3800 $as_echo_n 0123456789 >"conftest.in"
3803 cat "conftest.in" "conftest.in" >"conftest.tmp"
3804 mv "conftest.tmp" "conftest.in"
3805 cp "conftest.in" "conftest.nl"
3806 $as_echo 'GREP' >> "conftest.nl"
3807 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3808 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3809 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3810 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3811 # Best one so far, save it but keep looking for a better one
3812 ac_cv_path_GREP
="$ac_path_GREP"
3813 ac_path_GREP_max
=$ac_count
3815 # 10*(2^10) chars as input seems more than enough
3816 test $ac_count -gt 10 && break
3818 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3821 $ac_path_GREP_found && break 3
3826 if test -z "$ac_cv_path_GREP"; then
3827 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3830 ac_cv_path_GREP
=$GREP
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3835 $as_echo "$ac_cv_path_GREP" >&6; }
3836 GREP
="$ac_cv_path_GREP"
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3840 $as_echo_n "checking for egrep... " >&6; }
3841 if ${ac_cv_path_EGREP+:} false
; then :
3842 $as_echo_n "(cached) " >&6
3844 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3845 then ac_cv_path_EGREP
="$GREP -E"
3847 if test -z "$EGREP"; then
3848 ac_path_EGREP_found
=false
3849 # Loop through the user's path and test for each of PROGNAME-LIST
3850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3851 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3854 test -z "$as_dir" && as_dir
=.
3855 for ac_prog
in egrep; do
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3858 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3859 # Check for GNU ac_path_EGREP and select it if it is found.
3860 # Check for GNU $ac_path_EGREP
3861 case `"$ac_path_EGREP" --version 2>&1` in
3863 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3866 $as_echo_n 0123456789 >"conftest.in"
3869 cat "conftest.in" "conftest.in" >"conftest.tmp"
3870 mv "conftest.tmp" "conftest.in"
3871 cp "conftest.in" "conftest.nl"
3872 $as_echo 'EGREP' >> "conftest.nl"
3873 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3874 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3875 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3876 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3877 # Best one so far, save it but keep looking for a better one
3878 ac_cv_path_EGREP
="$ac_path_EGREP"
3879 ac_path_EGREP_max
=$ac_count
3881 # 10*(2^10) chars as input seems more than enough
3882 test $ac_count -gt 10 && break
3884 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3887 $ac_path_EGREP_found && break 3
3892 if test -z "$ac_cv_path_EGREP"; then
3893 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3896 ac_cv_path_EGREP
=$EGREP
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3902 $as_echo "$ac_cv_path_EGREP" >&6; }
3903 EGREP
="$ac_cv_path_EGREP"
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3907 $as_echo_n "checking for ANSI C header files... " >&6; }
3908 if ${ac_cv_header_stdc+:} false
; then :
3909 $as_echo_n "(cached) " >&6
3911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3926 if ac_fn_c_try_compile
"$LINENO"; then :
3927 ac_cv_header_stdc
=yes
3929 ac_cv_header_stdc
=no
3931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3933 if test $ac_cv_header_stdc = yes; then
3934 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3936 /* end confdefs.h. */
3940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3941 $EGREP "memchr" >/dev
/null
2>&1; then :
3944 ac_cv_header_stdc
=no
3950 if test $ac_cv_header_stdc = yes; then
3951 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3958 $EGREP "free" >/dev
/null
2>&1; then :
3961 ac_cv_header_stdc
=no
3967 if test $ac_cv_header_stdc = yes; then
3968 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3969 if test "$cross_compiling" = yes; then :
3972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3976 #if ((' ' & 0x0FF) == 0x020)
3977 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3978 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3980 # define ISLOWER(c) \
3981 (('a' <= (c) && (c) <= 'i') \
3982 || ('j' <= (c) && (c) <= 'r') \
3983 || ('s' <= (c) && (c) <= 'z'))
3984 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3987 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3992 for (i = 0; i < 256; i++)
3993 if (XOR (islower (i), ISLOWER (i))
3994 || toupper (i) != TOUPPER (i))
3999 if ac_fn_c_try_run
"$LINENO"; then :
4002 ac_cv_header_stdc
=no
4004 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4005 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4011 $as_echo "$ac_cv_header_stdc" >&6; }
4012 if test $ac_cv_header_stdc = yes; then
4014 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4018 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4019 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4020 inttypes.h stdint.h unistd.h
4022 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4023 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4025 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4026 cat >>confdefs.h
<<_ACEOF
4027 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4036 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4037 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4044 if test "$MINIX" = yes; then
4046 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4049 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4052 $as_echo "#define _MINIX 1" >>confdefs.h
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4058 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4059 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4060 $as_echo_n "(cached) " >&6
4062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4065 # define __EXTENSIONS__ 1
4066 $ac_includes_default
4075 if ac_fn_c_try_compile
"$LINENO"; then :
4076 ac_cv_safe_to_define___extensions__
=yes
4078 ac_cv_safe_to_define___extensions__
=no
4080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4083 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4084 test $ac_cv_safe_to_define___extensions__ = yes &&
4085 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4087 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4089 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4091 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4093 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4097 # Do not delete or change the following two lines. For why, see
4098 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
4099 # Make sure we can run config.sub.
4100 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4101 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4104 $as_echo_n "checking build system type... " >&6; }
4105 if ${ac_cv_build+:} false
; then :
4106 $as_echo_n "(cached) " >&6
4108 ac_build_alias
=$build_alias
4109 test "x$ac_build_alias" = x
&&
4110 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4111 test "x$ac_build_alias" = x
&&
4112 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4113 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4114 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4118 $as_echo "$ac_cv_build" >&6; }
4119 case $ac_cv_build in
4121 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4124 ac_save_IFS
=$IFS; IFS
='-'
4130 # Remember, the first character of IFS is used to create $*,
4131 # except with old shells:
4134 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4138 $as_echo_n "checking host system type... " >&6; }
4139 if ${ac_cv_host+:} false
; then :
4140 $as_echo_n "(cached) " >&6
4142 if test "x$host_alias" = x
; then
4143 ac_cv_host
=$ac_cv_build
4145 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4146 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4151 $as_echo "$ac_cv_host" >&6; }
4154 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4157 ac_save_IFS
=$IFS; IFS
='-'
4163 # Remember, the first character of IFS is used to create $*,
4164 # except with old shells:
4167 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4171 $as_echo_n "checking target system type... " >&6; }
4172 if ${ac_cv_target+:} false
; then :
4173 $as_echo_n "(cached) " >&6
4175 if test "x$target_alias" = x
; then
4176 ac_cv_target
=$ac_cv_host
4178 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4179 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4184 $as_echo "$ac_cv_target" >&6; }
4185 case $ac_cv_target in
4187 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4189 target
=$ac_cv_target
4190 ac_save_IFS
=$IFS; IFS
='-'
4196 # Remember, the first character of IFS is used to create $*,
4197 # except with old shells:
4200 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4203 # The aliases save the names the user supplied, while $host etc.
4204 # will get canonicalized.
4205 test -n "$target_alias" &&
4206 test "$program_prefix$program_suffix$program_transform_name" = \
4208 program_prefix
=${target_alias}-
4210 target_alias
=${target_alias-$host_alias}
4212 case ${build_alias} in
4213 "") build_noncanonical
=${build} ;;
4214 *) build_noncanonical
=${build_alias} ;;
4217 case ${host_alias} in
4218 "") host_noncanonical
=${build_noncanonical} ;;
4219 *) host_noncanonical
=${host_alias} ;;
4222 case ${target_alias} in
4223 "") target_noncanonical
=${host_noncanonical} ;;
4224 *) target_noncanonical
=${target_alias} ;;
4231 LIBSTDCXX_RAW_CXX_CXXFLAGS
="\
4232 -I\$(top_builddir)/../libstdc++-v3/include \
4233 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
4234 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
4235 LIBSTDCXX_RAW_CXX_LDFLAGS
="\
4236 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
4241 am__api_version
='1.15'
4243 # Find a good install program. We prefer a C program (faster),
4244 # so one script is as good as another. But avoid the broken or
4245 # incompatible versions:
4246 # SysV /etc/install, /usr/sbin/install
4247 # SunOS /usr/etc/install
4248 # IRIX /sbin/install
4250 # AmigaOS /C/install, which installs bootblocks on floppy discs
4251 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4252 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4253 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4254 # OS/2's system install, which has a completely different semantic
4255 # ./install, which can be erroneously created by make from ./install.sh.
4256 # Reject install programs that cannot install multiple files.
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4258 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4259 if test -z "$INSTALL"; then
4260 if ${ac_cv_path_install+:} false
; then :
4261 $as_echo_n "(cached) " >&6
4263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4267 test -z "$as_dir" && as_dir
=.
4268 # Account for people who put trailing slashes in PATH elements.
4269 case $as_dir/ in #((
4270 .
/ | .
// |
/[cC
]/* | \
4271 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4272 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4275 # OSF1 and SCO ODT 3.0 have their own names for install.
4276 # Don't use installbsd from OSF since it installs stuff as root
4278 for ac_prog
in ginstall scoinst
install; do
4279 for ac_exec_ext
in '' $ac_executable_extensions; do
4280 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4281 if test $ac_prog = install &&
4282 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4283 # AIX install. It has an incompatible calling convention.
4285 elif test $ac_prog = install &&
4286 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4287 # program-specific install script used by HP pwplus--don't use.
4290 rm -rf conftest.one conftest.two conftest.dir
4291 echo one
> conftest.one
4292 echo two
> conftest.two
4294 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4295 test -s conftest.one
&& test -s conftest.two
&&
4296 test -s conftest.dir
/conftest.one
&&
4297 test -s conftest.dir
/conftest.two
4299 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4312 rm -rf conftest.one conftest.two conftest.dir
4315 if test "${ac_cv_path_install+set}" = set; then
4316 INSTALL
=$ac_cv_path_install
4318 # As a last resort, use the slow shell script. Don't cache a
4319 # value for INSTALL within a source directory, because that will
4320 # break other packages using the cache if that directory is
4321 # removed, or if the value is a relative name.
4322 INSTALL
=$ac_install_sh
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4326 $as_echo "$INSTALL" >&6; }
4328 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4329 # It thinks the first close brace ends the variable substitution.
4330 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4332 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4334 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4337 $as_echo_n "checking whether build environment is sane... " >&6; }
4338 # Reject unsafe characters in $srcdir or the absolute working directory
4339 # name. Accept space and tab only in the latter.
4343 *[\\\"\
#\$\&\'\`$am_lf]*)
4344 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4347 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4348 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4351 # Do 'set' in a subshell so we don't clobber the current shell's
4352 # arguments. Must try -L first in case configure is actually a
4353 # symlink; some systems play weird games with the mod time of symlinks
4354 # (eg FreeBSD returns the mod time of the symlink's containing
4358 for am_try
in 1 2; do
4359 echo "timestamp, slept: $am_has_slept" > conftest.
file
4360 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4361 if test "$*" = "X"; then
4363 set X
`ls -t "$srcdir/configure" conftest.file`
4365 if test "$*" != "X $srcdir/configure conftest.file" \
4366 && test "$*" != "X conftest.file $srcdir/configure"; then
4368 # If neither matched, then we have a broken ls. This can happen
4369 # if, for instance, CONFIG_SHELL is bash and it inherits a
4370 # broken ls alias from the environment. This has actually
4371 # happened. Such a system could not be considered "sane".
4372 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4373 alias in your environment" "$LINENO" 5
4375 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4382 test "$2" = conftest.
file
4388 as_fn_error $?
"newly created file is older than distributed files!
4389 Check your system clock" "$LINENO" 5
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4392 $as_echo "yes" >&6; }
4393 # If we didn't sleep, we still need to ensure time stamps of config.status and
4394 # generated files are strictly newer.
4396 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4403 test "$program_prefix" != NONE
&&
4404 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4405 # Use a double $ so make ignores it.
4406 test "$program_suffix" != NONE
&&
4407 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4408 # Double any \ or $.
4409 # By default was `s,x,x', remove it if useless.
4410 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4411 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4413 if test x
"${MISSING+set}" != xset
; then
4416 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4418 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4421 # Use eval to expand $SHELL
4422 if eval "$MISSING --is-lightweight"; then
4423 am_missing_run
="$MISSING "
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4427 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4430 if test x
"${install_sh+set}" != xset
; then
4433 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4435 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4439 # Installed binaries are usually stripped using 'strip' when the user
4440 # run "make install-strip". However 'strip' might not be the right
4441 # tool to use in cross-compilation environments, therefore Automake
4442 # will honor the 'STRIP' environment variable to overrule this program.
4443 if test "$cross_compiling" != no
; then
4444 if test -n "$ac_tool_prefix"; then
4445 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4446 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if ${ac_cv_prog_STRIP+:} false
; then :
4450 $as_echo_n "(cached) " >&6
4452 if test -n "$STRIP"; then
4453 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir
=.
4460 for ac_exec_ext
in '' $ac_executable_extensions; do
4461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4462 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 STRIP
=$ac_cv_prog_STRIP
4473 if test -n "$STRIP"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4475 $as_echo "$STRIP" >&6; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4483 if test -z "$ac_cv_prog_STRIP"; then
4485 # Extract the first word of "strip", so it can be a program name with args.
4486 set dummy strip
; ac_word
=$2
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4488 $as_echo_n "checking for $ac_word... " >&6; }
4489 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4490 $as_echo_n "(cached) " >&6
4492 if test -n "$ac_ct_STRIP"; then
4493 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4499 test -z "$as_dir" && as_dir
=.
4500 for ac_exec_ext
in '' $ac_executable_extensions; do
4501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4502 ac_cv_prog_ac_ct_STRIP
="strip"
4503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4513 if test -n "$ac_ct_STRIP"; then
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4515 $as_echo "$ac_ct_STRIP" >&6; }
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4518 $as_echo "no" >&6; }
4521 if test "x$ac_ct_STRIP" = x
; then
4524 case $cross_compiling:$ac_tool_warned in
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4528 ac_tool_warned
=yes ;;
4533 STRIP
="$ac_cv_prog_STRIP"
4537 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4540 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4541 if test -z "$MKDIR_P"; then
4542 if ${ac_cv_path_mkdir+:} false
; then :
4543 $as_echo_n "(cached) " >&6
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4546 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_prog
in mkdir gmkdir
; do
4551 for ac_exec_ext
in '' $ac_executable_extensions; do
4552 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4553 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4554 'mkdir (GNU coreutils) '* | \
4555 'mkdir (coreutils) '* | \
4556 'mkdir (fileutils) '4.1*)
4557 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4567 test -d .
/--version && rmdir .
/--version
4568 if test "${ac_cv_path_mkdir+set}" = set; then
4569 MKDIR_P
="$ac_cv_path_mkdir -p"
4571 # As a last resort, use the slow shell script. Don't cache a
4572 # value for MKDIR_P within a source directory, because that will
4573 # break other packages using the cache if that directory is
4574 # removed, or if the value is a relative name.
4575 MKDIR_P
="$ac_install_sh -d"
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4579 $as_echo "$MKDIR_P" >&6; }
4581 for ac_prog
in gawk mawk nawk
awk
4583 # Extract the first word of "$ac_prog", so it can be a program name with args.
4584 set dummy
$ac_prog; ac_word
=$2
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586 $as_echo_n "checking for $ac_word... " >&6; }
4587 if ${ac_cv_prog_AWK+:} false
; then :
4588 $as_echo_n "(cached) " >&6
4590 if test -n "$AWK"; then
4591 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4597 test -z "$as_dir" && as_dir
=.
4598 for ac_exec_ext
in '' $ac_executable_extensions; do
4599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4600 ac_cv_prog_AWK
="$ac_prog"
4601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 if test -n "$AWK"; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4613 $as_echo "$AWK" >&6; }
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 $as_echo "no" >&6; }
4620 test -n "$AWK" && break
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4624 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4626 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4627 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4628 $as_echo_n "(cached) " >&6
4630 cat >conftest.
make <<\_ACEOF
4633 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4635 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4636 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4638 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4640 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4644 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4646 $as_echo "yes" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4651 SET_MAKE
="MAKE=${MAKE-make}"
4654 rm -rf .tst
2>/dev
/null
4655 mkdir .tst
2>/dev
/null
4656 if test -d .tst
; then
4661 rmdir .tst
2>/dev
/null
4663 DEPDIR
="${am__leading_dot}deps"
4665 ac_config_commands
="$ac_config_commands depfiles"
4668 am_make
=${MAKE-make}
4669 cat > confinc
<< 'END'
4671 @
echo this is the am__doit target
4674 # If we don't find an include directive, just comment out the code.
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4676 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4680 # First try GNU make style include.
4681 echo "include confinc" > confmf
4682 # Ignore all kinds of additional output from 'make'.
4683 case `$am_make -s -f confmf 2> /dev/null` in #(
4684 *the\ am__doit\ target
*)
4690 # Now try BSD make style include.
4691 if test "$am__include" = "#"; then
4692 echo '.include "confinc"' > confmf
4693 case `$am_make -s -f confmf 2> /dev/null` in #(
4694 *the\ am__doit\ target
*)
4695 am__include
=.include
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4704 $as_echo "$_am_result" >&6; }
4705 rm -f confinc confmf
4707 # Check whether --enable-dependency-tracking was given.
4708 if test "${enable_dependency_tracking+set}" = set; then :
4709 enableval
=$enable_dependency_tracking;
4712 if test "x$enable_dependency_tracking" != xno
; then
4713 am_depcomp
="$ac_aux_dir/depcomp"
4717 if test "x$enable_dependency_tracking" != xno; then
4726 # Check whether --enable-silent-rules was given.
4727 if test "${enable_silent_rules+set}" = set; then :
4728 enableval
=$enable_silent_rules;
4731 case $enable_silent_rules in # (((
4732 yes) AM_DEFAULT_VERBOSITY
=0;;
4733 no
) AM_DEFAULT_VERBOSITY
=1;;
4734 *) AM_DEFAULT_VERBOSITY
=1;;
4736 am_make
=${MAKE-make}
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4738 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4739 if ${am_cv_make_support_nested_variables+:} false
; then :
4740 $as_echo_n "(cached) " >&6
4742 if $as_echo 'TRUE=$(BAR$(V))
4748 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4749 am_cv_make_support_nested_variables
=yes
4751 am_cv_make_support_nested_variables
=no
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4755 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4756 if test $am_cv_make_support_nested_variables = yes; then
4758 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4760 AM_V
=$AM_DEFAULT_VERBOSITY
4761 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4765 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4766 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4767 # is not polluted with repeated "-I."
4768 am__isrc
=' -I$(srcdir)'
4769 # test to see if srcdir already configured
4770 if test -f $srcdir/config.status
; then
4771 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4775 # test whether we have cygpath
4776 if test -z "$CYGPATH_W"; then
4777 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4778 CYGPATH_W
='cygpath -w'
4785 # Define the identity of the package.
4786 PACKAGE
='package-unused'
4787 VERSION
='version-unused'
4790 cat >>confdefs.h
<<_ACEOF
4791 #define PACKAGE "$PACKAGE"
4795 cat >>confdefs.h
<<_ACEOF
4796 #define VERSION "$VERSION"
4799 # Some tools Automake needs.
4801 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4804 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4807 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4810 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4813 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4815 # For better backward compatibility. To be removed once Automake 1.9.x
4816 # dies out for good. For more background, see:
4817 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4818 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4819 mkdir_p
='$(MKDIR_P)'
4821 # We need awk for the "check" target (and possibly the TAP driver). The
4822 # system "awk" is bad on some platforms.
4823 # Always define AMTAR for backward compatibility. Yes, it's still used
4824 # in the wild :-( We should find a proper way to deprecate it ...
4828 # We'll loop over all known methods to create a tar archive until one works.
4829 _am_tools
='gnutar pax cpio none'
4831 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4837 depcc
="$CC" am_compiler_list
=
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4840 $as_echo_n "checking dependency style of $depcc... " >&6; }
4841 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4842 $as_echo_n "(cached) " >&6
4844 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4845 # We make a subdir and do the tests there. Otherwise we can end up
4846 # making bogus files that we don't know about and never remove. For
4847 # instance it was reported that on HP-UX the gcc test will end up
4848 # making a dummy file named 'D' -- because '-MD' means "put the output
4852 # Copy depcomp to subdir because otherwise we won't find it if we're
4853 # using a relative directory.
4854 cp "$am_depcomp" conftest.dir
4856 # We will build objects and dependencies in a subdirectory because
4857 # it helps to detect inapplicable dependency modes. For instance
4858 # both Tru64's cc and ICC support -MD to output dependencies as a
4859 # side effect of compilation, but ICC will put the dependencies in
4860 # the current directory while Tru64 will put them in the object
4864 am_cv_CC_dependencies_compiler_type
=none
4865 if test "$am_compiler_list" = ""; then
4866 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4869 case " $depcc " in #(
4870 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4873 for depmode
in $am_compiler_list; do
4874 # Setup a source with many dependencies, because some compilers
4875 # like to wrap large dependency lists on column 80 (with \), and
4876 # we should not choose a depcomp mode which is confused by this.
4878 # We need to recreate these files for each test, as the compiler may
4879 # overwrite some of them when testing with obscure command lines.
4880 # This happens at least with the AIX C compiler.
4882 for i
in 1 2 3 4 5 6; do
4883 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4884 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4885 # Solaris 10 /bin/sh.
4886 echo '/* dummy */' > sub
/conftst
$i.h
4888 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4890 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4891 # mode. It turns out that the SunPro C++ compiler does not properly
4892 # handle '-M -o', and we need to detect this. Also, some Intel
4893 # versions had trouble with output in subdirs.
4894 am__obj
=sub
/conftest.
${OBJEXT-o}
4895 am__minus_obj
="-o $am__obj"
4898 # This depmode causes a compiler race in universal mode.
4899 test "$am__universal" = false ||
continue
4902 # After this tag, mechanisms are not by side-effect, so they'll
4903 # only be used when explicitly requested.
4904 if test "x$enable_dependency_tracking" = xyes
; then
4910 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4911 # This compiler won't grok '-c -o', but also, the minuso test has
4912 # not run yet. These depmodes are late enough in the game, and
4913 # so weak that their functioning should not be impacted.
4914 am__obj
=conftest.
${OBJEXT-o}
4919 if depmode
=$depmode \
4920 source=sub
/conftest.c object
=$am__obj \
4921 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4922 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4923 >/dev
/null
2>conftest.err
&&
4924 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4925 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4926 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4927 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4928 # icc doesn't choke on unknown options, it will just issue warnings
4929 # or remarks (even with -Werror). So we grep stderr for any message
4930 # that says an option was ignored or not supported.
4931 # When given -MP, icc 7.0 and 7.1 complain thusly:
4932 # icc: Command line warning: ignoring option '-M'; no argument required
4933 # The diagnosis changed in icc 8.0:
4934 # icc: Command line remark: option '-MP' not supported
4935 if (grep 'ignoring option' conftest.err ||
4936 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4937 am_cv_CC_dependencies_compiler_type
=$depmode
4946 am_cv_CC_dependencies_compiler_type
=none
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4951 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4952 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4955 test "x$enable_dependency_tracking" != xno \
4956 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4958 am__fastdepCC_FALSE
='#'
4960 am__fastdepCC_TRUE
='#'
4961 am__fastdepCC_FALSE
=
4966 # POSIX will say in a future version that running "rm -f" with no argument
4967 # is OK; and we want to be able to make that assumption in our Makefile
4968 # recipes. So use an aggressive probe to check that the usage we want is
4969 # actually supported "in the wild" to an acceptable degree.
4970 # See automake bug#10828.
4971 # To make any issue more visible, cause the running configure to be aborted
4972 # by default if the 'rm' program in use doesn't match our expectations; the
4973 # user can still override this though.
4974 if rm -f && rm -fr && rm -rf; then : OK
; else
4978 Your 'rm' program seems unable to run without file operands specified
4979 on the command line, even when the '-f' option is present. This is contrary
4980 to the behaviour of most rm programs out there, and not conforming with
4981 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4983 Please tell bug-automake@gnu.org about your system, including the value
4984 of your $PATH and any error possibly output before this message. This
4985 can help us improve future automake versions.
4988 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4989 echo 'Configuration will proceed anyway, since you have set the' >&2
4990 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4994 Aborting the configuration process, to ensure you take notice of the issue.
4996 You can download and install GNU coreutils to get an 'rm' implementation
4997 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4999 If you want to complete the configuration process using your problematic
5000 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5001 to "yes", and re-run configure.
5004 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5010 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5011 # Check whether --enable-maintainer-mode was given.
5012 if test "${enable_maintainer_mode+set}" = set; then :
5013 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5015 USE_MAINTAINER_MODE
=no
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5019 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5020 if test $USE_MAINTAINER_MODE = yes; then
5021 MAINTAINER_MODE_TRUE
=
5022 MAINTAINER_MODE_FALSE
='#'
5024 MAINTAINER_MODE_TRUE
='#'
5025 MAINTAINER_MODE_FALSE
=
5028 MAINT
=$MAINTAINER_MODE_TRUE
5033 # Check whether --with-toolexeclibdir was given.
5034 if test "${with_toolexeclibdir+set}" = set; then :
5035 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5039 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5043 with_toolexeclibdir
=no
5048 # Calculate toolexeclibdir
5049 # Also toolexecdir, though it's only used in toolexeclibdir
5050 case ${version_specific_libs} in
5052 # Need the gcc compiler version to know where to install libraries
5053 # and header files if --enable-version-specific-runtime-libs option
5055 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5056 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5059 if test -n "$with_cross_host" &&
5060 test x
"$with_cross_host" != x
"no"; then
5061 # Install a library built with a cross compiler in tooldir, not libdir.
5062 toolexecdir
='$(exec_prefix)/$(target_alias)'
5063 case ${with_toolexeclibdir} in
5065 toolexeclibdir
='$(toolexecdir)/lib'
5068 toolexeclibdir
=${with_toolexeclibdir}
5072 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5073 toolexeclibdir
='$(libdir)'
5075 multi_os_directory
=`$CC -print-multi-os-directory`
5076 case $multi_os_directory in
5077 .
) ;; # Avoid trailing /.
5078 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5085 # Checks for programs.
5087 ac_cpp
='$CPP $CPPFLAGS'
5088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5091 if test -n "$ac_tool_prefix"; then
5092 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5093 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_CC+:} false
; then :
5097 $as_echo_n "(cached) " >&6
5099 if test -n "$CC"; then
5100 ac_cv_prog_CC
="$CC" # Let the user override the test.
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5106 test -z "$as_dir" && as_dir
=.
5107 for ac_exec_ext
in '' $ac_executable_extensions; do
5108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 if test -n "$CC"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5122 $as_echo "$CC" >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5130 if test -z "$ac_cv_prog_CC"; then
5132 # Extract the first word of "gcc", so it can be a program name with args.
5133 set dummy gcc
; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$ac_ct_CC"; then
5140 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_ac_ct_CC
="gcc"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5160 if test -n "$ac_ct_CC"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5162 $as_echo "$ac_ct_CC" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5168 if test "x$ac_ct_CC" = x
; then
5171 case $cross_compiling:$ac_tool_warned in
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5175 ac_tool_warned
=yes ;;
5183 if test -z "$CC"; then
5184 if test -n "$ac_tool_prefix"; then
5185 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5186 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_prog_CC+:} false
; then :
5190 $as_echo_n "(cached) " >&6
5192 if test -n "$CC"; then
5193 ac_cv_prog_CC
="$CC" # Let the user override the test.
5195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir
=.
5200 for ac_exec_ext
in '' $ac_executable_extensions; do
5201 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5202 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 if test -n "$CC"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5215 $as_echo "$CC" >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5224 if test -z "$CC"; then
5225 # Extract the first word of "cc", so it can be a program name with args.
5226 set dummy cc
; ac_word
=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_CC+:} false
; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$CC"; then
5233 ac_cv_prog_CC
="$CC" # Let the user override the test.
5236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir
=.
5241 for ac_exec_ext
in '' $ac_executable_extensions; do
5242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5243 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5244 ac_prog_rejected
=yes
5248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 if test $ac_prog_rejected = yes; then
5256 # We found a bogon in the path, so make sure we never use it.
5257 set dummy
$ac_cv_prog_CC
5259 if test $# != 0; then
5260 # We chose a different compiler from the bogus one.
5261 # However, it has the same basename, so the bogon will be chosen
5262 # first if we set CC to just the basename; use the full file name.
5264 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5270 if test -n "$CC"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5272 $as_echo "$CC" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5280 if test -z "$CC"; then
5281 if test -n "$ac_tool_prefix"; then
5282 for ac_prog
in cl.exe
5284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5285 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5287 $as_echo_n "checking for $ac_word... " >&6; }
5288 if ${ac_cv_prog_CC+:} false
; then :
5289 $as_echo_n "(cached) " >&6
5291 if test -n "$CC"; then
5292 ac_cv_prog_CC
="$CC" # Let the user override the test.
5294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5298 test -z "$as_dir" && as_dir
=.
5299 for ac_exec_ext
in '' $ac_executable_extensions; do
5300 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5301 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 if test -n "$CC"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5314 $as_echo "$CC" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5321 test -n "$CC" && break
5324 if test -z "$CC"; then
5326 for ac_prog
in cl.exe
5328 # Extract the first word of "$ac_prog", so it can be a program name with args.
5329 set dummy
$ac_prog; ac_word
=$2
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331 $as_echo_n "checking for $ac_word... " >&6; }
5332 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5333 $as_echo_n "(cached) " >&6
5335 if test -n "$ac_ct_CC"; then
5336 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir
=.
5343 for ac_exec_ext
in '' $ac_executable_extensions; do
5344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_ac_ct_CC
="$ac_prog"
5346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5356 if test -n "$ac_ct_CC"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5358 $as_echo "$ac_ct_CC" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5365 test -n "$ac_ct_CC" && break
5368 if test "x$ac_ct_CC" = x
; then
5371 case $cross_compiling:$ac_tool_warned in
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5375 ac_tool_warned
=yes ;;
5384 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5386 as_fn_error $?
"no acceptable C compiler found in \$PATH
5387 See \`config.log' for more details" "$LINENO" 5; }
5389 # Provide some information about the compiler.
5390 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5393 for ac_option
in --version -v -V -qversion; do
5394 { { ac_try
="$ac_compiler $ac_option >&5"
5396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5397 *) ac_try_echo=$ac_try;;
5399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5400 $as_echo "$ac_try_echo"; } >&5
5401 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5403 if test -s conftest.err; then
5405 ... rest of stderr output deleted ...
5406 10q' conftest.err >conftest.er1
5407 cat conftest.er1 >&5
5409 rm -f conftest.er1 conftest.err
5410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5411 test $ac_status = 0; }
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5415 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5416 if ${ac_cv_c_compiler_gnu+:} false; then :
5417 $as_echo_n "(cached) " >&6
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5433 if ac_fn_c_try_compile "$LINENO"; then :
5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5439 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5443 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5444 if test $ac_compiler_gnu = yes; then
5449 ac_test_CFLAGS=${CFLAGS+set}
5450 ac_save_CFLAGS=$CFLAGS
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5452 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5453 if ${ac_cv_prog_cc_g+:} false; then :
5454 $as_echo_n "(cached) " >&6
5456 ac_save_c_werror_flag=$ac_c_werror_flag
5457 ac_c_werror_flag=yes
5460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5461 /* end confdefs.h. */
5471 if ac_fn_c_try_compile "$LINENO"; then :
5475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5476 /* end confdefs.h. */
5486 if ac_fn_c_try_compile "$LINENO"; then :
5489 ac_c_werror_flag=$ac_save_c_werror_flag
5491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */
5502 if ac_fn_c_try_compile "$LINENO"; then :
5505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5510 ac_c_werror_flag=$ac_save_c_werror_flag
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5513 $as_echo "$ac_cv_prog_cc_g" >&6; }
5514 if test "$ac_test_CFLAGS" = set; then
5515 CFLAGS=$ac_save_CFLAGS
5516 elif test $ac_cv_prog_cc_g = yes; then
5517 if test "$GCC" = yes; then
5523 if test "$GCC" = yes; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5530 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5531 if ${ac_cv_prog_cc_c89+:} false; then :
5532 $as_echo_n "(cached) " >&6
5534 ac_cv_prog_cc_c89=no
5536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5537 /* end confdefs.h. */
5541 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5542 struct buf { int x; };
5543 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5544 static char *e (p, i)
5550 static char *f (char * (*g) (char **, int), char **p, ...)
5555 s = g (p, va_arg (v,int));
5560 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5561 function prototypes and stuff, but not '\xHH' hex character constants.
5562 These don't provoke an error unfortunately, instead are silently treated
5563 as 'x'. The following induces an error, until -std is added to get
5564 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5565 array size at least. It's necessary to write '\x00'==0 to get something
5566 that's true only with -std. */
5567 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5569 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5570 inside strings and character constants. */
5572 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5574 int test (int i, double x);
5575 struct s1 {int (*f) (int a);};
5576 struct s2 {int (*f) (double a);};
5577 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5583 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5588 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5589 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5591 CC="$ac_save_CC $ac_arg"
5592 if ac_fn_c_try_compile "$LINENO"; then :
5593 ac_cv_prog_cc_c89=$ac_arg
5595 rm -f core conftest.err conftest.$ac_objext
5596 test "x$ac_cv_prog_cc_c89" != "xno" && break
5598 rm -f conftest.$ac_ext
5603 case "x$ac_cv_prog_cc_c89" in
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5606 $as_echo "none needed" >&6; } ;;
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5609 $as_echo "unsupported" >&6; } ;;
5611 CC="$CC $ac_cv_prog_cc_c89"
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5613 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5615 if test "x$ac_cv_prog_cc_c89" != xno; then :
5620 ac_cpp='$CPP $CPPFLAGS'
5621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5626 ac_cpp='$CPP $CPPFLAGS'
5627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5631 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5632 if ${am_cv_prog_cc_c_o+:} false; then :
5633 $as_echo_n "(cached) " >&6
5635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5646 # Make sure it works both with $CC and with simple cc.
5647 # Following AC_PROG_CC_C_O, we do the test twice because some
5648 # compilers refuse to overwrite an existing .o file with -o,
5649 # though they will create one.
5650 am_cv_prog_cc_c_o=yes
5652 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5653 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } \
5657 && test -f conftest2.$ac_objext; then
5660 am_cv_prog_cc_c_o=no
5664 rm -f core conftest*
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5668 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5669 if test "$am_cv_prog_cc_c_o" != yes; then
5670 # Losing compiler, so override with the script.
5671 # FIXME: It is wrong to rewrite CC.
5672 # But if we don't then we get into trouble of one sort or another.
5673 # A longer-term fix would be to have automake use am__CC in this case,
5674 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5675 CC="$am_aux_dir/compile $CC"
5678 ac_cpp='$CPP $CPPFLAGS'
5679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5685 ac_cpp='$CXXCPP $CPPFLAGS'
5686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5689 if test -z "$CXX"; then
5690 if test -n "$CCC"; then
5693 if test -n "$ac_tool_prefix"; then
5694 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5696 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5697 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699 $as_echo_n "checking for $ac_word... " >&6; }
5700 if ${ac_cv_prog_CXX+:} false; then :
5701 $as_echo_n "(cached) " >&6
5703 if test -n "$CXX"; then
5704 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 test -z "$as_dir" && as_dir=.
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 if test -n "$CXX"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5726 $as_echo "$CXX" >&6; }
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5733 test -n "$CXX" && break
5736 if test -z "$CXX"; then
5738 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5740 # Extract the first word of "$ac_prog", so it can be a program name with args.
5741 set dummy $ac_prog; ac_word=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5745 $as_echo_n "(cached) " >&6
5747 if test -n "$ac_ct_CXX"; then
5748 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_ac_ct_CXX="$ac_prog"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5768 if test -n "$ac_ct_CXX"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5770 $as_echo "$ac_ct_CXX" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5777 test -n "$ac_ct_CXX" && break
5780 if test "x$ac_ct_CXX" = x; then
5783 case $cross_compiling:$ac_tool_warned in
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5787 ac_tool_warned=yes ;;
5795 # Provide some information about the compiler.
5796 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5799 for ac_option in --version -v -V -qversion; do
5800 { { ac_try="$ac_compiler $ac_option >&5"
5802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5803 *) ac_try_echo
=$ac_try;;
5805 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5806 $as_echo "$ac_try_echo"; } >&5
5807 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5809 if test -s conftest.err
; then
5811 ... rest of stderr output deleted ...
5812 10q' conftest.err
>conftest.er1
5813 cat conftest.er1
>&5
5815 rm -f conftest.er1 conftest.err
5816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5817 test $ac_status = 0; }
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5821 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5822 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5823 $as_echo_n "(cached) " >&6
5825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h. */
5839 if ac_fn_cxx_try_compile
"$LINENO"; then :
5844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5845 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5849 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5850 if test $ac_compiler_gnu = yes; then
5855 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5856 ac_save_CXXFLAGS
=$CXXFLAGS
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5858 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5859 if ${ac_cv_prog_cxx_g+:} false
; then :
5860 $as_echo_n "(cached) " >&6
5862 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5863 ac_cxx_werror_flag
=yes
5866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5877 if ac_fn_cxx_try_compile
"$LINENO"; then :
5878 ac_cv_prog_cxx_g
=yes
5881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5892 if ac_fn_cxx_try_compile
"$LINENO"; then :
5895 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5898 /* end confdefs.h. */
5908 if ac_fn_cxx_try_compile
"$LINENO"; then :
5909 ac_cv_prog_cxx_g
=yes
5911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5916 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5919 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5920 if test "$ac_test_CXXFLAGS" = set; then
5921 CXXFLAGS
=$ac_save_CXXFLAGS
5922 elif test $ac_cv_prog_cxx_g = yes; then
5923 if test "$GXX" = yes; then
5929 if test "$GXX" = yes; then
5936 ac_cpp
='$CPP $CPPFLAGS'
5937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5941 depcc
="$CXX" am_compiler_list
=
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5944 $as_echo_n "checking dependency style of $depcc... " >&6; }
5945 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5946 $as_echo_n "(cached) " >&6
5948 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5949 # We make a subdir and do the tests there. Otherwise we can end up
5950 # making bogus files that we don't know about and never remove. For
5951 # instance it was reported that on HP-UX the gcc test will end up
5952 # making a dummy file named 'D' -- because '-MD' means "put the output
5956 # Copy depcomp to subdir because otherwise we won't find it if we're
5957 # using a relative directory.
5958 cp "$am_depcomp" conftest.dir
5960 # We will build objects and dependencies in a subdirectory because
5961 # it helps to detect inapplicable dependency modes. For instance
5962 # both Tru64's cc and ICC support -MD to output dependencies as a
5963 # side effect of compilation, but ICC will put the dependencies in
5964 # the current directory while Tru64 will put them in the object
5968 am_cv_CXX_dependencies_compiler_type
=none
5969 if test "$am_compiler_list" = ""; then
5970 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5973 case " $depcc " in #(
5974 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5977 for depmode
in $am_compiler_list; do
5978 # Setup a source with many dependencies, because some compilers
5979 # like to wrap large dependency lists on column 80 (with \), and
5980 # we should not choose a depcomp mode which is confused by this.
5982 # We need to recreate these files for each test, as the compiler may
5983 # overwrite some of them when testing with obscure command lines.
5984 # This happens at least with the AIX C compiler.
5986 for i
in 1 2 3 4 5 6; do
5987 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5988 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5989 # Solaris 10 /bin/sh.
5990 echo '/* dummy */' > sub
/conftst
$i.h
5992 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5994 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5995 # mode. It turns out that the SunPro C++ compiler does not properly
5996 # handle '-M -o', and we need to detect this. Also, some Intel
5997 # versions had trouble with output in subdirs.
5998 am__obj
=sub
/conftest.
${OBJEXT-o}
5999 am__minus_obj
="-o $am__obj"
6002 # This depmode causes a compiler race in universal mode.
6003 test "$am__universal" = false ||
continue
6006 # After this tag, mechanisms are not by side-effect, so they'll
6007 # only be used when explicitly requested.
6008 if test "x$enable_dependency_tracking" = xyes
; then
6014 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6015 # This compiler won't grok '-c -o', but also, the minuso test has
6016 # not run yet. These depmodes are late enough in the game, and
6017 # so weak that their functioning should not be impacted.
6018 am__obj
=conftest.
${OBJEXT-o}
6023 if depmode
=$depmode \
6024 source=sub
/conftest.c object
=$am__obj \
6025 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6026 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6027 >/dev
/null
2>conftest.err
&&
6028 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6029 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6030 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6031 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6032 # icc doesn't choke on unknown options, it will just issue warnings
6033 # or remarks (even with -Werror). So we grep stderr for any message
6034 # that says an option was ignored or not supported.
6035 # When given -MP, icc 7.0 and 7.1 complain thusly:
6036 # icc: Command line warning: ignoring option '-M'; no argument required
6037 # The diagnosis changed in icc 8.0:
6038 # icc: Command line remark: option '-MP' not supported
6039 if (grep 'ignoring option' conftest.err ||
6040 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6041 am_cv_CXX_dependencies_compiler_type
=$depmode
6050 am_cv_CXX_dependencies_compiler_type
=none
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6055 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6056 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6059 test "x$enable_dependency_tracking" != xno \
6060 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6061 am__fastdepCXX_TRUE
=
6062 am__fastdepCXX_FALSE
='#'
6064 am__fastdepCXX_TRUE
='#'
6065 am__fastdepCXX_FALSE
=
6069 # By default we simply use the C compiler to build assembly code.
6071 test "${CCAS+set}" = set || CCAS
=$CC
6072 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
6076 depcc
="$CCAS" am_compiler_list
=
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6079 $as_echo_n "checking dependency style of $depcc... " >&6; }
6080 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
6081 $as_echo_n "(cached) " >&6
6083 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6084 # We make a subdir and do the tests there. Otherwise we can end up
6085 # making bogus files that we don't know about and never remove. For
6086 # instance it was reported that on HP-UX the gcc test will end up
6087 # making a dummy file named 'D' -- because '-MD' means "put the output
6091 # Copy depcomp to subdir because otherwise we won't find it if we're
6092 # using a relative directory.
6093 cp "$am_depcomp" conftest.dir
6095 # We will build objects and dependencies in a subdirectory because
6096 # it helps to detect inapplicable dependency modes. For instance
6097 # both Tru64's cc and ICC support -MD to output dependencies as a
6098 # side effect of compilation, but ICC will put the dependencies in
6099 # the current directory while Tru64 will put them in the object
6103 am_cv_CCAS_dependencies_compiler_type
=none
6104 if test "$am_compiler_list" = ""; then
6105 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6110 for depmode
in $am_compiler_list; do
6111 # Setup a source with many dependencies, because some compilers
6112 # like to wrap large dependency lists on column 80 (with \), and
6113 # we should not choose a depcomp mode which is confused by this.
6115 # We need to recreate these files for each test, as the compiler may
6116 # overwrite some of them when testing with obscure command lines.
6117 # This happens at least with the AIX C compiler.
6119 for i
in 1 2 3 4 5 6; do
6120 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6121 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6122 # Solaris 10 /bin/sh.
6123 echo '/* dummy */' > sub
/conftst
$i.h
6125 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6127 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6128 # mode. It turns out that the SunPro C++ compiler does not properly
6129 # handle '-M -o', and we need to detect this. Also, some Intel
6130 # versions had trouble with output in subdirs.
6131 am__obj
=sub
/conftest.
${OBJEXT-o}
6132 am__minus_obj
="-o $am__obj"
6135 # This depmode causes a compiler race in universal mode.
6136 test "$am__universal" = false ||
continue
6139 # After this tag, mechanisms are not by side-effect, so they'll
6140 # only be used when explicitly requested.
6141 if test "x$enable_dependency_tracking" = xyes
; then
6147 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6148 # This compiler won't grok '-c -o', but also, the minuso test has
6149 # not run yet. These depmodes are late enough in the game, and
6150 # so weak that their functioning should not be impacted.
6151 am__obj
=conftest.
${OBJEXT-o}
6156 if depmode
=$depmode \
6157 source=sub
/conftest.c object
=$am__obj \
6158 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6159 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6160 >/dev
/null
2>conftest.err
&&
6161 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6162 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6163 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6164 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6165 # icc doesn't choke on unknown options, it will just issue warnings
6166 # or remarks (even with -Werror). So we grep stderr for any message
6167 # that says an option was ignored or not supported.
6168 # When given -MP, icc 7.0 and 7.1 complain thusly:
6169 # icc: Command line warning: ignoring option '-M'; no argument required
6170 # The diagnosis changed in icc 8.0:
6171 # icc: Command line remark: option '-MP' not supported
6172 if (grep 'ignoring option' conftest.err ||
6173 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6174 am_cv_CCAS_dependencies_compiler_type
=$depmode
6183 am_cv_CCAS_dependencies_compiler_type
=none
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6188 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6189 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
6192 test "x$enable_dependency_tracking" != xno \
6193 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
6194 am__fastdepCCAS_TRUE
=
6195 am__fastdepCCAS_FALSE
='#'
6197 am__fastdepCCAS_TRUE
='#'
6198 am__fastdepCCAS_FALSE
=
6202 if test -n "$ac_tool_prefix"; then
6203 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6204 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 $as_echo_n "checking for $ac_word... " >&6; }
6207 if ${ac_cv_prog_RANLIB+:} false
; then :
6208 $as_echo_n "(cached) " >&6
6210 if test -n "$RANLIB"; then
6211 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6217 test -z "$as_dir" && as_dir
=.
6218 for ac_exec_ext
in '' $ac_executable_extensions; do
6219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6220 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230 RANLIB
=$ac_cv_prog_RANLIB
6231 if test -n "$RANLIB"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6233 $as_echo "$RANLIB" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6241 if test -z "$ac_cv_prog_RANLIB"; then
6242 ac_ct_RANLIB
=$RANLIB
6243 # Extract the first word of "ranlib", so it can be a program name with args.
6244 set dummy ranlib
; ac_word
=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6248 $as_echo_n "(cached) " >&6
6250 if test -n "$ac_ct_RANLIB"; then
6251 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir
=.
6258 for ac_exec_ext
in '' $ac_executable_extensions; do
6259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6260 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6271 if test -n "$ac_ct_RANLIB"; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6273 $as_echo "$ac_ct_RANLIB" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276 $as_echo "no" >&6; }
6279 if test "x$ac_ct_RANLIB" = x
; then
6282 case $cross_compiling:$ac_tool_warned in
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6286 ac_tool_warned
=yes ;;
6288 RANLIB
=$ac_ct_RANLIB
6291 RANLIB
="$ac_cv_prog_RANLIB"
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6302 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6307 macro_version
='2.2.7a'
6308 macro_revision
='1.3134'
6322 ltmain
="$ac_aux_dir/ltmain.sh"
6324 # Backslashify metacharacters that are still active within
6325 # double-quoted strings.
6326 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6328 # Same as above, but do not quote variable references.
6329 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6331 # Sed substitution to delay expansion of an escaped shell variable in a
6332 # double_quote_subst'ed string.
6333 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6335 # Sed substitution to delay expansion of an escaped single quote.
6336 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6338 # Sed substitution to avoid accidental globbing in evaled expressions
6339 no_glob_subst
='s/\*/\\\*/g'
6341 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6342 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6343 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6346 $as_echo_n "checking how to print strings... " >&6; }
6347 # Test print first, because it will be a builtin if present.
6348 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6349 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6351 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6354 # Use this function as a fallback that always works.
6355 func_fallback_echo ()
6357 eval 'cat <<_LTECHO_EOF
6361 ECHO='func_fallback_echo
'
6364 # func_echo_all arg...
6365 # Invoke $ECHO with all args, space-separated.
6372 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6373 $as_echo "printf" >&6; } ;;
6374 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6375 $as_echo "print -r" >&6; } ;;
6376 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6377 $as_echo "cat" >&6; } ;;
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6394 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6395 if ${ac_cv_path_SED+:} false; then :
6396 $as_echo_n "(cached) " >&6
6398 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6399 for ac_i in 1 2 3 4 5 6 7; do
6400 ac_script="$ac_script$as_nl$ac_script"
6402 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6403 { ac_script=; unset ac_script;}
6404 if test -z "$SED"; then
6405 ac_path_SED_found=false
6406 # Loop through the user's path and
test for each of PROGNAME-LIST
6407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir
=.
6412 for ac_prog
in sed gsed
; do
6413 for ac_exec_ext
in '' $ac_executable_extensions; do
6414 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6415 as_fn_executable_p
"$ac_path_SED" ||
continue
6416 # Check for GNU ac_path_SED and select it if it is found.
6417 # Check for GNU $ac_path_SED
6418 case `"$ac_path_SED" --version 2>&1` in
6420 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6423 $as_echo_n 0123456789 >"conftest.in"
6426 cat "conftest.in" "conftest.in" >"conftest.tmp"
6427 mv "conftest.tmp" "conftest.in"
6428 cp "conftest.in" "conftest.nl"
6429 $as_echo '' >> "conftest.nl"
6430 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6431 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6432 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6433 if test $ac_count -gt ${ac_path_SED_max-0}; then
6434 # Best one so far, save it but keep looking for a better one
6435 ac_cv_path_SED
="$ac_path_SED"
6436 ac_path_SED_max
=$ac_count
6438 # 10*(2^10) chars as input seems more than enough
6439 test $ac_count -gt 10 && break
6441 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6444 $ac_path_SED_found && break 3
6449 if test -z "$ac_cv_path_SED"; then
6450 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6458 $as_echo "$ac_cv_path_SED" >&6; }
6459 SED
="$ac_cv_path_SED"
6462 test -z "$SED" && SED
=sed
6463 Xsed
="$SED -e 1s/^X//"
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6476 $as_echo_n "checking for fgrep... " >&6; }
6477 if ${ac_cv_path_FGREP+:} false
; then :
6478 $as_echo_n "(cached) " >&6
6480 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6481 then ac_cv_path_FGREP
="$GREP -F"
6483 if test -z "$FGREP"; then
6484 ac_path_FGREP_found
=false
6485 # Loop through the user's path and test for each of PROGNAME-LIST
6486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6487 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6490 test -z "$as_dir" && as_dir
=.
6491 for ac_prog
in fgrep
; do
6492 for ac_exec_ext
in '' $ac_executable_extensions; do
6493 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6494 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6495 # Check for GNU ac_path_FGREP and select it if it is found.
6496 # Check for GNU $ac_path_FGREP
6497 case `"$ac_path_FGREP" --version 2>&1` in
6499 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6502 $as_echo_n 0123456789 >"conftest.in"
6505 cat "conftest.in" "conftest.in" >"conftest.tmp"
6506 mv "conftest.tmp" "conftest.in"
6507 cp "conftest.in" "conftest.nl"
6508 $as_echo 'FGREP' >> "conftest.nl"
6509 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6510 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6511 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6512 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6513 # Best one so far, save it but keep looking for a better one
6514 ac_cv_path_FGREP
="$ac_path_FGREP"
6515 ac_path_FGREP_max
=$ac_count
6517 # 10*(2^10) chars as input seems more than enough
6518 test $ac_count -gt 10 && break
6520 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6523 $ac_path_FGREP_found && break 3
6528 if test -z "$ac_cv_path_FGREP"; then
6529 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6532 ac_cv_path_FGREP
=$FGREP
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6538 $as_echo "$ac_cv_path_FGREP" >&6; }
6539 FGREP
="$ac_cv_path_FGREP"
6542 test -z "$GREP" && GREP
=grep
6562 # Check whether --with-gnu-ld was given.
6563 if test "${with_gnu_ld+set}" = set; then :
6564 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6570 if test "$GCC" = yes; then
6571 # Check if gcc -print-prog-name=ld gives a path.
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6573 $as_echo_n "checking for ld used by $CC... " >&6; }
6576 # gcc leaves a trailing carriage return which upsets mingw
6577 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6579 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6582 # Accept absolute paths.
6584 re_direlt
='/[^/][^/]*/\.\./'
6585 # Canonicalize the pathname of ld
6586 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6587 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6588 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6590 test -z "$LD" && LD
="$ac_prog"
6593 # If it fails, then pretend we aren't using GCC.
6597 # If it is relative, then search for the first ld in PATH.
6601 elif test "$with_gnu_ld" = yes; then
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6603 $as_echo_n "checking for GNU ld... " >&6; }
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6606 $as_echo_n "checking for non-GNU ld... " >&6; }
6608 if ${lt_cv_path_LD+:} false
; then :
6609 $as_echo_n "(cached) " >&6
6611 if test -z "$LD"; then
6612 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6613 for ac_dir
in $PATH; do
6615 test -z "$ac_dir" && ac_dir
=.
6616 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6617 lt_cv_path_LD
="$ac_dir/$ac_prog"
6618 # Check to see if the program is GNU ld. I'd rather use --version,
6619 # but apparently some variants of GNU ld only accept -v.
6620 # Break only if it was the GNU/non-GNU ld that we prefer.
6621 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6622 *GNU
* |
*'with BFD'*)
6623 test "$with_gnu_ld" != no
&& break
6626 test "$with_gnu_ld" != yes && break
6633 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6638 if test -n "$LD"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6640 $as_echo "$LD" >&6; }
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6645 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6647 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6648 if ${lt_cv_prog_gnu_ld+:} false
; then :
6649 $as_echo_n "(cached) " >&6
6651 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6652 case `$LD -v 2>&1 </dev/null` in
6653 *GNU
* |
*'with BFD'*)
6654 lt_cv_prog_gnu_ld
=yes
6657 lt_cv_prog_gnu_ld
=no
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6662 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6663 with_gnu_ld
=$lt_cv_prog_gnu_ld
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6674 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6675 if ${lt_cv_path_NM+:} false
; then :
6676 $as_echo_n "(cached) " >&6
6678 if test -n "$NM"; then
6679 # Let the user override the nm to test.
6680 lt_nm_to_check
="$NM"
6682 lt_nm_to_check
="${ac_tool_prefix}nm"
6683 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6684 lt_nm_to_check
="$lt_nm_to_check nm"
6687 for lt_tmp_nm
in "$lt_nm_to_check"; do
6688 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6689 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6691 test -z "$ac_dir" && ac_dir
=.
6692 # Strip out any user-provided options from the nm to test twice,
6693 # the first time to test to see if nm (rather than its options) has
6694 # an explicit path, the second time to yield a file which can be
6696 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6697 case "$tmp_nm_path" in
6698 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6699 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6701 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6702 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6703 # Check to see if the nm accepts a BSD-compat flag.
6704 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6705 # nm: unknown option "B" ignored
6706 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6707 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6711 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6713 lt_cv_path_NM
="$tmp_nm -p"
6717 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6718 continue # so that we can try to find one that supports BSD flags
6727 : ${lt_cv_path_NM=no}
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6730 $as_echo "$lt_cv_path_NM" >&6; }
6731 if test "$lt_cv_path_NM" != "no"; then
6734 # Didn't find any BSD compatible name lister, look for dumpbin.
6735 if test -n "$DUMPBIN"; then :
6736 # Let the user override the test.
6738 if test -n "$ac_tool_prefix"; then
6739 for ac_prog
in dumpbin
"link -dump"
6741 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6742 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6744 $as_echo_n "checking for $ac_word... " >&6; }
6745 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6746 $as_echo_n "(cached) " >&6
6748 if test -n "$DUMPBIN"; then
6749 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6755 test -z "$as_dir" && as_dir
=.
6756 for ac_exec_ext
in '' $ac_executable_extensions; do
6757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6758 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6768 DUMPBIN
=$ac_cv_prog_DUMPBIN
6769 if test -n "$DUMPBIN"; then
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6771 $as_echo "$DUMPBIN" >&6; }
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6774 $as_echo "no" >&6; }
6778 test -n "$DUMPBIN" && break
6781 if test -z "$DUMPBIN"; then
6782 ac_ct_DUMPBIN
=$DUMPBIN
6783 for ac_prog
in dumpbin
"link -dump"
6785 # Extract the first word of "$ac_prog", so it can be a program name with args.
6786 set dummy
$ac_prog; ac_word
=$2
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6788 $as_echo_n "checking for $ac_word... " >&6; }
6789 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6790 $as_echo_n "(cached) " >&6
6792 if test -n "$ac_ct_DUMPBIN"; then
6793 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6799 test -z "$as_dir" && as_dir
=.
6800 for ac_exec_ext
in '' $ac_executable_extensions; do
6801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6802 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6813 if test -n "$ac_ct_DUMPBIN"; then
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6815 $as_echo "$ac_ct_DUMPBIN" >&6; }
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6818 $as_echo "no" >&6; }
6822 test -n "$ac_ct_DUMPBIN" && break
6825 if test "x$ac_ct_DUMPBIN" = x
; then
6828 case $cross_compiling:$ac_tool_warned in
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6832 ac_tool_warned
=yes ;;
6834 DUMPBIN
=$ac_ct_DUMPBIN
6838 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6840 DUMPBIN
="$DUMPBIN -symbols"
6848 if test "$DUMPBIN" != ":"; then
6852 test -z "$NM" && NM
=nm
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6860 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6861 if ${lt_cv_nm_interface+:} false
; then :
6862 $as_echo_n "(cached) " >&6
6864 lt_cv_nm_interface
="BSD nm"
6865 echo "int some_variable = 0;" > conftest.
$ac_ext
6866 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6867 (eval "$ac_compile" 2>conftest.err
)
6868 cat conftest.err
>&5
6869 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6870 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6871 cat conftest.err
>&5
6872 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6873 cat conftest.out
>&5
6874 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6875 lt_cv_nm_interface
="MS dumpbin"
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6880 $as_echo "$lt_cv_nm_interface" >&6; }
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6883 $as_echo_n "checking whether ln -s works... " >&6; }
6885 if test "$LN_S" = "ln -s"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6887 $as_echo "yes" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6890 $as_echo "no, using $LN_S" >&6; }
6893 # find the maximum length of command line arguments
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6895 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6896 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6897 $as_echo_n "(cached) " >&6
6904 # On DJGPP, this test can blow up pretty badly due to problems in libc
6905 # (any single argument exceeding 2000 bytes causes a buffer overrun
6906 # during glob expansion). Even if it were fixed, the result of this
6907 # check would be larger than it should be.
6908 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6912 # Under GNU Hurd, this test is not required because there is
6913 # no limit to the length of command line arguments.
6914 # Libtool will interpret -1 as no limit whatsoever
6915 lt_cv_sys_max_cmd_len
=-1;
6918 cygwin
* | mingw
* | cegcc
*)
6919 # On Win9x/ME, this test blows up -- it succeeds, but takes
6920 # about 5 minutes as the teststring grows exponentially.
6921 # Worse, since 9x/ME are not pre-emptively multitasking,
6922 # you end up with a "frozen" computer, even though with patience
6923 # the test eventually succeeds (with a max line length of 256k).
6924 # Instead, let's just punt: use the minimum linelength reported by
6925 # all of the supported platforms: 8192 (on NT/2K/XP).
6926 lt_cv_sys_max_cmd_len
=8192;
6930 # On MiNT this can take a long time and run out of memory.
6931 lt_cv_sys_max_cmd_len
=8192;
6935 # On AmigaOS with pdksh, this test takes hours, literally.
6936 # So we just punt and use a minimum line length of 8192.
6937 lt_cv_sys_max_cmd_len
=8192;
6940 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6941 # This has been around since 386BSD, at least. Likely further.
6942 if test -x /sbin
/sysctl
; then
6943 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6944 elif test -x /usr
/sbin
/sysctl
; then
6945 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6947 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6949 # And add a safety zone
6950 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6951 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6955 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6956 lt_cv_sys_max_cmd_len
=196608
6960 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6961 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6962 # nice to cause kernel panics so lets avoid the loop below.
6963 # First set a reasonable default.
6964 lt_cv_sys_max_cmd_len
=16384
6966 if test -x /sbin
/sysconfig
; then
6967 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6968 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6973 lt_cv_sys_max_cmd_len
=102400
6975 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6976 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6977 if test -n "$kargmax"; then
6978 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6980 lt_cv_sys_max_cmd_len
=32768
6984 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6985 if test -n "$lt_cv_sys_max_cmd_len"; then
6986 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6987 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6989 # Make teststring a little bigger before we do anything with it.
6990 # a 1K string should be a reasonable start.
6991 for i
in 1 2 3 4 5 6 7 8 ; do
6992 teststring
=$teststring$teststring
6994 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6995 # If test is not a shell built-in, we'll probably end up computing a
6996 # maximum length that is only half of the actual maximum length, but
6998 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6999 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7000 test $i != 17 # 1/2 MB should be enough
7003 teststring
=$teststring$teststring
7005 # Only check the string length outside the loop.
7006 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7008 # Add a significant safety factor because C++ compilers can tack on
7009 # massive amounts of additional arguments before passing them to the
7010 # linker. It appears as though 1/2 is a usable value.
7011 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7018 if test -n $lt_cv_sys_max_cmd_len ; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7020 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7023 $as_echo "none" >&6; }
7025 max_cmd_len
=$lt_cv_sys_max_cmd_len
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7037 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7038 # Try some XSI features
7041 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7043 && eval 'test $(( 1 + 1 )) -eq 2 \
7044 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7047 $as_echo "$xsi_shell" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7051 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7053 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7055 && lt_shell_append=yes
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7057 $as_echo "$lt_shell_append" >&6; }
7060 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7070 # test EBCDIC or ASCII
7071 case `echo X|tr X '\101'` in
7072 A) # ASCII based system
7073 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7074 lt_SP2NL='tr \040 \012'
7075 lt_NL2SP='tr \015\012 \040\040'
7077 *) # EBCDIC based system
7078 lt_SP2NL='tr \100 \n'
7079 lt_NL2SP='tr \r\n \100\100'
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7092 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7093 if ${lt_cv_ld_reload_flag+:} false; then :
7094 $as_echo_n "(cached
) " >&6
7096 lt_cv_ld_reload_flag='-r'
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7099 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7100 reload_flag=$lt_cv_ld_reload_flag
7101 case $reload_flag in
7103 *) reload_flag=" $reload_flag" ;;
7105 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7108 if test "$GCC" = yes; then
7109 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7111 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7128 $as_echo_n "checking
for $ac_word...
" >&6; }
7129 if ${ac_cv_prog_OBJDUMP+:} false; then :
7130 $as_echo_n "(cached
) " >&6
7132 if test -n "$OBJDUMP"; then
7133 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7152 OBJDUMP=$ac_cv_prog_OBJDUMP
7153 if test -n "$OBJDUMP"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7155 $as_echo "$OBJDUMP" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7158 $as_echo "no
" >&6; }
7163 if test -z "$ac_cv_prog_OBJDUMP"; then
7164 ac_ct_OBJDUMP=$OBJDUMP
7165 # Extract the first word of "objdump
", so it can be a program name with args.
7166 set dummy objdump; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7168 $as_echo_n "checking
for $ac_word...
" >&6; }
7169 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7170 $as_echo_n "(cached
) " >&6
7172 if test -n "$ac_ct_OBJDUMP"; then
7173 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7192 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7193 if test -n "$ac_ct_OBJDUMP"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7195 $as_echo "$ac_ct_OBJDUMP" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7198 $as_echo "no
" >&6; }
7201 if test "x
$ac_ct_OBJDUMP" = x; then
7204 case $cross_compiling:$ac_tool_warned in
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7207 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7208 ac_tool_warned=yes ;;
7210 OBJDUMP=$ac_ct_OBJDUMP
7213 OBJDUMP="$ac_cv_prog_OBJDUMP"
7216 test -z "$OBJDUMP" && OBJDUMP=objdump
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7227 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7228 if ${lt_cv_deplibs_check_method+:} false; then :
7229 $as_echo_n "(cached
) " >&6
7231 lt_cv_file_magic_cmd='$MAGIC_CMD'
7232 lt_cv_file_magic_test_file=
7233 lt_cv_deplibs_check_method='unknown'
7234 # Need to set the preceding variable on all platforms that support
7235 # interlibrary dependencies.
7236 # 'none' -- dependencies not supported.
7237 # `unknown' -- same as none, but documents that we really don't know.
7238 # 'pass_all' -- all dependencies passed with no checks.
7239 # 'test_compile' -- check by making test program.
7240 # 'file_magic [[regex]]' -- check by looking for files in library path
7241 # which responds to the $file_magic_cmd with a given extended regex.
7242 # If you have `file' or equivalent on your system and you're not sure
7243 # whether `pass_all' will *always* work, you probably want this one.
7247 lt_cv_deplibs_check_method=pass_all
7251 lt_cv_deplibs_check_method=pass_all
7255 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7256 lt_cv_file_magic_cmd='/usr/bin/file -L'
7257 lt_cv_file_magic_test_file=/shlib/libc.so
7261 # func_win32_libid is a shell function defined in ltmain.sh
7262 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7263 lt_cv_file_magic_cmd='func_win32_libid'
7267 # Base MSYS/MinGW do not provide the 'file' command needed by
7268 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7269 # unless we find 'file', for example because we are cross-compiling.
7270 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7271 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7272 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7273 lt_cv_file_magic_cmd='func_win32_libid'
7275 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7276 lt_cv_file_magic_cmd='$OBJDUMP -f'
7281 # use the weaker test based on 'objdump'. See mingw*.
7282 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7283 lt_cv_file_magic_cmd='$OBJDUMP -f'
7286 darwin* | rhapsody*)
7287 lt_cv_deplibs_check_method=pass_all
7290 freebsd* | dragonfly*)
7291 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7294 # Not sure whether the presence of OpenBSD here was a mistake.
7295 # Let's accept both of them until this is cleared up.
7296 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7297 lt_cv_file_magic_cmd=/usr/bin/file
7298 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7302 lt_cv_deplibs_check_method=pass_all
7307 lt_cv_deplibs_check_method=pass_all
7311 lt_cv_deplibs_check_method=pass_all
7314 hpux10.20* | hpux11*)
7315 lt_cv_file_magic_cmd=/usr/bin/file
7318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7319 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7322 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]'
7323 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7326 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7327 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7333 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7337 irix5* | irix6* | nonstopux*)
7339 *-32|*"-32 ") libmagic=32-bit;;
7340 *-n32|*"-n32 ") libmagic=N32;;
7341 *-64|*"-64 ") libmagic=64-bit;;
7342 *) libmagic=never-match;;
7344 lt_cv_deplibs_check_method=pass_all
7347 # This must be Linux ELF.
7348 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7349 lt_cv_deplibs_check_method=pass_all
7353 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7362 lt_cv_file_magic_cmd=/usr/bin/file
7363 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7367 lt_cv_deplibs_check_method=pass_all
7371 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7372 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7378 osf3* | osf4* | osf5*)
7379 lt_cv_deplibs_check_method=pass_all
7383 lt_cv_deplibs_check_method=pass_all
7387 lt_cv_deplibs_check_method=pass_all
7390 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7391 lt_cv_deplibs_check_method=pass_all
7395 case $host_vendor in
7397 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]'
7398 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7401 lt_cv_deplibs_check_method=pass_all
7404 lt_cv_file_magic_cmd='/bin/file'
7405 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7408 lt_cv_file_magic_cmd='/bin/file'
7409 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7410 lt_cv_file_magic_test_file=/lib/libc.so
7413 lt_cv_deplibs_check_method=pass_all
7416 lt_cv_deplibs_check_method=pass_all
7422 lt_cv_deplibs_check_method=pass_all
7425 # Assume VxWorks cross toolchains are built on Linux, possibly
7426 # as canadian for Windows hosts.
7427 lt_cv_deplibs_check_method=pass_all
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7433 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7434 file_magic_cmd=$lt_cv_file_magic_cmd
7435 deplibs_check_method=$lt_cv_deplibs_check_method
7436 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7450 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7451 for plugin in $plugin_names; do
7452 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7453 if test x$plugin_so = x$plugin; then
7454 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7456 if test x$plugin_so != x$plugin; then
7457 plugin_option="--plugin $plugin_so"
7462 if test -n "$ac_tool_prefix"; then
7463 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7464 set dummy ${ac_tool_prefix}ar; ac_word=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7466 $as_echo_n "checking
for $ac_word...
" >&6; }
7467 if ${ac_cv_prog_AR+:} false; then :
7468 $as_echo_n "(cached
) " >&6
7470 if test -n "$AR"; then
7471 ac_cv_prog_AR="$AR" # Let the user override the test.
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477 test -z "$as_dir" && as_dir=.
7478 for ac_exec_ext in '' $ac_executable_extensions; do
7479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7480 ac_cv_prog_AR="${ac_tool_prefix}ar"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7491 if test -n "$AR"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7493 $as_echo "$AR" >&6; }
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7496 $as_echo "no
" >&6; }
7501 if test -z "$ac_cv_prog_AR"; then
7503 # Extract the first word of "ar", so it can be a program name with args.
7504 set dummy ar; ac_word=$2
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7506 $as_echo_n "checking
for $ac_word...
" >&6; }
7507 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7508 $as_echo_n "(cached
) " >&6
7510 if test -n "$ac_ct_AR"; then
7511 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517 test -z "$as_dir" && as_dir=.
7518 for ac_exec_ext in '' $ac_executable_extensions; do
7519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7520 ac_cv_prog_ac_ct_AR="ar"
7521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7530 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7531 if test -n "$ac_ct_AR"; then
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7533 $as_echo "$ac_ct_AR" >&6; }
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7536 $as_echo "no
" >&6; }
7539 if test "x
$ac_ct_AR" = x; then
7542 case $cross_compiling:$ac_tool_warned in
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7545 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7546 ac_tool_warned=yes ;;
7554 test -z "$AR" && AR=ar
7555 if test -n "$plugin_option"; then
7556 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7558 $AR $plugin_option rc conftest.a conftest.c
7559 if test "$?
" != 0; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7561 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7563 AR="$AR $plugin_option"
7568 test -z "$AR_FLAGS" && AR_FLAGS=cru
7580 if test -n "$ac_tool_prefix"; then
7581 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7582 set dummy ${ac_tool_prefix}strip; ac_word=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7584 $as_echo_n "checking
for $ac_word...
" >&6; }
7585 if ${ac_cv_prog_STRIP+:} false; then :
7586 $as_echo_n "(cached
) " >&6
7588 if test -n "$STRIP"; then
7589 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 test -z "$as_dir" && as_dir=.
7596 for ac_exec_ext in '' $ac_executable_extensions; do
7597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7598 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7608 STRIP=$ac_cv_prog_STRIP
7609 if test -n "$STRIP"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7611 $as_echo "$STRIP" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7614 $as_echo "no
" >&6; }
7619 if test -z "$ac_cv_prog_STRIP"; then
7621 # Extract the first word of "strip
", so it can be a program name with args.
7622 set dummy strip; ac_word=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7624 $as_echo_n "checking
for $ac_word...
" >&6; }
7625 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7626 $as_echo_n "(cached
) " >&6
7628 if test -n "$ac_ct_STRIP"; then
7629 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7638 ac_cv_prog_ac_ct_STRIP="strip
"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7648 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7649 if test -n "$ac_ct_STRIP"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7651 $as_echo "$ac_ct_STRIP" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7654 $as_echo "no
" >&6; }
7657 if test "x
$ac_ct_STRIP" = x; then
7660 case $cross_compiling:$ac_tool_warned in
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7663 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7664 ac_tool_warned=yes ;;
7669 STRIP="$ac_cv_prog_STRIP"
7672 test -z "$STRIP" && STRIP=:
7679 if test -n "$ac_tool_prefix"; then
7680 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7681 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7683 $as_echo_n "checking
for $ac_word...
" >&6; }
7684 if ${ac_cv_prog_RANLIB+:} false; then :
7685 $as_echo_n "(cached
) " >&6
7687 if test -n "$RANLIB"; then
7688 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7697 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7707 RANLIB=$ac_cv_prog_RANLIB
7708 if test -n "$RANLIB"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7710 $as_echo "$RANLIB" >&6; }
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7713 $as_echo "no
" >&6; }
7718 if test -z "$ac_cv_prog_RANLIB"; then
7719 ac_ct_RANLIB=$RANLIB
7720 # Extract the first word of "ranlib
", so it can be a program name with args.
7721 set dummy ranlib; ac_word=$2
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7723 $as_echo_n "checking
for $ac_word...
" >&6; }
7724 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7725 $as_echo_n "(cached
) " >&6
7727 if test -n "$ac_ct_RANLIB"; then
7728 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7737 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7747 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7748 if test -n "$ac_ct_RANLIB"; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7750 $as_echo "$ac_ct_RANLIB" >&6; }
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7753 $as_echo "no
" >&6; }
7756 if test "x
$ac_ct_RANLIB" = x; then
7759 case $cross_compiling:$ac_tool_warned in
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7762 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7763 ac_tool_warned=yes ;;
7765 RANLIB=$ac_ct_RANLIB
7768 RANLIB="$ac_cv_prog_RANLIB"
7771 test -z "$RANLIB" && RANLIB=:
7772 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7773 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7774 RANLIB="$RANLIB $plugin_option"
7783 # Determine commands to create old-style static archives.
7784 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7785 old_postinstall_cmds='chmod 644 $oldlib'
7786 old_postuninstall_cmds=
7788 if test -n "$RANLIB"; then
7791 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7794 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7797 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7802 lock_old_archive_extraction=yes ;;
7804 lock_old_archive_extraction=no ;;
7845 # If no C compiler was specified, use CC.
7848 # If no C compiler flags were specified, use CFLAGS.
7849 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7851 # Allow CC to be a program name with arguments.
7855 # Check for command to grab the raw symbol name followed by C symbol from nm.
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7857 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7858 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7859 $as_echo_n "(cached
) " >&6
7862 # These are sane defaults that work on at least a few old systems.
7863 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7865 # Character class describing NM global symbol codes.
7866 symcode='[BCDEGRST]'
7868 # Regexp to match symbols that can be accessed directly from C.
7869 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7871 # Define system-specific variables.
7876 cygwin* | mingw* | pw32* | cegcc*)
7877 symcode='[ABCDGISTW]'
7880 if test "$host_cpu" = ia64; then
7881 symcode='[ABCDEGRST]'
7885 symcode='[BCDEGRST]'
7888 symcode='[BCDEGQRST]'
7899 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7907 # If we're using GNU nm, then use its standard symbol codes.
7908 case `$NM -V 2>&1` in
7909 *GNU* | *'with BFD'*)
7910 symcode='[ABCDGIRSTW]' ;;
7913 # Transform an extracted symbol line into a proper C declaration.
7914 # Some systems (esp. on ia64) link data and code symbols differently,
7915 # so use this general approach.
7916 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7918 # Transform an extracted symbol line into symbol name and symbol address
7919 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7920 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'"
7922 # Handle CRLF in mingw tool chain
7926 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7930 # Try without a prefix underscore, then with it.
7931 for ac_symprfx in "" "_
"; do
7933 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7934 symxfrm="\\1 $ac_symprfx\\2 \\2"
7936 # Write the raw and C identifiers.
7937 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7938 # Fake it for dumpbin and say T for any non-static function
7939 # and D for any global variable.
7940 # Also find C++ and __fastcall symbols from MSVC++,
7941 # which start with @ or ?.
7942 lt_cv_sys_global_symbol_pipe="$AWK '"\
7943 " {last_section=section; section=\$ 3};"\
7944 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7945 " \$ 0!~/External *\|/{next};"\
7946 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7947 " {if(hide[section]) next};"\
7948 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7949 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7950 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7951 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7952 " ' prfx
=^
$ac_symprfx"
7954 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7957 # Check to see that the pipe works correctly.
7961 cat > conftest.$ac_ext <<_LT_EOF
7966 void nm_test_func(void);
7967 void nm_test_func(void){}
7971 int main(){nm_test_var='a';nm_test_func();return(0);}
7974 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7975 (eval $ac_compile) 2>&5
7977 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7978 test $ac_status = 0; }; then
7979 # Now try to grab the symbols.
7981 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7982 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7984 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7985 test $ac_status = 0; } && test -s "$nlist"; then
7986 # Try sorting and uniquifying the output.
7987 if sort "$nlist" | uniq > "$nlist"T; then
7988 mv -f "$nlist"T "$nlist"
7993 # Make sure that we snagged all the symbols we need.
7994 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7995 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7996 cat <<_LT_EOF > conftest.$ac_ext
8002 # Now generate the symbol file.
8003 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8005 cat <<_LT_EOF >> conftest.$ac_ext
8007 /* The mapping between symbol names and symbols. */
8012 lt__PROGRAM__LTX_preloaded_symbols[] =
8014 { "@PROGRAM@
", (void *) 0 },
8016 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8017 cat <<\_LT_EOF >> conftest.$ac_ext
8021 /* This works around a problem in FreeBSD linker */
8022 #ifdef FREEBSD_WORKAROUND
8023 static const void *lt_preloaded_setup() {
8024 return lt__PROGRAM__LTX_preloaded_symbols;
8032 # Now try linking the two files.
8033 mv conftest.$ac_objext conftstm.$ac_objext
8034 lt_save_LIBS="$LIBS"
8035 lt_save_CFLAGS="$CFLAGS"
8036 LIBS="conftstm.
$ac_objext"
8037 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8038 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8039 (eval $ac_link) 2>&5
8041 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8042 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8045 LIBS="$lt_save_LIBS"
8046 CFLAGS="$lt_save_CFLAGS"
8048 echo "cannot
find nm_test_func
in $nlist" >&5
8051 echo "cannot
find nm_test_var
in $nlist" >&5
8054 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8057 echo "$progname: failed program was
:" >&5
8058 cat conftest.$ac_ext >&5
8060 rm -rf conftest* conftst*
8062 # Do not use the global_symbol_pipe unless it works.
8063 if test "$pipe_works" = yes; then
8066 lt_cv_sys_global_symbol_pipe=
8072 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8073 lt_cv_sys_global_symbol_to_cdecl=
8075 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8077 $as_echo "failed
" >&6; }
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8080 $as_echo "ok
" >&6; }
8104 # Check whether --enable-libtool-lock was given.
8105 if test "${enable_libtool_lock+set}" = set; then :
8106 enableval=$enable_libtool_lock;
8109 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8111 # Some flags need to be propagated to the compiler or linker for good
8115 # Find out which ABI we are using.
8116 echo 'int i;' > conftest.$ac_ext
8117 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8118 (eval $ac_compile) 2>&5
8120 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8121 test $ac_status = 0; }; then
8122 case `/usr/bin/file conftest.$ac_objext` in
8134 # Find out which ABI we are using.
8135 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8136 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8137 (eval $ac_compile) 2>&5
8139 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8140 test $ac_status = 0; }; then
8141 if test "$lt_cv_prog_gnu_ld" = yes; then
8142 case `/usr/bin/file conftest.$ac_objext` in
8144 LD="${LD-ld} -melf32bsmip"
8147 LD="${LD-ld} -melf32bmipn32"
8150 LD="${LD-ld} -melf64bmip"
8154 case `/usr/bin/file conftest.$ac_objext` in
8170 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8171 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8172 # Find out which ABI we are using.
8173 echo 'int i;' > conftest.$ac_ext
8174 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8175 (eval $ac_compile) 2>&5
8177 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8178 test $ac_status = 0; }; then
8179 case `/usr/bin/file conftest.o` in
8182 x86_64-*kfreebsd*-gnu)
8183 LD="${LD-ld} -m elf_i386_fbsd
"
8186 case `/usr/bin/file conftest.o` in
8188 LD="${LD-ld} -m elf32_x86_64
"
8191 LD="${LD-ld} -m elf_i386
"
8195 powerpc64le-*linux*)
8196 LD="${LD-ld} -m elf32lppclinux
"
8199 LD="${LD-ld} -m elf32ppclinux
"
8202 LD="${LD-ld} -m elf_s390
"
8205 LD="${LD-ld} -m elf32_sparc
"
8211 x86_64-*kfreebsd*-gnu)
8212 LD="${LD-ld} -m elf_x86_64_fbsd
"
8215 LD="${LD-ld} -m elf_x86_64
"
8218 LD="${LD-ld} -m elf64lppc
"
8221 LD="${LD-ld} -m elf64ppc
"
8223 s390*-*linux*|s390*-*tpf*)
8224 LD="${LD-ld} -m elf64_s390
"
8227 LD="${LD-ld} -m elf64_sparc
"
8237 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8238 SAVE_CFLAGS="$CFLAGS"
8239 CFLAGS="$CFLAGS -belf"
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8241 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8242 if ${lt_cv_cc_needs_belf+:} false; then :
8243 $as_echo_n "(cached
) " >&6
8246 ac_cpp='$CPP $CPPFLAGS'
8247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8252 /* end confdefs.h. */
8262 if ac_fn_c_try_link "$LINENO"; then :
8263 lt_cv_cc_needs_belf=yes
8265 lt_cv_cc_needs_belf=no
8267 rm -f core conftest.err conftest.$ac_objext \
8268 conftest$ac_exeext conftest.$ac_ext
8270 ac_cpp='$CPP $CPPFLAGS'
8271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8277 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8278 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8279 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8280 CFLAGS="$SAVE_CFLAGS"
8284 # Find out which ABI we are using.
8285 echo 'int i;' > conftest.$ac_ext
8286 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8287 (eval $ac_compile) 2>&5
8289 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8290 test $ac_status = 0; }; then
8291 case `/usr/bin/file conftest.o` in
8293 case $lt_cv_prog_gnu_ld in
8294 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8296 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8308 need_locks="$enable_libtool_lock"
8312 rhapsody* | darwin*)
8313 if test -n "$ac_tool_prefix"; then
8314 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8315 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8317 $as_echo_n "checking
for $ac_word...
" >&6; }
8318 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8319 $as_echo_n "(cached
) " >&6
8321 if test -n "$DSYMUTIL"; then
8322 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8331 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8341 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8342 if test -n "$DSYMUTIL"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8344 $as_echo "$DSYMUTIL" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8347 $as_echo "no
" >&6; }
8352 if test -z "$ac_cv_prog_DSYMUTIL"; then
8353 ac_ct_DSYMUTIL=$DSYMUTIL
8354 # Extract the first word of "dsymutil
", so it can be a program name with args.
8355 set dummy dsymutil; ac_word=$2
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8357 $as_echo_n "checking
for $ac_word...
" >&6; }
8358 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8359 $as_echo_n "(cached
) " >&6
8361 if test -n "$ac_ct_DSYMUTIL"; then
8362 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8368 test -z "$as_dir" && as_dir=.
8369 for ac_exec_ext in '' $ac_executable_extensions; do
8370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8371 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8381 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8382 if test -n "$ac_ct_DSYMUTIL"; then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8384 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8387 $as_echo "no
" >&6; }
8390 if test "x
$ac_ct_DSYMUTIL" = x; then
8393 case $cross_compiling:$ac_tool_warned in
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8396 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8397 ac_tool_warned=yes ;;
8399 DSYMUTIL=$ac_ct_DSYMUTIL
8402 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8405 if test -n "$ac_tool_prefix"; then
8406 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8407 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8409 $as_echo_n "checking
for $ac_word...
" >&6; }
8410 if ${ac_cv_prog_NMEDIT+:} false; then :
8411 $as_echo_n "(cached
) " >&6
8413 if test -n "$NMEDIT"; then
8414 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420 test -z "$as_dir" && as_dir=.
8421 for ac_exec_ext in '' $ac_executable_extensions; do
8422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8423 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8433 NMEDIT=$ac_cv_prog_NMEDIT
8434 if test -n "$NMEDIT"; then
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8436 $as_echo "$NMEDIT" >&6; }
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8439 $as_echo "no
" >&6; }
8444 if test -z "$ac_cv_prog_NMEDIT"; then
8445 ac_ct_NMEDIT=$NMEDIT
8446 # Extract the first word of "nmedit
", so it can be a program name with args.
8447 set dummy nmedit; ac_word=$2
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8449 $as_echo_n "checking
for $ac_word...
" >&6; }
8450 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8451 $as_echo_n "(cached
) " >&6
8453 if test -n "$ac_ct_NMEDIT"; then
8454 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8460 test -z "$as_dir" && as_dir=.
8461 for ac_exec_ext in '' $ac_executable_extensions; do
8462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8463 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8473 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8474 if test -n "$ac_ct_NMEDIT"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8476 $as_echo "$ac_ct_NMEDIT" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8479 $as_echo "no
" >&6; }
8482 if test "x
$ac_ct_NMEDIT" = x; then
8485 case $cross_compiling:$ac_tool_warned in
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8488 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8489 ac_tool_warned=yes ;;
8491 NMEDIT=$ac_ct_NMEDIT
8494 NMEDIT="$ac_cv_prog_NMEDIT"
8497 if test -n "$ac_tool_prefix"; then
8498 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8499 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8501 $as_echo_n "checking
for $ac_word...
" >&6; }
8502 if ${ac_cv_prog_LIPO+:} false; then :
8503 $as_echo_n "(cached
) " >&6
8505 if test -n "$LIPO"; then
8506 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8512 test -z "$as_dir" && as_dir=.
8513 for ac_exec_ext in '' $ac_executable_extensions; do
8514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8515 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8516 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8525 LIPO=$ac_cv_prog_LIPO
8526 if test -n "$LIPO"; then
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8528 $as_echo "$LIPO" >&6; }
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8531 $as_echo "no
" >&6; }
8536 if test -z "$ac_cv_prog_LIPO"; then
8538 # Extract the first word of "lipo
", so it can be a program name with args.
8539 set dummy lipo; ac_word=$2
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8541 $as_echo_n "checking
for $ac_word...
" >&6; }
8542 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8543 $as_echo_n "(cached
) " >&6
8545 if test -n "$ac_ct_LIPO"; then
8546 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8552 test -z "$as_dir" && as_dir=.
8553 for ac_exec_ext in '' $ac_executable_extensions; do
8554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8555 ac_cv_prog_ac_ct_LIPO="lipo
"
8556 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8565 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8566 if test -n "$ac_ct_LIPO"; then
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8568 $as_echo "$ac_ct_LIPO" >&6; }
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8571 $as_echo "no
" >&6; }
8574 if test "x
$ac_ct_LIPO" = x; then
8577 case $cross_compiling:$ac_tool_warned in
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8580 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8581 ac_tool_warned=yes ;;
8586 LIPO="$ac_cv_prog_LIPO"
8589 if test -n "$ac_tool_prefix"; then
8590 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8591 set dummy ${ac_tool_prefix}otool; ac_word=$2
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8593 $as_echo_n "checking
for $ac_word...
" >&6; }
8594 if ${ac_cv_prog_OTOOL+:} false; then :
8595 $as_echo_n "(cached
) " >&6
8597 if test -n "$OTOOL"; then
8598 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8604 test -z "$as_dir" && as_dir=.
8605 for ac_exec_ext in '' $ac_executable_extensions; do
8606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8607 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8617 OTOOL=$ac_cv_prog_OTOOL
8618 if test -n "$OTOOL"; then
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8620 $as_echo "$OTOOL" >&6; }
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8623 $as_echo "no
" >&6; }
8628 if test -z "$ac_cv_prog_OTOOL"; then
8630 # Extract the first word of "otool
", so it can be a program name with args.
8631 set dummy otool; ac_word=$2
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8633 $as_echo_n "checking
for $ac_word...
" >&6; }
8634 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8635 $as_echo_n "(cached
) " >&6
8637 if test -n "$ac_ct_OTOOL"; then
8638 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644 test -z "$as_dir" && as_dir=.
8645 for ac_exec_ext in '' $ac_executable_extensions; do
8646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8647 ac_cv_prog_ac_ct_OTOOL="otool
"
8648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8657 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8658 if test -n "$ac_ct_OTOOL"; then
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8660 $as_echo "$ac_ct_OTOOL" >&6; }
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8663 $as_echo "no
" >&6; }
8666 if test "x
$ac_ct_OTOOL" = x; then
8669 case $cross_compiling:$ac_tool_warned in
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8672 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8673 ac_tool_warned=yes ;;
8678 OTOOL="$ac_cv_prog_OTOOL"
8681 if test -n "$ac_tool_prefix"; then
8682 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8683 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8685 $as_echo_n "checking
for $ac_word...
" >&6; }
8686 if ${ac_cv_prog_OTOOL64+:} false; then :
8687 $as_echo_n "(cached
) " >&6
8689 if test -n "$OTOOL64"; then
8690 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8696 test -z "$as_dir" && as_dir=.
8697 for ac_exec_ext in '' $ac_executable_extensions; do
8698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8699 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8700 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8709 OTOOL64=$ac_cv_prog_OTOOL64
8710 if test -n "$OTOOL64"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8712 $as_echo "$OTOOL64" >&6; }
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8715 $as_echo "no
" >&6; }
8720 if test -z "$ac_cv_prog_OTOOL64"; then
8721 ac_ct_OTOOL64=$OTOOL64
8722 # Extract the first word of "otool64
", so it can be a program name with args.
8723 set dummy otool64; ac_word=$2
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8725 $as_echo_n "checking
for $ac_word...
" >&6; }
8726 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8727 $as_echo_n "(cached
) " >&6
8729 if test -n "$ac_ct_OTOOL64"; then
8730 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8736 test -z "$as_dir" && as_dir=.
8737 for ac_exec_ext in '' $ac_executable_extensions; do
8738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8739 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8749 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8750 if test -n "$ac_ct_OTOOL64"; then
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8752 $as_echo "$ac_ct_OTOOL64" >&6; }
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8755 $as_echo "no
" >&6; }
8758 if test "x
$ac_ct_OTOOL64" = x; then
8761 case $cross_compiling:$ac_tool_warned in
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8764 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8765 ac_tool_warned=yes ;;
8767 OTOOL64=$ac_ct_OTOOL64
8770 OTOOL64="$ac_cv_prog_OTOOL64"
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8800 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8801 if ${lt_cv_apple_cc_single_mod+:} false; then :
8802 $as_echo_n "(cached
) " >&6
8804 lt_cv_apple_cc_single_mod=no
8805 if test -z "${LT_MULTI_MODULE}"; then
8806 # By default we will add the -single_module flag. You can override
8807 # by either setting the environment variable LT_MULTI_MODULE
8808 # non-empty at configure time, or by adding -multi_module to the
8810 rm -rf libconftest.dylib*
8811 echo "int foo
(void
){return 1;}" > conftest.c
8812 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8813 -dynamiclib -Wl,-single_module conftest.c
" >&5
8814 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8815 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8817 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8818 lt_cv_apple_cc_single_mod=yes
8820 cat conftest.err >&5
8822 rm -rf libconftest.dylib*
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8827 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8829 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8830 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8831 $as_echo_n "(cached
) " >&6
8833 lt_cv_ld_exported_symbols_list=no
8834 save_LDFLAGS=$LDFLAGS
8835 echo "_main
" > conftest.sym
8836 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8848 if ac_fn_c_try_link "$LINENO"; then :
8849 lt_cv_ld_exported_symbols_list=yes
8851 lt_cv_ld_exported_symbols_list=no
8853 rm -f core conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 LDFLAGS="$save_LDFLAGS"
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8859 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8861 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8862 if ${lt_cv_ld_force_load+:} false; then :
8863 $as_echo_n "(cached
) " >&6
8865 lt_cv_ld_force_load=no
8866 cat > conftest.c << _LT_EOF
8867 int forced_loaded() { return 2;}
8869 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8870 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8871 echo "$AR cru libconftest.a conftest.o
" >&5
8872 $AR cru libconftest.a conftest.o 2>&5
8873 cat > conftest.c << _LT_EOF
8874 int main() { return 0;}
8876 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8877 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8879 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8880 lt_cv_ld_force_load=yes
8882 cat conftest.err >&5
8884 rm -f conftest.err libconftest.a conftest conftest.c
8885 rm -rf conftest.dSYM
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8889 $as_echo "$lt_cv_ld_force_load" >&6; }
8890 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8891 # build without first building modern cctools / linker.
8892 case $host_cpu-$host_os in
8893 *-rhapsody* | *-darwin1.[012])
8894 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8896 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8898 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8899 # deployment target is forced to an earlier version.
8900 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8901 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
8904 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8911 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8912 _lt_dar_single_mod='$single_module'
8914 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8915 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8917 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8919 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8920 _lt_dsymutil='~$DSYMUTIL $lib || :'
8927 for ac_header in dlfcn.h
8929 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8931 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8932 cat >>confdefs.h <<_ACEOF
8933 #define HAVE_DLFCN_H 1
8953 # Check whether --enable-shared was given.
8954 if test "${enable_shared+set}" = set; then :
8955 enableval=$enable_shared; p=${PACKAGE-default}
8957 yes) enable_shared=yes ;;
8958 no) enable_shared=no ;;
8961 # Look at the argument we got. We use all the common list separators.
8962 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8963 for pkg in $enableval; do
8965 if test "X
$pkg" = "X
$p"; then
8984 # Check whether --enable-static was given.
8985 if test "${enable_static+set}" = set; then :
8986 enableval=$enable_static; p=${PACKAGE-default}
8988 yes) enable_static=yes ;;
8989 no) enable_static=no ;;
8992 # Look at the argument we got. We use all the common list separators.
8993 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8994 for pkg in $enableval; do
8996 if test "X
$pkg" = "X
$p"; then
9016 # Check whether --with-pic was given.
9017 if test "${with_pic+set}" = set; then :
9018 withval=$with_pic; pic_mode="$withval"
9024 test -z "$pic_mode" && pic_mode=default
9032 # Check whether --enable-fast-install was given.
9033 if test "${enable_fast_install+set}" = set; then :
9034 enableval=$enable_fast_install; p=${PACKAGE-default}
9036 yes) enable_fast_install=yes ;;
9037 no) enable_fast_install=no ;;
9039 enable_fast_install=no
9040 # Look at the argument we got. We use all the common list separators.
9041 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9042 for pkg in $enableval; do
9044 if test "X
$pkg" = "X
$p"; then
9045 enable_fast_install=yes
9052 enable_fast_install=yes
9065 # This can be used to rebuild libtool when needed
9066 LIBTOOL_DEPS="$ltmain"
9068 # Always use our own libtool.
9069 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9096 test -z "$LN_S" && LN_S="ln -s"
9111 if test -n "${ZSH_VERSION+set}" ; then
9112 setopt NO_GLOB_SUBST
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9116 $as_echo_n "checking
for objdir...
" >&6; }
9117 if ${lt_cv_objdir+:} false; then :
9118 $as_echo_n "(cached
) " >&6
9120 rm -f .libs 2>/dev/null
9121 mkdir .libs 2>/dev/null
9122 if test -d .libs; then
9125 # MS-DOS does not allow filenames that begin with a dot.
9128 rmdir .libs 2>/dev/null
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9131 $as_echo "$lt_cv_objdir" >&6; }
9132 objdir=$lt_cv_objdir
9138 cat >>confdefs.h <<_ACEOF
9139 #define LT_OBJDIR "$lt_cv_objdir/"
9147 # AIX sometimes has problems with the GCC collect2 program. For some
9148 # reason, if we set the COLLECT_NAMES environment variable, the problems
9149 # vanish in a puff of smoke.
9150 if test "X
${COLLECT_NAMES+set}" != Xset; then
9152 export COLLECT_NAMES
9159 can_build_shared=yes
9161 # All known linkers require a `.a' archive for static linking (except MSVC,
9162 # which needs '.lib').
9165 with_gnu_ld="$lt_cv_prog_gnu_ld"
9168 old_CFLAGS="$CFLAGS"
9170 # Set sane defaults for various variables
9171 test -z "$CC" && CC=cc
9172 test -z "$LTCC" && LTCC=$CC
9173 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9174 test -z "$LD" && LD=ld
9175 test -z "$ac_objext" && ac_objext=o
9177 for cc_temp in $compiler""; do
9179 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9180 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9185 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9188 # Only perform the check for file, if the check method requires it
9189 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9190 case $deplibs_check_method in
9192 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9194 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9195 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9196 $as_echo_n "(cached
) " >&6
9200 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9203 lt_save_MAGIC_CMD="$MAGIC_CMD"
9204 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9205 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9206 for ac_dir in $ac_dummy; do
9208 test -z "$ac_dir" && ac_dir=.
9209 if test -f $ac_dir/${ac_tool_prefix}file; then
9210 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9211 if test -n "$file_magic_test_file"; then
9212 case $deplibs_check_method in
9214 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9215 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9216 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9217 $EGREP "$file_magic_regex" > /dev/null; then
9222 *** Warning: the command libtool uses to detect shared libraries,
9223 *** $file_magic_cmd, produces output that libtool cannot recognize.
9224 *** The result is that libtool may fail to recognize shared libraries
9225 *** as such. This will affect the creation of libtool libraries that
9226 *** depend on shared libraries, but programs linked with such libtool
9227 *** libraries will work regardless of this problem. Nevertheless, you
9228 *** may want to report the problem to your system manager and/or to
9229 *** bug-libtool@gnu.org
9239 MAGIC_CMD="$lt_save_MAGIC_CMD"
9244 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9245 if test -n "$MAGIC_CMD"; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9247 $as_echo "$MAGIC_CMD" >&6; }
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9250 $as_echo "no
" >&6; }
9257 if test -z "$lt_cv_path_MAGIC_CMD"; then
9258 if test -n "$ac_tool_prefix"; then
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9260 $as_echo_n "checking
for file...
" >&6; }
9261 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9262 $as_echo_n "(cached
) " >&6
9266 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9269 lt_save_MAGIC_CMD="$MAGIC_CMD"
9270 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9271 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9272 for ac_dir in $ac_dummy; do
9274 test -z "$ac_dir" && ac_dir=.
9275 if test -f $ac_dir/file; then
9276 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9277 if test -n "$file_magic_test_file"; then
9278 case $deplibs_check_method in
9280 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9281 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9282 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9283 $EGREP "$file_magic_regex" > /dev/null; then
9288 *** Warning: the command libtool uses to detect shared libraries,
9289 *** $file_magic_cmd, produces output that libtool cannot recognize.
9290 *** The result is that libtool may fail to recognize shared libraries
9291 *** as such. This will affect the creation of libtool libraries that
9292 *** depend on shared libraries, but programs linked with such libtool
9293 *** libraries will work regardless of this problem. Nevertheless, you
9294 *** may want to report the problem to your system manager and/or to
9295 *** bug-libtool@gnu.org
9305 MAGIC_CMD="$lt_save_MAGIC_CMD"
9310 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9311 if test -n "$MAGIC_CMD"; then
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9313 $as_echo "$MAGIC_CMD" >&6; }
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9316 $as_echo "no
" >&6; }
9329 # Use C for the default configuration in the libtool script
9333 ac_cpp='$CPP $CPPFLAGS'
9334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9339 # Source file extension for C test sources.
9342 # Object file extension for compiled C test sources.
9346 # Code to be used in simple compile tests
9347 lt_simple_compile_test_code="int some_variable
= 0;"
9349 # Code to be used in simple link tests
9350 lt_simple_link_test_code='int main(){return(0);}'
9358 # If no C compiler was specified, use CC.
9361 # If no C compiler flags were specified, use CFLAGS.
9362 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9364 # Allow CC to be a program name with arguments.
9367 # Save the default compiler, since it gets overwritten when the other
9368 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9369 compiler_DEFAULT=$CC
9371 # save warnings/boilerplate of simple test code
9372 ac_outfile=conftest.$ac_objext
9373 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9374 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9375 _lt_compiler_boilerplate=`cat conftest.err`
9378 ac_outfile=conftest.$ac_objext
9379 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9380 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9381 _lt_linker_boilerplate=`cat conftest.err`
9386 ## There is no encapsulation within the following macros, do not change
9387 ## the running order or otherwise move them around unless you know exactly
9388 ## what you are doing...
9389 if test -n "$compiler"; then
9391 lt_prog_compiler_no_builtin_flag=
9393 if test "$GCC" = yes; then
9394 case $cc_basename in
9396 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9398 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9402 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9403 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9404 $as_echo_n "(cached
) " >&6
9406 lt_cv_prog_compiler_rtti_exceptions=no
9407 ac_outfile=conftest.$ac_objext
9408 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9409 lt_compiler_flag="-fno-rtti -fno-exceptions"
9410 # Insert the option either (1) after the last *FLAGS variable, or
9411 # (2) before a word containing "conftest.
", or (3) at the end.
9412 # Note that $ac_compile itself does not contain backslashes and begins
9413 # with a dollar sign (not a hyphen), so the echo should work correctly.
9414 # The option is referenced via a variable to avoid confusing sed.
9415 lt_compile=`echo "$ac_compile" | $SED \
9416 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9417 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9418 -e 's:$: $lt_compiler_flag:'`
9419 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9420 (eval "$lt_compile" 2>conftest.err)
9422 cat conftest.err >&5
9423 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9424 if (exit $ac_status) && test -s "$ac_outfile"; then
9425 # The compiler can only warn and ignore the option if not recognized
9426 # So say no if there are warnings other than the usual output.
9427 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9428 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9429 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9430 lt_cv_prog_compiler_rtti_exceptions=yes
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9437 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9439 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9440 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9452 lt_prog_compiler_wl=
9453 lt_prog_compiler_pic=
9454 lt_prog_compiler_static=
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9457 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9459 if test "$GCC" = yes; then
9460 lt_prog_compiler_wl='-Wl,'
9461 lt_prog_compiler_static='-static'
9465 # All AIX code is PIC.
9466 if test "$host_cpu" = ia64; then
9467 # AIX 5 now supports IA64 processor
9468 lt_prog_compiler_static='-Bstatic'
9470 lt_prog_compiler_pic='-fPIC'
9476 # see comment about AmigaOS4 .so support
9477 lt_prog_compiler_pic='-fPIC'
9480 # FIXME: we need at least 68020 code to build shared libraries, but
9481 # adding the `-m68020' flag to GCC prevents building anything better,
9483 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9488 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9489 # PIC is the default for these OSes.
9492 mingw* | cygwin* | pw32* | os2* | cegcc*)
9493 # This hack is so that the source file can tell whether it is being
9494 # built for inclusion in a dll (and should export symbols for example).
9495 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9496 # (--disable-auto-import) libraries
9497 lt_prog_compiler_pic='-DDLL_EXPORT'
9500 darwin* | rhapsody*)
9501 # PIC is the default on this platform
9502 # Common symbols not allowed in MH_DYLIB files
9503 lt_prog_compiler_pic='-fno-common'
9507 # PIC is the default for Haiku.
9508 # The "-static" flag exists, but is broken.
9509 lt_prog_compiler_static=
9513 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9514 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9515 # sets the default TLS model and affects inlining.
9521 lt_prog_compiler_pic='-fPIC'
9527 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9528 # Instead, we relocate shared libraries at runtime.
9532 # Just because we use GCC doesn't mean we suddenly get shared libraries
9533 # on systems that don't support them.
9534 lt_prog_compiler_can_build_shared=no
9539 # QNX uses GNU C++, but need to define -shared option too, otherwise
9541 lt_prog_compiler_pic='-fPIC -shared'
9545 if test -d /usr/nec; then
9546 lt_prog_compiler_pic=-Kconform_pic
9551 lt_prog_compiler_pic='-fPIC'
9555 case $cc_basename in
9556 nvcc*) # Cuda Compiler Driver 2.2
9557 lt_prog_compiler_wl='-Xlinker '
9558 lt_prog_compiler_pic='-Xcompiler -fPIC'
9562 # PORTME Check for flag to pass linker flags through the system compiler.
9565 lt_prog_compiler_wl='-Wl,'
9566 if test "$host_cpu" = ia64; then
9567 # AIX 5 now supports IA64 processor
9568 lt_prog_compiler_static='-Bstatic'
9570 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9574 mingw* | cygwin* | pw32* | os2* | cegcc*)
9575 # This hack is so that the source file can tell whether it is being
9576 # built for inclusion in a dll (and should export symbols for example).
9577 lt_prog_compiler_pic='-DDLL_EXPORT'
9580 hpux9* | hpux10* | hpux11*)
9581 lt_prog_compiler_wl='-Wl,'
9582 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9589 lt_prog_compiler_pic='+Z'
9592 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9593 lt_prog_compiler_static='${wl}-a ${wl}archive'
9596 irix5* | irix6* | nonstopux*)
9597 lt_prog_compiler_wl='-Wl,'
9598 # PIC (with -KPIC) is the default.
9599 lt_prog_compiler_static='-non_shared'
9602 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9603 case $cc_basename in
9604 # old Intel for x86_64 which still supported -KPIC.
9606 lt_prog_compiler_wl='-Wl,'
9607 lt_prog_compiler_pic='-KPIC'
9608 lt_prog_compiler_static='-static'
9610 # icc used to be incompatible with GCC.
9611 # ICC 10 doesn't accept -KPIC any more.
9613 lt_prog_compiler_wl='-Wl,'
9614 lt_prog_compiler_pic='-fPIC'
9615 lt_prog_compiler_static='-static'
9617 # Lahey Fortran 8.1.
9619 lt_prog_compiler_wl='-Wl,'
9620 lt_prog_compiler_pic='--shared'
9621 lt_prog_compiler_static='--static'
9623 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9624 # Portland Group compilers (*not* the Pentium gcc compiler,
9625 # which looks to be a dead project)
9626 lt_prog_compiler_wl='-Wl,'
9627 lt_prog_compiler_pic='-fpic'
9628 lt_prog_compiler_static='-Bstatic'
9631 lt_prog_compiler_wl='-Wl,'
9632 # All Alpha code is PIC.
9633 lt_prog_compiler_static='-non_shared'
9635 xl* | bgxl* | bgf* | mpixl*)
9636 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9637 lt_prog_compiler_wl='-Wl,'
9638 lt_prog_compiler_pic='-qpic'
9639 lt_prog_compiler_static='-qstaticlink'
9642 case `$CC -V 2>&1 | sed 5q` in
9643 *Sun\ F* | *Sun*Fortran*)
9644 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9645 lt_prog_compiler_pic='-KPIC'
9646 lt_prog_compiler_static='-Bstatic'
9647 lt_prog_compiler_wl=''
9651 lt_prog_compiler_pic='-KPIC'
9652 lt_prog_compiler_static='-Bstatic'
9653 lt_prog_compiler_wl='-Wl,'
9661 lt_prog_compiler_pic='-KPIC'
9662 lt_prog_compiler_static='-Bstatic'
9666 # QNX uses GNU C++, but need to define -shared option too, otherwise
9668 lt_prog_compiler_pic='-fPIC -shared'
9671 osf3* | osf4* | osf5*)
9672 lt_prog_compiler_wl='-Wl,'
9673 # All OSF/1 code is PIC.
9674 lt_prog_compiler_static='-non_shared'
9678 lt_prog_compiler_static='-non_shared'
9682 lt_prog_compiler_pic='-KPIC'
9683 lt_prog_compiler_static='-Bstatic'
9684 case $cc_basename in
9686 lt_prog_compiler_wl='-Qoption ld ';;
9688 lt_prog_compiler_wl='-Wl,';;
9693 lt_prog_compiler_wl='-Qoption ld '
9694 lt_prog_compiler_pic='-PIC'
9695 lt_prog_compiler_static='-Bstatic'
9698 sysv4 | sysv4.2uw2* | sysv4.3*)
9699 lt_prog_compiler_wl='-Wl,'
9700 lt_prog_compiler_pic='-KPIC'
9701 lt_prog_compiler_static='-Bstatic'
9705 if test -d /usr/nec ;then
9706 lt_prog_compiler_pic='-Kconform_pic'
9707 lt_prog_compiler_static='-Bstatic'
9711 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9712 lt_prog_compiler_wl='-Wl,'
9713 lt_prog_compiler_pic='-KPIC'
9714 lt_prog_compiler_static='-Bstatic'
9718 lt_prog_compiler_wl='-Wl,'
9719 lt_prog_compiler_can_build_shared=no
9723 lt_prog_compiler_pic='-pic'
9724 lt_prog_compiler_static='-Bstatic'
9728 lt_prog_compiler_can_build_shared=no
9734 # For platforms which do not support PIC, -DPIC is meaningless:
9736 lt_prog_compiler_pic=
9739 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9743 $as_echo "$lt_prog_compiler_pic" >&6; }
9751 # Check to make sure the PIC flag actually works.
9753 if test -n "$lt_prog_compiler_pic"; then
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9755 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9756 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9757 $as_echo_n "(cached
) " >&6
9759 lt_cv_prog_compiler_pic_works=no
9760 ac_outfile=conftest.$ac_objext
9761 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9762 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9763 # Insert the option either (1) after the last *FLAGS variable, or
9764 # (2) before a word containing "conftest.
", or (3) at the end.
9765 # Note that $ac_compile itself does not contain backslashes and begins
9766 # with a dollar sign (not a hyphen), so the echo should work correctly.
9767 # The option is referenced via a variable to avoid confusing sed.
9768 lt_compile=`echo "$ac_compile" | $SED \
9769 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9770 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9771 -e 's:$: $lt_compiler_flag:'`
9772 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9773 (eval "$lt_compile" 2>conftest.err)
9775 cat conftest.err >&5
9776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9777 if (exit $ac_status) && test -s "$ac_outfile"; then
9778 # The compiler can only warn and ignore the option if not recognized
9779 # So say no if there are warnings other than the usual output.
9780 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9781 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9782 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9783 lt_cv_prog_compiler_pic_works=yes
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9790 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9792 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9793 case $lt_prog_compiler_pic in
9795 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9798 lt_prog_compiler_pic=
9799 lt_prog_compiler_can_build_shared=no
9810 # Check to make sure the static flag actually works.
9812 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9814 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9815 if ${lt_cv_prog_compiler_static_works+:} false; then :
9816 $as_echo_n "(cached
) " >&6
9818 lt_cv_prog_compiler_static_works=no
9819 save_LDFLAGS="$LDFLAGS"
9820 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9821 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9822 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9823 # The linker can only warn and ignore the option if not recognized
9824 # So say no if there are warnings
9825 if test -s conftest.err; then
9826 # Append any errors to the config.log.
9827 cat conftest.err 1>&5
9828 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9829 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9830 if diff conftest.exp conftest.er2 >/dev/null; then
9831 lt_cv_prog_compiler_static_works=yes
9834 lt_cv_prog_compiler_static_works=yes
9838 LDFLAGS="$save_LDFLAGS"
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9842 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9844 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9847 lt_prog_compiler_static=
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9857 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9858 if ${lt_cv_prog_compiler_c_o+:} false; then :
9859 $as_echo_n "(cached
) " >&6
9861 lt_cv_prog_compiler_c_o=no
9862 $RM -r conftest 2>/dev/null
9866 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9868 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9869 # Insert the option either (1) after the last *FLAGS variable, or
9870 # (2) before a word containing "conftest.
", or (3) at the end.
9871 # Note that $ac_compile itself does not contain backslashes and begins
9872 # with a dollar sign (not a hyphen), so the echo should work correctly.
9873 lt_compile=`echo "$ac_compile" | $SED \
9874 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9876 -e 's:$: $lt_compiler_flag:'`
9877 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9878 (eval "$lt_compile" 2>out/conftest.err)
9880 cat out/conftest.err >&5
9881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9882 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9884 # The compiler can only warn and ignore the option if not recognized
9885 # So say no if there are warnings
9886 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9887 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9888 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9889 lt_cv_prog_compiler_c_o=yes
9894 # SGI C++ compiler will create directory out/ii_files/ for
9895 # template instantiation
9896 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9897 $RM out/* && rmdir out
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9904 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9912 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9913 if ${lt_cv_prog_compiler_c_o+:} false; then :
9914 $as_echo_n "(cached
) " >&6
9916 lt_cv_prog_compiler_c_o=no
9917 $RM -r conftest 2>/dev/null
9921 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9923 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9924 # Insert the option either (1) after the last *FLAGS variable, or
9925 # (2) before a word containing "conftest.
", or (3) at the end.
9926 # Note that $ac_compile itself does not contain backslashes and begins
9927 # with a dollar sign (not a hyphen), so the echo should work correctly.
9928 lt_compile=`echo "$ac_compile" | $SED \
9929 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9930 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9931 -e 's:$: $lt_compiler_flag:'`
9932 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9933 (eval "$lt_compile" 2>out/conftest.err)
9935 cat out/conftest.err >&5
9936 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9937 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9939 # The compiler can only warn and ignore the option if not recognized
9940 # So say no if there are warnings
9941 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9942 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9943 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9944 lt_cv_prog_compiler_c_o=yes
9949 # SGI C++ compiler will create directory out/ii_files/ for
9950 # template instantiation
9951 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9952 $RM out/* && rmdir out
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9959 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9964 hard_links="nottested
"
9965 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9966 # do not overwrite the value of need_locks provided by the user
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9968 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9971 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9973 ln conftest.a conftest.b 2>&5 || hard_links=no
9974 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9976 $as_echo "$hard_links" >&6; }
9977 if test "$hard_links" = no; then
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9979 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9992 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9995 allow_undefined_flag=
9996 always_export_symbols=no
9998 archive_expsym_cmds=
9999 compiler_needs_object=no
10000 enable_shared_with_static_runtimes=no
10001 export_dynamic_flag_spec=
10002 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10003 hardcode_automatic=no
10005 hardcode_direct_absolute=no
10006 hardcode_libdir_flag_spec=
10007 hardcode_libdir_flag_spec_ld=
10008 hardcode_libdir_separator=
10009 hardcode_minus_L=no
10010 hardcode_shlibpath_var=unsupported
10012 link_all_deplibs=unknown
10014 module_expsym_cmds=
10015 old_archive_from_new_cmds=
10016 old_archive_from_expsyms_cmds=
10017 thread_safe_flag_spec=
10018 whole_archive_flag_spec=
10019 # include_expsyms should be a list of space-separated symbols to be *always*
10020 # included in the symbol list
10022 # exclude_expsyms can be an extended regexp of symbols to exclude
10023 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10024 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10025 # as well as any symbol that contains `d'.
10026 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10027 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10028 # platforms (ab)use it in PIC code, but their linkers get confused if
10029 # the symbol is explicitly referenced. Since portable code cannot
10030 # rely on this symbol name, it's probably fine to never include it in
10031 # preloaded symbol tables.
10032 # Exclude shared library initialization/finalization symbols.
10033 extract_expsyms_cmds=
10036 cygwin* | mingw* | pw32* | cegcc*)
10037 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10038 # When not using gcc, we currently assume that we are using
10039 # Microsoft Visual C++.
10040 if test "$GCC" != yes; then
10045 # we just hope/assume this is gcc and not c89 (= MSVC++)
10055 # On some targets, GNU ld is compatible enough with the native linker
10056 # that we're better off using the native interface for both.
10057 lt_use_gnu_ld_interface=no
10058 if test "$with_gnu_ld" = yes; then
10061 # The AIX port of GNU ld has always aspired to compatibility
10062 # with the native linker. However, as the warning in the GNU ld
10063 # block says, versions before 2.19.5* couldn't really create working
10064 # shared libraries, regardless of the interface used.
10065 case `$LD -v 2>&1` in
10066 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10067 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10068 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10070 lt_use_gnu_ld_interface=yes
10075 lt_use_gnu_ld_interface=yes
10080 if test "$lt_use_gnu_ld_interface" = yes; then
10081 # If archive_cmds runs LD, not CC, wlarc should be empty
10084 # Set some defaults for GNU ld with shared library support. These
10085 # are reset later if shared libraries are not supported. Putting them
10086 # here allows them to be overridden if necessary.
10087 runpath_var=LD_RUN_PATH
10088 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10089 export_dynamic_flag_spec='${wl}--export-dynamic'
10090 # ancient GNU ld didn't support --whole-archive et. al.
10091 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10092 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10094 whole_archive_flag_spec=
10096 supports_anon_versioning=no
10097 case `$LD -v 2>&1` in
10098 *GNU\ gold*) supports_anon_versioning=yes ;;
10099 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10100 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10101 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10102 *\ 2.11.*) ;; # other 2.11 versions
10103 *) supports_anon_versioning=yes ;;
10106 # See if GNU ld supports shared libraries.
10109 # On AIX/PPC, the GNU linker is very broken
10110 if test "$host_cpu" != ia64; then
10114 *** Warning: the GNU linker, at least up to release 2.19, is reported
10115 *** to be unable to reliably create shared libraries on AIX.
10116 *** Therefore, libtool is disabling shared libraries support. If you
10117 *** really care for shared libraries, you may want to install binutils
10118 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10119 *** You will then need to restart the configuration process.
10128 # see comment about AmigaOS4 .so support
10129 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10130 archive_expsym_cmds=''
10133 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)'
10134 hardcode_libdir_flag_spec
='-L$libdir'
10135 hardcode_minus_L
=yes
10141 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10142 allow_undefined_flag
=unsupported
10143 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10144 # support --undefined. This deserves some investigation. FIXME
10145 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10151 cygwin
* | mingw
* | pw32
* | cegcc
*)
10152 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10153 # as there is no search path for DLLs.
10154 hardcode_libdir_flag_spec
='-L$libdir'
10155 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10156 allow_undefined_flag
=unsupported
10157 always_export_symbols
=no
10158 enable_shared_with_static_runtimes
=yes
10159 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10161 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10162 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10163 # If the export-symbols file already is a .def file (1st line
10164 # is EXPORTS), use it as is; otherwise, prepend...
10165 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10166 cp $export_symbols $output_objdir/$soname.def;
10168 echo EXPORTS > $output_objdir/$soname.def;
10169 cat $export_symbols >> $output_objdir/$soname.def;
10171 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10178 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10179 link_all_deplibs
=yes
10184 hardcode_shlibpath_var
=no
10185 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10186 export_dynamic_flag_spec
='${wl}-E'
10187 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10188 # Instead, shared libraries are loaded at an image base (0x10000000 by
10189 # default) and relocated if they conflict, which is a slow very memory
10190 # consuming and fragmenting process. To avoid this, we pick a random,
10191 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10192 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10193 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10194 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'
10197 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10199 if test "$host_os" = linux-dietlibc
; then
10200 case $cc_basename in
10201 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10204 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10205 && test "$tmp_diet" = no
10207 tmp_addflag
=' $pic_flag'
10208 tmp_sharedflag
='-shared'
10209 case $cc_basename,$host_cpu in
10210 pgcc
*) # Portland Group C compiler
10211 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'
10212 tmp_addflag
=' $pic_flag'
10214 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10215 # Portland Group f77 and f90 compilers
10216 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'
10217 tmp_addflag
=' $pic_flag -Mnomain' ;;
10218 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10219 tmp_addflag
=' -i_dynamic' ;;
10220 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10221 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10222 ifc
* | ifort
*) # Intel Fortran compiler
10223 tmp_addflag
=' -nofor_main' ;;
10224 lf95
*) # Lahey Fortran 8.1
10225 whole_archive_flag_spec
=
10226 tmp_sharedflag
='--shared' ;;
10227 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10228 tmp_sharedflag
='-qmkshrobj'
10230 nvcc
*) # Cuda Compiler Driver 2.2
10231 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'
10232 compiler_needs_object
=yes
10235 case `$CC -V 2>&1 | sed 5q` in
10236 *Sun\ C
*) # Sun C 5.9
10237 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'
10238 compiler_needs_object
=yes
10239 tmp_sharedflag
='-G' ;;
10240 *Sun\ F
*) # Sun Fortran 8.3
10241 tmp_sharedflag
='-G' ;;
10243 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10245 if test "x$supports_anon_versioning" = xyes
; then
10246 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10247 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10248 echo "local: *; };" >> $output_objdir/$libname.ver~
10249 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10252 case $cc_basename in
10253 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10254 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10255 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10256 hardcode_libdir_flag_spec
=
10257 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10258 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10259 if test "x$supports_anon_versioning" = xyes
; then
10260 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10261 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10262 echo "local: *; };" >> $output_objdir/$libname.ver~
10263 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10273 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10274 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10277 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10278 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10283 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10287 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10288 *** create shared libraries on Solaris systems. Therefore, libtool
10289 *** is disabling shared libraries support. We urge you to upgrade GNU
10290 *** binutils to release 2.9.1 or newer. Another option is to modify
10291 *** your PATH or compiler configuration so that the native linker is
10292 *** used, and then restart.
10295 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10296 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10297 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10303 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10304 case `$LD -v 2>&1` in
10305 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10309 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10310 *** reliably create shared libraries on SCO systems. Therefore, libtool
10311 *** is disabling shared libraries support. We urge you to upgrade GNU
10312 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10313 *** your PATH or compiler configuration so that the native linker is
10314 *** used, and then restart.
10319 # For security reasons, it is highly recommended that you always
10320 # use absolute paths for naming shared libraries, and exclude the
10321 # DT_RUNPATH tag from executables and libraries. But doing so
10322 # requires that you compile everything twice, which is a pain.
10323 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10324 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10325 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10326 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10335 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10337 hardcode_direct
=yes
10338 hardcode_shlibpath_var
=no
10342 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10343 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10344 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10351 if test "$ld_shlibs" = no
; then
10353 hardcode_libdir_flag_spec
=
10354 export_dynamic_flag_spec
=
10355 whole_archive_flag_spec
=
10358 # PORTME fill in a description of your system's linker (not GNU ld)
10361 allow_undefined_flag
=unsupported
10362 always_export_symbols
=yes
10363 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'
10364 # Note: this linker hardcodes the directories in LIBPATH if there
10365 # are no directories specified by -L.
10366 hardcode_minus_L
=yes
10367 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10368 # Neither direct hardcoding nor static linking is supported with a
10370 hardcode_direct
=unsupported
10375 if test "$host_cpu" = ia64
; then
10376 # On IA64, the linker does run time linking by default, so we don't
10377 # have to do anything special.
10378 aix_use_runtimelinking
=no
10379 exp_sym_flag
='-Bexport'
10382 # If we're using GNU nm, then we don't want the "-C" option.
10383 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10384 # Also, AIX nm treats weak defined symbols like other global
10385 # defined symbols, whereas GNU nm marks them as "W".
10386 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10387 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'
10389 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'
10391 aix_use_runtimelinking
=no
10393 # Test if we are trying to use run time linking or normal
10394 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10395 # need to do runtime linking.
10396 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10397 for ld_flag
in $LDFLAGS; do
10398 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10399 aix_use_runtimelinking
=yes
10406 exp_sym_flag
='-bexport'
10407 no_entry_flag
='-bnoentry'
10410 # When large executables or shared objects are built, AIX ld can
10411 # have problems creating the table of contents. If linking a library
10412 # or program results in "error TOC overflow" add -mminimal-toc to
10413 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10414 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10417 hardcode_direct
=yes
10418 hardcode_direct_absolute
=yes
10419 hardcode_libdir_separator
=':'
10420 link_all_deplibs
=yes
10421 file_list_spec
='${wl}-f,'
10423 if test "$GCC" = yes; then
10424 case $host_os in aix4.
[012]|aix4.
[012].
*)
10425 # We only want to do this on AIX 4.2 and lower, the check
10426 # below for broken collect2 doesn't work under 4.3+
10427 collect2name
=`${CC} -print-prog-name=collect2`
10428 if test -f "$collect2name" &&
10429 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10431 # We have reworked collect2
10434 # We have old collect2
10435 hardcode_direct
=unsupported
10436 # It fails to find uninstalled libraries when the uninstalled
10437 # path is not listed in the libpath. Setting hardcode_minus_L
10438 # to unsupported forces relinking
10439 hardcode_minus_L
=yes
10440 hardcode_libdir_flag_spec
='-L$libdir'
10441 hardcode_libdir_separator
=
10445 shared_flag
='-shared'
10446 if test "$aix_use_runtimelinking" = yes; then
10447 shared_flag
="$shared_flag "'${wl}-G'
10451 if test "$host_cpu" = ia64
; then
10452 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10453 # chokes on -Wl,-G. The following line is correct:
10456 if test "$aix_use_runtimelinking" = yes; then
10457 shared_flag
='${wl}-G'
10459 shared_flag
='${wl}-bM:SRE'
10464 export_dynamic_flag_spec
='${wl}-bexpall'
10465 # It seems that -bexpall does not export symbols beginning with
10466 # underscore (_), so it is better to generate a list of symbols to export.
10467 always_export_symbols
=yes
10468 if test "$aix_use_runtimelinking" = yes; then
10469 # Warning - without using the other runtime loading flags (-brtl),
10470 # -berok will link without error, but may produce a broken library.
10471 allow_undefined_flag
='-berok'
10472 # Determine the default libpath from the value encoded in an
10473 # empty executable.
10474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10485 if ac_fn_c_try_link
"$LINENO"; then :
10487 lt_aix_libpath_sed
='
10488 /Import File Strings/,/^$/ {
10494 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10495 # Check for a 64-bit object if we didn't find anything.
10496 if test -z "$aix_libpath"; then
10497 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10500 rm -f core conftest.err conftest.
$ac_objext \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10504 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10505 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"
10507 if test "$host_cpu" = ia64
; then
10508 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10509 allow_undefined_flag
="-z nodefs"
10510 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"
10512 # Determine the default libpath from the value encoded in an
10513 # empty executable.
10514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10525 if ac_fn_c_try_link
"$LINENO"; then :
10527 lt_aix_libpath_sed
='
10528 /Import File Strings/,/^$/ {
10534 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10535 # Check for a 64-bit object if we didn't find anything.
10536 if test -z "$aix_libpath"; then
10537 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10540 rm -f core conftest.err conftest.
$ac_objext \
10541 conftest
$ac_exeext conftest.
$ac_ext
10542 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10544 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10545 # Warning - without using the other run time loading flags,
10546 # -berok will link without error, but may produce a broken library.
10547 no_undefined_flag
=' ${wl}-bernotok'
10548 allow_undefined_flag
=' ${wl}-berok'
10549 if test "$with_gnu_ld" = yes; then
10550 # We only use this code for GNU lds that support --whole-archive.
10551 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10553 # Exported symbols can be pulled into shared objects from archives
10554 whole_archive_flag_spec
='$convenience'
10556 archive_cmds_need_lc
=yes
10557 # This is similar to how AIX traditionally builds its shared libraries.
10558 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'
10566 # see comment about AmigaOS4 .so support
10567 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10568 archive_expsym_cmds
=''
10571 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)'
10572 hardcode_libdir_flag_spec
='-L$libdir'
10573 hardcode_minus_L
=yes
10579 export_dynamic_flag_spec
=-rdynamic
10582 cygwin
* | mingw
* | pw32
* | cegcc
*)
10583 # When not using gcc, we currently assume that we are using
10584 # Microsoft Visual C++.
10585 # hardcode_libdir_flag_spec is actually meaningless, as there is
10586 # no search path for DLLs.
10587 hardcode_libdir_flag_spec
=' '
10588 allow_undefined_flag
=unsupported
10589 # Tell ltmain to make .lib files, not .a files.
10591 # Tell ltmain to make .dll files, not .so files.
10593 # FIXME: Setting linknames here is a bad hack.
10594 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10595 # The linker will automatically build a .lib file if we build a DLL.
10596 old_archive_from_new_cmds
='true'
10597 # FIXME: Should let the user specify the lib program.
10598 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10599 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10600 enable_shared_with_static_runtimes
=yes
10603 darwin
* | rhapsody
*)
10607 # Publish an arg to allow the user to select that Darwin host (and target)
10608 # libraries should be given install-names like @rpath/libfoo.dylib. This
10609 # requires that the user of the library then adds an 'rpath' to the DSO that
10611 # NOTE: there are defaults below, for systems that support rpaths. The person
10612 # configuring can override the defaults for any system version that supports
10613 # them - they are, however, forced off for system versions without support.
10614 # Check whether --enable-darwin-at-rpath was given.
10615 if test "${enable_darwin_at_rpath+set}" = set; then :
10616 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10617 # This is not supported before macOS 10.5 / Darwin9.
10618 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10619 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10621 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10622 enable_darwin_at_rpath
=no
10627 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10628 # As above, before 10.5 / Darwin9 this does not work.
10629 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10630 enable_darwin_at_rpath
=no
10633 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10634 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10635 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10636 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10638 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10639 enable_darwin_at_rpath
=yes
10641 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10642 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10649 archive_cmds_need_lc
=no
10651 hardcode_automatic
=yes
10652 hardcode_shlibpath_var
=unsupported
10653 if test "$lt_cv_ld_force_load" = "yes"; then
10654 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\"`'
10656 whole_archive_flag_spec
=''
10658 link_all_deplibs
=yes
10659 allow_undefined_flag
="$_lt_dar_allow_undefined"
10660 case $cc_basename in
10661 ifort
*) _lt_dar_can_shared
=yes ;;
10662 *) _lt_dar_can_shared
=$GCC ;;
10664 if test "$_lt_dar_can_shared" = "yes"; then
10665 output_verbose_link_cmd
=func_echo_all
10666 _lt_install_name
='\$rpath/\$soname'
10667 if test "x$enable_darwin_at_rpath" = "xyes"; then
10668 _lt_install_name
='@rpath/\$soname'
10670 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
10671 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10672 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}"
10673 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}"
10682 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10683 hardcode_libdir_flag_spec
='-L$libdir'
10684 hardcode_shlibpath_var
=no
10687 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10688 # support. Future versions do this automatically, but an explicit c++rt0.o
10689 # does not break anything, and helps significantly (at the cost of a little
10692 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10693 hardcode_libdir_flag_spec
='-R$libdir'
10694 hardcode_direct
=yes
10695 hardcode_shlibpath_var
=no
10698 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10700 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10701 hardcode_direct
=yes
10702 hardcode_minus_L
=yes
10703 hardcode_shlibpath_var
=no
10706 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10707 freebsd
* | dragonfly
*)
10708 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10709 hardcode_libdir_flag_spec
='-R$libdir'
10710 hardcode_direct
=yes
10711 hardcode_shlibpath_var
=no
10715 if test "$GCC" = yes; then
10716 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'
10718 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'
10720 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10721 hardcode_libdir_separator
=:
10722 hardcode_direct
=yes
10724 # hardcode_minus_L: Not really in the search PATH,
10725 # but as the default location of the library.
10726 hardcode_minus_L
=yes
10727 export_dynamic_flag_spec
='${wl}-E'
10731 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10732 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10734 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10736 if test "$with_gnu_ld" = no
; then
10737 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10738 hardcode_libdir_flag_spec_ld
='+b $libdir'
10739 hardcode_libdir_separator
=:
10740 hardcode_direct
=yes
10741 hardcode_direct_absolute
=yes
10742 export_dynamic_flag_spec
='${wl}-E'
10743 # hardcode_minus_L: Not really in the search PATH,
10744 # but as the default location of the library.
10745 hardcode_minus_L
=yes
10750 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10753 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10756 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10759 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10765 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10768 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10772 # Older versions of the 11.00 compiler do not understand -b yet
10773 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10775 $as_echo_n "checking if $CC understands -b... " >&6; }
10776 if ${lt_cv_prog_compiler__b+:} false
; then :
10777 $as_echo_n "(cached) " >&6
10779 lt_cv_prog_compiler__b
=no
10780 save_LDFLAGS
="$LDFLAGS"
10781 LDFLAGS
="$LDFLAGS -b"
10782 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10783 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10784 # The linker can only warn and ignore the option if not recognized
10785 # So say no if there are warnings
10786 if test -s conftest.err
; then
10787 # Append any errors to the config.log.
10788 cat conftest.err
1>&5
10789 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10790 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10791 if diff conftest.exp conftest.er2
>/dev
/null
; then
10792 lt_cv_prog_compiler__b
=yes
10795 lt_cv_prog_compiler__b
=yes
10799 LDFLAGS
="$save_LDFLAGS"
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10803 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10805 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10806 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10808 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10814 if test "$with_gnu_ld" = no
; then
10815 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10816 hardcode_libdir_separator
=:
10821 hardcode_shlibpath_var
=no
10824 hardcode_direct
=yes
10825 hardcode_direct_absolute
=yes
10826 export_dynamic_flag_spec
='${wl}-E'
10828 # hardcode_minus_L: Not really in the search PATH,
10829 # but as the default location of the library.
10830 hardcode_minus_L
=yes
10836 irix5
* | irix6
* | nonstopux
*)
10837 if test "$GCC" = yes; then
10838 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'
10839 # Try to use the -exported_symbol ld option, if it does not
10840 # work, assume that -exports_file does not work either and
10841 # implicitly export all symbols.
10842 save_LDFLAGS
="$LDFLAGS"
10843 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10848 if ac_fn_c_try_link
"$LINENO"; then :
10849 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'
10852 rm -f core conftest.err conftest.
$ac_objext \
10853 conftest
$ac_exeext conftest.
$ac_ext
10854 LDFLAGS
="$save_LDFLAGS"
10856 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'
10857 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'
10859 archive_cmds_need_lc
='no'
10860 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10861 hardcode_libdir_separator
=:
10863 link_all_deplibs
=yes
10867 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10868 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10870 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10872 hardcode_libdir_flag_spec
='-R$libdir'
10873 hardcode_direct
=yes
10874 hardcode_shlibpath_var
=no
10878 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10879 hardcode_direct
=yes
10880 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10881 hardcode_libdir_separator
=:
10882 hardcode_shlibpath_var
=no
10889 if test -f /usr
/libexec
/ld.so
; then
10890 hardcode_direct
=yes
10891 hardcode_shlibpath_var
=no
10892 hardcode_direct_absolute
=yes
10893 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10894 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10895 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10896 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10897 export_dynamic_flag_spec
='${wl}-E'
10900 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10901 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10902 hardcode_libdir_flag_spec
='-R$libdir'
10905 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10906 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10916 hardcode_libdir_flag_spec
='-L$libdir'
10917 hardcode_minus_L
=yes
10918 allow_undefined_flag
=unsupported
10919 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'
10920 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10924 if test "$GCC" = yes; then
10925 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10926 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'
10928 allow_undefined_flag
=' -expect_unresolved \*'
10929 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'
10931 archive_cmds_need_lc
='no'
10932 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10933 hardcode_libdir_separator
=:
10936 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10937 if test "$GCC" = yes; then
10938 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10939 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'
10940 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10942 allow_undefined_flag
=' -expect_unresolved \*'
10943 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'
10944 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~
10945 $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'
10947 # Both c and cxx compiler support -rpath directly
10948 hardcode_libdir_flag_spec
='-rpath $libdir'
10950 archive_cmds_need_lc
='no'
10951 hardcode_libdir_separator
=:
10955 no_undefined_flag
=' -z defs'
10956 if test "$GCC" = yes; then
10958 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10959 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10960 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10962 case `$CC -V 2>&1` in
10965 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10966 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10967 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10971 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10972 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10973 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10977 hardcode_libdir_flag_spec
='-R$libdir'
10978 hardcode_shlibpath_var
=no
10980 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10982 # The compiler driver will combine and reorder linker options,
10983 # but understands `-z linker_flag'. GCC discards it without `$wl',
10984 # but is careful enough not to reorder.
10985 # Supported since Solaris 2.6 (maybe 2.5.1?)
10986 if test "$GCC" = yes; then
10987 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10989 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10993 link_all_deplibs
=yes
10997 if test "x$host_vendor" = xsequent
; then
10998 # Use $CC to link under sequent, because it throws in some extra .o
10999 # files that make .init and .fini sections work.
11000 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11002 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11004 hardcode_libdir_flag_spec
='-L$libdir'
11005 hardcode_direct
=yes
11006 hardcode_minus_L
=yes
11007 hardcode_shlibpath_var
=no
11011 case $host_vendor in
11013 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11014 hardcode_direct
=yes # is this really true???
11017 ## LD is ld it makes a PLAMLIB
11018 ## CC just makes a GrossModule.
11019 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11020 reload_cmds
='$CC -r -o $output$reload_objs'
11024 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11025 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11028 runpath_var
='LD_RUN_PATH'
11029 hardcode_shlibpath_var
=no
11033 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11034 hardcode_shlibpath_var
=no
11035 export_dynamic_flag_spec
='-Bexport'
11039 if test -d /usr
/nec
; then
11040 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11041 hardcode_shlibpath_var
=no
11042 runpath_var
=LD_RUN_PATH
11043 hardcode_runpath_var
=yes
11048 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11049 no_undefined_flag
='${wl}-z,text'
11050 archive_cmds_need_lc
=no
11051 hardcode_shlibpath_var
=no
11052 runpath_var
='LD_RUN_PATH'
11054 if test "$GCC" = yes; then
11055 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11056 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11058 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11059 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11063 sysv5
* | sco3.2v5
* | sco5v6
*)
11064 # Note: We can NOT use -z defs as we might desire, because we do not
11065 # link with -lc, and that would cause any symbols used from libc to
11066 # always be unresolved, which means just about no library would
11067 # ever link correctly. If we're not using GNU ld we use -z text
11068 # though, which does catch some bad symbols but isn't as heavy-handed
11070 no_undefined_flag
='${wl}-z,text'
11071 allow_undefined_flag
='${wl}-z,nodefs'
11072 archive_cmds_need_lc
=no
11073 hardcode_shlibpath_var
=no
11074 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11075 hardcode_libdir_separator
=':'
11076 link_all_deplibs
=yes
11077 export_dynamic_flag_spec
='${wl}-Bexport'
11078 runpath_var
='LD_RUN_PATH'
11080 if test "$GCC" = yes; then
11081 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11082 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11084 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11085 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11090 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11091 hardcode_libdir_flag_spec
='-L$libdir'
11092 hardcode_shlibpath_var
=no
11100 if test x
$host_vendor = xsni
; then
11102 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11103 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11110 $as_echo "$ld_shlibs" >&6; }
11111 test "$ld_shlibs" = no
&& can_build_shared
=no
11113 with_gnu_ld
=$with_gnu_ld
11130 # Do we need to explicitly link libc?
11132 case "x$archive_cmds_need_lc" in
11134 # Assume -lc should be added
11135 archive_cmds_need_lc
=yes
11137 if test "$enable_shared" = yes && test "$GCC" = yes; then
11138 case $archive_cmds in
11140 # FIXME: we may have to deal with multi-command sequences.
11143 # Test whether the compiler implicitly links with -lc since on some
11144 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11145 # to ld, don't add -lc before -lgcc.
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11147 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11148 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11149 $as_echo_n "(cached) " >&6
11152 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11155 (eval $ac_compile) 2>&5
11157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11158 test $ac_status = 0; } 2>conftest.err
; then
11161 libobjs
=conftest.
$ac_objext
11163 wl
=$lt_prog_compiler_wl
11164 pic_flag
=$lt_prog_compiler_pic
11170 lt_save_allow_undefined_flag
=$allow_undefined_flag
11171 allow_undefined_flag
=
11172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11173 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11176 test $ac_status = 0; }
11178 lt_cv_archive_cmds_need_lc
=no
11180 lt_cv_archive_cmds_need_lc
=yes
11182 allow_undefined_flag
=$lt_save_allow_undefined_flag
11184 cat conftest.err
1>&5
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11190 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11191 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11355 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11357 if test "$GCC" = yes; then
11359 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11360 *) lt_awk_arg
="/^libraries:/" ;;
11363 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11364 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11366 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11367 case $lt_search_path_spec in
11369 # if the path contains ";" then we assume it to be the separator
11370 # otherwise default to the standard path separator (i.e. ":") - it is
11371 # assumed that no part of a normal pathname contains ";" but that should
11372 # okay in the real world where ";" in dirpaths is itself problematic.
11373 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11376 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11379 # Ok, now we have the path, separated by spaces, we can step through it
11380 # and add multilib dir if necessary.
11381 lt_tmp_lt_search_path_spec
=
11382 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11383 for lt_sys_path
in $lt_search_path_spec; do
11384 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11385 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11387 test -d "$lt_sys_path" && \
11388 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11391 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11392 BEGIN {RS=" "; FS="/|\n";} {
11395 for (lt_i = NF; lt_i > 0; lt_i--) {
11396 if ($lt_i != "" && $lt_i != ".") {
11397 if ($lt_i == "..") {
11400 if (lt_count == 0) {
11401 lt_foo="/" $lt_i lt_foo;
11408 if (lt_foo != "") { lt_freq[lt_foo]++; }
11409 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11411 # AWK program above erroneously prepends '/' to C:/dos/paths
11414 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11415 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11417 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11419 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11421 library_names_spec
=
11422 libname_spec
='lib$name'
11426 postuninstall_cmds
=
11430 shlibpath_overrides_runpath
=unknown
11432 dynamic_linker
="$host_os ld.so"
11433 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11434 need_lib_prefix
=unknown
11435 hardcode_into_libs
=no
11437 # when you set need_version to no, make sure it does not cause -set_version
11438 # flags to be left without arguments
11439 need_version
=unknown
11444 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11445 shlibpath_var
=LIBPATH
11447 # AIX 3 has no versioning support, so we append a major version to the name.
11448 soname_spec
='${libname}${release}${shared_ext}$major'
11455 hardcode_into_libs
=yes
11456 if test "$host_cpu" = ia64
; then
11457 # AIX 5 supports IA64
11458 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11459 shlibpath_var
=LD_LIBRARY_PATH
11461 # With GCC up to 2.95.x, collect2 would create an import file
11462 # for dependence libraries. The import file would start with
11463 # the line `#! .'. This would cause the generated library to
11464 # depend on `.', always an invalid library. This was fixed in
11465 # development snapshots of GCC prior to 3.0.
11467 aix4 | aix4.
[01] | aix4.
[01].
*)
11468 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11470 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11473 can_build_shared
=no
11477 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11478 # soname into executable. Probably we can add versioning support to
11479 # collect2, so additional links can be useful in future.
11480 if test "$aix_use_runtimelinking" = yes; then
11481 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11482 # instead of lib<name>.a to let people know that these are not
11483 # typical AIX shared libraries.
11484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486 # We preserve .a as extension for shared libraries through AIX4.2
11487 # and later when we are not doing run time linking.
11488 library_names_spec
='${libname}${release}.a $libname.a'
11489 soname_spec
='${libname}${release}${shared_ext}$major'
11491 shlibpath_var
=LIBPATH
11498 # Since July 2007 AmigaOS4 officially supports .so libraries.
11499 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11503 library_names_spec
='$libname.ixlibrary $libname.a'
11504 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11505 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'
11511 library_names_spec
='${libname}${shared_ext}'
11512 dynamic_linker
="$host_os ld.so"
11513 shlibpath_var
=LIBRARY_PATH
11519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11520 soname_spec
='${libname}${release}${shared_ext}$major'
11521 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11522 shlibpath_var
=LD_LIBRARY_PATH
11523 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11524 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11525 # the default ld.so.conf also contains /usr/contrib/lib and
11526 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11527 # libtool to hard-code these into programs
11530 cygwin
* | mingw
* | pw32
* | cegcc
*)
11531 version_type
=windows
11536 case $GCC,$host_os in
11537 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11538 library_names_spec
='$libname.dll.a'
11539 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11540 postinstall_cmds
='base_file=`basename \${file}`~
11541 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11542 dldir=$destdir/`dirname \$dlpath`~
11543 test -d \$dldir || mkdir -p \$dldir~
11544 $install_prog $dir/$dlname \$dldir/$dlname~
11545 chmod a+x \$dldir/$dlname~
11546 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11547 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11549 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11550 dlpath=$dir/\$dldll~
11552 shlibpath_overrides_runpath
=yes
11556 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11557 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11559 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11562 # MinGW DLLs use traditional 'lib' prefix
11563 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11566 # pw32 DLLs use 'pw' prefix rather than 'lib'
11567 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11573 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11576 dynamic_linker
='Win32 ld.exe'
11577 # FIXME: first we should search . and the directory the executable is in
11581 darwin
* | rhapsody
*)
11582 dynamic_linker
="$host_os dyld"
11583 version_type
=darwin
11586 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11587 soname_spec
='${libname}${release}${major}$shared_ext'
11588 shlibpath_overrides_runpath
=yes
11589 shlibpath_var
=DYLD_LIBRARY_PATH
11590 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11592 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11593 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11601 soname_spec
='${libname}${release}${shared_ext}$major'
11602 shlibpath_var
=LD_LIBRARY_PATH
11605 freebsd
* | dragonfly
*)
11606 # DragonFly does not have aout. When/if they implement a new
11607 # versioning mechanism, adjust this.
11608 if test -x /usr
/bin
/objformat
; then
11609 objformat
=`/usr/bin/objformat`
11612 freebsd
[23].
*) objformat
=aout
;;
11613 *) objformat
=elf
;;
11616 version_type
=freebsd-
$objformat
11617 case $version_type in
11619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11624 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11628 shlibpath_var
=LD_LIBRARY_PATH
11631 shlibpath_overrides_runpath
=yes
11633 freebsd3.
[01]* | freebsdelf3.
[01]*)
11634 shlibpath_overrides_runpath
=yes
11635 hardcode_into_libs
=yes
11637 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11638 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11639 shlibpath_overrides_runpath
=no
11640 hardcode_into_libs
=yes
11642 *) # from 4.6 on, and DragonFly
11643 shlibpath_overrides_runpath
=yes
11644 hardcode_into_libs
=yes
11653 dynamic_linker
="$host_os runtime_loader"
11654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11655 soname_spec
='${libname}${release}${shared_ext}$major'
11656 shlibpath_var
=LIBRARY_PATH
11657 shlibpath_overrides_runpath
=yes
11658 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11659 hardcode_into_libs
=yes
11662 hpux9
* | hpux10
* | hpux11
*)
11663 # Give a soname corresponding to the major version so that dld.sl refuses to
11664 # link against other versions.
11671 hardcode_into_libs
=yes
11672 dynamic_linker
="$host_os dld.so"
11673 shlibpath_var
=LD_LIBRARY_PATH
11674 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11676 soname_spec
='${libname}${release}${shared_ext}$major'
11677 if test "X$HPUX_IA64_MODE" = X32
; then
11678 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11680 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11682 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11686 hardcode_into_libs
=yes
11687 dynamic_linker
="$host_os dld.sl"
11688 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11689 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11691 soname_spec
='${libname}${release}${shared_ext}$major'
11692 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11693 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11697 dynamic_linker
="$host_os dld.sl"
11698 shlibpath_var
=SHLIB_PATH
11699 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11701 soname_spec
='${libname}${release}${shared_ext}$major'
11704 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11705 postinstall_cmds
='chmod 555 $lib'
11706 # or fails outright, so override atomically:
11707 install_override_mode
=555
11714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11715 soname_spec
='${libname}${release}${shared_ext}$major'
11716 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11717 shlibpath_var
=LD_LIBRARY_PATH
11718 shlibpath_overrides_runpath
=no
11719 hardcode_into_libs
=yes
11722 irix5
* | irix6
* | nonstopux
*)
11724 nonstopux
*) version_type
=nonstopux
;;
11726 if test "$lt_cv_prog_gnu_ld" = yes; then
11734 soname_spec
='${libname}${release}${shared_ext}$major'
11735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11737 irix5
* | nonstopux
*)
11738 libsuff
= shlibsuff
=
11741 case $LD in # libtool.m4 will add one of these switches to LD
11742 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11743 libsuff
= shlibsuff
= libmagic
=32-bit;;
11744 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11745 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11746 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11747 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11748 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11752 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11753 shlibpath_overrides_runpath
=no
11754 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11755 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11756 hardcode_into_libs
=yes
11759 # No shared lib support for Linux oldld, aout, or coff.
11760 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11764 # This must be Linux ELF.
11766 # uclinux* changes (here and below) have been submitted to the libtool
11767 # project, but have not yet been accepted: they are GCC-local changes
11768 # for the time being. (See
11769 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11770 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11775 soname_spec
='${libname}${release}${shared_ext}$major'
11776 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11777 shlibpath_var
=LD_LIBRARY_PATH
11778 shlibpath_overrides_runpath
=no
11780 # Some binutils ld are patched to set DT_RUNPATH
11781 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11782 $as_echo_n "(cached) " >&6
11784 lt_cv_shlibpath_overrides_runpath
=no
11785 save_LDFLAGS
=$LDFLAGS
11786 save_libdir
=$libdir
11787 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11788 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11800 if ac_fn_c_try_link
"$LINENO"; then :
11801 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11802 lt_cv_shlibpath_overrides_runpath
=yes
11805 rm -f core conftest.err conftest.
$ac_objext \
11806 conftest
$ac_exeext conftest.
$ac_ext
11807 LDFLAGS
=$save_LDFLAGS
11808 libdir
=$save_libdir
11812 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11814 # This implies no fast_install, which is unacceptable.
11815 # Some rework will be needed to allow for fast_install
11816 # before this can be enabled.
11817 hardcode_into_libs
=yes
11819 # Append ld.so.conf contents to the search path
11820 if test -f /etc
/ld.so.conf
; then
11821 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' ' '`
11822 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11825 # We used to test for /lib/ld.so.1 and disable shared libraries on
11826 # powerpc, because MkLinux only supported shared libraries with the
11827 # GNU dynamic linker. Since this was broken with cross compilers,
11828 # most powerpc-linux boxes support dynamic linking these days and
11829 # people can always --disable-shared, the test was removed, and we
11830 # assume the GNU/Linux dynamic linker is in use.
11831 dynamic_linker
='GNU/Linux ld.so'
11838 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11840 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11841 dynamic_linker
='NetBSD (a.out) ld.so'
11843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11844 soname_spec
='${libname}${release}${shared_ext}$major'
11845 dynamic_linker
='NetBSD ld.elf_so'
11847 shlibpath_var
=LD_LIBRARY_PATH
11848 shlibpath_overrides_runpath
=yes
11849 hardcode_into_libs
=yes
11854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11855 shlibpath_var
=LD_LIBRARY_PATH
11856 shlibpath_overrides_runpath
=yes
11863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11864 soname_spec
='${libname}${release}${shared_ext}$major'
11865 shlibpath_var
=LD_LIBRARY_PATH
11866 shlibpath_overrides_runpath
=no
11867 hardcode_into_libs
=yes
11868 dynamic_linker
='ldqnx.so'
11873 sys_lib_dlsearch_path_spec
="/usr/lib"
11875 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11877 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11878 *) need_version
=no
;;
11880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11881 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11882 shlibpath_var
=LD_LIBRARY_PATH
11883 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11885 openbsd2.
[89] | openbsd2.
[89].
*)
11886 shlibpath_overrides_runpath
=no
11889 shlibpath_overrides_runpath
=yes
11893 shlibpath_overrides_runpath
=yes
11898 libname_spec
='$name'
11901 library_names_spec
='$libname${shared_ext} $libname.a'
11902 dynamic_linker
='OS/2 ld.exe'
11903 shlibpath_var
=LIBPATH
11906 osf3
* | osf4
* | osf5
*)
11910 soname_spec
='${libname}${release}${shared_ext}$major'
11911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11912 shlibpath_var
=LD_LIBRARY_PATH
11913 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11914 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11926 soname_spec
='${libname}${release}${shared_ext}$major'
11927 shlibpath_var
=LD_LIBRARY_PATH
11928 shlibpath_overrides_runpath
=yes
11929 hardcode_into_libs
=yes
11930 # ldd complains unless libraries are executable
11931 postinstall_cmds
='chmod +x $lib'
11936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11937 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11938 shlibpath_var
=LD_LIBRARY_PATH
11939 shlibpath_overrides_runpath
=yes
11940 if test "$with_gnu_ld" = yes; then
11948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11949 soname_spec
='${libname}${release}${shared_ext}$major'
11950 shlibpath_var
=LD_LIBRARY_PATH
11951 case $host_vendor in
11953 shlibpath_overrides_runpath
=no
11955 runpath_var
=LD_RUN_PATH
11963 shlibpath_overrides_runpath
=no
11964 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11970 if test -d /usr
/nec
;then
11972 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11973 soname_spec
='$libname${shared_ext}.$major'
11974 shlibpath_var
=LD_LIBRARY_PATH
11978 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11979 version_type
=freebsd-elf
11982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11983 soname_spec
='${libname}${release}${shared_ext}$major'
11984 shlibpath_var
=LD_LIBRARY_PATH
11985 shlibpath_overrides_runpath
=yes
11986 hardcode_into_libs
=yes
11987 if test "$with_gnu_ld" = yes; then
11988 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11990 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11993 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11997 sys_lib_dlsearch_path_spec
='/usr/lib'
12001 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12006 shlibpath_var
=LD_LIBRARY_PATH
12007 shlibpath_overrides_runpath
=no
12008 hardcode_into_libs
=yes
12013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12014 soname_spec
='${libname}${release}${shared_ext}$major'
12015 shlibpath_var
=LD_LIBRARY_PATH
12018 # Shared libraries for VwWorks, >= 7 only at this stage
12019 # and (fpic) still incompatible with "large" code models
12020 # in a few configurations. Only for RTP mode in any case,
12021 # and upon explicit request at configure time.
12024 case ${with_multisubdir}-${enable_shared} in
12031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12032 soname_spec
='${libname}${release}${shared_ext}$major'
12033 dynamic_linker
="$host_os module_loader"
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12042 $as_echo "$dynamic_linker" >&6; }
12043 test "$dynamic_linker" = no
&& can_build_shared
=no
12045 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12046 if test "$GCC" = yes; then
12047 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12050 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12051 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12053 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12054 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12149 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12151 if test -n "$hardcode_libdir_flag_spec" ||
12152 test -n "$runpath_var" ||
12153 test "X$hardcode_automatic" = "Xyes" ; then
12155 # We can hardcode non-existent directories.
12156 if test "$hardcode_direct" != no
&&
12157 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12158 # have to relink, otherwise we might link with an installed library
12159 # when we should be linking with a yet-to-be-installed one
12160 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12161 test "$hardcode_minus_L" != no
; then
12162 # Linking always hardcodes the temporary library directory.
12163 hardcode_action
=relink
12165 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12166 hardcode_action
=immediate
12169 # We cannot hardcode anything, or else we can only hardcode existing
12171 hardcode_action
=unsupported
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12174 $as_echo "$hardcode_action" >&6; }
12176 if test "$hardcode_action" = relink ||
12177 test "$inherit_rpath" = yes; then
12178 # Fast installation is not supported
12179 enable_fast_install
=no
12180 elif test "$shlibpath_overrides_runpath" = yes ||
12181 test "$enable_shared" = no
; then
12182 # Fast installation is not necessary
12183 enable_fast_install
=needless
12191 if test "x$enable_dlopen" != xyes
; then
12192 enable_dlopen
=unknown
12193 enable_dlopen_self
=unknown
12194 enable_dlopen_self_static
=unknown
12201 lt_cv_dlopen
="load_add_on"
12203 lt_cv_dlopen_self
=yes
12206 mingw
* | pw32
* | cegcc
*)
12207 lt_cv_dlopen
="LoadLibrary"
12212 lt_cv_dlopen
="dlopen"
12217 # if libdl is installed we need to link against it
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12219 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12220 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12221 $as_echo_n "(cached) " >&6
12223 ac_check_lib_save_LIBS
=$LIBS
12225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12243 if ac_fn_c_try_link
"$LINENO"; then :
12244 ac_cv_lib_dl_dlopen
=yes
12246 ac_cv_lib_dl_dlopen
=no
12248 rm -f core conftest.err conftest.
$ac_objext \
12249 conftest
$ac_exeext conftest.
$ac_ext
12250 LIBS
=$ac_check_lib_save_LIBS
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12253 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12254 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12255 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12258 lt_cv_dlopen
="dyld"
12260 lt_cv_dlopen_self
=yes
12267 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12268 if test "x$ac_cv_func_shl_load" = xyes
; then :
12269 lt_cv_dlopen
="shl_load"
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12272 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12273 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12274 $as_echo_n "(cached) " >&6
12276 ac_check_lib_save_LIBS
=$LIBS
12278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12279 /* end confdefs.h. */
12281 /* Override any GCC internal prototype to avoid an error.
12282 Use char because int might match the return type of a GCC
12283 builtin and then its argument prototype would still apply. */
12291 return shl_load ();
12296 if ac_fn_c_try_link
"$LINENO"; then :
12297 ac_cv_lib_dld_shl_load
=yes
12299 ac_cv_lib_dld_shl_load
=no
12301 rm -f core conftest.err conftest.
$ac_objext \
12302 conftest
$ac_exeext conftest.
$ac_ext
12303 LIBS
=$ac_check_lib_save_LIBS
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12306 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12307 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12308 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12310 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12311 if test "x$ac_cv_func_dlopen" = xyes
; then :
12312 lt_cv_dlopen
="dlopen"
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12315 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12316 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12317 $as_echo_n "(cached) " >&6
12319 ac_check_lib_save_LIBS
=$LIBS
12321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12339 if ac_fn_c_try_link
"$LINENO"; then :
12340 ac_cv_lib_dl_dlopen
=yes
12342 ac_cv_lib_dl_dlopen
=no
12344 rm -f core conftest.err conftest.
$ac_objext \
12345 conftest
$ac_exeext conftest.
$ac_ext
12346 LIBS
=$ac_check_lib_save_LIBS
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12349 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12350 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12351 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12354 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12355 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12356 $as_echo_n "(cached) " >&6
12358 ac_check_lib_save_LIBS
=$LIBS
12359 LIBS
="-lsvld $LIBS"
12360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12363 /* Override any GCC internal prototype to avoid an error.
12364 Use char because int might match the return type of a GCC
12365 builtin and then its argument prototype would still apply. */
12378 if ac_fn_c_try_link
"$LINENO"; then :
12379 ac_cv_lib_svld_dlopen
=yes
12381 ac_cv_lib_svld_dlopen
=no
12383 rm -f core conftest.err conftest.
$ac_objext \
12384 conftest
$ac_exeext conftest.
$ac_ext
12385 LIBS
=$ac_check_lib_save_LIBS
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12388 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12389 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12390 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12393 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12394 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12395 $as_echo_n "(cached) " >&6
12397 ac_check_lib_save_LIBS
=$LIBS
12399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12402 /* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12412 return dld_link ();
12417 if ac_fn_c_try_link
"$LINENO"; then :
12418 ac_cv_lib_dld_dld_link
=yes
12420 ac_cv_lib_dld_dld_link
=no
12422 rm -f core conftest.err conftest.
$ac_objext \
12423 conftest
$ac_exeext conftest.
$ac_ext
12424 LIBS
=$ac_check_lib_save_LIBS
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12427 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12428 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12429 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12450 if test "x$lt_cv_dlopen" != xno
; then
12456 case $lt_cv_dlopen in
12458 save_CPPFLAGS
="$CPPFLAGS"
12459 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12461 save_LDFLAGS
="$LDFLAGS"
12462 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12465 LIBS
="$lt_cv_dlopen_libs $LIBS"
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12468 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12469 if ${lt_cv_dlopen_self+:} false
; then :
12470 $as_echo_n "(cached) " >&6
12472 if test "$cross_compiling" = yes; then :
12473 lt_cv_dlopen_self
=cross
12475 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12476 lt_status
=$lt_dlunknown
12477 cat > conftest.
$ac_ext <<_LT_EOF
12478 #line 12478 "configure"
12479 #include "confdefs.h"
12488 # define LT_DLGLOBAL RTLD_GLOBAL
12491 # define LT_DLGLOBAL DL_GLOBAL
12493 # define LT_DLGLOBAL 0
12497 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12498 find out it does not work in some platform. */
12499 #ifndef LT_DLLAZY_OR_NOW
12501 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12504 # define LT_DLLAZY_OR_NOW DL_LAZY
12507 # define LT_DLLAZY_OR_NOW RTLD_NOW
12510 # define LT_DLLAZY_OR_NOW DL_NOW
12512 # define LT_DLLAZY_OR_NOW 0
12519 /* When -fvisbility=hidden is used, assume the code has been annotated
12520 correspondingly for the symbols needed. */
12521 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12522 void fnord () __attribute__((visibility("default")));
12525 void fnord () { int i=42; }
12528 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12529 int status = $lt_dlunknown;
12533 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12536 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12537 else puts (dlerror ());
12539 /* dlclose (self); */
12547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12548 (eval $ac_link) 2>&5
12550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12551 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12552 (.
/conftest
; exit; ) >&5 2>/dev
/null
12554 case x
$lt_status in
12555 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12556 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12557 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12560 # compilation failed
12561 lt_cv_dlopen_self
=no
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12569 $as_echo "$lt_cv_dlopen_self" >&6; }
12571 if test "x$lt_cv_dlopen_self" = xyes
; then
12572 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12574 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12575 if ${lt_cv_dlopen_self_static+:} false
; then :
12576 $as_echo_n "(cached) " >&6
12578 if test "$cross_compiling" = yes; then :
12579 lt_cv_dlopen_self_static
=cross
12581 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12582 lt_status
=$lt_dlunknown
12583 cat > conftest.
$ac_ext <<_LT_EOF
12584 #line 12584 "configure"
12585 #include "confdefs.h"
12594 # define LT_DLGLOBAL RTLD_GLOBAL
12597 # define LT_DLGLOBAL DL_GLOBAL
12599 # define LT_DLGLOBAL 0
12603 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12604 find out it does not work in some platform. */
12605 #ifndef LT_DLLAZY_OR_NOW
12607 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12610 # define LT_DLLAZY_OR_NOW DL_LAZY
12613 # define LT_DLLAZY_OR_NOW RTLD_NOW
12616 # define LT_DLLAZY_OR_NOW DL_NOW
12618 # define LT_DLLAZY_OR_NOW 0
12625 /* When -fvisbility=hidden is used, assume the code has been annotated
12626 correspondingly for the symbols needed. */
12627 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12628 void fnord () __attribute__((visibility("default")));
12631 void fnord () { int i=42; }
12634 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12635 int status = $lt_dlunknown;
12639 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12642 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12643 else puts (dlerror ());
12645 /* dlclose (self); */
12653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12654 (eval $ac_link) 2>&5
12656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12657 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12658 (.
/conftest
; exit; ) >&5 2>/dev
/null
12660 case x
$lt_status in
12661 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12662 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12663 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12666 # compilation failed
12667 lt_cv_dlopen_self_static
=no
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12675 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12678 CPPFLAGS
="$save_CPPFLAGS"
12679 LDFLAGS
="$save_LDFLAGS"
12684 case $lt_cv_dlopen_self in
12685 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12686 *) enable_dlopen_self
=unknown
;;
12689 case $lt_cv_dlopen_self_static in
12690 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12691 *) enable_dlopen_self_static
=unknown
;;
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12714 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12715 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12716 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12717 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12719 $as_echo "yes" >&6; }
12721 # FIXME - insert some real tests, host_os isn't really good enough
12724 if test -n "$STRIP" ; then
12725 striplib
="$STRIP -x"
12726 old_striplib
="$STRIP -S"
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12728 $as_echo "yes" >&6; }
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12731 $as_echo "no" >&6; }
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12736 $as_echo "no" >&6; }
12752 # Report which library types will actually be built
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12754 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12756 $as_echo "$can_build_shared" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12759 $as_echo_n "checking whether to build shared libraries... " >&6; }
12760 test "$can_build_shared" = "no" && enable_shared
=no
12762 # On AIX, shared libraries and static libraries use the same namespace, and
12763 # are all built from PIC.
12766 test "$enable_shared" = yes && enable_static
=no
12767 if test -n "$RANLIB"; then
12768 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12769 postinstall_cmds
='$RANLIB $lib'
12774 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12775 test "$enable_shared" = yes && enable_static
=no
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12780 $as_echo "$enable_shared" >&6; }
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12783 $as_echo_n "checking whether to build static libraries... " >&6; }
12784 # Make sure either enable_shared or enable_static is yes.
12785 test "$enable_shared" = yes || enable_static
=yes
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12787 $as_echo "$enable_static" >&6; }
12794 ac_cpp
='$CPP $CPPFLAGS'
12795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12801 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12802 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12803 (test "X$CXX" != "Xg++"))) ; then
12805 ac_cpp
='$CXXCPP $CPPFLAGS'
12806 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12807 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12808 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12810 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12811 if test -z "$CXXCPP"; then
12812 if ${ac_cv_prog_CXXCPP+:} false
; then :
12813 $as_echo_n "(cached) " >&6
12815 # Double quotes because CXXCPP needs to be expanded
12816 for CXXCPP
in "$CXX -E" "/lib/cpp"
12818 ac_preproc_ok
=false
12819 for ac_cxx_preproc_warn_flag
in '' yes
12821 # Use a header file that comes with gcc, so configuring glibc
12822 # with a fresh cross-compiler works.
12823 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12824 # <limits.h> exists even on freestanding compilers.
12825 # On the NeXT, cc -E runs the code through the compiler's parser,
12826 # not just through cpp. "Syntax error" is here to catch this case.
12827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12830 # include <limits.h>
12832 # include <assert.h>
12836 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12839 # Broken: fails on valid input.
12842 rm -f conftest.err conftest.i conftest.
$ac_ext
12844 # OK, works on sane cases. Now check whether nonexistent headers
12845 # can be detected and how.
12846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12848 #include <ac_nonexistent.h>
12850 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12851 # Broken: success on invalid input.
12854 # Passes both tests.
12858 rm -f conftest.err conftest.i conftest.
$ac_ext
12861 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12862 rm -f conftest.i conftest.err conftest.
$ac_ext
12863 if $ac_preproc_ok; then :
12868 ac_cv_prog_CXXCPP
=$CXXCPP
12871 CXXCPP
=$ac_cv_prog_CXXCPP
12873 ac_cv_prog_CXXCPP
=$CXXCPP
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12876 $as_echo "$CXXCPP" >&6; }
12877 ac_preproc_ok
=false
12878 for ac_cxx_preproc_warn_flag
in '' yes
12880 # Use a header file that comes with gcc, so configuring glibc
12881 # with a fresh cross-compiler works.
12882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12883 # <limits.h> exists even on freestanding compilers.
12884 # On the NeXT, cc -E runs the code through the compiler's parser,
12885 # not just through cpp. "Syntax error" is here to catch this case.
12886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12889 # include <limits.h>
12891 # include <assert.h>
12895 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12898 # Broken: fails on valid input.
12901 rm -f conftest.err conftest.i conftest.
$ac_ext
12903 # OK, works on sane cases. Now check whether nonexistent headers
12904 # can be detected and how.
12905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12906 /* end confdefs.h. */
12907 #include <ac_nonexistent.h>
12909 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12910 # Broken: success on invalid input.
12913 # Passes both tests.
12917 rm -f conftest.err conftest.i conftest.
$ac_ext
12920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12921 rm -f conftest.i conftest.err conftest.
$ac_ext
12922 if $ac_preproc_ok; then :
12925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12927 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12928 See \`config.log' for more details" "$LINENO" 5; }
12932 ac_cpp
='$CPP $CPPFLAGS'
12933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12938 _lt_caught_CXX_error
=yes
12942 ac_cpp
='$CXXCPP $CPPFLAGS'
12943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12947 archive_cmds_need_lc_CXX
=no
12948 allow_undefined_flag_CXX
=
12949 always_export_symbols_CXX
=no
12950 archive_expsym_cmds_CXX
=
12951 compiler_needs_object_CXX
=no
12952 export_dynamic_flag_spec_CXX
=
12953 hardcode_direct_CXX
=no
12954 hardcode_direct_absolute_CXX
=no
12955 hardcode_libdir_flag_spec_CXX
=
12956 hardcode_libdir_flag_spec_ld_CXX
=
12957 hardcode_libdir_separator_CXX
=
12958 hardcode_minus_L_CXX
=no
12959 hardcode_shlibpath_var_CXX
=unsupported
12960 hardcode_automatic_CXX
=no
12961 inherit_rpath_CXX
=no
12963 module_expsym_cmds_CXX
=
12964 link_all_deplibs_CXX
=unknown
12965 old_archive_cmds_CXX
=$old_archive_cmds
12966 reload_flag_CXX
=$reload_flag
12967 reload_cmds_CXX
=$reload_cmds
12968 no_undefined_flag_CXX
=
12969 whole_archive_flag_spec_CXX
=
12970 enable_shared_with_static_runtimes_CXX
=no
12972 # Source file extension for C++ test sources.
12975 # Object file extension for compiled C++ test sources.
12979 # No sense in running all these tests if we already determined that
12980 # the CXX compiler isn't working. Some variables (like enable_shared)
12981 # are currently assumed to apply to all compilers on this platform,
12982 # and will be corrupted by setting them based on a non-working compiler.
12983 if test "$_lt_caught_CXX_error" != yes; then
12984 # Code to be used in simple compile tests
12985 lt_simple_compile_test_code
="int some_variable = 0;"
12987 # Code to be used in simple link tests
12988 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12990 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12997 # If no C compiler was specified, use CC.
13000 # If no C compiler flags were specified, use CFLAGS.
13001 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13003 # Allow CC to be a program name with arguments.
13007 # save warnings/boilerplate of simple test code
13008 ac_outfile
=conftest.
$ac_objext
13009 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13010 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13011 _lt_compiler_boilerplate
=`cat conftest.err`
13014 ac_outfile
=conftest.
$ac_objext
13015 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13016 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13017 _lt_linker_boilerplate
=`cat conftest.err`
13021 # Allow CC to be a program name with arguments.
13026 lt_save_with_gnu_ld
=$with_gnu_ld
13027 lt_save_path_LD
=$lt_cv_path_LD
13028 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13029 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13031 $as_unset lt_cv_prog_gnu_ld
13033 if test -n "${lt_cv_path_LDCXX+set}"; then
13034 lt_cv_path_LD
=$lt_cv_path_LDCXX
13036 $as_unset lt_cv_path_LD
13038 test -z "${LDCXX+set}" || LD
=$LDCXX
13042 for cc_temp
in $compiler""; do
13044 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13045 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13050 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13053 if test -n "$compiler"; then
13054 # We don't want -fno-exception when compiling C++ code, so set the
13055 # no_builtin_flag separately
13056 if test "$GXX" = yes; then
13057 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13059 lt_prog_compiler_no_builtin_flag_CXX
=
13062 if test "$GXX" = yes; then
13063 # Set up default GNU C++ configuration
13067 # Check whether --with-gnu-ld was given.
13068 if test "${with_gnu_ld+set}" = set; then :
13069 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13075 if test "$GCC" = yes; then
13076 # Check if gcc -print-prog-name=ld gives a path.
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13078 $as_echo_n "checking for ld used by $CC... " >&6; }
13081 # gcc leaves a trailing carriage return which upsets mingw
13082 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13084 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13087 # Accept absolute paths.
13089 re_direlt
='/[^/][^/]*/\.\./'
13090 # Canonicalize the pathname of ld
13091 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13092 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13093 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13095 test -z "$LD" && LD
="$ac_prog"
13098 # If it fails, then pretend we aren't using GCC.
13102 # If it is relative, then search for the first ld in PATH.
13103 with_gnu_ld
=unknown
13106 elif test "$with_gnu_ld" = yes; then
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13108 $as_echo_n "checking for GNU ld... " >&6; }
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13111 $as_echo_n "checking for non-GNU ld... " >&6; }
13113 if ${lt_cv_path_LD+:} false
; then :
13114 $as_echo_n "(cached) " >&6
13116 if test -z "$LD"; then
13117 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13118 for ac_dir
in $PATH; do
13120 test -z "$ac_dir" && ac_dir
=.
13121 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13122 lt_cv_path_LD
="$ac_dir/$ac_prog"
13123 # Check to see if the program is GNU ld. I'd rather use --version,
13124 # but apparently some variants of GNU ld only accept -v.
13125 # Break only if it was the GNU/non-GNU ld that we prefer.
13126 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13127 *GNU
* |
*'with BFD'*)
13128 test "$with_gnu_ld" != no
&& break
13131 test "$with_gnu_ld" != yes && break
13138 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13142 LD
="$lt_cv_path_LD"
13143 if test -n "$LD"; then
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13145 $as_echo "$LD" >&6; }
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13148 $as_echo "no" >&6; }
13150 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13152 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13153 if ${lt_cv_prog_gnu_ld+:} false
; then :
13154 $as_echo_n "(cached) " >&6
13156 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13157 case `$LD -v 2>&1 </dev/null` in
13158 *GNU
* |
*'with BFD'*)
13159 lt_cv_prog_gnu_ld
=yes
13162 lt_cv_prog_gnu_ld
=no
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13167 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13168 with_gnu_ld
=$lt_cv_prog_gnu_ld
13176 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13177 # archiving commands below assume that GNU ld is being used.
13178 if test "$with_gnu_ld" = yes; then
13179 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13180 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'
13182 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13183 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13185 # If archive_cmds runs LD, not CC, wlarc should be empty
13186 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13187 # investigate it a little bit more. (MM)
13190 # ancient GNU ld didn't support --whole-archive et. al.
13191 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13192 $GREP 'no-whole-archive' > /dev
/null
; then
13193 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13195 whole_archive_flag_spec_CXX
=
13201 # A generic and very simple default shared library creation
13202 # command for GNU C++ for the case where it uses the native
13203 # linker, instead of GNU ld. If possible, this setting should
13204 # overridden to take advantage of the native linker features on
13205 # the platform it is being used on.
13206 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13209 # Commands to make compiler produce verbose output that lists
13210 # what "hidden" libraries, object files and flags are used when
13211 # linking a shared library.
13212 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13220 # PORTME: fill in a description of your system's C++ link characteristics
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13222 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13226 # FIXME: insert proper C++ library support
13230 if test "$host_cpu" = ia64
; then
13231 # On IA64, the linker does run time linking by default, so we don't
13232 # have to do anything special.
13233 aix_use_runtimelinking
=no
13234 exp_sym_flag
='-Bexport'
13237 aix_use_runtimelinking
=no
13239 # Test if we are trying to use run time linking or normal
13240 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13241 # need to do runtime linking.
13242 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13243 for ld_flag
in $LDFLAGS; do
13246 aix_use_runtimelinking
=yes
13254 exp_sym_flag
='-bexport'
13255 no_entry_flag
='-bnoentry'
13258 # When large executables or shared objects are built, AIX ld can
13259 # have problems creating the table of contents. If linking a library
13260 # or program results in "error TOC overflow" add -mminimal-toc to
13261 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13262 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13264 archive_cmds_CXX
=''
13265 hardcode_direct_CXX
=yes
13266 hardcode_direct_absolute_CXX
=yes
13267 hardcode_libdir_separator_CXX
=':'
13268 link_all_deplibs_CXX
=yes
13269 file_list_spec_CXX
='${wl}-f,'
13271 if test "$GXX" = yes; then
13272 case $host_os in aix4.
[012]|aix4.
[012].
*)
13273 # We only want to do this on AIX 4.2 and lower, the check
13274 # below for broken collect2 doesn't work under 4.3+
13275 collect2name
=`${CC} -print-prog-name=collect2`
13276 if test -f "$collect2name" &&
13277 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13279 # We have reworked collect2
13282 # We have old collect2
13283 hardcode_direct_CXX
=unsupported
13284 # It fails to find uninstalled libraries when the uninstalled
13285 # path is not listed in the libpath. Setting hardcode_minus_L
13286 # to unsupported forces relinking
13287 hardcode_minus_L_CXX
=yes
13288 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13289 hardcode_libdir_separator_CXX
=
13292 shared_flag
='-shared'
13293 if test "$aix_use_runtimelinking" = yes; then
13294 shared_flag
="$shared_flag "'${wl}-G'
13298 if test "$host_cpu" = ia64
; then
13299 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13300 # chokes on -Wl,-G. The following line is correct:
13303 if test "$aix_use_runtimelinking" = yes; then
13304 shared_flag
='${wl}-G'
13306 shared_flag
='${wl}-bM:SRE'
13311 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13312 # It seems that -bexpall does not export symbols beginning with
13313 # underscore (_), so it is better to generate a list of symbols to
13315 always_export_symbols_CXX
=yes
13316 if test "$aix_use_runtimelinking" = yes; then
13317 # Warning - without using the other runtime loading flags (-brtl),
13318 # -berok will link without error, but may produce a broken library.
13319 allow_undefined_flag_CXX
='-berok'
13320 # Determine the default libpath from the value encoded in an empty
13322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13323 /* end confdefs.h. */
13333 if ac_fn_cxx_try_link
"$LINENO"; then :
13335 lt_aix_libpath_sed
='
13336 /Import File Strings/,/^$/ {
13342 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13343 # Check for a 64-bit object if we didn't find anything.
13344 if test -z "$aix_libpath"; then
13345 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13348 rm -f core conftest.err conftest.
$ac_objext \
13349 conftest
$ac_exeext conftest.
$ac_ext
13350 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13352 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13354 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"
13356 if test "$host_cpu" = ia64
; then
13357 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13358 allow_undefined_flag_CXX
="-z nodefs"
13359 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"
13361 # Determine the default libpath from the value encoded in an
13362 # empty executable.
13363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13364 /* end confdefs.h. */
13374 if ac_fn_cxx_try_link
"$LINENO"; then :
13376 lt_aix_libpath_sed
='
13377 /Import File Strings/,/^$/ {
13383 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13384 # Check for a 64-bit object if we didn't find anything.
13385 if test -z "$aix_libpath"; then
13386 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13389 rm -f core conftest.err conftest.
$ac_objext \
13390 conftest
$ac_exeext conftest.
$ac_ext
13391 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13393 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13394 # Warning - without using the other run time loading flags,
13395 # -berok will link without error, but may produce a broken library.
13396 no_undefined_flag_CXX
=' ${wl}-bernotok'
13397 allow_undefined_flag_CXX
=' ${wl}-berok'
13398 if test "$with_gnu_ld" = yes; then
13399 # We only use this code for GNU lds that support --whole-archive.
13400 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13402 # Exported symbols can be pulled into shared objects from archives
13403 whole_archive_flag_spec_CXX
='$convenience'
13405 archive_cmds_need_lc_CXX
=yes
13406 # This is similar to how AIX traditionally builds its shared
13408 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'
13414 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13415 allow_undefined_flag_CXX
=unsupported
13416 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13417 # support --undefined. This deserves some investigation. FIXME
13418 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13425 case $cc_basename in
13427 # FIXME: insert proper C++ library support
13433 cygwin
* | mingw
* | pw32
* | cegcc
*)
13434 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13435 # as there is no search path for DLLs.
13436 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13437 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13438 allow_undefined_flag_CXX
=unsupported
13439 always_export_symbols_CXX
=no
13440 enable_shared_with_static_runtimes_CXX
=yes
13442 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13443 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'
13444 # If the export-symbols file already is a .def file (1st line
13445 # is EXPORTS), use it as is; otherwise, prepend...
13446 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13447 cp $export_symbols $output_objdir/$soname.def;
13449 echo EXPORTS > $output_objdir/$soname.def;
13450 cat $export_symbols >> $output_objdir/$soname.def;
13452 $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'
13457 darwin
* | rhapsody
*)
13461 # Publish an arg to allow the user to select that Darwin host (and target)
13462 # libraries should be given install-names like @rpath/libfoo.dylib. This
13463 # requires that the user of the library then adds an 'rpath' to the DSO that
13465 # NOTE: there are defaults below, for systems that support rpaths. The person
13466 # configuring can override the defaults for any system version that supports
13467 # them - they are, however, forced off for system versions without support.
13468 # Check whether --enable-darwin-at-rpath was given.
13469 if test "${enable_darwin_at_rpath+set}" = set; then :
13470 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
13471 # This is not supported before macOS 10.5 / Darwin9.
13472 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13473 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
13475 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
13476 enable_darwin_at_rpath
=no
13481 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13482 # As above, before 10.5 / Darwin9 this does not work.
13483 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13484 enable_darwin_at_rpath
=no
13487 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
13488 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
13489 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
13490 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
13492 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
13493 enable_darwin_at_rpath
=yes
13495 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
13496 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
13503 archive_cmds_need_lc_CXX
=no
13504 hardcode_direct_CXX
=no
13505 hardcode_automatic_CXX
=yes
13506 hardcode_shlibpath_var_CXX
=unsupported
13507 if test "$lt_cv_ld_force_load" = "yes"; then
13508 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\"`'
13510 whole_archive_flag_spec_CXX
=''
13512 link_all_deplibs_CXX
=yes
13513 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13514 case $cc_basename in
13515 ifort
*) _lt_dar_can_shared
=yes ;;
13516 *) _lt_dar_can_shared
=$GCC ;;
13518 if test "$_lt_dar_can_shared" = "yes"; then
13519 output_verbose_link_cmd
=func_echo_all
13520 _lt_install_name
='\$rpath/\$soname'
13521 if test "x$enable_darwin_at_rpath" = "xyes"; then
13522 _lt_install_name
='@rpath/\$soname'
13524 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
13525 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13526 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}"
13527 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}"
13528 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13529 _lt_install_name
='\$rpath/\$soname'
13530 if test "x$enable_darwin_at_rpath" = "xyes"; then
13531 _lt_install_name
='@rpath/\$soname'
13533 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}"
13534 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}"
13544 case $cc_basename in
13546 # FIXME: insert proper C++ library support
13550 # Green Hills C++ Compiler
13551 # FIXME: insert proper C++ library support
13555 # FIXME: insert proper C++ library support
13562 # C++ shared libraries reported to be fairly broken before
13568 archive_cmds_need_lc_CXX
=no
13571 freebsd
* | dragonfly
*)
13572 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13581 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13582 link_all_deplibs_CXX
=yes
13586 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13587 hardcode_libdir_separator_CXX
=:
13588 export_dynamic_flag_spec_CXX
='${wl}-E'
13589 hardcode_direct_CXX
=yes
13590 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13591 # but as the default
13592 # location of the library.
13594 case $cc_basename in
13596 # FIXME: insert proper C++ library support
13600 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'
13601 # Commands to make compiler produce verbose output that lists
13602 # what "hidden" libraries, object files and flags are used when
13603 # linking a shared library.
13605 # There doesn't appear to be a way to prevent this compiler from
13606 # explicitly linking system object files so we need to strip them
13607 # from the output so that they don't get included in the library
13609 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"'
13612 if test "$GXX" = yes; then
13613 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'
13615 # FIXME: insert proper C++ library support
13623 if test $with_gnu_ld = no
; then
13624 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13625 hardcode_libdir_separator_CXX
=:
13631 export_dynamic_flag_spec_CXX
='${wl}-E'
13637 hardcode_direct_CXX
=no
13638 hardcode_shlibpath_var_CXX
=no
13641 hardcode_direct_CXX
=yes
13642 hardcode_direct_absolute_CXX
=yes
13643 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13644 # but as the default
13645 # location of the library.
13649 case $cc_basename in
13651 # FIXME: insert proper C++ library support
13657 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13660 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13663 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13666 # Commands to make compiler produce verbose output that lists
13667 # what "hidden" libraries, object files and flags are used when
13668 # linking a shared library.
13670 # There doesn't appear to be a way to prevent this compiler from
13671 # explicitly linking system object files so we need to strip them
13672 # from the output so that they don't get included in the library
13674 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"'
13677 if test "$GXX" = yes; then
13678 if test $with_gnu_ld = no
; then
13681 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13684 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13687 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'
13692 # FIXME: insert proper C++ library support
13700 hardcode_direct_CXX
=no
13701 hardcode_shlibpath_var_CXX
=no
13702 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13703 export_dynamic_flag_spec_CXX
='${wl}-E'
13704 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13705 # Instead, shared libraries are loaded at an image base (0x10000000 by
13706 # default) and relocated if they conflict, which is a slow very memory
13707 # consuming and fragmenting process. To avoid this, we pick a random,
13708 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13709 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13710 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'
13711 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'
13714 case $cc_basename in
13717 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'
13719 # Archives containing C++ object files must be created using
13720 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13721 # necessary to make sure instantiated templates are included
13723 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13726 if test "$GXX" = yes; then
13727 if test "$with_gnu_ld" = no
; then
13728 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'
13730 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'
13733 link_all_deplibs_CXX
=yes
13736 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13737 hardcode_libdir_separator_CXX
=:
13738 inherit_rpath_CXX
=yes
13741 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13742 case $cc_basename in
13744 # Kuck and Associates, Inc. (KAI) C++ Compiler
13746 # KCC will only create a shared library if the output file
13747 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13748 # to its proper name (with version) after linking.
13749 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'
13750 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'
13751 # Commands to make compiler produce verbose output that lists
13752 # what "hidden" libraries, object files and flags are used when
13753 # linking a shared library.
13755 # There doesn't appear to be a way to prevent this compiler from
13756 # explicitly linking system object files so we need to strip them
13757 # from the output so that they don't get included in the library
13759 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"'
13761 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13762 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13764 # Archives containing C++ object files must be created using
13765 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13766 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13771 # version 8.0 and above of icpc choke on multiply defined symbols
13772 # if we add $predep_objects and $postdep_objects, however 7.1 and
13773 # earlier do not add the objects themselves.
13774 case `$CC -V 2>&1` in
13776 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13777 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'
13779 *) # Version 8.0 or newer
13782 ia64
*) tmp_idyn
=' -i_dynamic';;
13784 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13785 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'
13788 archive_cmds_need_lc_CXX
=no
13789 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13790 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13791 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13794 # Portland Group C++ compiler
13796 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13797 prelink_cmds_CXX
='tpldir=Template.dir~
13799 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13800 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13801 old_archive_cmds_CXX
='tpldir=Template.dir~
13803 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13804 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13806 archive_cmds_CXX
='tpldir=Template.dir~
13808 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13809 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13810 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13812 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13813 $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'
13815 *) # Version 6 and above use weak symbols
13816 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13817 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'
13821 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13822 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13823 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'
13827 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13828 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'
13830 runpath_var
=LD_RUN_PATH
13831 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13832 hardcode_libdir_separator_CXX
=:
13834 # Commands to make compiler produce verbose output that lists
13835 # what "hidden" libraries, object files and flags are used when
13836 # linking a shared library.
13838 # There doesn't appear to be a way to prevent this compiler from
13839 # explicitly linking system object files so we need to strip them
13840 # from the output so that they don't get included in the library
13842 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'
13844 xl
* | mpixl
* | bgxl
*)
13845 # IBM XL 8.0 on PPC, with GNU ld
13846 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13847 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13848 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13849 if test "x$supports_anon_versioning" = xyes
; then
13850 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13851 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13852 echo "local: *; };" >> $output_objdir/$libname.ver~
13853 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13857 case `$CC -V 2>&1 | sed 5q` in
13860 no_undefined_flag_CXX
=' -zdefs'
13861 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13862 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'
13863 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13864 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'
13865 compiler_needs_object_CXX
=yes
13867 # Not sure whether something based on
13868 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13870 output_verbose_link_cmd
='func_echo_all'
13872 # Archives containing C++ object files must be created using
13873 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13874 # necessary to make sure instantiated templates are included
13876 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13884 # FIXME: insert proper C++ library support
13889 # FIXME: insert proper C++ library support
13894 case $cc_basename in
13896 # FIXME: insert proper C++ library support
13900 # FIXME: insert proper C++ library support
13907 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13908 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13910 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13911 hardcode_direct_CXX
=yes
13912 hardcode_shlibpath_var_CXX
=no
13914 # Workaround some broken pre-1.5 toolchains
13915 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13923 # C++ shared libraries are fairly broken
13928 if test -f /usr
/libexec
/ld.so
; then
13929 hardcode_direct_CXX
=yes
13930 hardcode_shlibpath_var_CXX
=no
13931 hardcode_direct_absolute_CXX
=yes
13932 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13933 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13934 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13935 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13936 export_dynamic_flag_spec_CXX
='${wl}-E'
13937 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13939 output_verbose_link_cmd
=func_echo_all
13945 osf3
* | osf4
* | osf5
*)
13946 case $cc_basename in
13948 # Kuck and Associates, Inc. (KAI) C++ Compiler
13950 # KCC will only create a shared library if the output file
13951 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13952 # to its proper name (with version) after linking.
13953 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'
13955 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13956 hardcode_libdir_separator_CXX
=:
13958 # Archives containing C++ object files must be created using
13959 # the KAI C++ compiler.
13961 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13962 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13966 # Rational C++ 2.4.1
13967 # FIXME: insert proper C++ library support
13973 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13974 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'
13975 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13978 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13979 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'
13980 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13981 echo "-hidden">> $lib.exp~
13982 $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~
13984 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13988 hardcode_libdir_separator_CXX
=:
13990 # Commands to make compiler produce verbose output that lists
13991 # what "hidden" libraries, object files and flags are used when
13992 # linking a shared library.
13994 # There doesn't appear to be a way to prevent this compiler from
13995 # explicitly linking system object files so we need to strip them
13996 # from the output so that they don't get included in the library
13998 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"'
14001 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14002 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14005 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'
14008 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'
14012 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14013 hardcode_libdir_separator_CXX
=:
14015 # Commands to make compiler produce verbose output that lists
14016 # what "hidden" libraries, object files and flags are used when
14017 # linking a shared library.
14018 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14021 # FIXME: insert proper C++ library support
14029 # FIXME: insert proper C++ library support
14034 case $cc_basename in
14037 # FIXME: insert proper C++ library support
14042 # FIXME: insert proper C++ library support
14046 # FIXME: insert proper C++ library support
14053 case $cc_basename in
14055 # Sun C++ 4.2, 5.x and Centerline C++
14056 archive_cmds_need_lc_CXX
=yes
14057 no_undefined_flag_CXX
=' -zdefs'
14058 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14059 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14060 $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'
14062 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14063 hardcode_shlibpath_var_CXX
=no
14065 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14067 # The compiler driver will combine and reorder linker options,
14068 # but understands `-z linker_flag'.
14069 # Supported since Solaris 2.6 (maybe 2.5.1?)
14070 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14073 link_all_deplibs_CXX
=yes
14075 output_verbose_link_cmd
='func_echo_all'
14077 # Archives containing C++ object files must be created using
14078 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14079 # necessary to make sure instantiated templates are included
14081 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14084 # Green Hills C++ Compiler
14085 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14087 # The C++ compiler must be used to create the archive.
14088 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14091 # GNU C++ compiler with Solaris linker
14092 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14093 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14094 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14095 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14096 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14097 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14099 # Commands to make compiler produce verbose output that lists
14100 # what "hidden" libraries, object files and flags are used when
14101 # linking a shared library.
14102 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14104 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14106 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14107 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14108 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14110 # Commands to make compiler produce verbose output that lists
14111 # what "hidden" libraries, object files and flags are used when
14112 # linking a shared library.
14113 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14116 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14118 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14120 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14128 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14129 no_undefined_flag_CXX
='${wl}-z,text'
14130 archive_cmds_need_lc_CXX
=no
14131 hardcode_shlibpath_var_CXX
=no
14132 runpath_var
='LD_RUN_PATH'
14134 case $cc_basename in
14136 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14137 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14140 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14141 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14146 sysv5
* | sco3.2v5
* | sco5v6
*)
14147 # Note: We can NOT use -z defs as we might desire, because we do not
14148 # link with -lc, and that would cause any symbols used from libc to
14149 # always be unresolved, which means just about no library would
14150 # ever link correctly. If we're not using GNU ld we use -z text
14151 # though, which does catch some bad symbols but isn't as heavy-handed
14153 no_undefined_flag_CXX
='${wl}-z,text'
14154 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14155 archive_cmds_need_lc_CXX
=no
14156 hardcode_shlibpath_var_CXX
=no
14157 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14158 hardcode_libdir_separator_CXX
=':'
14159 link_all_deplibs_CXX
=yes
14160 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14161 runpath_var
='LD_RUN_PATH'
14163 case $cc_basename in
14165 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14166 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14167 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14168 '"$old_archive_cmds_CXX"
14169 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14170 '"$reload_cmds_CXX"
14173 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14174 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14180 case $cc_basename in
14182 # NonStop-UX NCC 3.20
14183 # FIXME: insert proper C++ library support
14187 # FIXME: insert proper C++ library support
14194 # For VxWorks ports, we assume the use of a GNU linker with
14195 # standard elf conventions.
14200 # FIXME: insert proper C++ library support
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14206 $as_echo "$ld_shlibs_CXX" >&6; }
14207 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14213 ## There is no encapsulation within the following macros, do not change
14214 ## the running order or otherwise move them around unless you know exactly
14215 ## what you are doing...
14216 # Dependencies to place before and after the object being linked:
14217 predep_objects_CXX
=
14218 postdep_objects_CXX
=
14221 compiler_lib_search_path_CXX
=
14223 cat > conftest.
$ac_ext <<_LT_EOF
14227 Foo (void) { a = 0; }
14233 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14234 (eval $ac_compile) 2>&5
14236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14237 test $ac_status = 0; }; then
14238 # Parse the compiler output and extract the necessary
14239 # objects, libraries and library flags.
14241 # Sentinel used to keep track of whether or not we are before
14242 # the conftest object file.
14243 pre_test_object_deps_done
=no
14245 for p
in `eval "$output_verbose_link_cmd"`; do
14249 # Some compilers place space between "-{L,R}" and the path.
14250 # Remove the space.
14251 if test $p = "-L" ||
14252 test $p = "-R"; then
14259 if test "$pre_test_object_deps_done" = no
; then
14262 # Internal compiler library paths should come after those
14263 # provided the user. The postdeps already come after the
14264 # user supplied libs so there is no need to process them.
14265 if test -z "$compiler_lib_search_path_CXX"; then
14266 compiler_lib_search_path_CXX
="${prev}${p}"
14268 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14271 # The "-l" case would never come before the object being
14272 # linked, so don't bother handling this case.
14275 if test -z "$postdeps_CXX"; then
14276 postdeps_CXX
="${prev}${p}"
14278 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14284 # This assumes that the test object file only shows up
14285 # once in the compiler output.
14286 if test "$p" = "conftest.$objext"; then
14287 pre_test_object_deps_done
=yes
14291 if test "$pre_test_object_deps_done" = no
; then
14292 if test -z "$predep_objects_CXX"; then
14293 predep_objects_CXX
="$p"
14295 predep_objects_CXX
="$predep_objects_CXX $p"
14298 if test -z "$postdep_objects_CXX"; then
14299 postdep_objects_CXX
="$p"
14301 postdep_objects_CXX
="$postdep_objects_CXX $p"
14306 *) ;; # Ignore the rest.
14314 echo "libtool.m4: error: problem compiling CXX test program"
14317 $RM -f confest.
$objext
14319 # PORTME: override above test on systems where it is broken
14322 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14323 # hack all around it, let's just trust "g++" to DTRT.
14324 predep_objects_CXX
=
14325 postdep_objects_CXX
=
14330 case `$CC -V 2>&1 | sed 5q` in
14334 # The more standards-conforming stlport4 library is
14335 # incompatible with the Cstd library. Avoid specifying
14336 # it if it's in CXXFLAGS. Ignore libCrun as
14337 # -library=stlport4 depends on it.
14338 case " $CXX $CXXFLAGS " in
14339 *" -library=stlport4 "*)
14340 solaris_use_stlport4
=yes
14344 if test "$solaris_use_stlport4" != yes; then
14345 postdeps_CXX
='-library=Cstd -library=Crun'
14352 case $cc_basename in
14354 # The more standards-conforming stlport4 library is
14355 # incompatible with the Cstd library. Avoid specifying
14356 # it if it's in CXXFLAGS. Ignore libCrun as
14357 # -library=stlport4 depends on it.
14358 case " $CXX $CXXFLAGS " in
14359 *" -library=stlport4 "*)
14360 solaris_use_stlport4
=yes
14364 # Adding this requires a known-good setup of shared libraries for
14365 # Sun compiler versions before 5.6, else PIC objects from an old
14366 # archive will be linked into the output, leading to subtle bugs.
14367 if test "$solaris_use_stlport4" != yes; then
14368 postdeps_CXX
='-library=Cstd -library=Crun'
14376 case " $postdeps_CXX " in
14377 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14379 compiler_lib_search_dirs_CXX
=
14380 if test -n "${compiler_lib_search_path_CXX}"; then
14381 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14414 lt_prog_compiler_wl_CXX
=
14415 lt_prog_compiler_pic_CXX
=
14416 lt_prog_compiler_static_CXX
=
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14419 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14421 # C++ specific cases for pic, static, wl, etc.
14422 if test "$GXX" = yes; then
14423 lt_prog_compiler_wl_CXX
='-Wl,'
14424 lt_prog_compiler_static_CXX
='-static'
14428 # All AIX code is PIC.
14429 if test "$host_cpu" = ia64
; then
14430 # AIX 5 now supports IA64 processor
14431 lt_prog_compiler_static_CXX
='-Bstatic'
14433 lt_prog_compiler_pic_CXX
='-fPIC'
14439 # see comment about AmigaOS4 .so support
14440 lt_prog_compiler_pic_CXX
='-fPIC'
14443 # FIXME: we need at least 68020 code to build shared libraries, but
14444 # adding the `-m68020' flag to GCC prevents building anything better,
14446 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14451 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14452 # PIC is the default for these OSes.
14454 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14455 # This hack is so that the source file can tell whether it is being
14456 # built for inclusion in a dll (and should export symbols for example).
14457 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14458 # (--disable-auto-import) libraries
14459 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14461 darwin
* | rhapsody
*)
14462 # PIC is the default on this platform
14463 # Common symbols not allowed in MH_DYLIB files
14464 lt_prog_compiler_pic_CXX
='-fno-common'
14467 # DJGPP does not support shared libraries at all
14468 lt_prog_compiler_pic_CXX
=
14471 # PIC is the default for Haiku.
14472 # The "-static" flag exists, but is broken.
14473 lt_prog_compiler_static_CXX
=
14476 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14477 # Instead, we relocate shared libraries at runtime.
14480 if test -d /usr
/nec
; then
14481 lt_prog_compiler_pic_CXX
=-Kconform_pic
14485 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14486 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14487 # sets the default TLS model and affects inlining.
14492 lt_prog_compiler_pic_CXX
='-fPIC'
14497 # QNX uses GNU C++, but need to define -shared option too, otherwise
14498 # it will coredump.
14499 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14502 lt_prog_compiler_pic_CXX
='-fPIC'
14508 # All AIX code is PIC.
14509 if test "$host_cpu" = ia64
; then
14510 # AIX 5 now supports IA64 processor
14511 lt_prog_compiler_static_CXX
='-Bstatic'
14513 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14517 case $cc_basename in
14519 # Green Hills C++ Compiler
14520 # _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"
14525 case $cc_basename in
14527 lt_prog_compiler_pic_CXX
='-KPIC'
14530 # Green Hills C++ Compiler
14531 lt_prog_compiler_pic_CXX
='-pic'
14537 freebsd
* | dragonfly
*)
14538 # FreeBSD uses GNU C++
14540 hpux9
* | hpux10
* | hpux11
*)
14541 case $cc_basename in
14543 lt_prog_compiler_wl_CXX
='-Wl,'
14544 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14545 if test "$host_cpu" != ia64
; then
14546 lt_prog_compiler_pic_CXX
='+Z'
14550 lt_prog_compiler_wl_CXX
='-Wl,'
14551 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14557 lt_prog_compiler_pic_CXX
='+Z'
14566 # This is c89, which is MS Visual C++ (no shared libs)
14567 # Anyone wants to do a port?
14569 irix5
* | irix6
* | nonstopux
*)
14570 case $cc_basename in
14572 lt_prog_compiler_wl_CXX
='-Wl,'
14573 lt_prog_compiler_static_CXX
='-non_shared'
14574 # CC pic flag -KPIC is the default.
14580 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14581 case $cc_basename in
14584 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14585 lt_prog_compiler_pic_CXX
='-fPIC'
14588 # old Intel C++ for x86_64 which still supported -KPIC.
14589 lt_prog_compiler_wl_CXX
='-Wl,'
14590 lt_prog_compiler_pic_CXX
='-KPIC'
14591 lt_prog_compiler_static_CXX
='-static'
14594 # Intel C++, used to be incompatible with GCC.
14595 # ICC 10 doesn't accept -KPIC any more.
14596 lt_prog_compiler_wl_CXX
='-Wl,'
14597 lt_prog_compiler_pic_CXX
='-fPIC'
14598 lt_prog_compiler_static_CXX
='-static'
14601 # Portland Group C++ compiler
14602 lt_prog_compiler_wl_CXX
='-Wl,'
14603 lt_prog_compiler_pic_CXX
='-fpic'
14604 lt_prog_compiler_static_CXX
='-Bstatic'
14608 # Make sure the PIC flag is empty. It appears that all Alpha
14609 # Linux and Compaq Tru64 Unix objects are PIC.
14610 lt_prog_compiler_pic_CXX
=
14611 lt_prog_compiler_static_CXX
='-non_shared'
14613 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14614 # IBM XL 8.0, 9.0 on PPC and BlueGene
14615 lt_prog_compiler_wl_CXX
='-Wl,'
14616 lt_prog_compiler_pic_CXX
='-qpic'
14617 lt_prog_compiler_static_CXX
='-qstaticlink'
14620 case `$CC -V 2>&1 | sed 5q` in
14623 lt_prog_compiler_pic_CXX
='-KPIC'
14624 lt_prog_compiler_static_CXX
='-Bstatic'
14625 lt_prog_compiler_wl_CXX
='-Qoption ld '
14636 case $cc_basename in
14638 lt_prog_compiler_pic_CXX
='-W c,exportall'
14647 # QNX uses GNU C++, but need to define -shared option too, otherwise
14648 # it will coredump.
14649 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14651 osf3
* | osf4
* | osf5
*)
14652 case $cc_basename in
14654 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14657 # Rational C++ 2.4.1
14658 lt_prog_compiler_pic_CXX
='-pic'
14661 # Digital/Compaq C++
14662 lt_prog_compiler_wl_CXX
='-Wl,'
14663 # Make sure the PIC flag is empty. It appears that all Alpha
14664 # Linux and Compaq Tru64 Unix objects are PIC.
14665 lt_prog_compiler_pic_CXX
=
14666 lt_prog_compiler_static_CXX
='-non_shared'
14675 case $cc_basename in
14677 # Sun C++ 4.2, 5.x and Centerline C++
14678 lt_prog_compiler_pic_CXX
='-KPIC'
14679 lt_prog_compiler_static_CXX
='-Bstatic'
14680 lt_prog_compiler_wl_CXX
='-Qoption ld '
14683 # Green Hills C++ Compiler
14684 lt_prog_compiler_pic_CXX
='-PIC'
14691 case $cc_basename in
14694 lt_prog_compiler_pic_CXX
='-pic'
14695 lt_prog_compiler_static_CXX
='-Bstatic'
14699 lt_prog_compiler_pic_CXX
='-pic'
14705 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14706 case $cc_basename in
14708 lt_prog_compiler_wl_CXX
='-Wl,'
14709 lt_prog_compiler_pic_CXX
='-KPIC'
14710 lt_prog_compiler_static_CXX
='-Bstatic'
14715 case $cc_basename in
14717 # NonStop-UX NCC 3.20
14718 lt_prog_compiler_pic_CXX
='-KPIC'
14727 lt_prog_compiler_can_build_shared_CXX
=no
14733 # For platforms which do not support PIC, -DPIC is meaningless:
14735 lt_prog_compiler_pic_CXX
=
14738 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14742 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14747 # Check to make sure the PIC flag actually works.
14749 if test -n "$lt_prog_compiler_pic_CXX"; then
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14751 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14752 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14753 $as_echo_n "(cached) " >&6
14755 lt_cv_prog_compiler_pic_works_CXX
=no
14756 ac_outfile
=conftest.
$ac_objext
14757 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14758 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14759 # Insert the option either (1) after the last *FLAGS variable, or
14760 # (2) before a word containing "conftest.", or (3) at the end.
14761 # Note that $ac_compile itself does not contain backslashes and begins
14762 # with a dollar sign (not a hyphen), so the echo should work correctly.
14763 # The option is referenced via a variable to avoid confusing sed.
14764 lt_compile
=`echo "$ac_compile" | $SED \
14765 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14766 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14767 -e 's:$: $lt_compiler_flag:'`
14768 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14769 (eval "$lt_compile" 2>conftest.err
)
14771 cat conftest.err
>&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 if (exit $ac_status) && test -s "$ac_outfile"; then
14774 # The compiler can only warn and ignore the option if not recognized
14775 # So say no if there are warnings other than the usual output.
14776 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14777 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14778 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14779 lt_cv_prog_compiler_pic_works_CXX
=yes
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14786 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14788 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14789 case $lt_prog_compiler_pic_CXX in
14791 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14794 lt_prog_compiler_pic_CXX
=
14795 lt_prog_compiler_can_build_shared_CXX
=no
14803 # Check to make sure the static flag actually works.
14805 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14807 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14808 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14809 $as_echo_n "(cached) " >&6
14811 lt_cv_prog_compiler_static_works_CXX
=no
14812 save_LDFLAGS
="$LDFLAGS"
14813 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14814 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14815 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14816 # The linker can only warn and ignore the option if not recognized
14817 # So say no if there are warnings
14818 if test -s conftest.err
; then
14819 # Append any errors to the config.log.
14820 cat conftest.err
1>&5
14821 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14822 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14823 if diff conftest.exp conftest.er2
>/dev
/null
; then
14824 lt_cv_prog_compiler_static_works_CXX
=yes
14827 lt_cv_prog_compiler_static_works_CXX
=yes
14831 LDFLAGS
="$save_LDFLAGS"
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14835 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14837 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14840 lt_prog_compiler_static_CXX
=
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14847 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14848 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14849 $as_echo_n "(cached) " >&6
14851 lt_cv_prog_compiler_c_o_CXX
=no
14852 $RM -r conftest
2>/dev
/null
14856 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14858 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14859 # Insert the option either (1) after the last *FLAGS variable, or
14860 # (2) before a word containing "conftest.", or (3) at the end.
14861 # Note that $ac_compile itself does not contain backslashes and begins
14862 # with a dollar sign (not a hyphen), so the echo should work correctly.
14863 lt_compile
=`echo "$ac_compile" | $SED \
14864 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14865 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14866 -e 's:$: $lt_compiler_flag:'`
14867 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14868 (eval "$lt_compile" 2>out
/conftest.err
)
14870 cat out
/conftest.err
>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14874 # The compiler can only warn and ignore the option if not recognized
14875 # So say no if there are warnings
14876 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14877 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14878 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14879 lt_cv_prog_compiler_c_o_CXX
=yes
14884 # SGI C++ compiler will create directory out/ii_files/ for
14885 # template instantiation
14886 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14887 $RM out
/* && rmdir out
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14894 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14899 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14900 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14901 $as_echo_n "(cached) " >&6
14903 lt_cv_prog_compiler_c_o_CXX
=no
14904 $RM -r conftest
2>/dev
/null
14908 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14910 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14911 # Insert the option either (1) after the last *FLAGS variable, or
14912 # (2) before a word containing "conftest.", or (3) at the end.
14913 # Note that $ac_compile itself does not contain backslashes and begins
14914 # with a dollar sign (not a hyphen), so the echo should work correctly.
14915 lt_compile
=`echo "$ac_compile" | $SED \
14916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14918 -e 's:$: $lt_compiler_flag:'`
14919 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14920 (eval "$lt_compile" 2>out
/conftest.err
)
14922 cat out
/conftest.err
>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14926 # The compiler can only warn and ignore the option if not recognized
14927 # So say no if there are warnings
14928 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14929 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14930 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14931 lt_cv_prog_compiler_c_o_CXX
=yes
14936 # SGI C++ compiler will create directory out/ii_files/ for
14937 # template instantiation
14938 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14939 $RM out
/* && rmdir out
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14946 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14951 hard_links
="nottested"
14952 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14953 # do not overwrite the value of need_locks provided by the user
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14955 $as_echo_n "checking if we can lock with hard links... " >&6; }
14958 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14960 ln conftest.a conftest.b
2>&5 || hard_links
=no
14961 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14963 $as_echo "$hard_links" >&6; }
14964 if test "$hard_links" = no
; then
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14966 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14976 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14978 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14981 # If we're using GNU nm, then we don't want the "-C" option.
14982 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14983 # Also, AIX nm treats weak defined symbols like other global defined
14984 # symbols, whereas GNU nm marks them as "W".
14985 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14986 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'
14988 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'
14992 export_symbols_cmds_CXX
="$ltdll_cmds"
14994 cygwin
* | mingw
* | cegcc
*)
14995 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'
14998 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15001 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15004 $as_echo "$ld_shlibs_CXX" >&6; }
15005 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15007 with_gnu_ld_CXX
=$with_gnu_ld
15015 # Do we need to explicitly link libc?
15017 case "x$archive_cmds_need_lc_CXX" in
15019 # Assume -lc should be added
15020 archive_cmds_need_lc_CXX
=yes
15022 if test "$enable_shared" = yes && test "$GCC" = yes; then
15023 case $archive_cmds_CXX in
15025 # FIXME: we may have to deal with multi-command sequences.
15028 # Test whether the compiler implicitly links with -lc since on some
15029 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15030 # to ld, don't add -lc before -lgcc.
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15032 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15033 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15034 $as_echo_n "(cached) " >&6
15037 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15040 (eval $ac_compile) 2>&5
15042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15043 test $ac_status = 0; } 2>conftest.err
; then
15046 libobjs
=conftest.
$ac_objext
15048 wl
=$lt_prog_compiler_wl_CXX
15049 pic_flag
=$lt_prog_compiler_pic_CXX
15055 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15056 allow_undefined_flag_CXX
=
15057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15058 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15061 test $ac_status = 0; }
15063 lt_cv_archive_cmds_need_lc_CXX
=no
15065 lt_cv_archive_cmds_need_lc_CXX
=yes
15067 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15069 cat conftest.err
1>&5
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15075 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15076 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15147 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15149 library_names_spec
=
15150 libname_spec
='lib$name'
15154 postuninstall_cmds
=
15158 shlibpath_overrides_runpath
=unknown
15160 dynamic_linker
="$host_os ld.so"
15161 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15162 need_lib_prefix
=unknown
15163 hardcode_into_libs
=no
15165 # when you set need_version to no, make sure it does not cause -set_version
15166 # flags to be left without arguments
15167 need_version
=unknown
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15173 shlibpath_var
=LIBPATH
15175 # AIX 3 has no versioning support, so we append a major version to the name.
15176 soname_spec
='${libname}${release}${shared_ext}$major'
15183 hardcode_into_libs
=yes
15184 if test "$host_cpu" = ia64
; then
15185 # AIX 5 supports IA64
15186 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15187 shlibpath_var
=LD_LIBRARY_PATH
15189 # With GCC up to 2.95.x, collect2 would create an import file
15190 # for dependence libraries. The import file would start with
15191 # the line `#! .'. This would cause the generated library to
15192 # depend on `.', always an invalid library. This was fixed in
15193 # development snapshots of GCC prior to 3.0.
15195 aix4 | aix4.
[01] | aix4.
[01].
*)
15196 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15198 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15201 can_build_shared
=no
15205 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15206 # soname into executable. Probably we can add versioning support to
15207 # collect2, so additional links can be useful in future.
15208 if test "$aix_use_runtimelinking" = yes; then
15209 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15210 # instead of lib<name>.a to let people know that these are not
15211 # typical AIX shared libraries.
15212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15214 # We preserve .a as extension for shared libraries through AIX4.2
15215 # and later when we are not doing run time linking.
15216 library_names_spec
='${libname}${release}.a $libname.a'
15217 soname_spec
='${libname}${release}${shared_ext}$major'
15219 shlibpath_var
=LIBPATH
15226 # Since July 2007 AmigaOS4 officially supports .so libraries.
15227 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15231 library_names_spec
='$libname.ixlibrary $libname.a'
15232 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15233 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'
15239 library_names_spec
='${libname}${shared_ext}'
15240 dynamic_linker
="$host_os ld.so"
15241 shlibpath_var
=LIBRARY_PATH
15247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15248 soname_spec
='${libname}${release}${shared_ext}$major'
15249 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15250 shlibpath_var
=LD_LIBRARY_PATH
15251 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15252 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15253 # the default ld.so.conf also contains /usr/contrib/lib and
15254 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15255 # libtool to hard-code these into programs
15258 cygwin
* | mingw
* | pw32
* | cegcc
*)
15259 version_type
=windows
15264 case $GCC,$host_os in
15265 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15266 library_names_spec
='$libname.dll.a'
15267 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15268 postinstall_cmds
='base_file=`basename \${file}`~
15269 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15270 dldir=$destdir/`dirname \$dlpath`~
15271 test -d \$dldir || mkdir -p \$dldir~
15272 $install_prog $dir/$dlname \$dldir/$dlname~
15273 chmod a+x \$dldir/$dlname~
15274 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15275 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15277 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15278 dlpath=$dir/\$dldll~
15280 shlibpath_overrides_runpath
=yes
15284 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15285 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15289 # MinGW DLLs use traditional 'lib' prefix
15290 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15293 # pw32 DLLs use 'pw' prefix rather than 'lib'
15294 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15300 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15303 dynamic_linker
='Win32 ld.exe'
15304 # FIXME: first we should search . and the directory the executable is in
15308 darwin
* | rhapsody
*)
15309 dynamic_linker
="$host_os dyld"
15310 version_type
=darwin
15313 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15314 soname_spec
='${libname}${release}${major}$shared_ext'
15315 shlibpath_overrides_runpath
=yes
15316 shlibpath_var
=DYLD_LIBRARY_PATH
15317 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15319 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15327 soname_spec
='${libname}${release}${shared_ext}$major'
15328 shlibpath_var
=LD_LIBRARY_PATH
15331 freebsd
* | dragonfly
*)
15332 # DragonFly does not have aout. When/if they implement a new
15333 # versioning mechanism, adjust this.
15334 if test -x /usr
/bin
/objformat
; then
15335 objformat
=`/usr/bin/objformat`
15338 freebsd
[23].
*) objformat
=aout
;;
15339 *) objformat
=elf
;;
15342 version_type
=freebsd-
$objformat
15343 case $version_type in
15345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15350 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15354 shlibpath_var
=LD_LIBRARY_PATH
15357 shlibpath_overrides_runpath
=yes
15359 freebsd3.
[01]* | freebsdelf3.
[01]*)
15360 shlibpath_overrides_runpath
=yes
15361 hardcode_into_libs
=yes
15363 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15364 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15365 shlibpath_overrides_runpath
=no
15366 hardcode_into_libs
=yes
15368 *) # from 4.6 on, and DragonFly
15369 shlibpath_overrides_runpath
=yes
15370 hardcode_into_libs
=yes
15379 dynamic_linker
="$host_os runtime_loader"
15380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15381 soname_spec
='${libname}${release}${shared_ext}$major'
15382 shlibpath_var
=LIBRARY_PATH
15383 shlibpath_overrides_runpath
=yes
15384 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15385 hardcode_into_libs
=yes
15388 hpux9
* | hpux10
* | hpux11
*)
15389 # Give a soname corresponding to the major version so that dld.sl refuses to
15390 # link against other versions.
15397 hardcode_into_libs
=yes
15398 dynamic_linker
="$host_os dld.so"
15399 shlibpath_var
=LD_LIBRARY_PATH
15400 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15402 soname_spec
='${libname}${release}${shared_ext}$major'
15403 if test "X$HPUX_IA64_MODE" = X32
; then
15404 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15406 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15408 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15412 hardcode_into_libs
=yes
15413 dynamic_linker
="$host_os dld.sl"
15414 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15415 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15417 soname_spec
='${libname}${release}${shared_ext}$major'
15418 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15419 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15423 dynamic_linker
="$host_os dld.sl"
15424 shlibpath_var
=SHLIB_PATH
15425 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15427 soname_spec
='${libname}${release}${shared_ext}$major'
15430 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15431 postinstall_cmds
='chmod 555 $lib'
15432 # or fails outright, so override atomically:
15433 install_override_mode
=555
15440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15441 soname_spec
='${libname}${release}${shared_ext}$major'
15442 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15443 shlibpath_var
=LD_LIBRARY_PATH
15444 shlibpath_overrides_runpath
=no
15445 hardcode_into_libs
=yes
15448 irix5
* | irix6
* | nonstopux
*)
15450 nonstopux
*) version_type
=nonstopux
;;
15452 if test "$lt_cv_prog_gnu_ld" = yes; then
15460 soname_spec
='${libname}${release}${shared_ext}$major'
15461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15463 irix5
* | nonstopux
*)
15464 libsuff
= shlibsuff
=
15467 case $LD in # libtool.m4 will add one of these switches to LD
15468 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15469 libsuff
= shlibsuff
= libmagic
=32-bit;;
15470 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15471 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15472 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15473 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15474 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15478 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15479 shlibpath_overrides_runpath
=no
15480 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15481 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15482 hardcode_into_libs
=yes
15485 # No shared lib support for Linux oldld, aout, or coff.
15486 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15490 # This must be Linux ELF.
15492 # uclinux* changes (here and below) have been submitted to the libtool
15493 # project, but have not yet been accepted: they are GCC-local changes
15494 # for the time being. (See
15495 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15496 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15501 soname_spec
='${libname}${release}${shared_ext}$major'
15502 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15503 shlibpath_var
=LD_LIBRARY_PATH
15504 shlibpath_overrides_runpath
=no
15506 # Some binutils ld are patched to set DT_RUNPATH
15507 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15508 $as_echo_n "(cached) " >&6
15510 lt_cv_shlibpath_overrides_runpath
=no
15511 save_LDFLAGS
=$LDFLAGS
15512 save_libdir
=$libdir
15513 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15514 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15526 if ac_fn_cxx_try_link
"$LINENO"; then :
15527 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15528 lt_cv_shlibpath_overrides_runpath
=yes
15531 rm -f core conftest.err conftest.
$ac_objext \
15532 conftest
$ac_exeext conftest.
$ac_ext
15533 LDFLAGS
=$save_LDFLAGS
15534 libdir
=$save_libdir
15538 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15540 # This implies no fast_install, which is unacceptable.
15541 # Some rework will be needed to allow for fast_install
15542 # before this can be enabled.
15543 hardcode_into_libs
=yes
15545 # Append ld.so.conf contents to the search path
15546 if test -f /etc
/ld.so.conf
; then
15547 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' ' '`
15548 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15551 # We used to test for /lib/ld.so.1 and disable shared libraries on
15552 # powerpc, because MkLinux only supported shared libraries with the
15553 # GNU dynamic linker. Since this was broken with cross compilers,
15554 # most powerpc-linux boxes support dynamic linking these days and
15555 # people can always --disable-shared, the test was removed, and we
15556 # assume the GNU/Linux dynamic linker is in use.
15557 dynamic_linker
='GNU/Linux ld.so'
15564 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15566 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15567 dynamic_linker
='NetBSD (a.out) ld.so'
15569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15570 soname_spec
='${libname}${release}${shared_ext}$major'
15571 dynamic_linker
='NetBSD ld.elf_so'
15573 shlibpath_var
=LD_LIBRARY_PATH
15574 shlibpath_overrides_runpath
=yes
15575 hardcode_into_libs
=yes
15580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15581 shlibpath_var
=LD_LIBRARY_PATH
15582 shlibpath_overrides_runpath
=yes
15589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15590 soname_spec
='${libname}${release}${shared_ext}$major'
15591 shlibpath_var
=LD_LIBRARY_PATH
15592 shlibpath_overrides_runpath
=no
15593 hardcode_into_libs
=yes
15594 dynamic_linker
='ldqnx.so'
15599 sys_lib_dlsearch_path_spec
="/usr/lib"
15601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15603 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15604 *) need_version
=no
;;
15606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15607 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15608 shlibpath_var
=LD_LIBRARY_PATH
15609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15611 openbsd2.
[89] | openbsd2.
[89].
*)
15612 shlibpath_overrides_runpath
=no
15615 shlibpath_overrides_runpath
=yes
15619 shlibpath_overrides_runpath
=yes
15624 libname_spec
='$name'
15627 library_names_spec
='$libname${shared_ext} $libname.a'
15628 dynamic_linker
='OS/2 ld.exe'
15629 shlibpath_var
=LIBPATH
15632 osf3
* | osf4
* | osf5
*)
15636 soname_spec
='${libname}${release}${shared_ext}$major'
15637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15638 shlibpath_var
=LD_LIBRARY_PATH
15639 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15640 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15652 soname_spec
='${libname}${release}${shared_ext}$major'
15653 shlibpath_var
=LD_LIBRARY_PATH
15654 shlibpath_overrides_runpath
=yes
15655 hardcode_into_libs
=yes
15656 # ldd complains unless libraries are executable
15657 postinstall_cmds
='chmod +x $lib'
15662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15663 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15664 shlibpath_var
=LD_LIBRARY_PATH
15665 shlibpath_overrides_runpath
=yes
15666 if test "$with_gnu_ld" = yes; then
15674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15675 soname_spec
='${libname}${release}${shared_ext}$major'
15676 shlibpath_var
=LD_LIBRARY_PATH
15677 case $host_vendor in
15679 shlibpath_overrides_runpath
=no
15681 runpath_var
=LD_RUN_PATH
15689 shlibpath_overrides_runpath
=no
15690 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15696 if test -d /usr
/nec
;then
15698 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15699 soname_spec
='$libname${shared_ext}.$major'
15700 shlibpath_var
=LD_LIBRARY_PATH
15704 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15705 version_type
=freebsd-elf
15708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15709 soname_spec
='${libname}${release}${shared_ext}$major'
15710 shlibpath_var
=LD_LIBRARY_PATH
15711 shlibpath_overrides_runpath
=yes
15712 hardcode_into_libs
=yes
15713 if test "$with_gnu_ld" = yes; then
15714 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15716 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15719 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15723 sys_lib_dlsearch_path_spec
='/usr/lib'
15727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15732 shlibpath_var
=LD_LIBRARY_PATH
15733 shlibpath_overrides_runpath
=no
15734 hardcode_into_libs
=yes
15739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15740 soname_spec
='${libname}${release}${shared_ext}$major'
15741 shlibpath_var
=LD_LIBRARY_PATH
15744 # Shared libraries for VwWorks, >= 7 only at this stage
15745 # and (fpic) still incompatible with "large" code models
15746 # in a few configurations. Only for RTP mode in any case,
15747 # and upon explicit request at configure time.
15750 case ${with_multisubdir}-${enable_shared} in
15757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15758 soname_spec
='${libname}${release}${shared_ext}$major'
15759 dynamic_linker
="$host_os module_loader"
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15768 $as_echo "$dynamic_linker" >&6; }
15769 test "$dynamic_linker" = no
&& can_build_shared
=no
15771 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15772 if test "$GCC" = yes; then
15773 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15776 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15777 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15779 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15780 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15821 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15822 hardcode_action_CXX
=
15823 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15824 test -n "$runpath_var_CXX" ||
15825 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15827 # We can hardcode non-existent directories.
15828 if test "$hardcode_direct_CXX" != no
&&
15829 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15830 # have to relink, otherwise we might link with an installed library
15831 # when we should be linking with a yet-to-be-installed one
15832 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15833 test "$hardcode_minus_L_CXX" != no
; then
15834 # Linking always hardcodes the temporary library directory.
15835 hardcode_action_CXX
=relink
15837 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15838 hardcode_action_CXX
=immediate
15841 # We cannot hardcode anything, or else we can only hardcode existing
15843 hardcode_action_CXX
=unsupported
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15846 $as_echo "$hardcode_action_CXX" >&6; }
15848 if test "$hardcode_action_CXX" = relink ||
15849 test "$inherit_rpath_CXX" = yes; then
15850 # Fast installation is not supported
15851 enable_fast_install
=no
15852 elif test "$shlibpath_overrides_runpath" = yes ||
15853 test "$enable_shared" = no
; then
15854 # Fast installation is not necessary
15855 enable_fast_install
=needless
15864 fi # test -n "$compiler"
15870 with_gnu_ld
=$lt_save_with_gnu_ld
15871 lt_cv_path_LDCXX
=$lt_cv_path_LD
15872 lt_cv_path_LD
=$lt_save_path_LD
15873 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15874 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15875 fi # test "$_lt_caught_CXX_error" != yes
15878 ac_cpp
='$CPP $CPPFLAGS'
15879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15895 ac_config_commands
="$ac_config_commands libtool"
15900 # Only expand once:
15904 for ac_prog
in gawk mawk nawk
awk
15906 # Extract the first word of "$ac_prog", so it can be a program name with args.
15907 set dummy
$ac_prog; ac_word
=$2
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15909 $as_echo_n "checking for $ac_word... " >&6; }
15910 if ${ac_cv_prog_AWK+:} false
; then :
15911 $as_echo_n "(cached) " >&6
15913 if test -n "$AWK"; then
15914 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
15916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15917 for as_dir
in $PATH
15920 test -z "$as_dir" && as_dir
=.
15921 for ac_exec_ext
in '' $ac_executable_extensions; do
15922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15923 ac_cv_prog_AWK
="$ac_prog"
15924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15933 AWK
=$ac_cv_prog_AWK
15934 if test -n "$AWK"; then
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
15936 $as_echo "$AWK" >&6; }
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15939 $as_echo "no" >&6; }
15943 test -n "$AWK" && break
15947 "") as_fn_error $?
"can't build without awk" "$LINENO" 5 ;;
15953 if test x
$enable_darwin_at_rpath = xyes
; then
15954 ENABLE_DARWIN_AT_RPATH_TRUE
=
15955 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
15957 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
15958 ENABLE_DARWIN_AT_RPATH_FALSE
=
15962 # The cast to long int works around a bug in the HP C Compiler
15963 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15964 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15965 # This bug is HP SR number 8606223364.
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15967 $as_echo_n "checking size of void *... " >&6; }
15968 if ${ac_cv_sizeof_void_p+:} false
; then :
15969 $as_echo_n "(cached) " >&6
15971 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15974 if test "$ac_cv_type_void_p" = yes; then
15975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15977 as_fn_error
77 "cannot compute sizeof (void *)
15978 See \`config.log' for more details" "$LINENO" 5; }
15980 ac_cv_sizeof_void_p
=0
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15986 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15990 cat >>confdefs.h
<<_ACEOF
15991 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15996 if test "${multilib}" = "yes"; then
15997 multilib_arg
="--enable-multilib"
16002 # Get target configury.
16003 unset TSAN_SUPPORTED
16004 unset LSAN_SUPPORTED
16005 unset HWASAN_SUPPORTED
16006 .
${srcdir}/configure.tgt
16007 if test "x$TSAN_SUPPORTED" = "xyes"; then
16008 TSAN_SUPPORTED_TRUE
=
16009 TSAN_SUPPORTED_FALSE
='#'
16011 TSAN_SUPPORTED_TRUE
='#'
16012 TSAN_SUPPORTED_FALSE
=
16015 if test "x$LSAN_SUPPORTED" = "xyes"; then
16016 LSAN_SUPPORTED_TRUE
=
16017 LSAN_SUPPORTED_FALSE
='#'
16019 LSAN_SUPPORTED_TRUE
='#'
16020 LSAN_SUPPORTED_FALSE
=
16023 if test "x$HWASAN_SUPPORTED" = "xyes"; then
16024 HWASAN_SUPPORTED_TRUE
=
16025 HWASAN_SUPPORTED_FALSE
='#'
16027 HWASAN_SUPPORTED_TRUE
='#'
16028 HWASAN_SUPPORTED_FALSE
=
16032 # Check for functions needed.
16033 for ac_func
in clock_getres clock_gettime clock_settime lstat readlink
16035 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16036 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16037 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16038 cat >>confdefs.h
<<_ACEOF
16039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16046 # Common libraries that we need to link against for all sanitizer libs.
16047 link_sanitizer_common
='-lpthread -lm'
16049 # At least for glibc, shm_open is in librt. But don't pull that
16050 # in if it still doesn't give us the function we want. This
16051 # test is copied from libgomp.
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
16053 $as_echo_n "checking for shm_open in -lrt... " >&6; }
16054 if ${ac_cv_lib_rt_shm_open+:} false
; then :
16055 $as_echo_n "(cached) " >&6
16057 ac_check_lib_save_LIBS
=$LIBS
16059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16060 /* end confdefs.h. */
16062 /* Override any GCC internal prototype to avoid an error.
16063 Use char because int might match the return type of a GCC
16064 builtin and then its argument prototype would still apply. */
16072 return shm_open ();
16077 if ac_fn_c_try_link
"$LINENO"; then :
16078 ac_cv_lib_rt_shm_open
=yes
16080 ac_cv_lib_rt_shm_open
=no
16082 rm -f core conftest.err conftest.
$ac_objext \
16083 conftest
$ac_exeext conftest.
$ac_ext
16084 LIBS
=$ac_check_lib_save_LIBS
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
16087 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
16088 if test "x$ac_cv_lib_rt_shm_open" = xyes
; then :
16089 link_sanitizer_common
="-lrt $link_sanitizer_common"
16093 # Do a configure time check for -ldl
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
16095 $as_echo_n "checking for dlsym in -ldl... " >&6; }
16096 if ${ac_cv_lib_dl_dlsym+:} false
; then :
16097 $as_echo_n "(cached) " >&6
16099 ac_check_lib_save_LIBS
=$LIBS
16101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16102 /* end confdefs.h. */
16104 /* Override any GCC internal prototype to avoid an error.
16105 Use char because int might match the return type of a GCC
16106 builtin and then its argument prototype would still apply. */
16119 if ac_fn_c_try_link
"$LINENO"; then :
16120 ac_cv_lib_dl_dlsym
=yes
16122 ac_cv_lib_dl_dlsym
=no
16124 rm -f core conftest.err conftest.
$ac_objext \
16125 conftest
$ac_exeext conftest.
$ac_ext
16126 LIBS
=$ac_check_lib_save_LIBS
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
16129 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
16130 if test "x$ac_cv_lib_dl_dlsym" = xyes
; then :
16131 link_sanitizer_common
="-ldl $link_sanitizer_common"
16135 # Set up the set of additional libraries that we need to link against for libasan.
16136 link_libasan
=$link_sanitizer_common
16139 # Set up the set of additional libraries that we need to link against for libhwasan.
16140 link_libhwasan
=$link_sanitizer_common
16143 # Set up the set of additional libraries that we need to link against for libtsan.
16144 link_libtsan
=$link_sanitizer_common
16147 # Set up the set of additional libraries that we need to link against for libubsan.
16148 link_libubsan
=$link_sanitizer_common
16151 # Set up the set of additional libraries that we need to link against for liblsan.
16152 link_liblsan
=$link_sanitizer_common
16156 # At least for glibc, clock_gettime is in librt. But don't pull that
16157 # in if it still doesn't give us the function we want. This
16158 # test is copied from libgomp.
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
16160 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
16161 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
16162 $as_echo_n "(cached) " >&6
16164 ac_check_lib_save_LIBS
=$LIBS
16166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16167 /* end confdefs.h. */
16169 /* Override any GCC internal prototype to avoid an error.
16170 Use char because int might match the return type of a GCC
16171 builtin and then its argument prototype would still apply. */
16175 char clock_gettime ();
16179 return clock_gettime ();
16184 if ac_fn_c_try_link
"$LINENO"; then :
16185 ac_cv_lib_rt_clock_gettime
=yes
16187 ac_cv_lib_rt_clock_gettime
=no
16189 rm -f core conftest.err conftest.
$ac_objext \
16190 conftest
$ac_exeext conftest.
$ac_ext
16191 LIBS
=$ac_check_lib_save_LIBS
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
16194 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
16195 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
16196 link_libasan
="-lrt $link_libasan"
16197 link_libtsan
="-lrt $link_libtsan"
16198 # Other sanitizers do not override clock_* API
16204 *-*-darwin*) MAC_INTERPOSE
=true
; enable_static
=no
;;
16205 *) MAC_INTERPOSE
=false
;;
16207 if $MAC_INTERPOSE; then
16208 USING_MAC_INTERPOSE_TRUE
=
16209 USING_MAC_INTERPOSE_FALSE
='#'
16211 USING_MAC_INTERPOSE_TRUE
='#'
16212 USING_MAC_INTERPOSE_FALSE
=
16216 backtrace_supported
=yes
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for necessary platform features" >&5
16219 $as_echo_n "checking for necessary platform features... " >&6; }
16222 # Some old Linux distributions miss required syscalls.
16223 sanitizer_supported
=no
16224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16226 #include <sys/syscall.h>
16227 #include <unistd.h>
16232 syscall (__NR_gettid);
16233 syscall (__NR_futex);
16234 syscall (__NR_exit_group);
16240 if ac_fn_c_try_compile
"$LINENO"; then :
16241 sanitizer_supported
=yes
16243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16246 sanitizer_supported
=yes
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sanitizer_supported" >&5
16250 $as_echo "$sanitizer_supported" >&6; }
16251 if test "$sanitizer_supported" = yes; then
16252 SANITIZER_SUPPORTED_TRUE
=
16253 SANITIZER_SUPPORTED_FALSE
='#'
16255 SANITIZER_SUPPORTED_TRUE
='#'
16256 SANITIZER_SUPPORTED_FALSE
=
16260 # Test for __sync support.
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
16262 $as_echo_n "checking __sync extensions... " >&6; }
16263 if ${libsanitizer_cv_sys_sync+:} false
; then :
16264 $as_echo_n "(cached) " >&6
16266 if test -n "${with_target_subdir}"; then
16267 libsanitizer_cv_sys_sync
=yes
16269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16270 /* end confdefs.h. */
16275 __sync_bool_compare_and_swap (&i, i, i);
16276 __sync_lock_test_and_set (&i, 1);
16277 __sync_lock_release (&i);
16282 if ac_fn_c_try_link
"$LINENO"; then :
16283 libsanitizer_cv_sys_sync
=yes
16285 libsanitizer_cv_sys_sync
=no
16287 rm -f core conftest.err conftest.
$ac_objext \
16288 conftest
$ac_exeext conftest.
$ac_ext
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_sync" >&5
16292 $as_echo "$libsanitizer_cv_sys_sync" >&6; }
16293 if test "$libsanitizer_cv_sys_sync" = "yes"; then
16295 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
16299 # Test for __atomic support.
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
16301 $as_echo_n "checking __atomic extensions... " >&6; }
16302 if ${libsanitizer_cv_sys_atomic+:} false
; then :
16303 $as_echo_n "(cached) " >&6
16305 if test -n "${with_target_subdir}"; then
16306 libsanitizer_cv_sys_atomic
=yes
16308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h. */
16314 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
16315 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
16320 if ac_fn_c_try_link
"$LINENO"; then :
16321 libsanitizer_cv_sys_atomic
=yes
16323 libsanitizer_cv_sys_atomic
=no
16325 rm -f core conftest.err conftest.
$ac_objext \
16326 conftest
$ac_exeext conftest.
$ac_ext
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_atomic" >&5
16330 $as_echo "$libsanitizer_cv_sys_atomic" >&6; }
16331 if test "$libsanitizer_cv_sys_atomic" = "yes"; then
16333 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
16337 # Check if assembler supports symbol assignment.
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler symbol assignment" >&5
16339 $as_echo_n "checking assembler symbol assignment... " >&6; }
16340 if ${libsanitizer_cv_as_sym_assign+:} false
; then :
16341 $as_echo_n "(cached) " >&6
16343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16354 if ac_fn_c_try_compile
"$LINENO"; then :
16355 libsanitizer_cv_as_sym_assign
=yes
16357 libsanitizer_cv_as_sym_assign
=no
16359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_as_sym_assign" >&5
16362 $as_echo "$libsanitizer_cv_as_sym_assign" >&6; }
16363 if test "$libsanitizer_cv_as_sym_assign" = "yes"; then
16364 as_sym_assign_defs
=-DHAVE_AS_SYM_ASSIGN=1
16366 AS_SYM_ASSIGN_DEFS
=$as_sym_assign_defs
16369 # The library needs to be able to read the executable itself. Compile
16370 # a file to determine the executable format. The awk script
16371 # filetype.awk prints out the file type.
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
16373 $as_echo_n "checking output filetype... " >&6; }
16374 if ${libsanitizer_cv_sys_filetype+:} false
; then :
16375 $as_echo_n "(cached) " >&6
16378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16389 if ac_fn_c_try_compile
"$LINENO"; then :
16390 filetype
=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
16392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16394 as_fn_error $?
"compiler failed
16395 See \`config.log' for more details" "$LINENO" 5; }
16397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16398 libsanitizer_cv_sys_filetype
=$filetype
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_filetype" >&5
16401 $as_echo "$libsanitizer_cv_sys_filetype" >&6; }
16403 # Match the file type to decide what files to compile.
16405 case "$libsanitizer_cv_sys_filetype" in
16406 elf
*) FORMAT_FILE
="elf.lo" ;;
16407 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
16408 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
16409 FORMAT_FILE
="unknown.lo"
16410 backtrace_supported
=no
16417 case "$libsanitizer_cv_sys_filetype" in
16418 elf32
) elfsize
=32 ;;
16419 elf64
) elfsize
=64 ;;
16422 cat >>confdefs.h
<<_ACEOF
16423 #define BACKTRACE_ELF_SIZE $elfsize
16427 BACKTRACE_SUPPORTED
=0
16428 if test "$backtrace_supported" = "yes"; then
16429 BACKTRACE_SUPPORTED
=1
16435 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16437 acx_cv_header_stdint
=stddef.h
16438 acx_cv_header_stdint_kind
="(already complete)"
16439 for i
in stdint.h
$inttype_headers; do
16440 unset ac_cv_type_uintptr_t
16441 unset ac_cv_type_uintmax_t
16442 unset ac_cv_type_int_least32_t
16443 unset ac_cv_type_int_fast32_t
16444 unset ac_cv_type_uint64_t
16445 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16446 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16449 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16450 acx_cv_header_stdint
=$i
16455 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16458 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16461 acx_cv_header_stdint_kind
="(mostly complete)"
16464 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16467 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16470 acx_cv_header_stdint_kind
="(mostly complete)"
16473 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16476 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16479 acx_cv_header_stdint_kind
="(mostly complete)"
16482 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16485 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16488 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16493 if test "$acx_cv_header_stdint" = stddef.h
; then
16494 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16495 for i
in stdint.h
$inttype_headers; do
16496 unset ac_cv_type_uintptr_t
16497 unset ac_cv_type_uint32_t
16498 unset ac_cv_type_uint64_t
16499 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16500 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16503 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16504 acx_cv_header_stdint
=$i
16509 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16512 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16516 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16519 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16526 if test "$acx_cv_header_stdint" = stddef.h
; then
16527 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16528 for i
in sys
/types.h
$inttype_headers; do
16529 unset ac_cv_type_u_int32_t
16530 unset ac_cv_type_u_int64_t
16531 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16532 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16535 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16536 acx_cv_header_stdint
=$i
16541 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16544 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16551 if test "$acx_cv_header_stdint" = stddef.h
; then
16552 acx_cv_header_stdint_kind
="(using manual detection)"
16555 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16556 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16557 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16558 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16559 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16561 # ----------------- Summarize what we found so far
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16564 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16566 case `$as_basename -- gstdint.h ||
16567 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16568 Xgstdint.h : 'X\(//\)$' \| \
16569 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16570 $as_echo X/gstdint.h |
16571 sed '/^.*\/\([^/][^/]*\)\/*$/{
16584 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16585 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16586 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16587 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16592 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16594 # ----------------- done included file, check C basic types --------
16596 # Lacking an uintptr_t? Test size of void *
16597 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16598 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16601 # This bug is HP SR number 8606223364.
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16603 $as_echo_n "checking size of void *... " >&6; }
16604 if ${ac_cv_sizeof_void_p+:} false
; then :
16605 $as_echo_n "(cached) " >&6
16607 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16610 if test "$ac_cv_type_void_p" = yes; then
16611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16613 as_fn_error
77 "cannot compute sizeof (void *)
16614 See \`config.log' for more details" "$LINENO" 5; }
16616 ac_cv_sizeof_void_p
=0
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16622 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16626 cat >>confdefs.h
<<_ACEOF
16627 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16633 # Lacking an uint64_t? Test size of long
16634 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16635 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16638 # This bug is HP SR number 8606223364.
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16640 $as_echo_n "checking size of long... " >&6; }
16641 if ${ac_cv_sizeof_long+:} false
; then :
16642 $as_echo_n "(cached) " >&6
16644 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16647 if test "$ac_cv_type_long" = yes; then
16648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16650 as_fn_error
77 "cannot compute sizeof (long)
16651 See \`config.log' for more details" "$LINENO" 5; }
16653 ac_cv_sizeof_long
=0
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16659 $as_echo "$ac_cv_sizeof_long" >&6; }
16663 cat >>confdefs.h
<<_ACEOF
16664 #define SIZEOF_LONG $ac_cv_sizeof_long
16670 if test $acx_cv_header_stdint = stddef.h
; then
16671 # Lacking a good header? Test size of everything and deduce all types.
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 int" >&5
16677 $as_echo_n "checking size of int... " >&6; }
16678 if ${ac_cv_sizeof_int+:} false
; then :
16679 $as_echo_n "(cached) " >&6
16681 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16684 if test "$ac_cv_type_int" = 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 (int)
16688 See \`config.log' for more details" "$LINENO" 5; }
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16696 $as_echo "$ac_cv_sizeof_int" >&6; }
16700 cat >>confdefs.h
<<_ACEOF
16701 #define SIZEOF_INT $ac_cv_sizeof_int
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 short" >&5
16710 $as_echo_n "checking size of short... " >&6; }
16711 if ${ac_cv_sizeof_short+:} false
; then :
16712 $as_echo_n "(cached) " >&6
16714 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16717 if test "$ac_cv_type_short" = 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 (short)
16721 See \`config.log' for more details" "$LINENO" 5; }
16723 ac_cv_sizeof_short
=0
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16729 $as_echo "$ac_cv_sizeof_short" >&6; }
16733 cat >>confdefs.h
<<_ACEOF
16734 #define SIZEOF_SHORT $ac_cv_sizeof_short
16738 # The cast to long int works around a bug in the HP C Compiler
16739 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16740 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16741 # This bug is HP SR number 8606223364.
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16743 $as_echo_n "checking size of char... " >&6; }
16744 if ${ac_cv_sizeof_char+:} false
; then :
16745 $as_echo_n "(cached) " >&6
16747 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16750 if test "$ac_cv_type_char" = yes; then
16751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16753 as_fn_error
77 "cannot compute sizeof (char)
16754 See \`config.log' for more details" "$LINENO" 5; }
16756 ac_cv_sizeof_char
=0
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16762 $as_echo "$ac_cv_sizeof_char" >&6; }
16766 cat >>confdefs.h
<<_ACEOF
16767 #define SIZEOF_CHAR $ac_cv_sizeof_char
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16773 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16774 case "$ac_cv_sizeof_char" in
16775 1) acx_cv_type_int8_t
=char
;;
16776 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16779 $as_echo "$acx_cv_type_int8_t" >&6; }
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16782 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16783 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16784 2:*) acx_cv_type_int16_t
=int
;;
16785 *:2) acx_cv_type_int16_t
=short
;;
16786 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16789 $as_echo "$acx_cv_type_int16_t" >&6; }
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16792 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16793 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16794 4:*) acx_cv_type_int32_t
=int
;;
16795 *:4) acx_cv_type_int32_t
=long
;;
16796 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16799 $as_echo "$acx_cv_type_int32_t" >&6; }
16802 # These tests are here to make the output prettier
16804 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16805 case "$ac_cv_sizeof_long" in
16806 8) acx_cv_type_int64_t
=long
;;
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16809 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16811 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16814 # Now we can use the above types
16816 if test "$ac_cv_type_uintptr_t" != yes; then
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16818 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16819 case $ac_cv_sizeof_void_p in
16820 2) acx_cv_type_intptr_t
=int16_t
;;
16821 4) acx_cv_type_intptr_t
=int32_t
;;
16822 8) acx_cv_type_intptr_t
=int64_t
;;
16823 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16826 $as_echo "$acx_cv_type_intptr_t" >&6; }
16829 # ----------------- done all checks, emit header -------------
16830 ac_config_commands
="$ac_config_commands gstdint.h"
16835 for ac_header
in sys
/mman.h alloca.h
16837 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16838 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16839 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16840 cat >>confdefs.h
<<_ACEOF
16841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16848 if test "$ac_cv_header_sys_mman_h" = "no"; then
16851 if test -n "${with_target_subdir}"; then
16852 # When built as a GCC target library, we can't do a link test. We
16853 # simply assume that if we have mman.h, we have mmap.
16856 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
16857 if test "x$ac_cv_func_mmap" = xyes
; then :
16865 if test "$have_mmap" = "no"; then
16867 ALLOC_FILE
=alloc.lo
16869 VIEW_FILE
=mmapio.lo
16870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16871 /* end confdefs.h. */
16873 #include <sys/mman.h>
16874 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
16875 #error no MAP_ANONYMOUS
16879 if ac_fn_c_try_cpp
"$LINENO"; then :
16882 ALLOC_FILE
=alloc.lo
16884 rm -f conftest.err conftest.i conftest.
$ac_ext
16889 BACKTRACE_USES_MALLOC
=0
16890 if test "$ALLOC_FILE" = "alloc.lo"; then
16891 BACKTRACE_USES_MALLOC
=1
16895 # Don't care about thread support
16896 BACKTRACE_SUPPORTS_THREADS
=0
16899 # Check for dl_iterate_phdr.
16900 for ac_header
in link.h
16902 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
16903 if test "x$ac_cv_header_link_h" = xyes
; then :
16904 cat >>confdefs.h
<<_ACEOF
16905 #define HAVE_LINK_H 1
16912 if test "$ac_cv_header_link_h" = "no"; then
16913 have_dl_iterate_phdr
=no
16915 # When built as a GCC target library, we can't do a link test.
16916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16922 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
16923 have_dl_iterate_phdr
=yes
16925 have_dl_iterate_phdr
=no
16930 if test "$have_dl_iterate_phdr" = "yes"; then
16932 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
16936 # Check for the fcntl function.
16937 if test -n "${with_target_subdir}"; then
16939 *-*-mingw*) have_fcntl
=no
;;
16940 *) have_fcntl
=yes ;;
16943 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
16944 if test "x$ac_cv_func_fcntl" = xyes
; then :
16951 if test "$have_fcntl" = "yes"; then
16953 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
16957 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
16958 if test "x$ac_cv_have_decl_strnlen" = xyes
; then :
16964 cat >>confdefs.h
<<_ACEOF
16965 #define HAVE_DECL_STRNLEN $ac_have_decl
16969 # Check for getexecname function.
16970 if test -n "${with_target_subdir}"; then
16972 *-*-solaris2*) have_getexecname
=yes ;;
16973 *) have_getexecname
=no
;;
16976 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
16977 if test "x$ac_cv_func_getexecname" = xyes
; then :
16978 have_getexecname
=yes
16980 have_getexecname
=no
16984 if test "$have_getexecname" = "yes"; then
16986 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
16990 # Check for rpc/xdr.h
16991 for ac_header
in rpc
/xdr.h
16993 ac_fn_c_check_header_mongrel
"$LINENO" "rpc/xdr.h" "ac_cv_header_rpc_xdr_h" "$ac_includes_default"
16994 if test "x$ac_cv_header_rpc_xdr_h" = xyes
; then :
16995 cat >>confdefs.h
<<_ACEOF
16996 #define HAVE_RPC_XDR_H 1
17003 if test x
"$ac_cv_header_rpc_xdr_h" = xyes
; then
17004 rpc_defs
="$rpc_defs -DHAVE_RPC_XDR_H=1"
17006 rpc_defs
="$rpc_defs -DHAVE_RPC_XDR_H=0"
17009 # Check for tirpc/rpc/xdr.h
17010 for ac_header
in tirpc
/rpc
/xdr.h
17012 ac_fn_c_check_header_mongrel
"$LINENO" "tirpc/rpc/xdr.h" "ac_cv_header_tirpc_rpc_xdr_h" "$ac_includes_default"
17013 if test "x$ac_cv_header_tirpc_rpc_xdr_h" = xyes
; then :
17014 cat >>confdefs.h
<<_ACEOF
17015 #define HAVE_TIRPC_RPC_XDR_H 1
17022 if test x
"$ac_cv_header_tirpc_rpc_xdr_h" = xyes
; then
17023 rpc_defs
="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=1"
17025 rpc_defs
="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=0"
17031 if test "x${BACKTRACE_SUPPORTED}x${BACKTRACE_USES_MALLOC}" = "x1x0"; then
17032 LIBBACKTRACE_SUPPORTED_TRUE
=
17033 LIBBACKTRACE_SUPPORTED_FALSE
='#'
17035 LIBBACKTRACE_SUPPORTED_TRUE
='#'
17036 LIBBACKTRACE_SUPPORTED_FALSE
=
17041 ac_config_files
="$ac_config_files Makefile libsanitizer.spec libbacktrace/backtrace-supported.h"
17043 ac_config_headers
="$ac_config_headers config.h"
17046 ac_config_files
="$ac_config_files interception/Makefile sanitizer_common/Makefile libbacktrace/Makefile lsan/Makefile asan/Makefile ubsan/Makefile"
17049 if test "x$TSAN_SUPPORTED" = "xyes"; then
17050 ac_config_files
="$ac_config_files tsan/Makefile"
17054 if test "x$HWASAN_SUPPORTED" = "xyes"; then
17055 ac_config_files
="$ac_config_files hwasan/Makefile"
17062 # Check whether --enable-werror was given.
17063 if test "${enable_werror+set}" = set; then :
17064 enableval
=$enable_werror;
17069 ac_cpp
='$CPP $CPPFLAGS'
17070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17075 save_CFLAGS
="$CFLAGS"
17076 for real_option
in -Wextra -Wall -Wwrite-strings \
17077 -Wmissing-format-attribute -Wcast-qual; do
17078 # Do the check with the no- prefix removed since gcc silently
17079 # accepts any -Wno-* option on purpose
17080 case $real_option in
17081 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
17082 *) option
=$real_option ;;
17084 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
17087 $as_echo_n "checking whether $CC supports $option... " >&6; }
17088 if eval \
${$as_acx_Woption+:} false
; then :
17089 $as_echo_n "(cached) " >&6
17092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17103 if ac_fn_c_try_compile
"$LINENO"; then :
17104 eval "$as_acx_Woption=yes"
17106 eval "$as_acx_Woption=no"
17108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17111 eval ac_res
=\$
$as_acx_Woption
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17113 $as_echo "$ac_res" >&6; }
17114 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
17115 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
17118 CFLAGS
="$save_CFLAGS"
17120 ac_cpp
='$CPP $CPPFLAGS'
17121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17126 if test "x$enable_werror" != "xno"; then :
17127 WARN_FLAGS
="$WARN_FLAGS -Werror"
17131 # Determine what GCC version number to use in filesystem paths.
17133 get_gcc_base_ver
="cat"
17135 # Check whether --with-gcc-major-version-only was given.
17136 if test "${with_gcc_major_version_only+set}" = set; then :
17137 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
17138 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
17146 # Add CET specific flags if Intel CET is enabled.
17147 # Check whether --enable-cet was given.
17148 if test "${enable_cet+set}" = set; then :
17149 enableval
=$enable_cet;
17150 case "$enableval" in
17152 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
17161 $as_echo_n "checking for CET support... " >&6; }
17163 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
17165 i
[34567]86-*-linux* | x86_64-
*-linux*)
17166 case "$enable_cet" in
17168 # Check if target supports multi-byte NOPs
17169 # and if compiler and assembler support CET insn.
17170 cet_save_CFLAGS
="$CFLAGS"
17171 CFLAGS
="$CFLAGS -fcf-protection"
17172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17179 #if !defined(__SSE2__)
17180 #error target does not support multi-byte NOPs
17189 if ac_fn_c_try_compile
"$LINENO"; then :
17194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17195 CFLAGS
="$cet_save_CFLAGS"
17198 # Check if assembler supports CET.
17199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17210 if ac_fn_c_try_compile
"$LINENO"; then :
17213 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
17215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17223 if test x
$enable_cet = xyes
; then
17224 CET_FLAGS
="-fcf-protection -mshstk"
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17226 $as_echo "yes" >&6; }
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17229 $as_echo "no" >&6; }
17233 # Always set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to sync with LLVM,
17234 # and keep struct *stat* have the same size.
17236 mips
*-*) FILE64_FLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ;;
17237 *) FILE64_FLAGS
="" ;;
17240 EXTRA_CFLAGS
="$EXTRA_CFLAGS $CET_FLAGS $FILE64_FLAGS"
17241 EXTRA_CXXFLAGS
="$EXTRA_CXXFLAGS $CET_FLAGS $FILE64_FLAGS"
17242 EXTRA_ASFLAGS
=$CET_FLAGS
17247 cat >confcache
<<\_ACEOF
17248 # This file is a shell script that caches the results of configure
17249 # tests run on this system so they can be shared between configure
17250 # scripts and configure runs, see configure's option --config-cache.
17251 # It is not useful on other systems. If it contains results you don't
17252 # want to keep, you may remove or edit it.
17254 # config.status only pays attention to the cache file if you give it
17255 # the --recheck option to rerun configure.
17257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17259 # following values.
17263 # The following way of writing the cache mishandles newlines in values,
17264 # but we know of no workaround that is simple, portable, and efficient.
17265 # So, we kill variables containing newlines.
17266 # Ultrix sh set writes to stderr and can't be redirected directly,
17267 # and sets the high bit in the cache file unless we assign to the vars.
17269 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17270 eval ac_val
=\$
$ac_var
17274 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17275 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17278 _ | IFS | as_nl
) ;; #(
17279 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17280 *) { eval $ac_var=; unset $ac_var;} ;;
17286 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17287 *${as_nl}ac_space
=\
*)
17288 # `set' does not quote correctly, so add quotes: double-quote
17289 # substitution turns \\\\ into \\, and sed turns \\ into \.
17292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17295 # `set' quotes correctly as required by POSIX, so do not add quotes.
17296 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17307 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17309 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17310 if test -w "$cache_file"; then
17311 if test "x$cache_file" != "x/dev/null"; then
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17313 $as_echo "$as_me: updating cache $cache_file" >&6;}
17314 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17315 cat confcache
>"$cache_file"
17317 case $cache_file in #(
17319 mv -f confcache
"$cache_file"$$
&&
17320 mv -f "$cache_file"$$
"$cache_file" ;; #(
17322 mv -f confcache
"$cache_file" ;;
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17328 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17333 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17334 # Let make expand exec_prefix.
17335 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17337 DEFS
=-DHAVE_CONFIG_H
17342 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17343 # 1. Remove the extension, and $U if already installed.
17344 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17345 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17346 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17347 # will be set to the directory where LIBOBJS objects are built.
17348 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17349 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17351 LIBOBJS
=$ac_libobjs
17353 LTLIBOBJS
=$ac_ltlibobjs
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17357 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17358 if test -n "$am_sleep_pid"; then
17359 # Hide warnings about reused PIDs.
17360 wait $am_sleep_pid 2>/dev
/null
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17363 $as_echo "done" >&6; }
17364 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17365 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17368 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17369 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17372 if test -n "$EXEEXT"; then
17374 am__EXEEXT_FALSE
='#'
17376 am__EXEEXT_TRUE
='#'
17380 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17381 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17384 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17385 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
17386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17388 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
17389 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
17390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17392 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
17393 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
17394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17396 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
17397 as_fn_error $?
"conditional \"TSAN_SUPPORTED\" was never defined.
17398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17400 if test -z "${LSAN_SUPPORTED_TRUE}" && test -z "${LSAN_SUPPORTED_FALSE}"; then
17401 as_fn_error $?
"conditional \"LSAN_SUPPORTED\" was never defined.
17402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17404 if test -z "${HWASAN_SUPPORTED_TRUE}" && test -z "${HWASAN_SUPPORTED_FALSE}"; then
17405 as_fn_error $?
"conditional \"HWASAN_SUPPORTED\" was never defined.
17406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17408 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
17409 as_fn_error $?
"conditional \"USING_MAC_INTERPOSE\" was never defined.
17410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17412 if test -z "${SANITIZER_SUPPORTED_TRUE}" && test -z "${SANITIZER_SUPPORTED_FALSE}"; then
17413 as_fn_error $?
"conditional \"SANITIZER_SUPPORTED\" was never defined.
17414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17416 if test -z "${LIBBACKTRACE_SUPPORTED_TRUE}" && test -z "${LIBBACKTRACE_SUPPORTED_FALSE}"; then
17417 as_fn_error $?
"conditional \"LIBBACKTRACE_SUPPORTED\" was never defined.
17418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17421 : "${CONFIG_STATUS=./config.status}"
17423 ac_clean_files_save
=$ac_clean_files
17424 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17426 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17428 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17430 # Generated by $as_me.
17431 # Run this file to recreate the current configuration.
17432 # Compiler output produced by configure, useful for debugging
17433 # configure, is in config.log if it exists.
17436 ac_cs_recheck=false
17439 SHELL=\${CONFIG_SHELL-$SHELL}
17442 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17443 ## -------------------- ##
17444 ## M4sh Initialization. ##
17445 ## -------------------- ##
17447 # Be more Bourne compatible
17448 DUALCASE
=1; export DUALCASE
# for MKS sh
17449 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17452 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17453 # is contrary to our usage. Disable this feature.
17454 alias -g '${1+"$@"}'='"$@"'
17455 setopt NO_GLOB_SUBST
17457 case `(set -o) 2>/dev/null` in #(
17469 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17470 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17472 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17473 # Prefer a ksh shell builtin over an external printf program on Solaris,
17474 # but without wasting forks for bash or zsh.
17475 if test -z "$BASH_VERSION$ZSH_VERSION" \
17476 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17477 as_echo='print
-r --'
17478 as_echo_n='print
-rn --'
17479 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17480 as_echo='printf %s
\n'
17481 as_echo_n='printf %s
'
17483 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17484 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17485 as_echo_n='/usr
/ucb
/echo -n'
17487 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17488 as_echo_n_body='eval
17492 expr "X$arg" : "X\\(.*\\)$as_nl";
17493 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17495 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17497 export as_echo_n_body
17498 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17500 export as_echo_body
17501 as_echo='sh
-c $as_echo_body as_echo
'
17504 # The user is always right.
17505 if test "${PATH_SEPARATOR+set}" != set; then
17507 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17508 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17515 # We need space, tab and new line, in precisely that order. Quoting is
17516 # there to prevent editors from complaining about space-tab.
17517 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17518 # splitting by setting IFS to empty value.)
17521 # Find who we are. Look in the path if we contain no directory separator.
17524 *[\\/]* ) as_myself=$0 ;;
17525 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17526 for as_dir in $PATH
17529 test -z "$as_dir" && as_dir=.
17530 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17536 # We did not find ourselves, most probably we were run as `sh COMMAND'
17537 # in which case we are not to be found in the path.
17538 if test "x$as_myself" = x
; then
17541 if test ! -f "$as_myself"; then
17542 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17546 # Unset variables that we do not need and which cause bugs (e.g. in
17547 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17548 # suppresses any "Segmentation fault" message there. '((' could
17549 # trigger a bug in pdksh 5.2.14.
17550 for as_var
in BASH_ENV ENV MAIL MAILPATH
17551 do eval test x\
${$as_var+set} = xset \
17552 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17565 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17568 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17569 # ----------------------------------------
17570 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17571 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17572 # script with STATUS, using 1 if that was 0.
17575 as_status
=$1; test $as_status -eq 0 && as_status
=1
17577 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17578 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17580 $as_echo "$as_me: error: $2" >&2
17581 as_fn_exit
$as_status
17585 # as_fn_set_status STATUS
17586 # -----------------------
17587 # Set $? to STATUS, without forking.
17588 as_fn_set_status
()
17591 } # as_fn_set_status
17593 # as_fn_exit STATUS
17594 # -----------------
17595 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17599 as_fn_set_status
$1
17605 # Portably unset VAR.
17608 { eval $1=; unset $1;}
17610 as_unset
=as_fn_unset
17611 # as_fn_append VAR VALUE
17612 # ----------------------
17613 # Append the text in VALUE to the end of the definition contained in VAR. Take
17614 # advantage of any shell optimizations that allow amortized linear growth over
17615 # repeated appends, instead of the typical quadratic growth present in naive
17617 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17618 eval 'as_fn_append ()
17629 # as_fn_arith ARG...
17630 # ------------------
17631 # Perform arithmetic evaluation on the ARGs, and store the result in the
17632 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17633 # must be portable across $(()) and expr.
17634 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17635 eval 'as_fn_arith ()
17642 as_val
=`expr "$@" || test $? -eq 1`
17647 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17648 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17654 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17655 as_basename
=basename
17660 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17666 as_me
=`$as_basename -- "$0" ||
17667 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17668 X"$0" : 'X\(//\)$' \| \
17669 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17671 sed '/^.*\/\([^/][^/]*\)\/*$/{
17685 # Avoid depending upon Character Ranges.
17686 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17687 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17688 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17689 as_cr_digits
='0123456789'
17690 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17692 ECHO_C
= ECHO_N
= ECHO_T
=
17693 case `echo -n x` in #(((((
17695 case `echo 'xy\c'` in
17696 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17698 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17705 rm -f conf$$ conf$$.exe conf$$.
file
17706 if test -d conf$$.dir
; then
17707 rm -f conf$$.dir
/conf$$.
file
17710 mkdir conf$$.dir
2>/dev
/null
17712 if (echo >conf$$.
file) 2>/dev
/null
; then
17713 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17715 # ... but there are two gotchas:
17716 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17717 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17718 # In both cases, we have to default to `cp -pR'.
17719 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17721 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17729 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17730 rmdir conf$$.dir
2>/dev
/null
17735 # Create "$as_dir" as a directory, including parents if necessary.
17740 -*) as_dir
=.
/$as_dir;;
17742 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17746 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17747 *) as_qdir
=$as_dir;;
17749 as_dirs
="'$as_qdir' $as_dirs"
17750 as_dir
=`$as_dirname -- "$as_dir" ||
17751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17752 X"$as_dir" : 'X\(//\)[^/]' \| \
17753 X"$as_dir" : 'X\(//\)$' \| \
17754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17755 $as_echo X"$as_dir" |
17756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17760 /^X\(\/\/\)[^/].*/{
17773 test -d "$as_dir" && break
17775 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17776 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17780 if mkdir
-p .
2>/dev
/null
; then
17781 as_mkdir_p
='mkdir -p "$as_dir"'
17783 test -d .
/-p && rmdir .
/-p
17788 # as_fn_executable_p FILE
17789 # -----------------------
17790 # Test if FILE is an executable regular file.
17791 as_fn_executable_p
()
17793 test -f "$1" && test -x "$1"
17794 } # as_fn_executable_p
17795 as_test_x
='test -x'
17796 as_executable_p
=as_fn_executable_p
17798 # Sed expression to map a string onto a valid CPP name.
17799 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17801 # Sed expression to map a string onto a valid variable name.
17802 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17806 ## ----------------------------------- ##
17807 ## Main body of $CONFIG_STATUS script. ##
17808 ## ----------------------------------- ##
17810 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17813 # Save the log message, to keep $0 and so on meaningful, and to
17814 # report actual input values of CONFIG_FILES etc. instead of their
17815 # values after options handling.
17817 This file was extended by package-unused $as_me version-unused, which was
17818 generated by GNU Autoconf 2.69. Invocation command line was
17820 CONFIG_FILES = $CONFIG_FILES
17821 CONFIG_HEADERS = $CONFIG_HEADERS
17822 CONFIG_LINKS = $CONFIG_LINKS
17823 CONFIG_COMMANDS = $CONFIG_COMMANDS
17826 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17831 case $ac_config_files in *"
17832 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17835 case $ac_config_headers in *"
17836 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17841 # Files that config.status was made for.
17842 config_files="$ac_config_files"
17843 config_headers="$ac_config_headers"
17844 config_commands="$ac_config_commands"
17848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17850 \`$as_me' instantiates files and other configuration actions
17851 from templates according to the current configuration. Unless the files
17852 and actions are specified as TAGs, all are instantiated by default.
17854 Usage: $0 [OPTION]... [TAG]...
17856 -h, --help print this help, then exit
17857 -V, --version print version number and configuration settings, then exit
17858 --config print configuration, then exit
17859 -q, --quiet, --silent
17860 do not print progress messages
17861 -d, --debug don't remove temporary files
17862 --recheck update $as_me by reconfiguring in the same conditions
17863 --file=FILE[:TEMPLATE]
17864 instantiate the configuration file FILE
17865 --header=FILE[:TEMPLATE]
17866 instantiate the configuration header FILE
17868 Configuration files:
17871 Configuration headers:
17874 Configuration commands:
17877 Report bugs to <libsanitizer>."
17880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17881 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17883 package-unused config.status version-unused
17884 configured by $0, generated by GNU Autoconf 2.69,
17885 with options \\"\$ac_cs_config\\"
17887 Copyright (C) 2012 Free Software Foundation, Inc.
17888 This config.status script is free software; the Free Software Foundation
17889 gives unlimited permission to copy, distribute and modify it."
17896 test -n "\$AWK" || AWK=awk
17899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17900 # The default lists apply if the user does not specify any file.
17906 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17907 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17911 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17923 # Handling of the options.
17924 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17926 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17927 $as_echo "$ac_cs_version"; exit ;;
17928 --config |
--confi |
--conf |
--con |
--co |
--c )
17929 $as_echo "$ac_cs_config"; exit ;;
17930 --debug |
--debu |
--deb |
--de |
--d |
-d )
17932 --file |
--fil |
--fi |
--f )
17935 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17936 '') as_fn_error $?
"missing file argument" ;;
17938 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17939 ac_need_defaults
=false
;;
17940 --header |
--heade |
--head |
--hea )
17943 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17945 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17946 ac_need_defaults
=false
;;
17948 # Conflict between --help and --header
17949 as_fn_error $?
"ambiguous option: \`$1'
17950 Try \`$0 --help' for more information.";;
17951 --help |
--hel |
-h )
17952 $as_echo "$ac_cs_usage"; exit ;;
17953 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17954 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17957 # This is an error.
17958 -*) as_fn_error $?
"unrecognized option: \`$1'
17959 Try \`$0 --help' for more information." ;;
17961 *) as_fn_append ac_config_targets
" $1"
17962 ac_need_defaults
=false
;;
17968 ac_configure_extra_args
=
17970 if $ac_cs_silent; then
17972 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17977 if \$ac_cs_recheck; then
17978 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17980 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17981 CONFIG_SHELL='$SHELL'
17982 export CONFIG_SHELL
17987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17991 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17992 ## Running $as_me. ##
17998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18006 with_multisubdir="$with_multisubdir"
18007 with_multisrctop="$with_multisrctop"
18008 with_target_subdir="$with_target_subdir"
18009 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18010 multi_basedir="$multi_basedir"
18011 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18014 GFORTRAN="$GFORTRAN"
18016 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18019 # The HP-UX ksh and POSIX shell print the target directory to stdout
18020 # if CDPATH is set.
18021 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18023 sed_quote_subst='$sed_quote_subst'
18024 double_quote_subst='$double_quote_subst'
18025 delay_variable_subst='$delay_variable_subst'
18026 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18027 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18028 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18029 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18030 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18031 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18032 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18033 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18034 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18035 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18036 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18037 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18038 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18039 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18040 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18041 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18042 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18043 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18044 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18045 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18046 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18047 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18048 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18049 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18050 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18051 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18052 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18053 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18054 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18055 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18056 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18057 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18058 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18059 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18060 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18061 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18062 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18063 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18064 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18065 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18066 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18067 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18068 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18069 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18070 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18071 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18072 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18073 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18074 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"`'
18075 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18076 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18077 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18078 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18079 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18080 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18081 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18082 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18083 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18084 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18085 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18086 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18087 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18088 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18089 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18090 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18091 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18092 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18093 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18094 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18095 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18096 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18097 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18098 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18099 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18100 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18101 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18102 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18103 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18104 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18105 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18106 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18107 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18108 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18109 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18110 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18111 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18112 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18113 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18114 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18115 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18116 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18117 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18118 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18119 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18120 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18121 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18122 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18123 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18124 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18125 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18126 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18127 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18128 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18129 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18130 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18131 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18132 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18133 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18134 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18135 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18136 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18137 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18138 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18139 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18140 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18141 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18142 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18143 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18144 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18145 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18146 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18147 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18148 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18149 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18150 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18151 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18152 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18153 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18154 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18155 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18156 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18157 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18158 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18159 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18160 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18161 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18162 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18163 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18164 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18165 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18166 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18167 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18168 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18169 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18170 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18171 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18172 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18173 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18174 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18175 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18176 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18177 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18178 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18179 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18180 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18181 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18182 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18183 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18184 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18185 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18186 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18187 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18188 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18189 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18190 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18191 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18192 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18193 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18194 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18195 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18196 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18197 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18198 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18199 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18200 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18203 LTCFLAGS='$LTCFLAGS'
18204 compiler='$compiler_DEFAULT'
18206 # A function that is used when there is no print builtin or printf.
18207 func_fallback_echo ()
18209 eval 'cat <<_LTECHO_EOF
18214 # Quote evaled strings.
18228 deplibs_check_method \
18237 lt_cv_sys_global_symbol_pipe \
18238 lt_cv_sys_global_symbol_to_cdecl \
18239 lt_cv_sys_global_symbol_to_c_name_address \
18240 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18241 lt_prog_compiler_no_builtin_flag \
18242 lt_prog_compiler_wl \
18243 lt_prog_compiler_pic \
18244 lt_prog_compiler_static \
18245 lt_cv_prog_compiler_c_o \
18253 export_dynamic_flag_spec \
18254 whole_archive_flag_spec \
18255 compiler_needs_object \
18257 allow_undefined_flag \
18258 no_undefined_flag \
18259 hardcode_libdir_flag_spec \
18260 hardcode_libdir_flag_spec_ld \
18261 hardcode_libdir_separator \
18266 variables_saved_for_relink \
18268 library_names_spec \
18270 install_override_mode \
18274 compiler_lib_search_dirs \
18279 compiler_lib_search_path \
18283 lt_prog_compiler_no_builtin_flag_CXX \
18284 lt_prog_compiler_wl_CXX \
18285 lt_prog_compiler_pic_CXX \
18286 lt_prog_compiler_static_CXX \
18287 lt_cv_prog_compiler_c_o_CXX \
18288 export_dynamic_flag_spec_CXX \
18289 whole_archive_flag_spec_CXX \
18290 compiler_needs_object_CXX \
18292 allow_undefined_flag_CXX \
18293 no_undefined_flag_CXX \
18294 hardcode_libdir_flag_spec_CXX \
18295 hardcode_libdir_flag_spec_ld_CXX \
18296 hardcode_libdir_separator_CXX \
18297 fix_srcfile_path_CXX \
18298 exclude_expsyms_CXX \
18299 include_expsyms_CXX \
18300 file_list_spec_CXX \
18301 compiler_lib_search_dirs_CXX \
18302 predep_objects_CXX \
18303 postdep_objects_CXX \
18306 compiler_lib_search_path_CXX; do
18307 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18308 *[\\\\\\\`\\"\\\$]*)
18309 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18312 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18317 # Double-quote double-evaled strings.
18318 for var in reload_cmds \
18319 old_postinstall_cmds \
18320 old_postuninstall_cmds \
18322 extract_expsyms_cmds \
18323 old_archive_from_new_cmds \
18324 old_archive_from_expsyms_cmds \
18326 archive_expsym_cmds \
18328 module_expsym_cmds \
18329 export_symbols_cmds \
18332 postuninstall_cmds \
18334 sys_lib_search_path_spec \
18335 sys_lib_dlsearch_path_spec \
18337 old_archive_cmds_CXX \
18338 old_archive_from_new_cmds_CXX \
18339 old_archive_from_expsyms_cmds_CXX \
18341 archive_expsym_cmds_CXX \
18343 module_expsym_cmds_CXX \
18344 export_symbols_cmds_CXX \
18345 prelink_cmds_CXX; do
18346 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18347 *[\\\\\\\`\\"\\\$]*)
18348 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18351 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18356 ac_aux_dir='$ac_aux_dir'
18357 xsi_shell='$xsi_shell'
18358 lt_shell_append='$lt_shell_append'
18360 # See if we are running on zsh, and set the options which allow our
18361 # commands through without removal of \ escapes INIT.
18362 if test -n "\${ZSH_VERSION+set}" ; then
18363 setopt NO_GLOB_SUBST
18369 TIMESTAMP='$TIMESTAMP'
18380 acx_cv_header_stdint="$acx_cv_header_stdint"
18381 acx_cv_type_int8_t="$acx_cv_type_int8_t"
18382 acx_cv_type_int16_t="$acx_cv_type_int16_t"
18383 acx_cv_type_int32_t="$acx_cv_type_int32_t"
18384 acx_cv_type_int64_t="$acx_cv_type_int64_t"
18385 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
18386 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
18387 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
18388 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
18389 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
18390 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
18391 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
18392 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
18393 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
18398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18400 # Handling of arguments.
18401 for ac_config_target
in $ac_config_targets
18403 case $ac_config_target in
18404 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18405 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18406 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18407 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
18408 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18409 "libsanitizer.spec") CONFIG_FILES
="$CONFIG_FILES libsanitizer.spec" ;;
18410 "libbacktrace/backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES libbacktrace/backtrace-supported.h" ;;
18411 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18412 "interception/Makefile") CONFIG_FILES
="$CONFIG_FILES interception/Makefile" ;;
18413 "sanitizer_common/Makefile") CONFIG_FILES
="$CONFIG_FILES sanitizer_common/Makefile" ;;
18414 "libbacktrace/Makefile") CONFIG_FILES
="$CONFIG_FILES libbacktrace/Makefile" ;;
18415 "lsan/Makefile") CONFIG_FILES
="$CONFIG_FILES lsan/Makefile" ;;
18416 "asan/Makefile") CONFIG_FILES
="$CONFIG_FILES asan/Makefile" ;;
18417 "ubsan/Makefile") CONFIG_FILES
="$CONFIG_FILES ubsan/Makefile" ;;
18418 "tsan/Makefile") CONFIG_FILES
="$CONFIG_FILES tsan/Makefile" ;;
18419 "hwasan/Makefile") CONFIG_FILES
="$CONFIG_FILES hwasan/Makefile" ;;
18421 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18426 # If the user did not use the arguments to specify the items to instantiate,
18427 # then the envvar interface is used. Set only those that are not.
18428 # We use the long form for the default assignment because of an extremely
18429 # bizarre bug on SunOS 4.1.3.
18430 if $ac_need_defaults; then
18431 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18432 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18433 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18436 # Have a temporary directory for convenience. Make it in the build tree
18437 # simply because there is no reason against having it here, and in addition,
18438 # creating and moving files from /tmp can sometimes cause problems.
18439 # Hook for its removal unless debugging.
18440 # Note that there is a small window in which the directory will not be cleaned:
18441 # after its creation but before its name has been assigned to `$tmp'.
18445 trap 'exit_status=$?
18446 : "${ac_tmp:=$tmp}"
18447 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18449 trap 'as_fn_exit 1' 1 2 13 15
18451 # Create a (secure) tmp directory for tmp files.
18454 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18458 tmp
=.
/conf$$
-$RANDOM
18459 (umask 077 && mkdir
"$tmp")
18460 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18463 # Set up the scripts for CONFIG_FILES section.
18464 # No need to generate them if there are no CONFIG_FILES.
18465 # This happens for instance with `./config.status config.h'.
18466 if test -n "$CONFIG_FILES"; then
18469 ac_cr
=`echo X | tr X '\015'`
18470 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18471 # But we know of no other shell where ac_cr would be empty at this
18472 # point, so we can use a bashism as a fallback.
18473 if test "x$ac_cr" = x
; then
18474 eval ac_cr
=\$
\'\\r
\'
18476 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18477 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18480 ac_cs_awk_cr
=$ac_cr
18483 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18488 echo "cat >conf$$subs.awk <<_ACEOF" &&
18489 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18491 } >conf$$subs.sh ||
18492 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18493 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18495 for ac_last_try in false false false false false :; do
18496 . ./conf$$subs.sh ||
18497 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18499 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18500 if test $ac_delim_n = $ac_delim_num; then
18502 elif $ac_last_try; then
18503 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18505 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18508 rm -f conf$$subs.sh
18510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18511 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18515 s/^/S["/; s
/!.
*/"]=/
18525 s/\(.\{148\}\)..*/\1/
18527 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18532 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18539 s/\(.\{148\}\)..*/\1/
18541 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18545 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18550 ' <conf$$subs.awk | sed '
18555 ' >>$CONFIG_STATUS || ac_write_fail=1
18556 rm -f conf$$subs.awk
18557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18559 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18560 for (key in S) S_is_set[key] = 1
18566 nfields = split(line, field, "@
")
18568 len = length(field[1])
18569 for (i = 2; i < nfields; i++) {
18571 keylen = length(key)
18572 if (S_is_set[key]) {
18574 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18575 len += length(value) + length(field[++i])
18586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18587 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18588 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18591 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18592 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18595 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18596 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18597 # trailing colons and then remove the whole line if VPATH becomes empty
18598 # (actually we leave an empty line to preserve line numbers).
18599 if test "x
$srcdir" = x.; then
18600 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18619 fi # test -n "$CONFIG_FILES"
18621 # Set up the scripts for CONFIG_HEADERS section.
18622 # No need to generate them if there are no CONFIG_HEADERS.
18623 # This happens for instance with `./config.status Makefile'.
18624 if test -n "$CONFIG_HEADERS"; then
18625 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18629 # Transform confdefs.h into an awk script `defines.awk', embedded as
18630 # here-document in config.status, that substitutes the proper values into
18631 # config.h.in to produce config.h.
18633 # Create a delimiter string that does not exist in confdefs.h, to ease
18634 # handling of long lines.
18636 for ac_last_try in false false :; do
18637 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18638 if test -z "$ac_tt"; then
18640 elif $ac_last_try; then
18641 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18643 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18647 # For the awk script, D is an array of macro values keyed by name,
18648 # likewise P contains macro parameters if any. Preserve backslash
18649 # newline sequences.
18651 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18653 s/.\{148\}/&'"$ac_delim"'/g
18656 s/^[ ]*#[ ]*define[ ][ ]*/ /
18663 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18665 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18669 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18670 D["\
1"]=" \
3\\\\\\n
"\\/p
18672 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18677 s/.\{148\}/&'"$ac_delim"'/g
18682 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18685 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18687 ' <confdefs.h | sed '
18688 s/'"$ac_delim"'/"\\\
18689 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18692 for (key in D) D_is_set[key] = 1
18695 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18697 split(line, arg, " ")
18698 if (arg[1] == "#") {
18702 defundef
= substr
(arg
[1], 2)
18705 split(mac1
, mac2
, "(") #)
18707 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18708 if (D_is_set
[macro
]) {
18709 # Preserve the white space surrounding the "#".
18710 print prefix
"define", macro P
[macro
] D
[macro
]
18713 # Replace #undef with comments. This is necessary, for example,
18714 # in the case of _POSIX_SOURCE, which is predefined and required
18715 # on some systems where configure will not decide to define it.
18716 if (defundef
== "undef") {
18717 print
"/*", prefix defundef
, macro
, "*/"
18725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18726 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18727 fi # test -n "$CONFIG_HEADERS"
18730 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18735 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18737 case $ac_mode$ac_tag in
18739 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18740 :[FH
]-) ac_tag
=-:-;;
18741 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18758 -) ac_f
="$ac_tmp/stdin";;
18759 *) # Look for the file first in the build tree, then in the source tree
18760 # (if the path is not absolute). The absolute path cannot be DOS-style,
18761 # because $ac_f cannot contain `:'.
18765 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18767 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18769 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18770 as_fn_append ac_file_inputs
" '$ac_f'"
18773 # Let's still pretend it is `configure' which instantiates (i.e., don't
18774 # use $as_me), people would be surprised to read:
18775 # /* config.h. Generated by config.status. */
18776 configure_input
='Generated from '`
18777 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18779 if test x
"$ac_file" != x-
; then
18780 configure_input
="$ac_file. $configure_input"
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18782 $as_echo "$as_me: creating $ac_file" >&6;}
18784 # Neutralize special characters interpreted by sed in replacement strings.
18785 case $configure_input in #(
18786 *\
&* |
*\|
* |
*\\* )
18787 ac_sed_conf_input
=`$as_echo "$configure_input" |
18788 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18789 *) ac_sed_conf_input
=$configure_input;;
18793 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18794 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18799 ac_dir
=`$as_dirname -- "$ac_file" ||
18800 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18801 X"$ac_file" : 'X\(//\)[^/]' \| \
18802 X"$ac_file" : 'X\(//\)$' \| \
18803 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18804 $as_echo X"$ac_file" |
18805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18809 /^X\(\/\/\)[^/].*/{
18822 as_dir
="$ac_dir"; as_fn_mkdir_p
18826 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18828 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18829 # A ".." for each directory in $ac_dir_suffix.
18830 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18831 case $ac_top_builddir_sub in
18832 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18833 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18836 ac_abs_top_builddir
=$ac_pwd
18837 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18838 # for backward compatibility:
18839 ac_top_builddir
=$ac_top_build_prefix
18842 .
) # We are building in place.
18844 ac_top_srcdir
=$ac_top_builddir_sub
18845 ac_abs_top_srcdir
=$ac_pwd ;;
18846 [\\/]* | ?
:[\\/]* ) # Absolute name.
18847 ac_srcdir
=$srcdir$ac_dir_suffix;
18848 ac_top_srcdir
=$srcdir
18849 ac_abs_top_srcdir
=$srcdir ;;
18850 *) # Relative name.
18851 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18852 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18853 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18855 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18865 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18866 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18868 ac_MKDIR_P
=$MKDIR_P
18870 [\\/$
]* | ?
:[\\/]* ) ;;
18871 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18876 # If the template does not know about datarootdir, expand it.
18877 # FIXME: This hack should be removed a few years after 2.60.
18878 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18889 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18890 *datarootdir
*) ac_datarootdir_seen
=yes;;
18891 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18893 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18896 ac_datarootdir_hack='
18897 s&@datadir@&$datadir&g
18898 s&@docdir@&$docdir&g
18899 s&@infodir@&$infodir&g
18900 s&@localedir@&$localedir&g
18901 s&@mandir@&$mandir&g
18902 s&\\\${datarootdir}&$datarootdir&g' ;;
18906 # Neutralize VPATH when `$srcdir' = `.'.
18907 # Shell code in configure.ac might set extrasub.
18908 # FIXME: do we really want to maintain this feature?
18909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18910 ac_sed_extra="$ac_vpsub
18913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18915 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18916 s|@configure_input@|
$ac_sed_conf_input|
;t t
18917 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18918 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18919 s
&@srcdir@
&$ac_srcdir&;t t
18920 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18921 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18922 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18923 s
&@builddir@
&$ac_builddir&;t t
18924 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18925 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18926 s
&@INSTALL@
&$ac_INSTALL&;t t
18927 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18928 $ac_datarootdir_hack
18930 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18931 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18933 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18934 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18935 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18936 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18938 which seems to be undefined. Please make sure it is defined" >&5
18939 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18940 which seems to be undefined. Please make sure it is defined" >&2;}
18942 rm -f "$ac_tmp/stdin"
18944 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18945 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18947 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18953 if test x"$ac_file" != x-; then
18955 $as_echo "/* $configure_input */" \
18956 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18957 } >"$ac_tmp/config.h" \
18958 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18959 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18961 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18964 mv "$ac_tmp/config.h" "$ac_file" \
18965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18968 $as_echo "/* $configure_input */" \
18969 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18970 || as_fn_error $? "could not create -" "$LINENO" 5
18972 # Compute "$ac_file"'s index
in $config_headers.
18975 for _am_header
in $config_headers :; do
18976 case $_am_header in
18977 $_am_arg |
$_am_arg:* )
18980 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18983 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18984 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18985 X"$_am_arg" : 'X\(//\)[^/]' \| \
18986 X"$_am_arg" : 'X\(//\)$' \| \
18987 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18988 $as_echo X"$_am_arg" |
18989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18993 /^X\(\/\/\)[^/].*/{
19005 s/.*/./; q'`/stamp-h
$_am_stamp_count
19008 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19009 $as_echo "$as_me: executing $ac_file commands" >&6;}
19014 case $ac_file$ac_mode in
19016 # Only add multilib support code if we just rebuilt the top-level
19018 case " $CONFIG_FILES " in
19020 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
19023 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19024 # Older Autoconf quotes --file arguments for eval, but not when files
19025 # are listed without --file. Let's play safe and only enable the eval
19026 # if we detect the quoting.
19027 case $CONFIG_FILES in
19028 *\'*) eval set x
"$CONFIG_FILES" ;;
19029 *) set x
$CONFIG_FILES ;;
19034 # Strip MF so we end up with the name of the file.
19035 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19036 # Check whether this is an Automake generated Makefile or not.
19037 # We used to match only the files named 'Makefile.in', but
19038 # some people rename them; so instead we look at the file content.
19039 # Grep'ing the first line is not enough: some people post-process
19040 # each Makefile.in and add a new line on top of each file to say so.
19041 # Grep'ing the whole file is not good either: AIX grep has a line
19042 # limit of 2048, but all sed's we know have understand at least 4000.
19043 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19044 dirpart
=`$as_dirname -- "$mf" ||
19045 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19046 X"$mf" : 'X\(//\)[^/]' \| \
19047 X"$mf" : 'X\(//\)$' \| \
19048 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19054 /^X\(\/\/\)[^/].*/{
19070 # Extract the definition of DEPDIR, am__include, and am__quote
19071 # from the Makefile without running 'make'.
19072 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19073 test -z "$DEPDIR" && continue
19074 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19075 test -z "$am__include" && continue
19076 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19077 # Find all dependency output files, they are included files with
19078 # $(DEPDIR) in their names. We invoke sed twice because it is the
19079 # simplest approach to changing $(DEPDIR) to its actual value in the
19081 for file in `sed -n "
19082 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19083 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19084 # Make sure the directory exists.
19085 test -f "$dirpart/$file" && continue
19086 fdir
=`$as_dirname -- "$file" ||
19087 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19088 X"$file" : 'X\(//\)[^/]' \| \
19089 X"$file" : 'X\(//\)$' \| \
19090 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19091 $as_echo X"$file" |
19092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19096 /^X\(\/\/\)[^/].*/{
19109 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19110 # echo "creating $dirpart/$file"
19111 echo '# dummy' > "$dirpart/$file"
19118 # See if we are running on zsh, and set the options which allow our
19119 # commands through without removal of \ escapes.
19120 if test -n "${ZSH_VERSION+set}" ; then
19121 setopt NO_GLOB_SUBST
19124 cfgfile
="${ofile}T"
19125 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19128 cat <<_LT_EOF >> "$cfgfile"
19131 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19132 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19133 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19134 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19136 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19137 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19138 # Written by Gordon Matzigkeit, 1996
19140 # This file is part of GNU Libtool.
19142 # GNU Libtool is free software; you can redistribute it and/or
19143 # modify it under the terms of the GNU General Public License as
19144 # published by the Free Software Foundation; either version 2 of
19145 # the License, or (at your option) any later version.
19147 # As a special exception to the GNU General Public License,
19148 # if you distribute this file as part of a program or library that
19149 # is built using GNU Libtool, you may include this file under the
19150 # same distribution terms that you use for the rest of that program.
19152 # GNU Libtool is distributed in the hope that it will be useful,
19153 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19154 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19155 # GNU General Public License for more details.
19157 # You should have received a copy of the GNU General Public License
19158 # along with GNU Libtool; see the file COPYING. If not, a copy
19159 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19160 # obtained by writing to the Free Software Foundation, Inc.,
19161 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19164 # The names of the tagged configurations supported by this script.
19165 available_tags="CXX "
19167 # ### BEGIN LIBTOOL CONFIG
19169 # Which release of libtool.m4 was used?
19170 macro_version=$macro_version
19171 macro_revision=$macro_revision
19173 # Whether or not to build shared libraries.
19174 build_libtool_libs=$enable_shared
19176 # Whether or not to build static libraries.
19177 build_old_libs=$enable_static
19179 # What type of objects to build.
19182 # Whether or not to optimize for fast installation.
19183 fast_install=$enable_fast_install
19185 # Shell to use when invoking shell scripts.
19188 # An echo program that protects backslashes.
19192 host_alias=$host_alias
19196 # The build system.
19197 build_alias=$build_alias
19201 # A sed program that does not truncate output.
19204 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19205 Xsed="\$SED -e 1s/^X//"
19207 # A grep program that handles long lines.
19213 # A literal string matcher.
19216 # A BSD- or MS-compatible name lister.
19219 # Whether we need soft or hard links.
19222 # What is the maximum length of a command?
19223 max_cmd_len=$max_cmd_len
19225 # Object file suffix (normally "o").
19228 # Executable file suffix (normally "").
19231 # whether the shell understands "unset".
19234 # turn spaces into newlines.
19237 # turn newlines into spaces.
19240 # An object symbol dumper.
19241 OBJDUMP=$lt_OBJDUMP
19243 # Method to check whether dependent libraries are shared objects.
19244 deplibs_check_method=$lt_deplibs_check_method
19246 # Command to use when deplibs_check_method == "file_magic".
19247 file_magic_cmd=$lt_file_magic_cmd
19251 AR_FLAGS=$lt_AR_FLAGS
19253 # A symbol stripping program.
19256 # Commands used to install an old-style archive.
19258 old_postinstall_cmds=$lt_old_postinstall_cmds
19259 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19261 # Whether to use a lock for old archive extraction.
19262 lock_old_archive_extraction=$lock_old_archive_extraction
19267 # LTCC compiler flags.
19268 LTCFLAGS=$lt_CFLAGS
19270 # Take the output of nm and produce a listing of raw symbols and C names.
19271 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19273 # Transform the output of nm in a proper C declaration.
19274 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19276 # Transform the output of nm in a C name address pair.
19277 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19279 # Transform the output of nm in a C name address pair when lib prefix is needed.
19280 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19282 # The name of the directory that contains temporary libtool files.
19285 # Used to examine libraries when file_magic_cmd begins with "file".
19286 MAGIC_CMD=$MAGIC_CMD
19288 # Must we lock files when doing compilation?
19289 need_locks=$lt_need_locks
19291 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19292 DSYMUTIL=$lt_DSYMUTIL
19294 # Tool to change global to local symbols on Mac OS X.
19297 # Tool to manipulate fat objects and archives on Mac OS X.
19300 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19303 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19304 OTOOL64=$lt_OTOOL64
19306 # Old archive suffix (normally "a").
19309 # Shared library suffix (normally ".so").
19310 shrext_cmds=$lt_shrext_cmds
19312 # The commands to extract the exported symbol list from a shared archive.
19313 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19315 # Variables whose values should be saved in libtool wrapper scripts and
19316 # restored at link time.
19317 variables_saved_for_relink=$lt_variables_saved_for_relink
19319 # Do we need the "lib" prefix for modules?
19320 need_lib_prefix=$need_lib_prefix
19322 # Do we need a version for libraries?
19323 need_version=$need_version
19325 # Library versioning type.
19326 version_type=$version_type
19328 # Shared library runtime path variable.
19329 runpath_var=$runpath_var
19331 # Shared library path variable.
19332 shlibpath_var=$shlibpath_var
19334 # Is shlibpath searched before the hard-coded library search path?
19335 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19337 # Format of library name prefix.
19338 libname_spec=$lt_libname_spec
19340 # List of archive names. First name is the real one, the rest are links.
19341 # The last name is the one that the linker finds with -lNAME
19342 library_names_spec=$lt_library_names_spec
19344 # The coded name of the library, if different from the real name.
19345 soname_spec=$lt_soname_spec
19347 # Permission mode override for installation of shared libraries.
19348 install_override_mode=$lt_install_override_mode
19350 # Command to use after installation of a shared archive.
19351 postinstall_cmds=$lt_postinstall_cmds
19353 # Command to use after uninstallation of a shared archive.
19354 postuninstall_cmds=$lt_postuninstall_cmds
19356 # Commands used to finish a libtool library installation in a directory.
19357 finish_cmds=$lt_finish_cmds
19359 # As "finish_cmds", except a single script fragment to be evaled but
19361 finish_eval=$lt_finish_eval
19363 # Whether we should hardcode library paths into libraries.
19364 hardcode_into_libs=$hardcode_into_libs
19366 # Compile-time system search path for libraries.
19367 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19369 # Run-time system search path for libraries.
19370 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19372 # Whether dlopen is supported.
19373 dlopen_support=$enable_dlopen
19375 # Whether dlopen of programs is supported.
19376 dlopen_self=$enable_dlopen_self
19378 # Whether dlopen of statically linked programs is supported.
19379 dlopen_self_static=$enable_dlopen_self_static
19381 # Commands to strip libraries.
19382 old_striplib=$lt_old_striplib
19383 striplib=$lt_striplib
19386 # The linker used to build libraries.
19389 # How to create reloadable object files.
19390 reload_flag=$lt_reload_flag
19391 reload_cmds=$lt_reload_cmds
19393 # Commands used to build an old-style archive.
19394 old_archive_cmds=$lt_old_archive_cmds
19396 # A language specific compiler.
19399 # Is the compiler the GNU compiler?
19402 # Compiler flag to turn off builtin functions.
19403 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19405 # How to pass a linker flag through the compiler.
19406 wl=$lt_lt_prog_compiler_wl
19408 # Additional compiler flags for building library objects.
19409 pic_flag=$lt_lt_prog_compiler_pic
19411 # Compiler flag to prevent dynamic linking.
19412 link_static_flag=$lt_lt_prog_compiler_static
19414 # Does compiler simultaneously support -c and -o options?
19415 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19417 # Whether or not to add -lc for building shared libraries.
19418 build_libtool_need_lc=$archive_cmds_need_lc
19420 # Whether or not to disallow shared libs when runtime libs are static.
19421 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19423 # Compiler flag to allow reflexive dlopens.
19424 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19426 # Compiler flag to generate shared objects directly from archives.
19427 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19429 # Whether the compiler copes with passing no objects directly.
19430 compiler_needs_object=$lt_compiler_needs_object
19432 # Create an old-style archive from a shared archive.
19433 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19435 # Create a temporary old-style archive to link instead of a shared archive.
19436 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19438 # Commands used to build a shared archive.
19439 archive_cmds=$lt_archive_cmds
19440 archive_expsym_cmds=$lt_archive_expsym_cmds
19442 # Commands used to build a loadable module if different from building
19443 # a shared archive.
19444 module_cmds=$lt_module_cmds
19445 module_expsym_cmds=$lt_module_expsym_cmds
19447 # Whether we are building with GNU ld or not.
19448 with_gnu_ld=$lt_with_gnu_ld
19450 # Flag that allows shared libraries with undefined symbols to be built.
19451 allow_undefined_flag=$lt_allow_undefined_flag
19453 # Flag that enforces no undefined symbols.
19454 no_undefined_flag=$lt_no_undefined_flag
19456 # Flag to hardcode \$libdir into a binary during linking.
19457 # This must work even if \$libdir does not exist
19458 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19460 # If ld is used when linking, flag to hardcode \$libdir into a binary
19461 # during linking. This must work even if \$libdir does not exist.
19462 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19464 # Whether we need a single "-rpath" flag with a separated argument.
19465 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19467 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19468 # DIR into the resulting binary.
19469 hardcode_direct=$hardcode_direct
19471 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19472 # DIR into the resulting binary and the resulting library dependency is
19473 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19474 # library is relocated.
19475 hardcode_direct_absolute=$hardcode_direct_absolute
19477 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19478 # into the resulting binary.
19479 hardcode_minus_L=$hardcode_minus_L
19481 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19482 # into the resulting binary.
19483 hardcode_shlibpath_var=$hardcode_shlibpath_var
19485 # Set to "yes" if building a shared library automatically hardcodes DIR
19486 # into the library and all subsequent libraries and executables linked
19488 hardcode_automatic=$hardcode_automatic
19490 # Set to yes if linker adds runtime paths of dependent libraries
19491 # to runtime path list.
19492 inherit_rpath=$inherit_rpath
19494 # Whether libtool must link a program against all its dependency libraries.
19495 link_all_deplibs=$link_all_deplibs
19497 # Fix the shell variable \$srcfile for the compiler.
19498 fix_srcfile_path=$lt_fix_srcfile_path
19500 # Set to "yes" if exported symbols are required.
19501 always_export_symbols=$always_export_symbols
19503 # The commands to list exported symbols.
19504 export_symbols_cmds=$lt_export_symbols_cmds
19506 # Symbols that should not be listed in the preloaded symbols.
19507 exclude_expsyms=$lt_exclude_expsyms
19509 # Symbols that must always be exported.
19510 include_expsyms=$lt_include_expsyms
19512 # Commands necessary for linking programs (against libraries) with templates.
19513 prelink_cmds=$lt_prelink_cmds
19515 # Specify filename containing input files.
19516 file_list_spec=$lt_file_list_spec
19518 # How to hardcode a shared library path into an executable.
19519 hardcode_action=$hardcode_action
19521 # The directories searched by this compiler when creating a shared library.
19522 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19524 # Dependencies to place before and after the objects being linked to
19525 # create a shared library.
19526 predep_objects=$lt_predep_objects
19527 postdep_objects=$lt_postdep_objects
19528 predeps=$lt_predeps
19529 postdeps=$lt_postdeps
19531 # The library search path used internally by the compiler when linking
19532 # a shared library.
19533 compiler_lib_search_path=$lt_compiler_lib_search_path
19535 # ### END LIBTOOL CONFIG
19541 cat <<\_LT_EOF
>> "$cfgfile"
19542 # AIX sometimes has problems with the GCC collect2 program. For some
19543 # reason, if we set the COLLECT_NAMES environment variable, the problems
19544 # vanish in a puff of smoke.
19545 if test "X${COLLECT_NAMES+set}" != Xset
; then
19547 export COLLECT_NAMES
19554 ltmain
="$ac_aux_dir/ltmain.sh"
19557 # We use sed instead of cat because bash on DJGPP gets confused if
19558 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19559 # text mode, it properly converts lines to CR/LF. This bash problem
19560 # is reportedly fixed, but why not run on old versions too?
19561 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19562 ||
(rm -f "$cfgfile"; exit 1)
19566 cat << \_LT_EOF
>> "$cfgfile"
19568 # func_dirname file append nondir_replacement
19569 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19570 # otherwise set result to NONDIR_REPLACEMENT.
19574 */*) func_dirname_result
="${1%/*}${2}" ;;
19575 * ) func_dirname_result
="${3}" ;;
19579 # func_basename file
19582 func_basename_result
="${1##*/}"
19585 # func_dirname_and_basename file append nondir_replacement
19586 # perform func_basename and func_dirname in a single function
19588 # dirname: Compute the dirname of FILE. If nonempty,
19589 # add APPEND to the result, otherwise set result
19590 # to NONDIR_REPLACEMENT.
19591 # value returned in "$func_dirname_result"
19592 # basename: Compute filename of FILE.
19593 # value retuned in "$func_basename_result"
19594 # Implementation must be kept synchronized with func_dirname
19595 # and func_basename. For efficiency, we do not delegate to
19596 # those functions but instead duplicate the functionality here.
19597 func_dirname_and_basename
()
19600 */*) func_dirname_result
="${1%/*}${2}" ;;
19601 * ) func_dirname_result
="${3}" ;;
19603 func_basename_result
="${1##*/}"
19606 # func_stripname prefix suffix name
19607 # strip PREFIX and SUFFIX off of NAME.
19608 # PREFIX and SUFFIX must not contain globbing or regex special
19609 # characters, hashes, percent signs, but SUFFIX may contain a leading
19610 # dot (in which case that matches only a dot).
19613 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19614 # positional parameters, so assign one to ordinary parameter first.
19615 func_stripname_result
=${3}
19616 func_stripname_result
=${func_stripname_result#"${1}"}
19617 func_stripname_result
=${func_stripname_result%"${2}"}
19623 func_opt_split_opt
=${1%%=*}
19624 func_opt_split_arg
=${1#*=}
19631 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19632 *) func_lo2o_result
=${1} ;;
19636 # func_xform libobj-or-source
19639 func_xform_result
=${1%.*}.lo
19642 # func_arith arithmetic-term...
19645 func_arith_result
=$
(( $
* ))
19649 # STRING may not start with a hyphen.
19652 func_len_result
=${#1}
19657 *) # Bourne compatible functions.
19658 cat << \_LT_EOF
>> "$cfgfile"
19660 # func_dirname file append nondir_replacement
19661 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19662 # otherwise set result to NONDIR_REPLACEMENT.
19665 # Extract subdirectory from the argument.
19666 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19667 if test "X$func_dirname_result" = "X${1}"; then
19668 func_dirname_result
="${3}"
19670 func_dirname_result
="$func_dirname_result${2}"
19674 # func_basename file
19677 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19681 # func_stripname prefix suffix name
19682 # strip PREFIX and SUFFIX off of NAME.
19683 # PREFIX and SUFFIX must not contain globbing or regex special
19684 # characters, hashes, percent signs, but SUFFIX may contain a leading
19685 # dot (in which case that matches only a dot).
19686 # func_strip_suffix prefix name
19690 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19691 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19696 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19697 my_sed_long_arg
='1s/^-[^=]*=//'
19702 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19703 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19709 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19712 # func_xform libobj-or-source
19715 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19718 # func_arith arithmetic-term...
19721 func_arith_result
=`expr "$@"`
19725 # STRING may not start with a hyphen.
19728 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19734 case $lt_shell_append in
19736 cat << \_LT_EOF
>> "$cfgfile"
19738 # func_append var value
19739 # Append VALUE to the end of shell variable VAR.
19747 cat << \_LT_EOF
>> "$cfgfile"
19749 # func_append var value
19750 # Append VALUE to the end of shell variable VAR.
19761 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19762 ||
(rm -f "$cfgfile"; exit 1)
19764 mv -f "$cfgfile" "$ofile" ||
19765 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19769 cat <<_LT_EOF >> "$ofile"
19771 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19773 # The linker used to build libraries.
19776 # How to create reloadable object files.
19777 reload_flag=$lt_reload_flag_CXX
19778 reload_cmds=$lt_reload_cmds_CXX
19780 # Commands used to build an old-style archive.
19781 old_archive_cmds=$lt_old_archive_cmds_CXX
19783 # A language specific compiler.
19784 CC=$lt_compiler_CXX
19786 # Is the compiler the GNU compiler?
19789 # Compiler flag to turn off builtin functions.
19790 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19792 # How to pass a linker flag through the compiler.
19793 wl=$lt_lt_prog_compiler_wl_CXX
19795 # Additional compiler flags for building library objects.
19796 pic_flag=$lt_lt_prog_compiler_pic_CXX
19798 # Compiler flag to prevent dynamic linking.
19799 link_static_flag=$lt_lt_prog_compiler_static_CXX
19801 # Does compiler simultaneously support -c and -o options?
19802 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19804 # Whether or not to add -lc for building shared libraries.
19805 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19807 # Whether or not to disallow shared libs when runtime libs are static.
19808 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19810 # Compiler flag to allow reflexive dlopens.
19811 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19813 # Compiler flag to generate shared objects directly from archives.
19814 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19816 # Whether the compiler copes with passing no objects directly.
19817 compiler_needs_object=$lt_compiler_needs_object_CXX
19819 # Create an old-style archive from a shared archive.
19820 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19822 # Create a temporary old-style archive to link instead of a shared archive.
19823 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19825 # Commands used to build a shared archive.
19826 archive_cmds=$lt_archive_cmds_CXX
19827 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19829 # Commands used to build a loadable module if different from building
19830 # a shared archive.
19831 module_cmds=$lt_module_cmds_CXX
19832 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19834 # Whether we are building with GNU ld or not.
19835 with_gnu_ld=$lt_with_gnu_ld_CXX
19837 # Flag that allows shared libraries with undefined symbols to be built.
19838 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19840 # Flag that enforces no undefined symbols.
19841 no_undefined_flag=$lt_no_undefined_flag_CXX
19843 # Flag to hardcode \$libdir into a binary during linking.
19844 # This must work even if \$libdir does not exist
19845 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19847 # If ld is used when linking, flag to hardcode \$libdir into a binary
19848 # during linking. This must work even if \$libdir does not exist.
19849 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19851 # Whether we need a single "-rpath" flag with a separated argument.
19852 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19854 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19855 # DIR into the resulting binary.
19856 hardcode_direct=$hardcode_direct_CXX
19858 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19859 # DIR into the resulting binary and the resulting library dependency is
19860 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19861 # library is relocated.
19862 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19864 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19865 # into the resulting binary.
19866 hardcode_minus_L=$hardcode_minus_L_CXX
19868 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19869 # into the resulting binary.
19870 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19872 # Set to "yes" if building a shared library automatically hardcodes DIR
19873 # into the library and all subsequent libraries and executables linked
19875 hardcode_automatic=$hardcode_automatic_CXX
19877 # Set to yes if linker adds runtime paths of dependent libraries
19878 # to runtime path list.
19879 inherit_rpath=$inherit_rpath_CXX
19881 # Whether libtool must link a program against all its dependency libraries.
19882 link_all_deplibs=$link_all_deplibs_CXX
19884 # Fix the shell variable \$srcfile for the compiler.
19885 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19887 # Set to "yes" if exported symbols are required.
19888 always_export_symbols=$always_export_symbols_CXX
19890 # The commands to list exported symbols.
19891 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19893 # Symbols that should not be listed in the preloaded symbols.
19894 exclude_expsyms=$lt_exclude_expsyms_CXX
19896 # Symbols that must always be exported.
19897 include_expsyms=$lt_include_expsyms_CXX
19899 # Commands necessary for linking programs (against libraries) with templates.
19900 prelink_cmds=$lt_prelink_cmds_CXX
19902 # Specify filename containing input files.
19903 file_list_spec=$lt_file_list_spec_CXX
19905 # How to hardcode a shared library path into an executable.
19906 hardcode_action=$hardcode_action_CXX
19908 # The directories searched by this compiler when creating a shared library.
19909 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19911 # Dependencies to place before and after the objects being linked to
19912 # create a shared library.
19913 predep_objects=$lt_predep_objects_CXX
19914 postdep_objects=$lt_postdep_objects_CXX
19915 predeps=$lt_predeps_CXX
19916 postdeps=$lt_postdeps_CXX
19918 # The library search path used internally by the compiler when linking
19919 # a shared library.
19920 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19922 # ### END LIBTOOL TAG CONFIG: CXX
19927 if test "$GCC" = yes; then
19928 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
19930 echo "/* generated for $CC */" > tmp-stdint.h
19933 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19935 #ifndef GCC_GENERATED_STDINT_H
19936 #define GCC_GENERATED_STDINT_H 1
19938 #include <sys/types.h>
19941 if test "$acx_cv_header_stdint" != stdint.h
; then
19942 echo "#include <stddef.h>" >> tmp-stdint.h
19944 if test "$acx_cv_header_stdint" != stddef.h
; then
19945 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
19948 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19949 /* glibc uses these symbols as guards to prevent redefinitions. */
19950 #ifdef __int8_t_defined
19955 #ifdef __uint32_t_defined
19961 # ----------------- done header, emit basic int types -------------
19962 if test "$acx_cv_header_stdint" = stddef.h
; then
19963 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19967 #ifndef __uint8_t_defined
19968 #define __uint8_t_defined
19970 typedef unsigned $acx_cv_type_int8_t uint8_t;
19977 #ifndef __uint16_t_defined
19978 #define __uint16_t_defined
19980 typedef unsigned $acx_cv_type_int16_t uint16_t;
19987 #ifndef __uint32_t_defined
19988 #define __uint32_t_defined
19990 typedef unsigned $acx_cv_type_int32_t uint32_t;
19997 #ifndef __int8_t_defined
19998 #define __int8_t_defined
20000 typedef $acx_cv_type_int8_t int8_t;
20007 #ifndef __int16_t_defined
20008 #define __int16_t_defined
20010 typedef $acx_cv_type_int16_t int16_t;
20017 #ifndef __int32_t_defined
20018 #define __int32_t_defined
20020 typedef $acx_cv_type_int32_t int32_t;
20025 elif test "$ac_cv_type_u_int32_t" = yes; then
20026 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20028 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
20041 #ifndef __uint8_t_defined
20042 #define __uint8_t_defined
20044 typedef u_int8_t uint8_t;
20051 #ifndef __uint16_t_defined
20052 #define __uint16_t_defined
20054 typedef u_int16_t uint16_t;
20061 #ifndef __uint32_t_defined
20062 #define __uint32_t_defined
20064 typedef u_int32_t uint32_t;
20070 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20072 /* Some systems have guard macros to prevent redefinitions, define them. */
20094 # ------------- done basic int types, emit int64_t types ------------
20095 if test "$ac_cv_type_uint64_t" = yes; then
20096 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20098 /* system headers have good uint64_t and int64_t */
20106 elif test "$ac_cv_type_u_int64_t" = yes; then
20107 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20109 /* system headers have an u_int64_t (and int64_t) */
20115 #ifndef __uint64_t_defined
20116 #define __uint64_t_defined
20118 typedef u_int64_t uint64_t;
20123 elif test -n "$acx_cv_type_int64_t"; then
20124 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20126 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
20130 typedef $acx_cv_type_int64_t int64_t;
20135 #ifndef __uint64_t_defined
20136 #define __uint64_t_defined
20138 typedef unsigned $acx_cv_type_int64_t uint64_t;
20144 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20146 /* some common heuristics for int64_t, using compiler-specific tests */
20147 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
20150 #ifndef __int64_t_defined
20152 typedef long long int64_t;
20159 typedef unsigned long long uint64_t;
20163 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
20164 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
20165 does not implement __extension__. But that compiler doesn't define
20167 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
20168 # define __extension__
20174 __extension__ typedef long long int64_t;
20180 __extension__ typedef unsigned long long uint64_t;
20184 #elif !defined __STRICT_ANSI__
20185 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
20190 typedef __int64 int64_t;
20196 typedef unsigned __int64 uint64_t;
20199 # endif /* compiler */
20201 #endif /* ANSI version */
20205 # ------------- done int64_t types, emit intptr types ------------
20206 if test "$ac_cv_type_uintptr_t" != yes; then
20207 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20209 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
20210 #ifndef __uintptr_t_defined
20212 typedef u$acx_cv_type_intptr_t uintptr_t;
20215 #ifndef __intptr_t_defined
20217 typedef $acx_cv_type_intptr_t intptr_t;
20223 # ------------- done intptr types, emit int_least types ------------
20224 if test "$ac_cv_type_int_least32_t" != yes; then
20225 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20227 /* Define int_least types */
20228 typedef int8_t int_least8_t;
20229 typedef int16_t int_least16_t;
20230 typedef int32_t int_least32_t;
20232 typedef int64_t int_least64_t;
20235 typedef uint8_t uint_least8_t;
20236 typedef uint16_t uint_least16_t;
20237 typedef uint32_t uint_least32_t;
20239 typedef uint64_t uint_least64_t;
20244 # ------------- done intptr types, emit int_fast types ------------
20245 if test "$ac_cv_type_int_fast32_t" != yes; then
20246 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20248 /* Define int_fast types. short is often slow */
20249 typedef int8_t int_fast8_t;
20250 typedef int int_fast16_t;
20251 typedef int32_t int_fast32_t;
20253 typedef int64_t int_fast64_t;
20256 typedef uint8_t uint_fast8_t;
20257 typedef unsigned int uint_fast16_t;
20258 typedef uint32_t uint_fast32_t;
20260 typedef uint64_t uint_fast64_t;
20265 if test "$ac_cv_type_uintmax_t" != yes; then
20266 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20268 /* Define intmax based on what we found */
20271 typedef int64_t intmax_t;
20273 typedef long intmax_t;
20278 typedef uint64_t uintmax_t;
20280 typedef unsigned long uintmax_t;
20286 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20288 #endif /* GCC_GENERATED_STDINT_H */
20291 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
20294 mv -f tmp-stdint.h gstdint.h
20298 "interception/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 "sanitizer_common/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 "libbacktrace/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 "lsan/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 "asan/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
;}
20353 "ubsan/Makefile":F
) cat > vpsed$$
<< \_EOF
20354 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20356 sed -f vpsed$$
$ac_file > tmp$$
20359 echo 'MULTISUBDIR =' >> $ac_file
20361 .
${multi_basedir}/config-ml.
in
20362 { ml_norecursion
=; unset ml_norecursion
;}
20364 "tsan/Makefile":F
) cat > vpsed$$
<< \_EOF
20365 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20367 sed -f vpsed$$
$ac_file > tmp$$
20370 echo 'MULTISUBDIR =' >> $ac_file
20372 .
${multi_basedir}/config-ml.
in
20373 { ml_norecursion
=; unset ml_norecursion
;}
20375 "hwasan/Makefile":F
) cat > vpsed$$
<< \_EOF
20376 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20378 sed -f vpsed$$
$ac_file > tmp$$
20381 echo 'MULTISUBDIR =' >> $ac_file
20383 .
${multi_basedir}/config-ml.
in
20384 { ml_norecursion
=; unset ml_norecursion
;}
20393 ac_clean_files
=$ac_clean_files_save
20395 test $ac_write_fail = 0 ||
20396 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20399 # configure is writing to config.log, and then calls config.status.
20400 # config.status does its own redirection, appending to config.log.
20401 # Unfortunately, on DOS this fails, as config.log is still kept open
20402 # by configure, so config.status won't be able to write to it; its
20403 # output is simply discarded. So we exec the FD to /dev/null,
20404 # effectively closing config.log, so it can be properly (re)opened and
20405 # appended to by config.status. When coming back to configure, we
20406 # need to make the FD available again.
20407 if test "$no_create" != yes; then
20409 ac_config_status_args
=
20410 test "$silent" = yes &&
20411 ac_config_status_args
="$ac_config_status_args --quiet"
20413 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20415 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20416 # would make configure fail if this is the last instruction.
20417 $ac_cs_success || as_fn_exit
1
20419 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20421 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}