2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
5 # Report bugs to <libsanitizer>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and libsanitizer about
278 $0: your system, including any error possibly output before
279 $0: this message. Then install a modern shell, or manually
280 $0: run the script under such a shell if you do have one."
286 SHELL
=${CONFIG_SHELL-/bin/sh}
288 # Unset more variables known to interfere with behavior of common tools.
289 CLICOLOR_FORCE
= GREP_OPTIONS
=
290 unset CLICOLOR_FORCE GREP_OPTIONS
292 ## --------------------- ##
293 ## M4sh Shell Functions. ##
294 ## --------------------- ##
297 # Portably unset VAR.
300 { eval $1=; unset $1;}
304 # as_fn_set_status STATUS
305 # -----------------------
306 # Set $? to STATUS, without forking.
314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
324 # Create "$as_dir" as a directory, including parents if necessary.
329 -*) as_dir
=.
/$as_dir;;
331 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
335 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 as_dirs
="'$as_qdir' $as_dirs"
339 as_dir
=`$as_dirname -- "$as_dir" ||
340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341 X"$as_dir" : 'X\(//\)[^/]' \| \
342 X"$as_dir" : 'X\(//\)$' \| \
343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
362 test -d "$as_dir" && break
364 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
365 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
370 # as_fn_executable_p FILE
371 # -----------------------
372 # Test if FILE is an executable regular file.
373 as_fn_executable_p
()
375 test -f "$1" && test -x "$1"
376 } # as_fn_executable_p
377 # as_fn_append VAR VALUE
378 # ----------------------
379 # Append the text in VALUE to the end of the definition contained in VAR. Take
380 # advantage of any shell optimizations that allow amortized linear growth over
381 # repeated appends, instead of the typical quadratic growth present in naive
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
384 eval 'as_fn_append ()
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
408 as_val
=`expr "$@" || test $? -eq 1`
413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414 # ----------------------------------------
415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
417 # script with STATUS, using 1 if that was 0.
420 as_status
=$1; test $as_status -eq 0 && as_status
=1
422 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 $as_echo "$as_me: error: $2" >&2
426 as_fn_exit
$as_status
429 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
430 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
436 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
442 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
448 as_me
=`$as_basename -- "$0" ||
449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450 X"$0" : 'X\(//\)$' \| \
451 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 # Avoid depending upon Character Ranges.
468 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
469 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
470 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
471 as_cr_digits
='0123456789'
472 as_cr_alnum
=$as_cr_Letters$as_cr_digits
475 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
476 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
477 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
478 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
479 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495 chmod +x
"$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
498 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499 # already done that, so ensure we don't try to do so again and fall
500 # in an infinite loop. This has already happened in practice.
501 _as_can_reexec
=no
; export _as_can_reexec
502 # Don't try to exec as it changes $[0], causing all sort of problems
503 # (the dirname of $[0] is not the place where we might find the
504 # original and so on. Autoconf is especially sensitive to this).
506 # Exit status is that of the last command.
510 ECHO_C
= ECHO_N
= ECHO_T
=
511 case `echo -n x` in #(((((
513 case `echo 'xy\c'` in
514 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
516 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
523 rm -f conf$$ conf$$.exe conf$$.
file
524 if test -d conf$$.dir
; then
525 rm -f conf$$.dir
/conf$$.
file
528 mkdir conf$$.dir
2>/dev
/null
530 if (echo >conf$$.
file) 2>/dev
/null
; then
531 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
533 # ... but there are two gotchas:
534 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
535 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
536 # In both cases, we have to default to `cp -pR'.
537 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
539 elif ln conf$$.
file conf$$
2>/dev
/null
; then
547 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
548 rmdir conf$$.dir
2>/dev
/null
550 if mkdir
-p .
2>/dev
/null
; then
551 as_mkdir_p
='mkdir -p "$as_dir"'
553 test -d .
/-p && rmdir .
/-p
558 as_executable_p
=as_fn_executable_p
560 # Sed expression to map a string onto a valid CPP name.
561 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563 # Sed expression to map a string onto a valid variable name.
564 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566 SHELL
=${CONFIG_SHELL-/bin/sh}
569 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
573 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
574 # so uname gets run too.
575 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
580 ac_default_prefix
=/usr
/local
582 ac_config_libobj_dir
=.
589 # Identity of this package.
590 PACKAGE_NAME
='package-unused'
591 PACKAGE_TARNAME
='package-unused'
592 PACKAGE_VERSION
='version-unused'
593 PACKAGE_STRING
='package-unused version-unused'
594 PACKAGE_BUGREPORT
='libsanitizer'
597 ac_unique_file
="include/sanitizer/common_interface_defs.h"
598 # Factoring default headers for most tests.
599 ac_includes_default
="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_subst_vars
='am__EXEEXT_FALSE
643 SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS
644 TSAN_TARGET_DEPENDENT_OBJECTS
645 LIBBACKTRACE_SUPPORTED_FALSE
646 LIBBACKTRACE_SUPPORTED_TRUE
648 BACKTRACE_SUPPORTS_THREADS
649 BACKTRACE_USES_MALLOC
654 SANITIZER_SUPPORTED_FALSE
655 SANITIZER_SUPPORTED_TRUE
656 USING_MAC_INTERPOSE_FALSE
657 USING_MAC_INTERPOSE_TRUE
663 HWASAN_SUPPORTED_FALSE
664 HWASAN_SUPPORTED_TRUE
688 am__fastdepCCAS_FALSE
702 MAINTAINER_MODE_FALSE
726 INSTALL_STRIP_PROGRAM
741 LIBSTDCXX_RAW_CXX_LDFLAGS
742 LIBSTDCXX_RAW_CXX_CXXFLAGS
794 program_transform_name
807 enable_option_checking
809 enable_version_specific_runtime_libs
810 enable_dependency_tracking
812 enable_maintainer_mode
821 with_gcc_major_version_only
824 ac_precious_vars
='build_alias
841 # Initialize some variables set by options.
843 ac_init_version
=false
844 ac_unrecognized_opts
=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name
=s
,x
,x
,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir
='${exec_prefix}/bin'
870 sbindir
='${exec_prefix}/sbin'
871 libexecdir
='${exec_prefix}/libexec'
872 datarootdir
='${prefix}/share'
873 datadir
='${datarootdir}'
874 sysconfdir
='${prefix}/etc'
875 sharedstatedir
='${prefix}/com'
876 localstatedir
='${prefix}/var'
877 includedir
='${prefix}/include'
878 oldincludedir
='/usr/include'
879 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir
='${datarootdir}/info'
885 libdir
='${exec_prefix}/lib'
886 localedir
='${datarootdir}/locale'
887 mandir
='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\
$ac_option
901 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
914 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
917 -build |
--build |
--buil |
--bui |
--bu)
918 ac_prev
=build_alias
;;
919 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
920 build_alias
=$ac_optarg ;;
922 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
923 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
924 ac_prev
=cache_file
;;
925 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
926 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
927 cache_file
=$ac_optarg ;;
930 cache_file
=config.cache
;;
932 -datadir |
--datadir |
--datadi |
--datad)
934 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
935 datadir
=$ac_optarg ;;
937 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
938 |
--dataroo |
--dataro |
--datar)
939 ac_prev
=datarootdir
;;
940 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
941 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
942 datarootdir
=$ac_optarg ;;
944 -disable-* |
--disable-*)
945 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
948 as_fn_error $?
"invalid feature name: $ac_useropt"
949 ac_useropt_orig
=$ac_useropt
950 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep
=', ';;
958 eval enable_
$ac_useropt=no
;;
960 -docdir |
--docdir |
--docdi |
--doc |
--do)
962 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
965 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
967 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
970 -enable-* |
--enable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error $?
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=\
$ac_optarg ;;
986 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
987 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
988 |
--exec |
--exe |
--ex)
989 ac_prev
=exec_prefix
;;
990 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
991 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
992 |
--exec=* |
--exe=* |
--ex=*)
993 exec_prefix
=$ac_optarg ;;
995 -gas |
--gas |
--ga |
--g)
996 # Obsolete; use --with-gas.
999 -help |
--help |
--hel |
--he |
-h)
1000 ac_init_help
=long
;;
1001 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1002 ac_init_help
=recursive
;;
1003 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1004 ac_init_help
=short
;;
1006 -host |
--host |
--hos |
--ho)
1007 ac_prev
=host_alias
;;
1008 -host=* |
--host=* |
--hos=* |
--ho=*)
1009 host_alias
=$ac_optarg ;;
1011 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1013 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1015 htmldir
=$ac_optarg ;;
1017 -includedir |
--includedir |
--includedi |
--included |
--include \
1018 |
--includ |
--inclu |
--incl |
--inc)
1019 ac_prev
=includedir
;;
1020 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1021 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1022 includedir
=$ac_optarg ;;
1024 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1026 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1027 infodir
=$ac_optarg ;;
1029 -libdir |
--libdir |
--libdi |
--libd)
1031 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1032 libdir
=$ac_optarg ;;
1034 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1035 |
--libexe |
--libex |
--libe)
1036 ac_prev
=libexecdir
;;
1037 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1038 |
--libexe=* |
--libex=* |
--libe=*)
1039 libexecdir
=$ac_optarg ;;
1041 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1042 ac_prev
=localedir
;;
1043 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1044 localedir
=$ac_optarg ;;
1046 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1047 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1048 ac_prev
=localstatedir
;;
1049 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1050 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1051 localstatedir
=$ac_optarg ;;
1053 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1055 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1056 mandir
=$ac_optarg ;;
1058 -nfp |
--nfp |
--nf)
1059 # Obsolete; use --without-fp.
1062 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1063 |
--no-cr |
--no-c |
-n)
1066 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1067 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1070 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1071 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1072 |
--oldin |
--oldi |
--old |
--ol |
--o)
1073 ac_prev
=oldincludedir
;;
1074 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1075 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1076 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1077 oldincludedir
=$ac_optarg ;;
1079 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1081 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1082 prefix
=$ac_optarg ;;
1084 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1085 |
--program-pre |
--program-pr |
--program-p)
1086 ac_prev
=program_prefix
;;
1087 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1088 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1089 program_prefix
=$ac_optarg ;;
1091 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1092 |
--program-suf |
--program-su |
--program-s)
1093 ac_prev
=program_suffix
;;
1094 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1095 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1096 program_suffix
=$ac_optarg ;;
1098 -program-transform-name |
--program-transform-name \
1099 |
--program-transform-nam |
--program-transform-na \
1100 |
--program-transform-n |
--program-transform- \
1101 |
--program-transform |
--program-transfor \
1102 |
--program-transfo |
--program-transf \
1103 |
--program-trans |
--program-tran \
1104 |
--progr-tra |
--program-tr |
--program-t)
1105 ac_prev
=program_transform_name
;;
1106 -program-transform-name=* |
--program-transform-name=* \
1107 |
--program-transform-nam=* |
--program-transform-na=* \
1108 |
--program-transform-n=* |
--program-transform-=* \
1109 |
--program-transform=* |
--program-transfor=* \
1110 |
--program-transfo=* |
--program-transf=* \
1111 |
--program-trans=* |
--program-tran=* \
1112 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1113 program_transform_name
=$ac_optarg ;;
1115 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1117 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1118 pdfdir
=$ac_optarg ;;
1120 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1122 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1126 |
-silent |
--silent |
--silen |
--sile |
--sil)
1129 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1131 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1133 sbindir
=$ac_optarg ;;
1135 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1136 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1137 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1139 ac_prev
=sharedstatedir
;;
1140 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1141 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1142 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1144 sharedstatedir
=$ac_optarg ;;
1146 -site |
--site |
--sit)
1148 -site=* |
--site=* |
--sit=*)
1151 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1153 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1154 srcdir
=$ac_optarg ;;
1156 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1157 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1158 ac_prev
=sysconfdir
;;
1159 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1160 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1161 sysconfdir
=$ac_optarg ;;
1163 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1164 ac_prev
=target_alias
;;
1165 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1166 target_alias
=$ac_optarg ;;
1168 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1171 -version |
--version |
--versio |
--versi |
--vers |
-V)
1172 ac_init_version
=: ;;
1175 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error $?
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=\
$ac_optarg ;;
1190 -without-* |
--without-*)
1191 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error $?
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=no
;;
1207 # Obsolete; use --with-x.
1210 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1211 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1212 ac_prev
=x_includes
;;
1213 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1214 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1215 x_includes
=$ac_optarg ;;
1217 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1218 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1219 ac_prev
=x_libraries
;;
1220 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1221 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1222 x_libraries
=$ac_optarg ;;
1224 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1229 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1233 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\
$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 if test -n "$ac_prev"; then
1250 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error $?
"missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val
=\$
$ac_var
1269 # Remove trailing slashes.
1272 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\
$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$
]* | ?
:[\\/]* ) continue;;
1278 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1280 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target
=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x
; then
1292 if test "x$build_alias" = x
; then
1293 cross_compiling
=maybe
1294 elif test "x$build_alias" != "x$host_alias"; then
1300 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1302 test "$silent" = yes && exec 6>/dev
/null
1305 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di
=`ls -di .` &&
1307 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1308 as_fn_error $?
"working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310 as_fn_error $?
"pwd does not report name of working directory"
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315 ac_srcdir_defaulted
=yes
1316 # Try the directory containing this script, then the parent directory.
1317 ac_confdir
=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319 X"$as_myself" : 'X\(//\)[^/]' \| \
1320 X"$as_myself" : 'X\(//\)$' \| \
1321 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1345 ac_srcdir_defaulted
=no
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1349 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1351 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1363 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 for ac_var
in $ac_precious_vars; do
1366 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1367 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1368 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1373 # Report the --help message.
1375 if test "$ac_init_help" = "long"; then
1376 # Omit some internal or obsolete options to make the list less imposing.
1377 # This message is too long to be a string in the A/UX 3.1 sh.
1379 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE. See below for descriptions of some of the useful variables.
1386 Defaults for the options are specified in brackets.
1389 -h, --help display this help and exit
1390 --help=short display options specific to this package
1391 --help=recursive display the short help of all the included packages
1392 -V, --version display version information and exit
1393 -q, --quiet, --silent do not print \`checking ...' messages
1394 --cache-file=FILE cache test results in FILE [disabled]
1395 -C, --config-cache alias for \`--cache-file=config.cache'
1396 -n, --no-create do not create output files
1397 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399 Installation directories:
1400 --prefix=PREFIX install architecture-independent files in PREFIX
1401 [$ac_default_prefix]
1402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1410 For better control, use the options below.
1412 Fine tuning of the installation directories:
1413 --bindir=DIR user executables [EPREFIX/bin]
1414 --sbindir=DIR system admin executables [EPREFIX/sbin]
1415 --libexecdir=DIR program executables [EPREFIX/libexec]
1416 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1417 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1418 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1437 --program-prefix=PREFIX prepend PREFIX to installed program names
1438 --program-suffix=SUFFIX append SUFFIX to installed program names
1439 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1442 --build=BUILD configure
for building on BUILD
[guessed
]
1443 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1444 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1448 if test -n "$ac_init_help"; then
1449 case $ac_init_help in
1450 short | recursive
) echo "Configuration of package-unused version-unused:";;
1455 --disable-option-checking ignore unrecognized
--enable/--with options
1456 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1457 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1458 --enable-multilib build many library versions
(default
)
1459 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1460 --enable-dependency-tracking
1461 do not reject slow dependency extractors
1462 --disable-dependency-tracking
1463 speeds up one-time build
1464 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1465 --disable-silent-rules verbose build output
(undo
: "make V=0")
1466 --enable-maintainer-mode
1467 enable make rules and dependencies not useful
(and
1468 sometimes confusing
) to the casual installer
1469 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1470 --enable-static[=PKGS
] build static libraries
[default
=yes]
1471 --enable-fast-install[=PKGS
]
1472 optimize
for fast installation
[default
=yes]
1473 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1474 --disable-werror disable building with
-Werror
1475 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1478 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1479 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1480 --with-toolexeclibdir=DIR
1481 install libraries built with a cross compiler within
1483 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1485 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1486 --with-gcc-major-version-only
1487 use only GCC major number
in filesystem paths
1489 Some influential environment variables
:
1490 CC C compiler
command
1491 CFLAGS C compiler flags
1492 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1493 nonstandard directory
<lib dir
>
1494 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1495 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1496 you have headers
in a nonstandard directory
<include dir
>
1498 CXX C
++ compiler
command
1499 CXXFLAGS C
++ compiler flags
1500 CCAS assembler compiler
command (defaults to CC
)
1501 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1502 CXXCPP C
++ preprocessor
1504 Use these variables to override the choices made by
`configure' or to help
1505 it to find libraries and programs with nonstandard names/locations.
1507 Report bugs to <libsanitizer>.
1512 if test "$ac_init_help" = "recursive"; then
1513 # If there are subdirs, report their specific --help.
1514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1515 test -d "$ac_dir" ||
1516 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1524 # A ".." for each directory in $ac_dir_suffix.
1525 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1526 case $ac_top_builddir_sub in
1527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1531 ac_abs_top_builddir=$ac_pwd
1532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1533 # for backward compatibility:
1534 ac_top_builddir=$ac_top_build_prefix
1537 .) # We are building in place.
1539 ac_top_srcdir=$ac_top_builddir_sub
1540 ac_abs_top_srcdir=$ac_pwd ;;
1541 [\\/]* | ?:[\\/]* ) # Absolute name.
1542 ac_srcdir=$srcdir$ac_dir_suffix;
1543 ac_top_srcdir=$srcdir
1544 ac_abs_top_srcdir=$srcdir ;;
1546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1547 ac_top_srcdir=$ac_top_build_prefix$srcdir
1548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1552 cd "$ac_dir" || { ac_status=$?; continue; }
1553 # Check for guested configure.
1554 if test -f "$ac_srcdir/configure.gnu"; then
1556 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1557 elif test -f "$ac_srcdir/configure"; then
1559 $SHELL "$ac_srcdir/configure" --help=recursive
1561 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563 cd "$ac_pwd" || { ac_status=$?; break; }
1567 test -n "$ac_init_help" && exit $ac_status
1568 if $ac_init_version; then
1570 package-unused configure version-unused
1571 generated by GNU Autoconf 2.69
1573 Copyright (C) 2012 Free Software Foundation, Inc.
1574 This configure script is free software; the Free Software Foundation
1575 gives unlimited permission to copy, distribute and modify it.
1580 ## ------------------------ ##
1581 ## Autoconf initialization. ##
1582 ## ------------------------ ##
1584 # ac_fn_c_try_compile LINENO
1585 # --------------------------
1586 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1587 ac_fn_c_try_compile ()
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext
1591 if { { ac_try="$ac_compile"
1593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1594 *) ac_try_echo
=$ac_try;;
1596 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_compile") 2>conftest.err
1600 if test -s conftest.err
; then
1601 grep -v '^ *+' conftest.err
>conftest.er1
1602 cat conftest.er1
>&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest.
$ac_objext; then :
1612 $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.
$ac_ext >&5
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status
$ac_retval
1620 } # ac_fn_c_try_compile
1622 # ac_fn_c_try_cpp LINENO
1623 # ----------------------
1624 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1627 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1628 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1631 *) ac_try_echo=$ac_try;;
1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1637 if test -s conftest.err; then
1638 grep -v '^ *+' conftest.err >conftest.er1
1639 cat conftest.er1 >&5
1640 mv -f conftest.er1 conftest.err
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; } > conftest.i && {
1644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1645 test ! -s conftest.err
1649 $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.$ac_ext >&5
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655 as_fn_set_status $ac_retval
1659 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1660 # -------------------------------------------------------
1661 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1662 # the include files in INCLUDES and setting the cache variable VAR
1664 ac_fn_c_check_header_mongrel ()
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 if eval \${$3+:} false; then :
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669 $as_echo_n "checking for $2... " >&6; }
1670 if eval \${$3+:} false; then :
1671 $as_echo_n "(cached) " >&6
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1677 # Is the header compilable?
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1679 $as_echo_n "checking $2 usability... " >&6; }
1680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1681 /* end confdefs.h. */
1685 if ac_fn_c_try_compile "$LINENO"; then :
1686 ac_header_compiler=yes
1688 ac_header_compiler=no
1690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1692 $as_echo "$ac_header_compiler" >&6; }
1694 # Is the header present?
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1696 $as_echo_n "checking $2 presence... " >&6; }
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1701 if ac_fn_c_try_cpp "$LINENO"; then :
1702 ac_header_preproc=yes
1704 ac_header_preproc=no
1706 rm -f conftest.err conftest.i conftest.$ac_ext
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1708 $as_echo "$ac_header_preproc" >&6; }
1710 # So? What about this header?
1711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1714 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1720 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1722 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1724 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1726 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1728 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1729 ( $as_echo "## --------------------------- ##
1730 ## Report this to libsanitizer ##
1731 ## --------------------------- ##"
1732 ) | sed "s/^/$as_me: WARNING: /" >&2
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736 $as_echo_n "checking for $2... " >&6; }
1737 if eval \${$3+:} false; then :
1738 $as_echo_n "(cached) " >&6
1740 eval "$3=\$ac_header_compiler"
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1744 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 } # ac_fn_c_check_header_mongrel
1750 # ac_fn_c_try_run LINENO
1751 # ----------------------
1752 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1753 # that executables *can* be run.
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 if { { ac_try="$ac_link"
1759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1760 *) ac_try_echo
=$ac_try;;
1762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_link") 2>&5
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1768 { { case "(($ac_try" in
1769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_try") 2>&5
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; }; }; then :
1780 $as_echo "$as_me: program exited with status $ac_status" >&5
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1784 ac_retval=$ac_status
1786 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status $ac_retval
1792 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1793 # -------------------------------------------------------
1794 # Tests whether HEADER exists and can be compiled using the include files in
1795 # INCLUDES, setting the cache variable VAR accordingly.
1796 ac_fn_c_check_header_compile ()
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1800 $as_echo_n "checking for $2... " >&6; }
1801 if eval \${$3+:} false; then :
1802 $as_echo_n "(cached) " >&6
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1809 if ac_fn_c_try_compile "$LINENO"; then :
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 } # ac_fn_c_check_header_compile
1823 # ac_fn_cxx_try_compile LINENO
1824 # ----------------------------
1825 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1826 ac_fn_cxx_try_compile ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 rm -f conftest.$ac_objext
1830 if { { ac_try="$ac_compile"
1832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1833 *) ac_try_echo
=$ac_try;;
1835 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_compile") 2>conftest.err
1839 if test -s conftest.err
; then
1840 grep -v '^ *+' conftest.err
>conftest.er1
1841 cat conftest.er1
>&5
1842 mv -f conftest.er1 conftest.err
1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845 test $ac_status = 0; } && {
1846 test -z "$ac_cxx_werror_flag" ||
1847 test ! -s conftest.err
1848 } && test -s conftest.
$ac_objext; then :
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.
$ac_ext >&5
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 as_fn_set_status
$ac_retval
1859 } # ac_fn_cxx_try_compile
1861 # ac_fn_c_try_link LINENO
1862 # -----------------------
1863 # Try to link conftest.$ac_ext, and return whether this succeeded.
1866 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1867 rm -f conftest.
$ac_objext conftest
$ac_exeext
1868 if { { ac_try
="$ac_link"
1870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1871 *) ac_try_echo=$ac_try;;
1873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_link") 2>conftest.err
1877 if test -s conftest.err; then
1878 grep -v '^ *+' conftest.err >conftest.er1
1879 cat conftest.er1 >&5
1880 mv -f conftest.er1 conftest.err
1882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883 test $ac_status = 0; } && {
1884 test -z "$ac_c_werror_flag" ||
1885 test ! -s conftest.err
1886 } && test -s conftest$ac_exeext && {
1887 test "$cross_compiling" = yes ||
1888 test -x conftest$ac_exeext
1892 $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.$ac_ext >&5
1897 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1898 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1899 # interfere with the next link command; also delete a directory that is
1900 # left behind by Apple's compiler. We do this before executing the actions.
1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903 as_fn_set_status $ac_retval
1905 } # ac_fn_c_try_link
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval \${$3+:} false; then :
1916 $as_echo_n "(cached) " >&6
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1922 #define $2 innocuous_$2
1924 /* System header to define __stub macros and hopefully few prototypes,
1925 which can conflict with char $2 (); below.
1926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1927 <limits.h> exists even on freestanding compilers. */
1930 # include <limits.h>
1932 # include <assert.h>
1937 /* Override any GCC internal prototype to avoid an error.
1938 Use char because int might match the return type of a GCC
1939 builtin and then its argument prototype would still apply. */
1944 /* The GNU C library defines this for functions which it implements
1945 to always fail with ENOSYS. Some functions are actually named
1946 something starting with __ and the normal name is an alias. */
1947 #if defined __stub_$2 || defined __stub___$2
1959 if ac_fn_c_try_link "$LINENO"; then :
1964 rm -f core conftest.err conftest.$ac_objext \
1965 conftest$ac_exeext conftest.$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 } # ac_fn_c_check_func
1974 # ac_fn_cxx_try_cpp LINENO
1975 # ------------------------
1976 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1977 ac_fn_cxx_try_cpp ()
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 if { { ac_try="$ac_cpp conftest.$ac_ext"
1982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1983 *) ac_try_echo
=$ac_try;;
1985 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1989 if test -s conftest.err
; then
1990 grep -v '^ *+' conftest.err
>conftest.er1
1991 cat conftest.er1
>&5
1992 mv -f conftest.er1 conftest.err
1994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1995 test $ac_status = 0; } > conftest.i
&& {
1996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1997 test ! -s conftest.err
2001 $as_echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.
$ac_ext >&5
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007 as_fn_set_status
$ac_retval
2009 } # ac_fn_cxx_try_cpp
2011 # ac_fn_cxx_try_link LINENO
2012 # -------------------------
2013 # Try to link conftest.$ac_ext, and return whether this succeeded.
2014 ac_fn_cxx_try_link
()
2016 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2017 rm -f conftest.
$ac_objext conftest
$ac_exeext
2018 if { { ac_try
="$ac_link"
2020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2021 *) ac_try_echo=$ac_try;;
2023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024 $as_echo "$ac_try_echo"; } >&5
2025 (eval "$ac_link") 2>conftest.err
2027 if test -s conftest.err; then
2028 grep -v '^ *+' conftest.err >conftest.er1
2029 cat conftest.er1 >&5
2030 mv -f conftest.er1 conftest.err
2032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033 test $ac_status = 0; } && {
2034 test -z "$ac_cxx_werror_flag" ||
2035 test ! -s conftest.err
2036 } && test -s conftest$ac_exeext && {
2037 test "$cross_compiling" = yes ||
2038 test -x conftest$ac_exeext
2042 $as_echo "$as_me: failed program was:" >&5
2043 sed 's/^/| /' conftest.$ac_ext >&5
2047 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2048 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2049 # interfere with the next link command; also delete a directory that is
2050 # left behind by Apple's compiler. We do this before executing the actions.
2051 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053 as_fn_set_status $ac_retval
2055 } # ac_fn_cxx_try_link
2057 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2058 # --------------------------------------------
2059 # Tries to find the compile-time value of EXPR in a program that includes
2060 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2062 ac_fn_c_compute_int ()
2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065 if test "$cross_compiling" = yes; then
2066 # Depending upon the size, compute the lo and hi bounds.
2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2073 static int test_array [1 - 2 * !(($2) >= 0)];
2075 return test_array [0];
2081 if ac_fn_c_try_compile "$LINENO"; then :
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2090 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2092 return test_array [0];
2098 if ac_fn_c_try_compile "$LINENO"; then :
2099 ac_hi=$ac_mid; break
2101 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2102 if test $ac_lo -le $ac_mid; then
2106 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2117 static int test_array [1 - 2 * !(($2) < 0)];
2119 return test_array [0];
2125 if ac_fn_c_try_compile "$LINENO"; then :
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2134 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2136 return test_array [0];
2142 if ac_fn_c_try_compile "$LINENO"; then :
2143 ac_lo=$ac_mid; break
2145 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2146 if test $ac_mid -le $ac_hi; then
2150 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2160 # Binary search between lo and hi bounds.
2161 while test "x$ac_lo" != "x$ac_hi"; do
2162 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h. */
2169 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2171 return test_array [0];
2177 if ac_fn_c_try_compile "$LINENO"; then :
2180 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h. */
2192 static long int longval () { return $2; }
2193 static unsigned long int ulongval () { return $2; }
2200 FILE *f = fopen ("conftest.val", "w");
2205 long int i = longval ();
2208 fprintf (f, "%ld", i);
2212 unsigned long int i = ulongval ();
2215 fprintf (f, "%lu", i);
2217 /* Do not output a trailing newline, as this causes \r\n confusion
2218 on some platforms. */
2219 return ferror (f) || fclose (f) != 0;
2225 if ac_fn_c_try_run "$LINENO"; then :
2226 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2231 conftest.$ac_objext conftest.beam conftest.$ac_ext
2235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2236 as_fn_set_status $ac_retval
2238 } # ac_fn_c_compute_int
2240 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2241 # -------------------------------------------
2242 # Tests whether TYPE exists after having included INCLUDES, setting cache
2243 # variable VAR accordingly.
2244 ac_fn_c_check_type ()
2246 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2248 $as_echo_n "checking for $2... " >&6; }
2249 if eval \${$3+:} false; then :
2250 $as_echo_n "(cached) " >&6
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2265 if ac_fn_c_try_compile "$LINENO"; then :
2266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2267 /* end confdefs.h. */
2278 if ac_fn_c_try_compile "$LINENO"; then :
2283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2289 $as_echo "$ac_res" >&6; }
2290 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2292 } # ac_fn_c_check_type
2294 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2295 # ---------------------------------------------
2296 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2298 ac_fn_c_check_decl ()
2300 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2301 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2302 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2304 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2305 if eval \${$3+:} false; then :
2306 $as_echo_n "(cached) " >&6
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2314 #ifndef $as_decl_name
2316 (void) $as_decl_use;
2318 (void) $as_decl_name;
2326 if ac_fn_c_try_compile "$LINENO"; then :
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2335 $as_echo "$ac_res" >&6; }
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 } # ac_fn_c_check_decl
2339 cat >config.log <<_ACEOF
2340 This file contains any messages produced by compilers while
2341 running configure, to aid debugging if configure makes a mistake.
2343 It was created by package-unused $as_me version-unused, which was
2344 generated by GNU Autoconf 2.69. Invocation command line was
2356 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2357 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2358 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2359 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2360 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2362 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2363 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2365 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2366 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2367 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2368 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2369 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2370 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2371 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir=.
2380 $as_echo "PATH: $as_dir"
2396 # Keep a trace of the command line.
2397 # Strip out --no-create and --no-recursion so they do not pile up.
2398 # Strip out --silent because we don't want to record it for future runs.
2399 # Also quote any args containing shell meta-characters.
2400 # Make two passes to allow for proper duplicate-argument suppression.
2404 ac_must_keep_next=false
2410 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2412 | -silent | --silent | --silen | --sile | --sil)
2415 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2418 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2420 as_fn_append ac_configure_args1 " '$ac_arg'"
2421 if test $ac_must_keep_next = true; then
2422 ac_must_keep_next=false # Got value, back to normal.
2425 *=* | --config-cache | -C | -disable-* | --disable-* \
2426 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2427 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2428 | -with-* | --with-* | -without-* | --without-* | --x)
2429 case "$ac_configure_args0 " in
2430 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2433 -* ) ac_must_keep_next=true ;;
2436 as_fn_append ac_configure_args " '$ac_arg'"
2441 { ac_configure_args0=; unset ac_configure_args0;}
2442 { ac_configure_args1=; unset ac_configure_args1;}
2444 # When interrupted or exit'd, cleanup temporary files, and complete
2445 # config.log. We remove comments because anyway the quotes in there
2446 # would cause problems or look ugly.
2447 # WARNING: Use '\'' to represent an apostrophe within the trap.
2448 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2449 trap 'exit_status=$?
2450 # Save into config.log some information that might help in debugging.
2454 $as_echo "## ---------------- ##
2455 ## Cache variables. ##
2456 ## ---------------- ##"
2458 # The following way of writing the cache mishandles newlines in values,
2460 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2461 eval ac_val=\$$ac_var
2465 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2466 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2469 _ | IFS | as_nl) ;; #(
2470 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2471 *) { eval $ac_var=; unset $ac_var;} ;;
2476 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2477 *${as_nl}ac_space=\ *)
2479 "s/'\''/'\''\\\\'\'''\''/g;
2480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2490 $as_echo "## ----------------- ##
2491 ## Output variables. ##
2492 ## ----------------- ##"
2494 for ac_var in $ac_subst_vars
2496 eval ac_val=\$$ac_var
2498 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2500 $as_echo "$ac_var='\''$ac_val'\''"
2504 if test -n "$ac_subst_files"; then
2505 $as_echo "## ------------------- ##
2506 ## File substitutions. ##
2507 ## ------------------- ##"
2509 for ac_var in $ac_subst_files
2511 eval ac_val=\$$ac_var
2513 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2515 $as_echo "$ac_var='\''$ac_val'\''"
2520 if test -s confdefs.h; then
2521 $as_echo "## ----------- ##
2528 test "$ac_signal" != 0 &&
2529 $as_echo "$as_me: caught signal $ac_signal"
2530 $as_echo "$as_me: exit $exit_status"
2532 rm -f core *.core core.conftest.* &&
2533 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2536 for ac_signal in 1 2 13 15; do
2537 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2541 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2542 rm -f -r conftest* confdefs.h
2544 $as_echo "/* confdefs.h */" > confdefs.h
2546 # Predefined preprocessor variables.
2548 cat >>confdefs.h <<_ACEOF
2549 #define PACKAGE_NAME "$PACKAGE_NAME"
2552 cat >>confdefs.h <<_ACEOF
2553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2556 cat >>confdefs.h <<_ACEOF
2557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2560 cat >>confdefs.h <<_ACEOF
2561 #define PACKAGE_STRING "$PACKAGE_STRING"
2564 cat >>confdefs.h <<_ACEOF
2565 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2568 cat >>confdefs.h <<_ACEOF
2569 #define PACKAGE_URL "$PACKAGE_URL"
2573 # Let the site file select an alternate cache file if it wants to.
2574 # Prefer an explicitly selected file to automatically selected ones.
2577 if test -n "$CONFIG_SITE"; then
2578 # We do not want a PATH search for config.site.
2579 case $CONFIG_SITE in #((
2580 -*) ac_site_file1=./$CONFIG_SITE;;
2581 */*) ac_site_file1=$CONFIG_SITE;;
2582 *) ac_site_file1=./$CONFIG_SITE;;
2584 elif test "x$prefix" != xNONE; then
2585 ac_site_file1=$prefix/share/config.site
2586 ac_site_file2=$prefix/etc/config.site
2588 ac_site_file1=$ac_default_prefix/share/config.site
2589 ac_site_file2=$ac_default_prefix/etc/config.site
2591 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2593 test "x$ac_site_file" = xNONE && continue
2594 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2596 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2597 sed 's/^/| /' "$ac_site_file" >&5
2599 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2601 as_fn_error $? "failed to load site
script $ac_site_file
2602 See \
`config.log' for more details" "$LINENO" 5; }
2606 if test -r "$cache_file"; then
2607 # Some versions of bash will fail to source /dev/null (special files
2608 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2609 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2611 $as_echo "$as_me: loading cache $cache_file" >&6;}
2613 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2614 *) . "./$cache_file";;
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2619 $as_echo "$as_me: creating cache $cache_file" >&6;}
2623 # Check that the precious variables saved in the cache have kept the same
2625 ac_cache_corrupted=false
2626 for ac_var in $ac_precious_vars; do
2627 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2628 eval ac_new_set=\$ac_env_${ac_var}_set
2629 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2630 eval ac_new_val=\$ac_env_${ac_var}_value
2631 case $ac_old_set,$ac_new_set in
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2634 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2635 ac_cache_corrupted=: ;;
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2638 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2639 ac_cache_corrupted=: ;;
2642 if test "x$ac_old_val" != "x$ac_new_val"; then
2643 # differences in whitespace do not lead to failure.
2644 ac_old_val_w=`echo x
$ac_old_val`
2645 ac_new_val_w=`echo x
$ac_new_val`
2646 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2648 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2649 ac_cache_corrupted=:
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2652 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2653 eval $ac_var=\$ac_old_val
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2656 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2658 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2661 # Pass precious variables to config.status.
2662 if test "$ac_new_set" = set; then
2664 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2665 *) ac_arg=$ac_var=$ac_new_val ;;
2667 case " $ac_configure_args " in
2668 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2669 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2673 if $ac_cache_corrupted; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2677 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2678 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2680 ## -------------------- ##
2681 ## Main body of script. ##
2682 ## -------------------- ##
2685 ac_cpp='$CPP $CPPFLAGS'
2686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2696 # Default to --enable-multilib
2697 # Check whether --enable-multilib was given.
2698 if test "${enable_multilib+set}" = set; then :
2699 enableval=$enable_multilib; case "$enableval" in
2700 yes) multilib=yes ;;
2702 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2709 # We may get other options which we leave undocumented:
2710 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2711 # See config-ml.in if you want the gory details.
2713 if test "$srcdir" = "."; then
2714 if test "$with_target_subdir" != "."; then
2715 multi_basedir="$srcdir/$with_multisrctop../.."
2717 multi_basedir="$srcdir/$with_multisrctop.."
2720 multi_basedir="$srcdir/.."
2724 # Even if the default multilib is not a cross compilation,
2725 # it may be that some of the other multilibs are.
2726 if test $cross_compiling = no && test $multilib = yes \
2727 && test "x${with_multisubdir}" != x ; then
2728 cross_compiling=maybe
2731 ac_config_commands="$ac_config_commands default-1"
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2735 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2736 # Check whether --enable-version-specific-runtime-libs was given.
2737 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2738 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2739 yes) version_specific_libs=yes ;;
2740 no) version_specific_libs=no ;;
2741 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2744 version_specific_libs=no
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2748 $as_echo "$version_specific_libs" >&6; }
2751 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2752 if test -f "$ac_dir/install-sh"; then
2754 ac_install_sh="$ac_aux_dir/install-sh -c"
2756 elif test -f "$ac_dir/install.sh"; then
2758 ac_install_sh="$ac_aux_dir/install.sh -c"
2760 elif test -f "$ac_dir/shtool"; then
2762 ac_install_sh="$ac_aux_dir/shtool install -c"
2766 if test -z "$ac_aux_dir"; then
2767 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2770 # These three variables are undocumented and unsupported,
2771 # and are intended to be withdrawn in a future Autoconf release.
2772 # They can cause serious problems if a builder's source tree is in a directory
2773 # whose full name contains unusual characters.
2774 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2775 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2776 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2779 # Expand $ac_aux_dir to an absolute path.
2780 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2783 ac_cpp='$CPP $CPPFLAGS'
2784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2787 if test -n "$ac_tool_prefix"; then
2788 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2789 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if ${ac_cv_prog_CC+:} false; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$CC"; then
2796 ac_cv_prog_CC="$CC" # Let the user override the test.
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir=.
2803 for ac_exec_ext in '' $ac_executable_extensions; do
2804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2805 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 if test -n "$CC"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2818 $as_echo "$CC" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2826 if test -z "$ac_cv_prog_CC"; then
2828 # Extract the first word of "gcc", so it can be a program name with args.
2829 set dummy gcc; ac_word=$2
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 if test -n "$ac_ct_CC"; then
2836 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842 test -z "$as_dir" && as_dir=.
2843 for ac_exec_ext in '' $ac_executable_extensions; do
2844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2845 ac_cv_prog_ac_ct_CC="gcc"
2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2856 if test -n "$ac_ct_CC"; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2858 $as_echo "$ac_ct_CC" >&6; }
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2864 if test "x$ac_ct_CC" = x; then
2867 case $cross_compiling:$ac_tool_warned in
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2871 ac_tool_warned=yes ;;
2879 if test -z "$CC"; then
2880 if test -n "$ac_tool_prefix"; then
2881 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2882 set dummy ${ac_tool_prefix}cc; ac_word=$2
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884 $as_echo_n "checking for $ac_word... " >&6; }
2885 if ${ac_cv_prog_CC+:} false; then :
2886 $as_echo_n "(cached) " >&6
2888 if test -n "$CC"; then
2889 ac_cv_prog_CC="$CC" # Let the user override the test.
2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 test -z "$as_dir" && as_dir=.
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2898 ac_cv_prog_CC="${ac_tool_prefix}cc"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2909 if test -n "$CC"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2911 $as_echo "$CC" >&6; }
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914 $as_echo "no" >&6; }
2920 if test -z "$CC"; then
2921 # Extract the first word of "cc", so it can be a program name with args.
2922 set dummy cc; ac_word=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2925 if ${ac_cv_prog_CC+:} false; then :
2926 $as_echo_n "(cached) " >&6
2928 if test -n "$CC"; then
2929 ac_cv_prog_CC="$CC" # Let the user override the test.
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2939 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2940 ac_prog_rejected=yes
2944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 if test $ac_prog_rejected = yes; then
2952 # We found a bogon in the path, so make sure we never use it.
2953 set dummy $ac_cv_prog_CC
2955 if test $# != 0; then
2956 # We chose a different compiler from the bogus one.
2957 # However, it has the same basename, so the bogon will be chosen
2958 # first if we set CC to just the basename; use the full file name.
2960 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2966 if test -n "$CC"; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2968 $as_echo "$CC" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2976 if test -z "$CC"; then
2977 if test -n "$ac_tool_prefix"; then
2978 for ac_prog in cl.exe
2980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2983 $as_echo_n "checking for $ac_word... " >&6; }
2984 if ${ac_cv_prog_CC+:} false; then :
2985 $as_echo_n "(cached) " >&6
2987 if test -n "$CC"; then
2988 ac_cv_prog_CC="$CC" # Let the user override the test.
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2997 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 if test -n "$CC"; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3010 $as_echo "$CC" >&6; }
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3013 $as_echo "no" >&6; }
3017 test -n "$CC" && break
3020 if test -z "$CC"; then
3022 for ac_prog in cl.exe
3024 # Extract the first word of "$ac_prog", so it can be a program name with args.
3025 set dummy $ac_prog; ac_word=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$ac_ct_CC"; then
3032 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir=.
3039 for ac_exec_ext in '' $ac_executable_extensions; do
3040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3041 ac_cv_prog_ac_ct_CC="$ac_prog"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3052 if test -n "$ac_ct_CC"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3054 $as_echo "$ac_ct_CC" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3061 test -n "$ac_ct_CC" && break
3064 if test "x$ac_ct_CC" = x; then
3067 case $cross_compiling:$ac_tool_warned in
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3071 ac_tool_warned=yes ;;
3080 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3083 See \
`config.log' for more details" "$LINENO" 5; }
3085 # Provide some information about the compiler.
3086 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3089 for ac_option in --version -v -V -qversion; do
3090 { { ac_try="$ac_compiler $ac_option >&5"
3092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3093 *) ac_try_echo
=$ac_try;;
3095 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3096 $as_echo "$ac_try_echo"; } >&5
3097 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3099 if test -s conftest.err
; then
3101 ... rest of stderr output deleted ...
3102 10q' conftest.err
>conftest.er1
3103 cat conftest.er1
>&5
3105 rm -f conftest.er1 conftest.err
3106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3107 test $ac_status = 0; }
3110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3121 ac_clean_files_save
=$ac_clean_files
3122 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3123 # Try to create an executable without -o first, disregard a.out.
3124 # It will help us diagnose broken compilers, and finding out an intuition
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3127 $as_echo_n "checking whether the C compiler works... " >&6; }
3128 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3130 # The possible output files:
3131 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3134 for ac_file
in $ac_files
3137 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3138 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3143 if { { ac_try
="$ac_link_default"
3145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3149 $as_echo "$ac_try_echo"; } >&5
3150 (eval "$ac_link_default") 2>&5
3152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3153 test $ac_status = 0; }; then :
3154 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3155 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3156 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3157 # so that the user can short-circuit this test for compilers unknown to
3159 for ac_file in $ac_files ''
3161 test -f "$ac_file" || continue
3163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3166 # We found the default executable, but exeext='' is most
3170 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3172 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3174 # We set ac_cv_exeext here because the later test for it is not
3175 # safe: cross compilers may not add the suffix if given an `-o'
3176 # argument, so we may need to know it at that point already.
3177 # Even if this section looks crufty: it has the advantage of
3184 test "$ac_cv_exeext" = no && ac_cv_exeext=
3189 if test -z "$ac_file"; then :
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3192 $as_echo "$as_me: failed program was:" >&5
3193 sed 's
/^
/|
/' conftest.$ac_ext >&5
3195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3197 as_fn_error 77 "C compiler cannot create executables
3198 See \`config.log
' for more details" "$LINENO" 5; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3201 $as_echo "yes" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3204 $as_echo_n "checking for C compiler default output file name... " >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3206 $as_echo "$ac_file" >&6; }
3207 ac_exeext=$ac_cv_exeext
3209 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3210 ac_clean_files=$ac_clean_files_save
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3212 $as_echo_n "checking for suffix of executables... " >&6; }
3213 if { { ac_try="$ac_link"
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3219 $as_echo "$ac_try_echo"; } >&5
3220 (eval "$ac_link") 2>&5
3222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3223 test $ac_status = 0; }; then :
3224 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3225 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3226 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3228 for ac_file
in conftest.exe conftest conftest.
*; do
3229 test -f "$ac_file" ||
continue
3231 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3232 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3240 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3241 See \`config.log' for more details" "$LINENO" 5; }
3243 rm -f conftest conftest
$ac_cv_exeext
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3245 $as_echo "$ac_cv_exeext" >&6; }
3247 rm -f conftest.
$ac_ext
3248 EXEEXT
=$ac_cv_exeext
3250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3256 FILE *f = fopen ("conftest.out", "w");
3257 return ferror (f) || fclose (f) != 0;
3263 ac_clean_files
="$ac_clean_files conftest.out"
3264 # Check that the compiler produces executables we can run. If not, either
3265 # the compiler is broken, or we cross compile.
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3267 $as_echo_n "checking whether we are cross compiling... " >&6; }
3268 if test "$cross_compiling" != yes; then
3269 { { ac_try
="$ac_link"
3271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3275 $as_echo "$ac_try_echo"; } >&5
3276 (eval "$ac_link") 2>&5
3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279 test $ac_status = 0; }
3280 if { ac_try='./conftest$ac_cv_exeext'
3281 { { case "(($ac_try" in
3282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3283 *) ac_try_echo
=$ac_try;;
3285 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_try") 2>&5
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }; }; then
3293 if test "$cross_compiling" = maybe
; then
3296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298 as_fn_error $?
"cannot run C compiled programs.
3299 If you meant to cross compile, use \`--host'.
3300 See \`config.log' for more details" "$LINENO" 5; }
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3305 $as_echo "$cross_compiling" >&6; }
3307 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3308 ac_clean_files
=$ac_clean_files_save
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3310 $as_echo_n "checking for suffix of object files... " >&6; }
3311 if ${ac_cv_objext+:} false
; then :
3312 $as_echo_n "(cached) " >&6
3314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3325 rm -f conftest.o conftest.obj
3326 if { { ac_try
="$ac_compile"
3328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_compile") 2>&5
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }; then :
3337 for ac_file in conftest.o conftest.obj conftest.*; do
3338 test -f "$ac_file" || continue;
3340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3341 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3346 $as_echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3352 See \
`config.log' for more details" "$LINENO" 5; }
3354 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3357 $as_echo "$ac_cv_objext" >&6; }
3358 OBJEXT=$ac_cv_objext
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3361 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3362 if ${ac_cv_c_compiler_gnu+:} false; then :
3363 $as_echo_n "(cached) " >&6
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3379 if ac_fn_c_try_compile "$LINENO"; then :
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3389 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3390 if test $ac_compiler_gnu = yes; then
3395 ac_test_CFLAGS=${CFLAGS+set}
3396 ac_save_CFLAGS=$CFLAGS
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3398 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3399 if ${ac_cv_prog_cc_g+:} false; then :
3400 $as_echo_n "(cached) " >&6
3402 ac_save_c_werror_flag=$ac_c_werror_flag
3403 ac_c_werror_flag=yes
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3417 if ac_fn_c_try_compile "$LINENO"; then :
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3432 if ac_fn_c_try_compile "$LINENO"; then :
3435 ac_c_werror_flag=$ac_save_c_werror_flag
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3448 if ac_fn_c_try_compile "$LINENO"; then :
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 ac_c_werror_flag=$ac_save_c_werror_flag
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3459 $as_echo "$ac_cv_prog_cc_g" >&6; }
3460 if test "$ac_test_CFLAGS" = set; then
3461 CFLAGS=$ac_save_CFLAGS
3462 elif test $ac_cv_prog_cc_g = yes; then
3463 if test "$GCC" = yes; then
3469 if test "$GCC" = yes; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3476 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3477 if ${ac_cv_prog_cc_c89+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 ac_cv_prog_cc_c89=no
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3487 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3488 struct buf { int x; };
3489 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3490 static char *e (p, i)
3496 static char *f (char * (*g) (char **, int), char **p, ...)
3501 s = g (p, va_arg (v,int));
3506 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3507 function prototypes and stuff, but not '\xHH' hex character constants.
3508 These don't provoke an error unfortunately, instead are silently treated
3509 as 'x'. The following induces an error, until -std is added to get
3510 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3511 array size at least. It's necessary to write '\x00'==0 to get something
3512 that's true only with -std. */
3513 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3515 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3516 inside strings and character constants. */
3518 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3520 int test (int i, double x);
3521 struct s1 {int (*f) (int a);};
3522 struct s2 {int (*f) (double a);};
3523 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3529 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3534 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3535 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3537 CC="$ac_save_CC $ac_arg"
3538 if ac_fn_c_try_compile "$LINENO"; then :
3539 ac_cv_prog_cc_c89=$ac_arg
3541 rm -f core conftest.err conftest.$ac_objext
3542 test "x$ac_cv_prog_cc_c89" != "xno" && break
3544 rm -f conftest.$ac_ext
3549 case "x$ac_cv_prog_cc_c89" in
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3552 $as_echo "none needed" >&6; } ;;
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3555 $as_echo "unsupported" >&6; } ;;
3557 CC="$CC $ac_cv_prog_cc_c89"
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3559 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3561 if test "x$ac_cv_prog_cc_c89" != xno; then :
3566 ac_cpp='$CPP $CPPFLAGS'
3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3577 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3578 if ${am_cv_prog_cc_c_o+:} false; then :
3579 $as_echo_n "(cached) " >&6
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3592 # Make sure it works both with $CC and with simple cc.
3593 # Following AC_PROG_CC_C_O, we do the test twice because some
3594 # compilers refuse to overwrite an existing .o file with -o,
3595 # though they will create one.
3596 am_cv_prog_cc_c_o=yes
3598 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3599 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } \
3603 && test -f conftest2.$ac_objext; then
3606 am_cv_prog_cc_c_o=no
3610 rm -f core conftest*
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3614 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3615 if test "$am_cv_prog_cc_c_o" != yes; then
3616 # Losing compiler, so override with the script.
3617 # FIXME: It is wrong to rewrite CC.
3618 # But if we don't then we get into trouble of one sort or another.
3619 # A longer-term fix would be to have automake use am__CC in this case,
3620 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3621 CC="$am_aux_dir/compile $CC"
3624 ac_cpp='$CPP $CPPFLAGS'
3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3637 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3638 # On Suns, sometimes $CPP names a directory.
3639 if test -n "$CPP" && test -d "$CPP"; then
3642 if test -z "$CPP"; then
3643 if ${ac_cv_prog_CPP+:} false; then :
3644 $as_echo_n "(cached) " >&6
3646 # Double quotes because CPP needs to be expanded
3647 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3650 for ac_c_preproc_warn_flag in '' yes
3652 # Use a header file that comes with gcc, so configuring glibc
3653 # with a fresh cross-compiler works.
3654 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3655 # <limits.h> exists even on freestanding compilers.
3656 # On the NeXT, cc -E runs the code through the compiler's parser,
3657 # not just through cpp. "Syntax error" is here to catch this case.
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3661 # include <limits.h>
3663 # include <assert.h>
3667 if ac_fn_c_try_cpp "$LINENO"; then :
3670 # Broken: fails on valid input.
3673 rm -f conftest.err conftest.i conftest.$ac_ext
3675 # OK, works on sane cases. Now check whether nonexistent headers
3676 # can be detected and how.
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3679 #include <ac_nonexistent.h>
3681 if ac_fn_c_try_cpp "$LINENO"; then :
3682 # Broken: success on invalid input.
3685 # Passes both tests.
3689 rm -f conftest.err conftest.i conftest.$ac_ext
3692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3693 rm -f conftest.i conftest.err conftest.
$ac_ext
3694 if $ac_preproc_ok; then :
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3707 $as_echo "$CPP" >&6; }
3709 for ac_c_preproc_warn_flag
in '' yes
3711 # Use a header file that comes with gcc, so configuring glibc
3712 # with a fresh cross-compiler works.
3713 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3714 # <limits.h> exists even on freestanding compilers.
3715 # On the NeXT, cc -E runs the code through the compiler's parser,
3716 # not just through cpp. "Syntax error" is here to catch this case.
3717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3720 # include <limits.h>
3722 # include <assert.h>
3726 if ac_fn_c_try_cpp
"$LINENO"; then :
3729 # Broken: fails on valid input.
3732 rm -f conftest.err conftest.i conftest.
$ac_ext
3734 # OK, works on sane cases. Now check whether nonexistent headers
3735 # can be detected and how.
3736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3738 #include <ac_nonexistent.h>
3740 if ac_fn_c_try_cpp
"$LINENO"; then :
3741 # Broken: success on invalid input.
3744 # Passes both tests.
3748 rm -f conftest.err conftest.i conftest.
$ac_ext
3751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3752 rm -f conftest.i conftest.err conftest.
$ac_ext
3753 if $ac_preproc_ok; then :
3756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3759 See \`config.log' for more details" "$LINENO" 5; }
3763 ac_cpp
='$CPP $CPPFLAGS'
3764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3770 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3771 if ${ac_cv_path_GREP+:} false
; then :
3772 $as_echo_n "(cached) " >&6
3774 if test -z "$GREP"; then
3775 ac_path_GREP_found
=false
3776 # Loop through the user's path and test for each of PROGNAME-LIST
3777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3778 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3781 test -z "$as_dir" && as_dir
=.
3782 for ac_prog
in grep ggrep
; do
3783 for ac_exec_ext
in '' $ac_executable_extensions; do
3784 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3785 as_fn_executable_p
"$ac_path_GREP" ||
continue
3786 # Check for GNU ac_path_GREP and select it if it is found.
3787 # Check for GNU $ac_path_GREP
3788 case `"$ac_path_GREP" --version 2>&1` in
3790 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3793 $as_echo_n 0123456789 >"conftest.in"
3796 cat "conftest.in" "conftest.in" >"conftest.tmp"
3797 mv "conftest.tmp" "conftest.in"
3798 cp "conftest.in" "conftest.nl"
3799 $as_echo 'GREP' >> "conftest.nl"
3800 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3801 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3802 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3803 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3804 # Best one so far, save it but keep looking for a better one
3805 ac_cv_path_GREP
="$ac_path_GREP"
3806 ac_path_GREP_max
=$ac_count
3808 # 10*(2^10) chars as input seems more than enough
3809 test $ac_count -gt 10 && break
3811 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3814 $ac_path_GREP_found && break 3
3819 if test -z "$ac_cv_path_GREP"; then
3820 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3823 ac_cv_path_GREP
=$GREP
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3828 $as_echo "$ac_cv_path_GREP" >&6; }
3829 GREP
="$ac_cv_path_GREP"
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3833 $as_echo_n "checking for egrep... " >&6; }
3834 if ${ac_cv_path_EGREP+:} false
; then :
3835 $as_echo_n "(cached) " >&6
3837 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3838 then ac_cv_path_EGREP
="$GREP -E"
3840 if test -z "$EGREP"; then
3841 ac_path_EGREP_found
=false
3842 # Loop through the user's path and test for each of PROGNAME-LIST
3843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3844 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3847 test -z "$as_dir" && as_dir
=.
3848 for ac_prog
in egrep; do
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3851 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3852 # Check for GNU ac_path_EGREP and select it if it is found.
3853 # Check for GNU $ac_path_EGREP
3854 case `"$ac_path_EGREP" --version 2>&1` in
3856 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3859 $as_echo_n 0123456789 >"conftest.in"
3862 cat "conftest.in" "conftest.in" >"conftest.tmp"
3863 mv "conftest.tmp" "conftest.in"
3864 cp "conftest.in" "conftest.nl"
3865 $as_echo 'EGREP' >> "conftest.nl"
3866 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3867 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3868 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3869 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3870 # Best one so far, save it but keep looking for a better one
3871 ac_cv_path_EGREP
="$ac_path_EGREP"
3872 ac_path_EGREP_max
=$ac_count
3874 # 10*(2^10) chars as input seems more than enough
3875 test $ac_count -gt 10 && break
3877 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3880 $ac_path_EGREP_found && break 3
3885 if test -z "$ac_cv_path_EGREP"; then
3886 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3889 ac_cv_path_EGREP
=$EGREP
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3895 $as_echo "$ac_cv_path_EGREP" >&6; }
3896 EGREP
="$ac_cv_path_EGREP"
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3900 $as_echo_n "checking for ANSI C header files... " >&6; }
3901 if ${ac_cv_header_stdc+:} false
; then :
3902 $as_echo_n "(cached) " >&6
3904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3919 if ac_fn_c_try_compile
"$LINENO"; then :
3920 ac_cv_header_stdc
=yes
3922 ac_cv_header_stdc
=no
3924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3926 if test $ac_cv_header_stdc = yes; then
3927 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3934 $EGREP "memchr" >/dev
/null
2>&1; then :
3937 ac_cv_header_stdc
=no
3943 if test $ac_cv_header_stdc = yes; then
3944 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3951 $EGREP "free" >/dev
/null
2>&1; then :
3954 ac_cv_header_stdc
=no
3960 if test $ac_cv_header_stdc = yes; then
3961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3962 if test "$cross_compiling" = yes; then :
3965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3969 #if ((' ' & 0x0FF) == 0x020)
3970 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3971 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3973 # define ISLOWER(c) \
3974 (('a' <= (c) && (c) <= 'i') \
3975 || ('j' <= (c) && (c) <= 'r') \
3976 || ('s' <= (c) && (c) <= 'z'))
3977 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3980 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3985 for (i = 0; i < 256; i++)
3986 if (XOR (islower (i), ISLOWER (i))
3987 || toupper (i) != TOUPPER (i))
3992 if ac_fn_c_try_run
"$LINENO"; then :
3995 ac_cv_header_stdc
=no
3997 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3998 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4004 $as_echo "$ac_cv_header_stdc" >&6; }
4005 if test $ac_cv_header_stdc = yes; then
4007 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4011 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4012 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4013 inttypes.h stdint.h unistd.h
4015 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4016 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4018 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4019 cat >>confdefs.h
<<_ACEOF
4020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4029 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4030 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4037 if test "$MINIX" = yes; then
4039 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4042 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4045 $as_echo "#define _MINIX 1" >>confdefs.h
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4051 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4052 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4053 $as_echo_n "(cached) " >&6
4055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4058 # define __EXTENSIONS__ 1
4059 $ac_includes_default
4068 if ac_fn_c_try_compile
"$LINENO"; then :
4069 ac_cv_safe_to_define___extensions__
=yes
4071 ac_cv_safe_to_define___extensions__
=no
4073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4076 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4077 test $ac_cv_safe_to_define___extensions__ = yes &&
4078 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4080 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4082 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4084 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4086 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4090 # Do not delete or change the following two lines. For why, see
4091 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
4092 # Make sure we can run config.sub.
4093 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4094 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4097 $as_echo_n "checking build system type... " >&6; }
4098 if ${ac_cv_build+:} false
; then :
4099 $as_echo_n "(cached) " >&6
4101 ac_build_alias
=$build_alias
4102 test "x$ac_build_alias" = x
&&
4103 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4104 test "x$ac_build_alias" = x
&&
4105 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4106 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4107 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4111 $as_echo "$ac_cv_build" >&6; }
4112 case $ac_cv_build in
4114 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4117 ac_save_IFS
=$IFS; IFS
='-'
4123 # Remember, the first character of IFS is used to create $*,
4124 # except with old shells:
4127 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4131 $as_echo_n "checking host system type... " >&6; }
4132 if ${ac_cv_host+:} false
; then :
4133 $as_echo_n "(cached) " >&6
4135 if test "x$host_alias" = x
; then
4136 ac_cv_host
=$ac_cv_build
4138 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4139 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4144 $as_echo "$ac_cv_host" >&6; }
4147 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4150 ac_save_IFS
=$IFS; IFS
='-'
4156 # Remember, the first character of IFS is used to create $*,
4157 # except with old shells:
4160 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4164 $as_echo_n "checking target system type... " >&6; }
4165 if ${ac_cv_target+:} false
; then :
4166 $as_echo_n "(cached) " >&6
4168 if test "x$target_alias" = x
; then
4169 ac_cv_target
=$ac_cv_host
4171 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4172 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4177 $as_echo "$ac_cv_target" >&6; }
4178 case $ac_cv_target in
4180 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4182 target
=$ac_cv_target
4183 ac_save_IFS
=$IFS; IFS
='-'
4189 # Remember, the first character of IFS is used to create $*,
4190 # except with old shells:
4193 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4196 # The aliases save the names the user supplied, while $host etc.
4197 # will get canonicalized.
4198 test -n "$target_alias" &&
4199 test "$program_prefix$program_suffix$program_transform_name" = \
4201 program_prefix
=${target_alias}-
4203 target_alias
=${target_alias-$host_alias}
4205 case ${build_alias} in
4206 "") build_noncanonical
=${build} ;;
4207 *) build_noncanonical
=${build_alias} ;;
4210 case ${host_alias} in
4211 "") host_noncanonical
=${build_noncanonical} ;;
4212 *) host_noncanonical
=${host_alias} ;;
4215 case ${target_alias} in
4216 "") target_noncanonical
=${host_noncanonical} ;;
4217 *) target_noncanonical
=${target_alias} ;;
4224 LIBSTDCXX_RAW_CXX_CXXFLAGS
="\
4225 -I\$(top_builddir)/../libstdc++-v3/include \
4226 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
4227 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
4228 LIBSTDCXX_RAW_CXX_LDFLAGS
="\
4229 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
4234 am__api_version
='1.15'
4236 # Find a good install program. We prefer a C program (faster),
4237 # so one script is as good as another. But avoid the broken or
4238 # incompatible versions:
4239 # SysV /etc/install, /usr/sbin/install
4240 # SunOS /usr/etc/install
4241 # IRIX /sbin/install
4243 # AmigaOS /C/install, which installs bootblocks on floppy discs
4244 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4245 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4246 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4247 # OS/2's system install, which has a completely different semantic
4248 # ./install, which can be erroneously created by make from ./install.sh.
4249 # Reject install programs that cannot install multiple files.
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4251 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4252 if test -z "$INSTALL"; then
4253 if ${ac_cv_path_install+:} false
; then :
4254 $as_echo_n "(cached) " >&6
4256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir
=.
4261 # Account for people who put trailing slashes in PATH elements.
4262 case $as_dir/ in #((
4263 .
/ | .
// |
/[cC
]/* | \
4264 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4265 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4268 # OSF1 and SCO ODT 3.0 have their own names for install.
4269 # Don't use installbsd from OSF since it installs stuff as root
4271 for ac_prog
in ginstall scoinst
install; do
4272 for ac_exec_ext
in '' $ac_executable_extensions; do
4273 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4274 if test $ac_prog = install &&
4275 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4276 # AIX install. It has an incompatible calling convention.
4278 elif test $ac_prog = install &&
4279 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4280 # program-specific install script used by HP pwplus--don't use.
4283 rm -rf conftest.one conftest.two conftest.dir
4284 echo one
> conftest.one
4285 echo two
> conftest.two
4287 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4288 test -s conftest.one
&& test -s conftest.two
&&
4289 test -s conftest.dir
/conftest.one
&&
4290 test -s conftest.dir
/conftest.two
4292 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4305 rm -rf conftest.one conftest.two conftest.dir
4308 if test "${ac_cv_path_install+set}" = set; then
4309 INSTALL
=$ac_cv_path_install
4311 # As a last resort, use the slow shell script. Don't cache a
4312 # value for INSTALL within a source directory, because that will
4313 # break other packages using the cache if that directory is
4314 # removed, or if the value is a relative name.
4315 INSTALL
=$ac_install_sh
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4319 $as_echo "$INSTALL" >&6; }
4321 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4322 # It thinks the first close brace ends the variable substitution.
4323 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4325 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4327 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4330 $as_echo_n "checking whether build environment is sane... " >&6; }
4331 # Reject unsafe characters in $srcdir or the absolute working directory
4332 # name. Accept space and tab only in the latter.
4336 *[\\\"\
#\$\&\'\`$am_lf]*)
4337 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4340 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4341 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4344 # Do 'set' in a subshell so we don't clobber the current shell's
4345 # arguments. Must try -L first in case configure is actually a
4346 # symlink; some systems play weird games with the mod time of symlinks
4347 # (eg FreeBSD returns the mod time of the symlink's containing
4351 for am_try
in 1 2; do
4352 echo "timestamp, slept: $am_has_slept" > conftest.
file
4353 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4354 if test "$*" = "X"; then
4356 set X
`ls -t "$srcdir/configure" conftest.file`
4358 if test "$*" != "X $srcdir/configure conftest.file" \
4359 && test "$*" != "X conftest.file $srcdir/configure"; then
4361 # If neither matched, then we have a broken ls. This can happen
4362 # if, for instance, CONFIG_SHELL is bash and it inherits a
4363 # broken ls alias from the environment. This has actually
4364 # happened. Such a system could not be considered "sane".
4365 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4366 alias in your environment" "$LINENO" 5
4368 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4375 test "$2" = conftest.
file
4381 as_fn_error $?
"newly created file is older than distributed files!
4382 Check your system clock" "$LINENO" 5
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4385 $as_echo "yes" >&6; }
4386 # If we didn't sleep, we still need to ensure time stamps of config.status and
4387 # generated files are strictly newer.
4389 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4396 test "$program_prefix" != NONE
&&
4397 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4398 # Use a double $ so make ignores it.
4399 test "$program_suffix" != NONE
&&
4400 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4401 # Double any \ or $.
4402 # By default was `s,x,x', remove it if useless.
4403 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4404 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4406 if test x
"${MISSING+set}" != xset
; then
4409 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4411 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4414 # Use eval to expand $SHELL
4415 if eval "$MISSING --is-lightweight"; then
4416 am_missing_run
="$MISSING "
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4420 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4423 if test x
"${install_sh+set}" != xset
; then
4426 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4428 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4432 # Installed binaries are usually stripped using 'strip' when the user
4433 # run "make install-strip". However 'strip' might not be the right
4434 # tool to use in cross-compilation environments, therefore Automake
4435 # will honor the 'STRIP' environment variable to overrule this program.
4436 if test "$cross_compiling" != no
; then
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4439 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_STRIP+:} false
; then :
4443 $as_echo_n "(cached) " >&6
4445 if test -n "$STRIP"; then
4446 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir
=.
4453 for ac_exec_ext
in '' $ac_executable_extensions; do
4454 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 STRIP
=$ac_cv_prog_STRIP
4466 if test -n "$STRIP"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4468 $as_echo "$STRIP" >&6; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4476 if test -z "$ac_cv_prog_STRIP"; then
4478 # Extract the first word of "strip", so it can be a program name with args.
4479 set dummy strip
; ac_word
=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4483 $as_echo_n "(cached) " >&6
4485 if test -n "$ac_ct_STRIP"; then
4486 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir
=.
4493 for ac_exec_ext
in '' $ac_executable_extensions; do
4494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_ac_ct_STRIP
="strip"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4506 if test -n "$ac_ct_STRIP"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4508 $as_echo "$ac_ct_STRIP" >&6; }
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4514 if test "x$ac_ct_STRIP" = x
; then
4517 case $cross_compiling:$ac_tool_warned in
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4521 ac_tool_warned
=yes ;;
4526 STRIP
="$ac_cv_prog_STRIP"
4530 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4533 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4534 if test -z "$MKDIR_P"; then
4535 if ${ac_cv_path_mkdir+:} false
; then :
4536 $as_echo_n "(cached) " >&6
4538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4542 test -z "$as_dir" && as_dir
=.
4543 for ac_prog
in mkdir gmkdir
; do
4544 for ac_exec_ext
in '' $ac_executable_extensions; do
4545 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4546 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4547 'mkdir (GNU coreutils) '* | \
4548 'mkdir (coreutils) '* | \
4549 'mkdir (fileutils) '4.1*)
4550 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4560 test -d .
/--version && rmdir .
/--version
4561 if test "${ac_cv_path_mkdir+set}" = set; then
4562 MKDIR_P
="$ac_cv_path_mkdir -p"
4564 # As a last resort, use the slow shell script. Don't cache a
4565 # value for MKDIR_P within a source directory, because that will
4566 # break other packages using the cache if that directory is
4567 # removed, or if the value is a relative name.
4568 MKDIR_P
="$ac_install_sh -d"
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4572 $as_echo "$MKDIR_P" >&6; }
4574 for ac_prog
in gawk mawk nawk
awk
4576 # Extract the first word of "$ac_prog", so it can be a program name with args.
4577 set dummy
$ac_prog; ac_word
=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if ${ac_cv_prog_AWK+:} false
; then :
4581 $as_echo_n "(cached) " >&6
4583 if test -n "$AWK"; then
4584 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir
=.
4591 for ac_exec_ext
in '' $ac_executable_extensions; do
4592 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4593 ac_cv_prog_AWK
="$ac_prog"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 if test -n "$AWK"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4606 $as_echo "$AWK" >&6; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4613 test -n "$AWK" && break
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4617 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4619 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4620 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4621 $as_echo_n "(cached) " >&6
4623 cat >conftest.
make <<\_ACEOF
4626 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4631 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4633 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4637 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4639 $as_echo "yes" >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4644 SET_MAKE
="MAKE=${MAKE-make}"
4647 rm -rf .tst
2>/dev
/null
4648 mkdir .tst
2>/dev
/null
4649 if test -d .tst
; then
4654 rmdir .tst
2>/dev
/null
4656 DEPDIR
="${am__leading_dot}deps"
4658 ac_config_commands
="$ac_config_commands depfiles"
4661 am_make
=${MAKE-make}
4662 cat > confinc
<< 'END'
4664 @
echo this is the am__doit target
4667 # If we don't find an include directive, just comment out the code.
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4669 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4673 # First try GNU make style include.
4674 echo "include confinc" > confmf
4675 # Ignore all kinds of additional output from 'make'.
4676 case `$am_make -s -f confmf 2> /dev/null` in #(
4677 *the\ am__doit\ target
*)
4683 # Now try BSD make style include.
4684 if test "$am__include" = "#"; then
4685 echo '.include "confinc"' > confmf
4686 case `$am_make -s -f confmf 2> /dev/null` in #(
4687 *the\ am__doit\ target
*)
4688 am__include
=.include
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4697 $as_echo "$_am_result" >&6; }
4698 rm -f confinc confmf
4700 # Check whether --enable-dependency-tracking was given.
4701 if test "${enable_dependency_tracking+set}" = set; then :
4702 enableval
=$enable_dependency_tracking;
4705 if test "x$enable_dependency_tracking" != xno
; then
4706 am_depcomp
="$ac_aux_dir/depcomp"
4710 if test "x$enable_dependency_tracking" != xno; then
4719 # Check whether --enable-silent-rules was given.
4720 if test "${enable_silent_rules+set}" = set; then :
4721 enableval
=$enable_silent_rules;
4724 case $enable_silent_rules in # (((
4725 yes) AM_DEFAULT_VERBOSITY
=0;;
4726 no
) AM_DEFAULT_VERBOSITY
=1;;
4727 *) AM_DEFAULT_VERBOSITY
=1;;
4729 am_make
=${MAKE-make}
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4731 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4732 if ${am_cv_make_support_nested_variables+:} false
; then :
4733 $as_echo_n "(cached) " >&6
4735 if $as_echo 'TRUE=$(BAR$(V))
4741 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4742 am_cv_make_support_nested_variables
=yes
4744 am_cv_make_support_nested_variables
=no
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4748 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4749 if test $am_cv_make_support_nested_variables = yes; then
4751 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4753 AM_V
=$AM_DEFAULT_VERBOSITY
4754 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4758 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4759 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4760 # is not polluted with repeated "-I."
4761 am__isrc
=' -I$(srcdir)'
4762 # test to see if srcdir already configured
4763 if test -f $srcdir/config.status
; then
4764 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4768 # test whether we have cygpath
4769 if test -z "$CYGPATH_W"; then
4770 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4771 CYGPATH_W
='cygpath -w'
4778 # Define the identity of the package.
4779 PACKAGE
='package-unused'
4780 VERSION
='version-unused'
4783 cat >>confdefs.h
<<_ACEOF
4784 #define PACKAGE "$PACKAGE"
4788 cat >>confdefs.h
<<_ACEOF
4789 #define VERSION "$VERSION"
4792 # Some tools Automake needs.
4794 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4797 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4800 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4803 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4806 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4808 # For better backward compatibility. To be removed once Automake 1.9.x
4809 # dies out for good. For more background, see:
4810 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4811 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4812 mkdir_p
='$(MKDIR_P)'
4814 # We need awk for the "check" target (and possibly the TAP driver). The
4815 # system "awk" is bad on some platforms.
4816 # Always define AMTAR for backward compatibility. Yes, it's still used
4817 # in the wild :-( We should find a proper way to deprecate it ...
4821 # We'll loop over all known methods to create a tar archive until one works.
4822 _am_tools
='gnutar pax cpio none'
4824 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4830 depcc
="$CC" am_compiler_list
=
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4833 $as_echo_n "checking dependency style of $depcc... " >&6; }
4834 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4835 $as_echo_n "(cached) " >&6
4837 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4838 # We make a subdir and do the tests there. Otherwise we can end up
4839 # making bogus files that we don't know about and never remove. For
4840 # instance it was reported that on HP-UX the gcc test will end up
4841 # making a dummy file named 'D' -- because '-MD' means "put the output
4845 # Copy depcomp to subdir because otherwise we won't find it if we're
4846 # using a relative directory.
4847 cp "$am_depcomp" conftest.dir
4849 # We will build objects and dependencies in a subdirectory because
4850 # it helps to detect inapplicable dependency modes. For instance
4851 # both Tru64's cc and ICC support -MD to output dependencies as a
4852 # side effect of compilation, but ICC will put the dependencies in
4853 # the current directory while Tru64 will put them in the object
4857 am_cv_CC_dependencies_compiler_type
=none
4858 if test "$am_compiler_list" = ""; then
4859 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4862 case " $depcc " in #(
4863 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4866 for depmode
in $am_compiler_list; do
4867 # Setup a source with many dependencies, because some compilers
4868 # like to wrap large dependency lists on column 80 (with \), and
4869 # we should not choose a depcomp mode which is confused by this.
4871 # We need to recreate these files for each test, as the compiler may
4872 # overwrite some of them when testing with obscure command lines.
4873 # This happens at least with the AIX C compiler.
4875 for i
in 1 2 3 4 5 6; do
4876 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4877 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4878 # Solaris 10 /bin/sh.
4879 echo '/* dummy */' > sub
/conftst
$i.h
4881 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4883 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4884 # mode. It turns out that the SunPro C++ compiler does not properly
4885 # handle '-M -o', and we need to detect this. Also, some Intel
4886 # versions had trouble with output in subdirs.
4887 am__obj
=sub
/conftest.
${OBJEXT-o}
4888 am__minus_obj
="-o $am__obj"
4891 # This depmode causes a compiler race in universal mode.
4892 test "$am__universal" = false ||
continue
4895 # After this tag, mechanisms are not by side-effect, so they'll
4896 # only be used when explicitly requested.
4897 if test "x$enable_dependency_tracking" = xyes
; then
4903 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4904 # This compiler won't grok '-c -o', but also, the minuso test has
4905 # not run yet. These depmodes are late enough in the game, and
4906 # so weak that their functioning should not be impacted.
4907 am__obj
=conftest.
${OBJEXT-o}
4912 if depmode
=$depmode \
4913 source=sub
/conftest.c object
=$am__obj \
4914 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4915 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4916 >/dev
/null
2>conftest.err
&&
4917 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4918 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4919 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4920 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4921 # icc doesn't choke on unknown options, it will just issue warnings
4922 # or remarks (even with -Werror). So we grep stderr for any message
4923 # that says an option was ignored or not supported.
4924 # When given -MP, icc 7.0 and 7.1 complain thusly:
4925 # icc: Command line warning: ignoring option '-M'; no argument required
4926 # The diagnosis changed in icc 8.0:
4927 # icc: Command line remark: option '-MP' not supported
4928 if (grep 'ignoring option' conftest.err ||
4929 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4930 am_cv_CC_dependencies_compiler_type
=$depmode
4939 am_cv_CC_dependencies_compiler_type
=none
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4944 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4945 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4948 test "x$enable_dependency_tracking" != xno \
4949 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4951 am__fastdepCC_FALSE
='#'
4953 am__fastdepCC_TRUE
='#'
4954 am__fastdepCC_FALSE
=
4959 # POSIX will say in a future version that running "rm -f" with no argument
4960 # is OK; and we want to be able to make that assumption in our Makefile
4961 # recipes. So use an aggressive probe to check that the usage we want is
4962 # actually supported "in the wild" to an acceptable degree.
4963 # See automake bug#10828.
4964 # To make any issue more visible, cause the running configure to be aborted
4965 # by default if the 'rm' program in use doesn't match our expectations; the
4966 # user can still override this though.
4967 if rm -f && rm -fr && rm -rf; then : OK
; else
4971 Your 'rm' program seems unable to run without file operands specified
4972 on the command line, even when the '-f' option is present. This is contrary
4973 to the behaviour of most rm programs out there, and not conforming with
4974 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4976 Please tell bug-automake@gnu.org about your system, including the value
4977 of your $PATH and any error possibly output before this message. This
4978 can help us improve future automake versions.
4981 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4982 echo 'Configuration will proceed anyway, since you have set the' >&2
4983 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4987 Aborting the configuration process, to ensure you take notice of the issue.
4989 You can download and install GNU coreutils to get an 'rm' implementation
4990 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4992 If you want to complete the configuration process using your problematic
4993 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4994 to "yes", and re-run configure.
4997 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5003 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5004 # Check whether --enable-maintainer-mode was given.
5005 if test "${enable_maintainer_mode+set}" = set; then :
5006 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5008 USE_MAINTAINER_MODE
=no
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5012 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5013 if test $USE_MAINTAINER_MODE = yes; then
5014 MAINTAINER_MODE_TRUE
=
5015 MAINTAINER_MODE_FALSE
='#'
5017 MAINTAINER_MODE_TRUE
='#'
5018 MAINTAINER_MODE_FALSE
=
5021 MAINT
=$MAINTAINER_MODE_TRUE
5026 # Check whether --with-toolexeclibdir was given.
5027 if test "${with_toolexeclibdir+set}" = set; then :
5028 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5032 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5036 with_toolexeclibdir
=no
5041 # Calculate toolexeclibdir
5042 # Also toolexecdir, though it's only used in toolexeclibdir
5043 case ${version_specific_libs} in
5045 # Need the gcc compiler version to know where to install libraries
5046 # and header files if --enable-version-specific-runtime-libs option
5048 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5049 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5052 if test -n "$with_cross_host" &&
5053 test x
"$with_cross_host" != x
"no"; then
5054 # Install a library built with a cross compiler in tooldir, not libdir.
5055 toolexecdir
='$(exec_prefix)/$(target_alias)'
5056 case ${with_toolexeclibdir} in
5058 toolexeclibdir
='$(toolexecdir)/lib'
5061 toolexeclibdir
=${with_toolexeclibdir}
5065 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5066 toolexeclibdir
='$(libdir)'
5068 multi_os_directory
=`$CC -print-multi-os-directory`
5069 case $multi_os_directory in
5070 .
) ;; # Avoid trailing /.
5071 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5078 # Checks for programs.
5080 ac_cpp
='$CPP $CPPFLAGS'
5081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5084 if test -n "$ac_tool_prefix"; then
5085 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5086 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_prog_CC+:} false
; then :
5090 $as_echo_n "(cached) " >&6
5092 if test -n "$CC"; then
5093 ac_cv_prog_CC
="$CC" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 if test -n "$CC"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5115 $as_echo "$CC" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5123 if test -z "$ac_cv_prog_CC"; then
5125 # Extract the first word of "gcc", so it can be a program name with args.
5126 set dummy gcc
; ac_word
=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5130 $as_echo_n "(cached) " >&6
5132 if test -n "$ac_ct_CC"; then
5133 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5142 ac_cv_prog_ac_ct_CC
="gcc"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5153 if test -n "$ac_ct_CC"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5155 $as_echo "$ac_ct_CC" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5161 if test "x$ac_ct_CC" = x
; then
5164 case $cross_compiling:$ac_tool_warned in
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5168 ac_tool_warned
=yes ;;
5176 if test -z "$CC"; then
5177 if test -n "$ac_tool_prefix"; then
5178 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5179 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_CC+:} false
; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -n "$CC"; then
5186 ac_cv_prog_CC
="$CC" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 if test -n "$CC"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5208 $as_echo "$CC" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5217 if test -z "$CC"; then
5218 # Extract the first word of "cc", so it can be a program name with args.
5219 set dummy cc
; ac_word
=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_CC+:} false
; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$CC"; then
5226 ac_cv_prog_CC
="$CC" # Let the user override the test.
5229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5233 test -z "$as_dir" && as_dir
=.
5234 for ac_exec_ext
in '' $ac_executable_extensions; do
5235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5236 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5237 ac_prog_rejected
=yes
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 if test $ac_prog_rejected = yes; then
5249 # We found a bogon in the path, so make sure we never use it.
5250 set dummy
$ac_cv_prog_CC
5252 if test $# != 0; then
5253 # We chose a different compiler from the bogus one.
5254 # However, it has the same basename, so the bogon will be chosen
5255 # first if we set CC to just the basename; use the full file name.
5257 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5263 if test -n "$CC"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5265 $as_echo "$CC" >&6; }
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5273 if test -z "$CC"; then
5274 if test -n "$ac_tool_prefix"; then
5275 for ac_prog
in cl.exe
5277 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5278 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_CC+:} false
; then :
5282 $as_echo_n "(cached) " >&6
5284 if test -n "$CC"; then
5285 ac_cv_prog_CC
="$CC" # Let the user override the test.
5287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir
=.
5292 for ac_exec_ext
in '' $ac_executable_extensions; do
5293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 if test -n "$CC"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5307 $as_echo "$CC" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5314 test -n "$CC" && break
5317 if test -z "$CC"; then
5319 for ac_prog
in cl.exe
5321 # Extract the first word of "$ac_prog", so it can be a program name with args.
5322 set dummy
$ac_prog; ac_word
=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5328 if test -n "$ac_ct_CC"; then
5329 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir
=.
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_ac_ct_CC
="$ac_prog"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5349 if test -n "$ac_ct_CC"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5351 $as_echo "$ac_ct_CC" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5358 test -n "$ac_ct_CC" && break
5361 if test "x$ac_ct_CC" = x
; then
5364 case $cross_compiling:$ac_tool_warned in
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5368 ac_tool_warned
=yes ;;
5377 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5379 as_fn_error $?
"no acceptable C compiler found in \$PATH
5380 See \`config.log' for more details" "$LINENO" 5; }
5382 # Provide some information about the compiler.
5383 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5386 for ac_option
in --version -v -V -qversion; do
5387 { { ac_try
="$ac_compiler $ac_option >&5"
5389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5390 *) ac_try_echo=$ac_try;;
5392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5393 $as_echo "$ac_try_echo"; } >&5
5394 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5396 if test -s conftest.err; then
5398 ... rest of stderr output deleted ...
5399 10q' conftest.err >conftest.er1
5400 cat conftest.er1 >&5
5402 rm -f conftest.er1 conftest.err
5403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5404 test $ac_status = 0; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5408 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5409 if ${ac_cv_c_compiler_gnu+:} false; then :
5410 $as_echo_n "(cached) " >&6
5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h. */
5426 if ac_fn_c_try_compile "$LINENO"; then :
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5436 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5437 if test $ac_compiler_gnu = yes; then
5442 ac_test_CFLAGS=${CFLAGS+set}
5443 ac_save_CFLAGS=$CFLAGS
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5445 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5446 if ${ac_cv_prog_cc_g+:} false; then :
5447 $as_echo_n "(cached) " >&6
5449 ac_save_c_werror_flag=$ac_c_werror_flag
5450 ac_c_werror_flag=yes
5453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5454 /* end confdefs.h. */
5464 if ac_fn_c_try_compile "$LINENO"; then :
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5479 if ac_fn_c_try_compile "$LINENO"; then :
5482 ac_c_werror_flag=$ac_save_c_werror_flag
5484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5485 /* end confdefs.h. */
5495 if ac_fn_c_try_compile "$LINENO"; then :
5498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5503 ac_c_werror_flag=$ac_save_c_werror_flag
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5506 $as_echo "$ac_cv_prog_cc_g" >&6; }
5507 if test "$ac_test_CFLAGS" = set; then
5508 CFLAGS=$ac_save_CFLAGS
5509 elif test $ac_cv_prog_cc_g = yes; then
5510 if test "$GCC" = yes; then
5516 if test "$GCC" = yes; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5523 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5524 if ${ac_cv_prog_cc_c89+:} false; then :
5525 $as_echo_n "(cached) " >&6
5527 ac_cv_prog_cc_c89=no
5529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5530 /* end confdefs.h. */
5534 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5535 struct buf { int x; };
5536 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5537 static char *e (p, i)
5543 static char *f (char * (*g) (char **, int), char **p, ...)
5548 s = g (p, va_arg (v,int));
5553 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5554 function prototypes and stuff, but not '\xHH' hex character constants.
5555 These don't provoke an error unfortunately, instead are silently treated
5556 as 'x'. The following induces an error, until -std is added to get
5557 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5558 array size at least. It's necessary to write '\x00'==0 to get something
5559 that's true only with -std. */
5560 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5562 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5563 inside strings and character constants. */
5565 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5567 int test (int i, double x);
5568 struct s1 {int (*f) (int a);};
5569 struct s2 {int (*f) (double a);};
5570 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5576 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5581 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5582 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5584 CC="$ac_save_CC $ac_arg"
5585 if ac_fn_c_try_compile "$LINENO"; then :
5586 ac_cv_prog_cc_c89=$ac_arg
5588 rm -f core conftest.err conftest.$ac_objext
5589 test "x$ac_cv_prog_cc_c89" != "xno" && break
5591 rm -f conftest.$ac_ext
5596 case "x$ac_cv_prog_cc_c89" in
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5599 $as_echo "none needed" >&6; } ;;
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5602 $as_echo "unsupported" >&6; } ;;
5604 CC="$CC $ac_cv_prog_cc_c89"
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5606 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5608 if test "x$ac_cv_prog_cc_c89" != xno; then :
5613 ac_cpp='$CPP $CPPFLAGS'
5614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5619 ac_cpp='$CPP $CPPFLAGS'
5620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5624 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5625 if ${am_cv_prog_cc_c_o+:} false; then :
5626 $as_echo_n "(cached) " >&6
5628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5629 /* end confdefs.h. */
5639 # Make sure it works both with $CC and with simple cc.
5640 # Following AC_PROG_CC_C_O, we do the test twice because some
5641 # compilers refuse to overwrite an existing .o file with -o,
5642 # though they will create one.
5643 am_cv_prog_cc_c_o=yes
5645 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5646 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); } \
5650 && test -f conftest2.$ac_objext; then
5653 am_cv_prog_cc_c_o=no
5657 rm -f core conftest*
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5661 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5662 if test "$am_cv_prog_cc_c_o" != yes; then
5663 # Losing compiler, so override with the script.
5664 # FIXME: It is wrong to rewrite CC.
5665 # But if we don't then we get into trouble of one sort or another.
5666 # A longer-term fix would be to have automake use am__CC in this case,
5667 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5668 CC="$am_aux_dir/compile $CC"
5671 ac_cpp='$CPP $CPPFLAGS'
5672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5678 ac_cpp='$CXXCPP $CPPFLAGS'
5679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5682 if test -z "$CXX"; then
5683 if test -n "$CCC"; then
5686 if test -n "$ac_tool_prefix"; then
5687 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5689 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_CXX+:} false; then :
5694 $as_echo_n "(cached) " >&6
5696 if test -n "$CXX"; then
5697 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5717 if test -n "$CXX"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5719 $as_echo "$CXX" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5726 test -n "$CXX" && break
5729 if test -z "$CXX"; then
5731 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5733 # Extract the first word of "$ac_prog", so it can be a program name with args.
5734 set dummy $ac_prog; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5738 $as_echo_n "(cached) " >&6
5740 if test -n "$ac_ct_CXX"; then
5741 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5750 ac_cv_prog_ac_ct_CXX="$ac_prog"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5761 if test -n "$ac_ct_CXX"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5763 $as_echo "$ac_ct_CXX" >&6; }
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5770 test -n "$ac_ct_CXX" && break
5773 if test "x$ac_ct_CXX" = x; then
5776 case $cross_compiling:$ac_tool_warned in
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5780 ac_tool_warned=yes ;;
5788 # Provide some information about the compiler.
5789 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5792 for ac_option in --version -v -V -qversion; do
5793 { { ac_try="$ac_compiler $ac_option >&5"
5795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5796 *) ac_try_echo
=$ac_try;;
5798 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5799 $as_echo "$ac_try_echo"; } >&5
5800 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5802 if test -s conftest.err
; then
5804 ... rest of stderr output deleted ...
5805 10q' conftest.err
>conftest.er1
5806 cat conftest.er1
>&5
5808 rm -f conftest.er1 conftest.err
5809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5810 test $ac_status = 0; }
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5814 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5815 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5816 $as_echo_n "(cached) " >&6
5818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5819 /* end confdefs.h. */
5832 if ac_fn_cxx_try_compile
"$LINENO"; then :
5837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5838 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5842 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5843 if test $ac_compiler_gnu = yes; then
5848 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5849 ac_save_CXXFLAGS
=$CXXFLAGS
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5851 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5852 if ${ac_cv_prog_cxx_g+:} false
; then :
5853 $as_echo_n "(cached) " >&6
5855 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5856 ac_cxx_werror_flag
=yes
5859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5860 /* end confdefs.h. */
5870 if ac_fn_cxx_try_compile
"$LINENO"; then :
5871 ac_cv_prog_cxx_g
=yes
5874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5885 if ac_fn_cxx_try_compile
"$LINENO"; then :
5888 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5891 /* end confdefs.h. */
5901 if ac_fn_cxx_try_compile
"$LINENO"; then :
5902 ac_cv_prog_cxx_g
=yes
5904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5909 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5912 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5913 if test "$ac_test_CXXFLAGS" = set; then
5914 CXXFLAGS
=$ac_save_CXXFLAGS
5915 elif test $ac_cv_prog_cxx_g = yes; then
5916 if test "$GXX" = yes; then
5922 if test "$GXX" = yes; then
5929 ac_cpp
='$CPP $CPPFLAGS'
5930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5934 depcc
="$CXX" am_compiler_list
=
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5937 $as_echo_n "checking dependency style of $depcc... " >&6; }
5938 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5939 $as_echo_n "(cached) " >&6
5941 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5942 # We make a subdir and do the tests there. Otherwise we can end up
5943 # making bogus files that we don't know about and never remove. For
5944 # instance it was reported that on HP-UX the gcc test will end up
5945 # making a dummy file named 'D' -- because '-MD' means "put the output
5949 # Copy depcomp to subdir because otherwise we won't find it if we're
5950 # using a relative directory.
5951 cp "$am_depcomp" conftest.dir
5953 # We will build objects and dependencies in a subdirectory because
5954 # it helps to detect inapplicable dependency modes. For instance
5955 # both Tru64's cc and ICC support -MD to output dependencies as a
5956 # side effect of compilation, but ICC will put the dependencies in
5957 # the current directory while Tru64 will put them in the object
5961 am_cv_CXX_dependencies_compiler_type
=none
5962 if test "$am_compiler_list" = ""; then
5963 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5966 case " $depcc " in #(
5967 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5970 for depmode
in $am_compiler_list; do
5971 # Setup a source with many dependencies, because some compilers
5972 # like to wrap large dependency lists on column 80 (with \), and
5973 # we should not choose a depcomp mode which is confused by this.
5975 # We need to recreate these files for each test, as the compiler may
5976 # overwrite some of them when testing with obscure command lines.
5977 # This happens at least with the AIX C compiler.
5979 for i
in 1 2 3 4 5 6; do
5980 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5981 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5982 # Solaris 10 /bin/sh.
5983 echo '/* dummy */' > sub
/conftst
$i.h
5985 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5987 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5988 # mode. It turns out that the SunPro C++ compiler does not properly
5989 # handle '-M -o', and we need to detect this. Also, some Intel
5990 # versions had trouble with output in subdirs.
5991 am__obj
=sub
/conftest.
${OBJEXT-o}
5992 am__minus_obj
="-o $am__obj"
5995 # This depmode causes a compiler race in universal mode.
5996 test "$am__universal" = false ||
continue
5999 # After this tag, mechanisms are not by side-effect, so they'll
6000 # only be used when explicitly requested.
6001 if test "x$enable_dependency_tracking" = xyes
; then
6007 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6008 # This compiler won't grok '-c -o', but also, the minuso test has
6009 # not run yet. These depmodes are late enough in the game, and
6010 # so weak that their functioning should not be impacted.
6011 am__obj
=conftest.
${OBJEXT-o}
6016 if depmode
=$depmode \
6017 source=sub
/conftest.c object
=$am__obj \
6018 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6019 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6020 >/dev
/null
2>conftest.err
&&
6021 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6022 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6023 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6024 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6025 # icc doesn't choke on unknown options, it will just issue warnings
6026 # or remarks (even with -Werror). So we grep stderr for any message
6027 # that says an option was ignored or not supported.
6028 # When given -MP, icc 7.0 and 7.1 complain thusly:
6029 # icc: Command line warning: ignoring option '-M'; no argument required
6030 # The diagnosis changed in icc 8.0:
6031 # icc: Command line remark: option '-MP' not supported
6032 if (grep 'ignoring option' conftest.err ||
6033 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6034 am_cv_CXX_dependencies_compiler_type
=$depmode
6043 am_cv_CXX_dependencies_compiler_type
=none
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6048 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6049 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6052 test "x$enable_dependency_tracking" != xno \
6053 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6054 am__fastdepCXX_TRUE
=
6055 am__fastdepCXX_FALSE
='#'
6057 am__fastdepCXX_TRUE
='#'
6058 am__fastdepCXX_FALSE
=
6062 # By default we simply use the C compiler to build assembly code.
6064 test "${CCAS+set}" = set || CCAS
=$CC
6065 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
6069 depcc
="$CCAS" am_compiler_list
=
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6072 $as_echo_n "checking dependency style of $depcc... " >&6; }
6073 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
6074 $as_echo_n "(cached) " >&6
6076 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6077 # We make a subdir and do the tests there. Otherwise we can end up
6078 # making bogus files that we don't know about and never remove. For
6079 # instance it was reported that on HP-UX the gcc test will end up
6080 # making a dummy file named 'D' -- because '-MD' means "put the output
6084 # Copy depcomp to subdir because otherwise we won't find it if we're
6085 # using a relative directory.
6086 cp "$am_depcomp" conftest.dir
6088 # We will build objects and dependencies in a subdirectory because
6089 # it helps to detect inapplicable dependency modes. For instance
6090 # both Tru64's cc and ICC support -MD to output dependencies as a
6091 # side effect of compilation, but ICC will put the dependencies in
6092 # the current directory while Tru64 will put them in the object
6096 am_cv_CCAS_dependencies_compiler_type
=none
6097 if test "$am_compiler_list" = ""; then
6098 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6103 for depmode
in $am_compiler_list; do
6104 # Setup a source with many dependencies, because some compilers
6105 # like to wrap large dependency lists on column 80 (with \), and
6106 # we should not choose a depcomp mode which is confused by this.
6108 # We need to recreate these files for each test, as the compiler may
6109 # overwrite some of them when testing with obscure command lines.
6110 # This happens at least with the AIX C compiler.
6112 for i
in 1 2 3 4 5 6; do
6113 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6114 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6115 # Solaris 10 /bin/sh.
6116 echo '/* dummy */' > sub
/conftst
$i.h
6118 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6120 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6121 # mode. It turns out that the SunPro C++ compiler does not properly
6122 # handle '-M -o', and we need to detect this. Also, some Intel
6123 # versions had trouble with output in subdirs.
6124 am__obj
=sub
/conftest.
${OBJEXT-o}
6125 am__minus_obj
="-o $am__obj"
6128 # This depmode causes a compiler race in universal mode.
6129 test "$am__universal" = false ||
continue
6132 # After this tag, mechanisms are not by side-effect, so they'll
6133 # only be used when explicitly requested.
6134 if test "x$enable_dependency_tracking" = xyes
; then
6140 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6141 # This compiler won't grok '-c -o', but also, the minuso test has
6142 # not run yet. These depmodes are late enough in the game, and
6143 # so weak that their functioning should not be impacted.
6144 am__obj
=conftest.
${OBJEXT-o}
6149 if depmode
=$depmode \
6150 source=sub
/conftest.c object
=$am__obj \
6151 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6152 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6153 >/dev
/null
2>conftest.err
&&
6154 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6155 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6156 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6157 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6158 # icc doesn't choke on unknown options, it will just issue warnings
6159 # or remarks (even with -Werror). So we grep stderr for any message
6160 # that says an option was ignored or not supported.
6161 # When given -MP, icc 7.0 and 7.1 complain thusly:
6162 # icc: Command line warning: ignoring option '-M'; no argument required
6163 # The diagnosis changed in icc 8.0:
6164 # icc: Command line remark: option '-MP' not supported
6165 if (grep 'ignoring option' conftest.err ||
6166 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6167 am_cv_CCAS_dependencies_compiler_type
=$depmode
6176 am_cv_CCAS_dependencies_compiler_type
=none
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6181 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6182 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
6185 test "x$enable_dependency_tracking" != xno \
6186 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
6187 am__fastdepCCAS_TRUE
=
6188 am__fastdepCCAS_FALSE
='#'
6190 am__fastdepCCAS_TRUE
='#'
6191 am__fastdepCCAS_FALSE
=
6195 if test -n "$ac_tool_prefix"; then
6196 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6197 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6199 $as_echo_n "checking for $ac_word... " >&6; }
6200 if ${ac_cv_prog_RANLIB+:} false
; then :
6201 $as_echo_n "(cached) " >&6
6203 if test -n "$RANLIB"; then
6204 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir
=.
6211 for ac_exec_ext
in '' $ac_executable_extensions; do
6212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6213 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 RANLIB
=$ac_cv_prog_RANLIB
6224 if test -n "$RANLIB"; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6226 $as_echo "$RANLIB" >&6; }
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 $as_echo "no" >&6; }
6234 if test -z "$ac_cv_prog_RANLIB"; then
6235 ac_ct_RANLIB
=$RANLIB
6236 # Extract the first word of "ranlib", so it can be a program name with args.
6237 set dummy ranlib
; ac_word
=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6241 $as_echo_n "(cached) " >&6
6243 if test -n "$ac_ct_RANLIB"; then
6244 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir
=.
6251 for ac_exec_ext
in '' $ac_executable_extensions; do
6252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6253 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6264 if test -n "$ac_ct_RANLIB"; then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6266 $as_echo "$ac_ct_RANLIB" >&6; }
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 $as_echo "no" >&6; }
6272 if test "x$ac_ct_RANLIB" = x
; then
6275 case $cross_compiling:$ac_tool_warned in
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6279 ac_tool_warned
=yes ;;
6281 RANLIB
=$ac_ct_RANLIB
6284 RANLIB
="$ac_cv_prog_RANLIB"
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6295 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6300 macro_version
='2.2.7a'
6301 macro_revision
='1.3134'
6315 ltmain
="$ac_aux_dir/ltmain.sh"
6317 # Backslashify metacharacters that are still active within
6318 # double-quoted strings.
6319 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6321 # Same as above, but do not quote variable references.
6322 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6324 # Sed substitution to delay expansion of an escaped shell variable in a
6325 # double_quote_subst'ed string.
6326 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6328 # Sed substitution to delay expansion of an escaped single quote.
6329 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6331 # Sed substitution to avoid accidental globbing in evaled expressions
6332 no_glob_subst
='s/\*/\\\*/g'
6334 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6335 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6336 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6339 $as_echo_n "checking how to print strings... " >&6; }
6340 # Test print first, because it will be a builtin if present.
6341 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6342 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6344 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6347 # Use this function as a fallback that always works.
6348 func_fallback_echo ()
6350 eval 'cat <<_LTECHO_EOF
6354 ECHO='func_fallback_echo
'
6357 # func_echo_all arg...
6358 # Invoke $ECHO with all args, space-separated.
6365 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6366 $as_echo "printf" >&6; } ;;
6367 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6368 $as_echo "print -r" >&6; } ;;
6369 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6370 $as_echo "cat" >&6; } ;;
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6387 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6388 if ${ac_cv_path_SED+:} false; then :
6389 $as_echo_n "(cached) " >&6
6391 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6392 for ac_i in 1 2 3 4 5 6 7; do
6393 ac_script="$ac_script$as_nl$ac_script"
6395 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6396 { ac_script=; unset ac_script;}
6397 if test -z "$SED"; then
6398 ac_path_SED_found=false
6399 # Loop through the user's path and
test for each of PROGNAME-LIST
6400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6404 test -z "$as_dir" && as_dir
=.
6405 for ac_prog
in sed gsed
; do
6406 for ac_exec_ext
in '' $ac_executable_extensions; do
6407 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6408 as_fn_executable_p
"$ac_path_SED" ||
continue
6409 # Check for GNU ac_path_SED and select it if it is found.
6410 # Check for GNU $ac_path_SED
6411 case `"$ac_path_SED" --version 2>&1` in
6413 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6416 $as_echo_n 0123456789 >"conftest.in"
6419 cat "conftest.in" "conftest.in" >"conftest.tmp"
6420 mv "conftest.tmp" "conftest.in"
6421 cp "conftest.in" "conftest.nl"
6422 $as_echo '' >> "conftest.nl"
6423 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6424 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6425 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6426 if test $ac_count -gt ${ac_path_SED_max-0}; then
6427 # Best one so far, save it but keep looking for a better one
6428 ac_cv_path_SED
="$ac_path_SED"
6429 ac_path_SED_max
=$ac_count
6431 # 10*(2^10) chars as input seems more than enough
6432 test $ac_count -gt 10 && break
6434 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6437 $ac_path_SED_found && break 3
6442 if test -z "$ac_cv_path_SED"; then
6443 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6451 $as_echo "$ac_cv_path_SED" >&6; }
6452 SED
="$ac_cv_path_SED"
6455 test -z "$SED" && SED
=sed
6456 Xsed
="$SED -e 1s/^X//"
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6469 $as_echo_n "checking for fgrep... " >&6; }
6470 if ${ac_cv_path_FGREP+:} false
; then :
6471 $as_echo_n "(cached) " >&6
6473 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6474 then ac_cv_path_FGREP
="$GREP -F"
6476 if test -z "$FGREP"; then
6477 ac_path_FGREP_found
=false
6478 # Loop through the user's path and test for each of PROGNAME-LIST
6479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6480 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6483 test -z "$as_dir" && as_dir
=.
6484 for ac_prog
in fgrep
; do
6485 for ac_exec_ext
in '' $ac_executable_extensions; do
6486 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6487 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6488 # Check for GNU ac_path_FGREP and select it if it is found.
6489 # Check for GNU $ac_path_FGREP
6490 case `"$ac_path_FGREP" --version 2>&1` in
6492 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6495 $as_echo_n 0123456789 >"conftest.in"
6498 cat "conftest.in" "conftest.in" >"conftest.tmp"
6499 mv "conftest.tmp" "conftest.in"
6500 cp "conftest.in" "conftest.nl"
6501 $as_echo 'FGREP' >> "conftest.nl"
6502 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6503 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6504 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6505 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6506 # Best one so far, save it but keep looking for a better one
6507 ac_cv_path_FGREP
="$ac_path_FGREP"
6508 ac_path_FGREP_max
=$ac_count
6510 # 10*(2^10) chars as input seems more than enough
6511 test $ac_count -gt 10 && break
6513 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6516 $ac_path_FGREP_found && break 3
6521 if test -z "$ac_cv_path_FGREP"; then
6522 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6525 ac_cv_path_FGREP
=$FGREP
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6531 $as_echo "$ac_cv_path_FGREP" >&6; }
6532 FGREP
="$ac_cv_path_FGREP"
6535 test -z "$GREP" && GREP
=grep
6555 # Check whether --with-gnu-ld was given.
6556 if test "${with_gnu_ld+set}" = set; then :
6557 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6563 if test "$GCC" = yes; then
6564 # Check if gcc -print-prog-name=ld gives a path.
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6566 $as_echo_n "checking for ld used by $CC... " >&6; }
6569 # gcc leaves a trailing carriage return which upsets mingw
6570 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6572 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6575 # Accept absolute paths.
6577 re_direlt
='/[^/][^/]*/\.\./'
6578 # Canonicalize the pathname of ld
6579 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6580 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6581 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6583 test -z "$LD" && LD
="$ac_prog"
6586 # If it fails, then pretend we aren't using GCC.
6590 # If it is relative, then search for the first ld in PATH.
6594 elif test "$with_gnu_ld" = yes; then
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6596 $as_echo_n "checking for GNU ld... " >&6; }
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6599 $as_echo_n "checking for non-GNU ld... " >&6; }
6601 if ${lt_cv_path_LD+:} false
; then :
6602 $as_echo_n "(cached) " >&6
6604 if test -z "$LD"; then
6605 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6606 for ac_dir
in $PATH; do
6608 test -z "$ac_dir" && ac_dir
=.
6609 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6610 lt_cv_path_LD
="$ac_dir/$ac_prog"
6611 # Check to see if the program is GNU ld. I'd rather use --version,
6612 # but apparently some variants of GNU ld only accept -v.
6613 # Break only if it was the GNU/non-GNU ld that we prefer.
6614 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6615 *GNU
* |
*'with BFD'*)
6616 test "$with_gnu_ld" != no
&& break
6619 test "$with_gnu_ld" != yes && break
6626 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6631 if test -n "$LD"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6633 $as_echo "$LD" >&6; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6638 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6640 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6641 if ${lt_cv_prog_gnu_ld+:} false
; then :
6642 $as_echo_n "(cached) " >&6
6644 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6645 case `$LD -v 2>&1 </dev/null` in
6646 *GNU
* |
*'with BFD'*)
6647 lt_cv_prog_gnu_ld
=yes
6650 lt_cv_prog_gnu_ld
=no
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6655 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6656 with_gnu_ld
=$lt_cv_prog_gnu_ld
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6667 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6668 if ${lt_cv_path_NM+:} false
; then :
6669 $as_echo_n "(cached) " >&6
6671 if test -n "$NM"; then
6672 # Let the user override the test.
6675 lt_nm_to_check
="${ac_tool_prefix}nm"
6676 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6677 lt_nm_to_check
="$lt_nm_to_check nm"
6679 for lt_tmp_nm
in $lt_nm_to_check; do
6680 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6681 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6683 test -z "$ac_dir" && ac_dir
=.
6684 tmp_nm
="$ac_dir/$lt_tmp_nm"
6685 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6686 # Check to see if the nm accepts a BSD-compat flag.
6687 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6688 # nm: unknown option "B" ignored
6689 # Tru64's nm complains that /dev/null is an invalid object file
6690 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6691 */dev
/null
* |
*'Invalid file or object type'*)
6692 lt_cv_path_NM
="$tmp_nm -B"
6696 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6698 lt_cv_path_NM
="$tmp_nm -p"
6702 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6703 continue # so that we can try to find one that supports BSD flags
6712 : ${lt_cv_path_NM=no}
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6716 $as_echo "$lt_cv_path_NM" >&6; }
6717 if test "$lt_cv_path_NM" != "no"; then
6720 # Didn't find any BSD compatible name lister, look for dumpbin.
6721 if test -n "$DUMPBIN"; then :
6722 # Let the user override the test.
6724 if test -n "$ac_tool_prefix"; then
6725 for ac_prog
in dumpbin
"link -dump"
6727 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6728 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 $as_echo_n "checking for $ac_word... " >&6; }
6731 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6732 $as_echo_n "(cached) " >&6
6734 if test -n "$DUMPBIN"; then
6735 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6741 test -z "$as_dir" && as_dir
=.
6742 for ac_exec_ext
in '' $ac_executable_extensions; do
6743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6744 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754 DUMPBIN
=$ac_cv_prog_DUMPBIN
6755 if test -n "$DUMPBIN"; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6757 $as_echo "$DUMPBIN" >&6; }
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6764 test -n "$DUMPBIN" && break
6767 if test -z "$DUMPBIN"; then
6768 ac_ct_DUMPBIN
=$DUMPBIN
6769 for ac_prog
in dumpbin
"link -dump"
6771 # Extract the first word of "$ac_prog", so it can be a program name with args.
6772 set dummy
$ac_prog; ac_word
=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6776 $as_echo_n "(cached) " >&6
6778 if test -n "$ac_ct_DUMPBIN"; then
6779 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6785 test -z "$as_dir" && as_dir
=.
6786 for ac_exec_ext
in '' $ac_executable_extensions; do
6787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6799 if test -n "$ac_ct_DUMPBIN"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6801 $as_echo "$ac_ct_DUMPBIN" >&6; }
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6808 test -n "$ac_ct_DUMPBIN" && break
6811 if test "x$ac_ct_DUMPBIN" = x
; then
6814 case $cross_compiling:$ac_tool_warned in
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6818 ac_tool_warned
=yes ;;
6820 DUMPBIN
=$ac_ct_DUMPBIN
6824 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6826 DUMPBIN
="$DUMPBIN -symbols"
6834 if test "$DUMPBIN" != ":"; then
6838 test -z "$NM" && NM
=nm
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6846 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6847 if ${lt_cv_nm_interface+:} false
; then :
6848 $as_echo_n "(cached) " >&6
6850 lt_cv_nm_interface
="BSD nm"
6851 echo "int some_variable = 0;" > conftest.
$ac_ext
6852 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6853 (eval "$ac_compile" 2>conftest.err
)
6854 cat conftest.err
>&5
6855 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6856 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6857 cat conftest.err
>&5
6858 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6859 cat conftest.out
>&5
6860 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6861 lt_cv_nm_interface
="MS dumpbin"
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6866 $as_echo "$lt_cv_nm_interface" >&6; }
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6869 $as_echo_n "checking whether ln -s works... " >&6; }
6871 if test "$LN_S" = "ln -s"; then
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6873 $as_echo "yes" >&6; }
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6876 $as_echo "no, using $LN_S" >&6; }
6879 # find the maximum length of command line arguments
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6881 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6882 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6883 $as_echo_n "(cached) " >&6
6890 # On DJGPP, this test can blow up pretty badly due to problems in libc
6891 # (any single argument exceeding 2000 bytes causes a buffer overrun
6892 # during glob expansion). Even if it were fixed, the result of this
6893 # check would be larger than it should be.
6894 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6898 # Under GNU Hurd, this test is not required because there is
6899 # no limit to the length of command line arguments.
6900 # Libtool will interpret -1 as no limit whatsoever
6901 lt_cv_sys_max_cmd_len
=-1;
6904 cygwin
* | mingw
* | cegcc
*)
6905 # On Win9x/ME, this test blows up -- it succeeds, but takes
6906 # about 5 minutes as the teststring grows exponentially.
6907 # Worse, since 9x/ME are not pre-emptively multitasking,
6908 # you end up with a "frozen" computer, even though with patience
6909 # the test eventually succeeds (with a max line length of 256k).
6910 # Instead, let's just punt: use the minimum linelength reported by
6911 # all of the supported platforms: 8192 (on NT/2K/XP).
6912 lt_cv_sys_max_cmd_len
=8192;
6916 # On MiNT this can take a long time and run out of memory.
6917 lt_cv_sys_max_cmd_len
=8192;
6921 # On AmigaOS with pdksh, this test takes hours, literally.
6922 # So we just punt and use a minimum line length of 8192.
6923 lt_cv_sys_max_cmd_len
=8192;
6926 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6927 # This has been around since 386BSD, at least. Likely further.
6928 if test -x /sbin
/sysctl
; then
6929 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6930 elif test -x /usr
/sbin
/sysctl
; then
6931 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6933 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6935 # And add a safety zone
6936 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6937 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6941 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6942 lt_cv_sys_max_cmd_len
=196608
6946 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6947 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6948 # nice to cause kernel panics so lets avoid the loop below.
6949 # First set a reasonable default.
6950 lt_cv_sys_max_cmd_len
=16384
6952 if test -x /sbin
/sysconfig
; then
6953 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6954 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6959 lt_cv_sys_max_cmd_len
=102400
6961 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6962 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6963 if test -n "$kargmax"; then
6964 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6966 lt_cv_sys_max_cmd_len
=32768
6970 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6971 if test -n "$lt_cv_sys_max_cmd_len"; then
6972 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6973 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6975 # Make teststring a little bigger before we do anything with it.
6976 # a 1K string should be a reasonable start.
6977 for i
in 1 2 3 4 5 6 7 8 ; do
6978 teststring
=$teststring$teststring
6980 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6981 # If test is not a shell built-in, we'll probably end up computing a
6982 # maximum length that is only half of the actual maximum length, but
6984 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6985 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6986 test $i != 17 # 1/2 MB should be enough
6989 teststring
=$teststring$teststring
6991 # Only check the string length outside the loop.
6992 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6994 # Add a significant safety factor because C++ compilers can tack on
6995 # massive amounts of additional arguments before passing them to the
6996 # linker. It appears as though 1/2 is a usable value.
6997 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7004 if test -n $lt_cv_sys_max_cmd_len ; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7006 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7009 $as_echo "none" >&6; }
7011 max_cmd_len
=$lt_cv_sys_max_cmd_len
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7023 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7024 # Try some XSI features
7027 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7029 && eval 'test $(( 1 + 1 )) -eq 2 \
7030 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7033 $as_echo "$xsi_shell" >&6; }
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7037 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7039 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7041 && lt_shell_append=yes
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7043 $as_echo "$lt_shell_append" >&6; }
7046 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7056 # test EBCDIC or ASCII
7057 case `echo X|tr X '\101'` in
7058 A) # ASCII based system
7059 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7060 lt_SP2NL='tr \040 \012'
7061 lt_NL2SP='tr \015\012 \040\040'
7063 *) # EBCDIC based system
7064 lt_SP2NL='tr \100 \n'
7065 lt_NL2SP='tr \r\n \100\100'
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7078 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7079 if ${lt_cv_ld_reload_flag+:} false; then :
7080 $as_echo_n "(cached
) " >&6
7082 lt_cv_ld_reload_flag='-r'
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7085 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7086 reload_flag=$lt_cv_ld_reload_flag
7087 case $reload_flag in
7089 *) reload_flag=" $reload_flag" ;;
7091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7094 if test "$GCC" = yes; then
7095 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7097 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7110 if test -n "$ac_tool_prefix"; then
7111 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7112 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7114 $as_echo_n "checking
for $ac_word...
" >&6; }
7115 if ${ac_cv_prog_OBJDUMP+:} false; then :
7116 $as_echo_n "(cached
) " >&6
7118 if test -n "$OBJDUMP"; then
7119 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125 test -z "$as_dir" && as_dir=.
7126 for ac_exec_ext in '' $ac_executable_extensions; do
7127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7128 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7138 OBJDUMP=$ac_cv_prog_OBJDUMP
7139 if test -n "$OBJDUMP"; then
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7141 $as_echo "$OBJDUMP" >&6; }
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7144 $as_echo "no
" >&6; }
7149 if test -z "$ac_cv_prog_OBJDUMP"; then
7150 ac_ct_OBJDUMP=$OBJDUMP
7151 # Extract the first word of "objdump
", so it can be a program name with args.
7152 set dummy objdump; ac_word=$2
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7154 $as_echo_n "checking
for $ac_word...
" >&6; }
7155 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7156 $as_echo_n "(cached
) " >&6
7158 if test -n "$ac_ct_OBJDUMP"; then
7159 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165 test -z "$as_dir" && as_dir=.
7166 for ac_exec_ext in '' $ac_executable_extensions; do
7167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7168 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7178 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7179 if test -n "$ac_ct_OBJDUMP"; then
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7181 $as_echo "$ac_ct_OBJDUMP" >&6; }
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7184 $as_echo "no
" >&6; }
7187 if test "x
$ac_ct_OBJDUMP" = x; then
7190 case $cross_compiling:$ac_tool_warned in
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7193 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7194 ac_tool_warned=yes ;;
7196 OBJDUMP=$ac_ct_OBJDUMP
7199 OBJDUMP="$ac_cv_prog_OBJDUMP"
7202 test -z "$OBJDUMP" && OBJDUMP=objdump
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7213 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7214 if ${lt_cv_deplibs_check_method+:} false; then :
7215 $as_echo_n "(cached
) " >&6
7217 lt_cv_file_magic_cmd='$MAGIC_CMD'
7218 lt_cv_file_magic_test_file=
7219 lt_cv_deplibs_check_method='unknown'
7220 # Need to set the preceding variable on all platforms that support
7221 # interlibrary dependencies.
7222 # 'none' -- dependencies not supported.
7223 # `unknown' -- same as none, but documents that we really don't know.
7224 # 'pass_all' -- all dependencies passed with no checks.
7225 # 'test_compile' -- check by making test program.
7226 # 'file_magic [[regex]]' -- check by looking for files in library path
7227 # which responds to the $file_magic_cmd with a given extended regex.
7228 # If you have `file' or equivalent on your system and you're not sure
7229 # whether `pass_all' will *always* work, you probably want this one.
7233 lt_cv_deplibs_check_method=pass_all
7237 lt_cv_deplibs_check_method=pass_all
7241 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7242 lt_cv_file_magic_cmd='/usr/bin/file -L'
7243 lt_cv_file_magic_test_file=/shlib/libc.so
7247 # func_win32_libid is a shell function defined in ltmain.sh
7248 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7249 lt_cv_file_magic_cmd='func_win32_libid'
7253 # Base MSYS/MinGW do not provide the 'file' command needed by
7254 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7255 # unless we find 'file', for example because we are cross-compiling.
7256 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7257 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7258 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7259 lt_cv_file_magic_cmd='func_win32_libid'
7261 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7262 lt_cv_file_magic_cmd='$OBJDUMP -f'
7267 # use the weaker test based on 'objdump'. See mingw*.
7268 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7269 lt_cv_file_magic_cmd='$OBJDUMP -f'
7272 darwin* | rhapsody*)
7273 lt_cv_deplibs_check_method=pass_all
7276 freebsd* | dragonfly*)
7277 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7280 # Not sure whether the presence of OpenBSD here was a mistake.
7281 # Let's accept both of them until this is cleared up.
7282 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7283 lt_cv_file_magic_cmd=/usr/bin/file
7284 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7288 lt_cv_deplibs_check_method=pass_all
7293 lt_cv_deplibs_check_method=pass_all
7297 lt_cv_deplibs_check_method=pass_all
7300 hpux10.20* | hpux11*)
7301 lt_cv_file_magic_cmd=/usr/bin/file
7304 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7305 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7308 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]'
7309 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7312 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7313 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7319 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7320 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7323 irix5* | irix6* | nonstopux*)
7325 *-32|*"-32 ") libmagic=32-bit;;
7326 *-n32|*"-n32 ") libmagic=N32;;
7327 *-64|*"-64 ") libmagic=64-bit;;
7328 *) libmagic=never-match;;
7330 lt_cv_deplibs_check_method=pass_all
7333 # This must be Linux ELF.
7334 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7335 lt_cv_deplibs_check_method=pass_all
7339 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7340 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7342 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7347 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7348 lt_cv_file_magic_cmd=/usr/bin/file
7349 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7353 lt_cv_deplibs_check_method=pass_all
7357 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7358 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7360 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7364 osf3* | osf4* | osf5*)
7365 lt_cv_deplibs_check_method=pass_all
7369 lt_cv_deplibs_check_method=pass_all
7373 lt_cv_deplibs_check_method=pass_all
7376 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7377 lt_cv_deplibs_check_method=pass_all
7381 case $host_vendor in
7383 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]'
7384 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7387 lt_cv_deplibs_check_method=pass_all
7390 lt_cv_file_magic_cmd='/bin/file'
7391 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7394 lt_cv_file_magic_cmd='/bin/file'
7395 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7396 lt_cv_file_magic_test_file=/lib/libc.so
7399 lt_cv_deplibs_check_method=pass_all
7402 lt_cv_deplibs_check_method=pass_all
7408 lt_cv_deplibs_check_method=pass_all
7411 # Assume VxWorks cross toolchains are built on Linux, possibly
7412 # as canadian for Windows hosts.
7413 lt_cv_deplibs_check_method=pass_all
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7419 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7420 file_magic_cmd=$lt_cv_file_magic_cmd
7421 deplibs_check_method=$lt_cv_deplibs_check_method
7422 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7435 if test -n "$ac_tool_prefix"; then
7436 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7437 set dummy ${ac_tool_prefix}ar; ac_word=$2
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7439 $as_echo_n "checking
for $ac_word...
" >&6; }
7440 if ${ac_cv_prog_AR+:} false; then :
7441 $as_echo_n "(cached
) " >&6
7443 if test -n "$AR"; then
7444 ac_cv_prog_AR="$AR" # Let the user override the test.
7446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 test -z "$as_dir" && as_dir=.
7451 for ac_exec_ext in '' $ac_executable_extensions; do
7452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7453 ac_cv_prog_AR="${ac_tool_prefix}ar"
7454 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7464 if test -n "$AR"; then
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7466 $as_echo "$AR" >&6; }
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7469 $as_echo "no
" >&6; }
7474 if test -z "$ac_cv_prog_AR"; then
7476 # Extract the first word of "ar", so it can be a program name with args.
7477 set dummy ar; ac_word=$2
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7479 $as_echo_n "checking
for $ac_word...
" >&6; }
7480 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7481 $as_echo_n "(cached
) " >&6
7483 if test -n "$ac_ct_AR"; then
7484 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 test -z "$as_dir" && as_dir=.
7491 for ac_exec_ext in '' $ac_executable_extensions; do
7492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7493 ac_cv_prog_ac_ct_AR="ar"
7494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7503 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7504 if test -n "$ac_ct_AR"; then
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7506 $as_echo "$ac_ct_AR" >&6; }
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7509 $as_echo "no
" >&6; }
7512 if test "x
$ac_ct_AR" = x; then
7515 case $cross_compiling:$ac_tool_warned in
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7518 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7519 ac_tool_warned=yes ;;
7527 test -z "$AR" && AR=ar
7528 test -z "$AR_FLAGS" && AR_FLAGS=cru
7540 if test -n "$ac_tool_prefix"; then
7541 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7542 set dummy ${ac_tool_prefix}strip; ac_word=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7544 $as_echo_n "checking
for $ac_word...
" >&6; }
7545 if ${ac_cv_prog_STRIP+:} false; then :
7546 $as_echo_n "(cached
) " >&6
7548 if test -n "$STRIP"; then
7549 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 test -z "$as_dir" && as_dir=.
7556 for ac_exec_ext in '' $ac_executable_extensions; do
7557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7558 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7568 STRIP=$ac_cv_prog_STRIP
7569 if test -n "$STRIP"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7571 $as_echo "$STRIP" >&6; }
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7574 $as_echo "no
" >&6; }
7579 if test -z "$ac_cv_prog_STRIP"; then
7581 # Extract the first word of "strip
", so it can be a program name with args.
7582 set dummy 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_ac_ct_STRIP+:} false; then :
7586 $as_echo_n "(cached
) " >&6
7588 if test -n "$ac_ct_STRIP"; then
7589 ac_cv_prog_ac_ct_STRIP="$ac_ct_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_ac_ct_STRIP="strip
"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7608 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7609 if test -n "$ac_ct_STRIP"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7611 $as_echo "$ac_ct_STRIP" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7614 $as_echo "no
" >&6; }
7617 if test "x
$ac_ct_STRIP" = x; then
7620 case $cross_compiling:$ac_tool_warned in
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7623 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7624 ac_tool_warned=yes ;;
7629 STRIP="$ac_cv_prog_STRIP"
7632 test -z "$STRIP" && STRIP=:
7639 if test -n "$ac_tool_prefix"; then
7640 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7641 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7643 $as_echo_n "checking
for $ac_word...
" >&6; }
7644 if ${ac_cv_prog_RANLIB+:} false; then :
7645 $as_echo_n "(cached
) " >&6
7647 if test -n "$RANLIB"; then
7648 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7657 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7667 RANLIB=$ac_cv_prog_RANLIB
7668 if test -n "$RANLIB"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7670 $as_echo "$RANLIB" >&6; }
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7673 $as_echo "no
" >&6; }
7678 if test -z "$ac_cv_prog_RANLIB"; then
7679 ac_ct_RANLIB=$RANLIB
7680 # Extract the first word of "ranlib
", so it can be a program name with args.
7681 set dummy 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_ac_ct_RANLIB+:} false; then :
7685 $as_echo_n "(cached
) " >&6
7687 if test -n "$ac_ct_RANLIB"; then
7688 ac_cv_prog_ac_ct_RANLIB="$ac_ct_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_ac_ct_RANLIB="ranlib
"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7707 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7708 if test -n "$ac_ct_RANLIB"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7710 $as_echo "$ac_ct_RANLIB" >&6; }
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7713 $as_echo "no
" >&6; }
7716 if test "x
$ac_ct_RANLIB" = x; then
7719 case $cross_compiling:$ac_tool_warned in
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7722 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7723 ac_tool_warned=yes ;;
7725 RANLIB=$ac_ct_RANLIB
7728 RANLIB="$ac_cv_prog_RANLIB"
7731 test -z "$RANLIB" && RANLIB=:
7738 # Determine commands to create old-style static archives.
7739 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7740 old_postinstall_cmds='chmod 644 $oldlib'
7741 old_postuninstall_cmds=
7743 if test -n "$RANLIB"; then
7746 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7749 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7752 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7757 lock_old_archive_extraction=yes ;;
7759 lock_old_archive_extraction=no ;;
7800 # If no C compiler was specified, use CC.
7803 # If no C compiler flags were specified, use CFLAGS.
7804 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7806 # Allow CC to be a program name with arguments.
7810 # Check for command to grab the raw symbol name followed by C symbol from nm.
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7812 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7813 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7814 $as_echo_n "(cached
) " >&6
7817 # These are sane defaults that work on at least a few old systems.
7818 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7820 # Character class describing NM global symbol codes.
7821 symcode='[BCDEGRST]'
7823 # Regexp to match symbols that can be accessed directly from C.
7824 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7826 # Define system-specific variables.
7831 cygwin* | mingw* | pw32* | cegcc*)
7832 symcode='[ABCDGISTW]'
7835 if test "$host_cpu" = ia64; then
7836 symcode='[ABCDEGRST]'
7840 symcode='[BCDEGRST]'
7843 symcode='[BCDEGQRST]'
7854 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7862 # If we're using GNU nm, then use its standard symbol codes.
7863 case `$NM -V 2>&1` in
7864 *GNU* | *'with BFD'*)
7865 symcode='[ABCDGIRSTW]' ;;
7868 # Transform an extracted symbol line into a proper C declaration.
7869 # Some systems (esp. on ia64) link data and code symbols differently,
7870 # so use this general approach.
7871 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7873 # Transform an extracted symbol line into symbol name and symbol address
7874 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7875 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'"
7877 # Handle CRLF in mingw tool chain
7881 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7885 # Try without a prefix underscore, then with it.
7886 for ac_symprfx in "" "_
"; do
7888 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7889 symxfrm="\\1 $ac_symprfx\\2 \\2"
7891 # Write the raw and C identifiers.
7892 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7893 # Fake it for dumpbin and say T for any non-static function
7894 # and D for any global variable.
7895 # Also find C++ and __fastcall symbols from MSVC++,
7896 # which start with @ or ?.
7897 lt_cv_sys_global_symbol_pipe="$AWK '"\
7898 " {last_section=section; section=\$ 3};"\
7899 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7900 " \$ 0!~/External *\|/{next};"\
7901 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7902 " {if(hide[section]) next};"\
7903 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7904 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7905 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7906 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7907 " ' prfx
=^
$ac_symprfx"
7909 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7912 # Check to see that the pipe works correctly.
7916 cat > conftest.$ac_ext <<_LT_EOF
7921 void nm_test_func(void);
7922 void nm_test_func(void){}
7926 int main(){nm_test_var='a';nm_test_func();return(0);}
7929 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7930 (eval $ac_compile) 2>&5
7932 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7933 test $ac_status = 0; }; then
7934 # Now try to grab the symbols.
7936 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7937 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7939 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7940 test $ac_status = 0; } && test -s "$nlist"; then
7941 # Try sorting and uniquifying the output.
7942 if sort "$nlist" | uniq > "$nlist"T; then
7943 mv -f "$nlist"T "$nlist"
7948 # Make sure that we snagged all the symbols we need.
7949 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7950 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7951 cat <<_LT_EOF > conftest.$ac_ext
7957 # Now generate the symbol file.
7958 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7960 cat <<_LT_EOF >> conftest.$ac_ext
7962 /* The mapping between symbol names and symbols. */
7967 lt__PROGRAM__LTX_preloaded_symbols[] =
7969 { "@PROGRAM@
", (void *) 0 },
7971 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7972 cat <<\_LT_EOF >> conftest.$ac_ext
7976 /* This works around a problem in FreeBSD linker */
7977 #ifdef FREEBSD_WORKAROUND
7978 static const void *lt_preloaded_setup() {
7979 return lt__PROGRAM__LTX_preloaded_symbols;
7987 # Now try linking the two files.
7988 mv conftest.$ac_objext conftstm.$ac_objext
7989 lt_save_LIBS="$LIBS"
7990 lt_save_CFLAGS="$CFLAGS"
7991 LIBS="conftstm.
$ac_objext"
7992 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7993 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7994 (eval $ac_link) 2>&5
7996 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7997 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8000 LIBS="$lt_save_LIBS"
8001 CFLAGS="$lt_save_CFLAGS"
8003 echo "cannot
find nm_test_func
in $nlist" >&5
8006 echo "cannot
find nm_test_var
in $nlist" >&5
8009 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8012 echo "$progname: failed program was
:" >&5
8013 cat conftest.$ac_ext >&5
8015 rm -rf conftest* conftst*
8017 # Do not use the global_symbol_pipe unless it works.
8018 if test "$pipe_works" = yes; then
8021 lt_cv_sys_global_symbol_pipe=
8027 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8028 lt_cv_sys_global_symbol_to_cdecl=
8030 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8032 $as_echo "failed
" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8035 $as_echo "ok
" >&6; }
8059 # Check whether --enable-libtool-lock was given.
8060 if test "${enable_libtool_lock+set}" = set; then :
8061 enableval=$enable_libtool_lock;
8064 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8066 # Some flags need to be propagated to the compiler or linker for good
8070 # Find out which ABI we are using.
8071 echo 'int i;' > conftest.$ac_ext
8072 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8073 (eval $ac_compile) 2>&5
8075 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8076 test $ac_status = 0; }; then
8077 case `/usr/bin/file conftest.$ac_objext` in
8089 # Find out which ABI we are using.
8090 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8091 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8092 (eval $ac_compile) 2>&5
8094 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8095 test $ac_status = 0; }; then
8096 if test "$lt_cv_prog_gnu_ld" = yes; then
8097 case `/usr/bin/file conftest.$ac_objext` in
8099 LD="${LD-ld} -melf32bsmip"
8102 LD="${LD-ld} -melf32bmipn32"
8105 LD="${LD-ld} -melf64bmip"
8109 case `/usr/bin/file conftest.$ac_objext` in
8125 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8126 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8127 # Find out which ABI we are using.
8128 echo 'int i;' > conftest.$ac_ext
8129 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8130 (eval $ac_compile) 2>&5
8132 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8133 test $ac_status = 0; }; then
8134 case `/usr/bin/file conftest.o` in
8137 x86_64-*kfreebsd*-gnu)
8138 LD="${LD-ld} -m elf_i386_fbsd
"
8141 case `/usr/bin/file conftest.o` in
8143 LD="${LD-ld} -m elf32_x86_64
"
8146 LD="${LD-ld} -m elf_i386
"
8150 powerpc64le-*linux*)
8151 LD="${LD-ld} -m elf32lppclinux
"
8154 LD="${LD-ld} -m elf32ppclinux
"
8157 LD="${LD-ld} -m elf_s390
"
8160 LD="${LD-ld} -m elf32_sparc
"
8166 x86_64-*kfreebsd*-gnu)
8167 LD="${LD-ld} -m elf_x86_64_fbsd
"
8170 LD="${LD-ld} -m elf_x86_64
"
8173 LD="${LD-ld} -m elf64lppc
"
8176 LD="${LD-ld} -m elf64ppc
"
8178 s390*-*linux*|s390*-*tpf*)
8179 LD="${LD-ld} -m elf64_s390
"
8182 LD="${LD-ld} -m elf64_sparc
"
8192 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8193 SAVE_CFLAGS="$CFLAGS"
8194 CFLAGS="$CFLAGS -belf"
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8196 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8197 if ${lt_cv_cc_needs_belf+:} false; then :
8198 $as_echo_n "(cached
) " >&6
8201 ac_cpp='$CPP $CPPFLAGS'
8202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8217 if ac_fn_c_try_link "$LINENO"; then :
8218 lt_cv_cc_needs_belf=yes
8220 lt_cv_cc_needs_belf=no
8222 rm -f core conftest.err conftest.$ac_objext \
8223 conftest$ac_exeext conftest.$ac_ext
8225 ac_cpp='$CPP $CPPFLAGS'
8226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8232 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8233 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8234 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8235 CFLAGS="$SAVE_CFLAGS"
8239 # Find out which ABI we are using.
8240 echo 'int i;' > conftest.$ac_ext
8241 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8242 (eval $ac_compile) 2>&5
8244 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8245 test $ac_status = 0; }; then
8246 case `/usr/bin/file conftest.o` in
8248 case $lt_cv_prog_gnu_ld in
8249 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8251 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8263 need_locks="$enable_libtool_lock"
8267 rhapsody* | darwin*)
8268 if test -n "$ac_tool_prefix"; then
8269 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8270 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8272 $as_echo_n "checking
for $ac_word...
" >&6; }
8273 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8274 $as_echo_n "(cached
) " >&6
8276 if test -n "$DSYMUTIL"; then
8277 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8286 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8296 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8297 if test -n "$DSYMUTIL"; then
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8299 $as_echo "$DSYMUTIL" >&6; }
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8302 $as_echo "no
" >&6; }
8307 if test -z "$ac_cv_prog_DSYMUTIL"; then
8308 ac_ct_DSYMUTIL=$DSYMUTIL
8309 # Extract the first word of "dsymutil
", so it can be a program name with args.
8310 set dummy dsymutil; ac_word=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8312 $as_echo_n "checking
for $ac_word...
" >&6; }
8313 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8314 $as_echo_n "(cached
) " >&6
8316 if test -n "$ac_ct_DSYMUTIL"; then
8317 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8326 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8336 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8337 if test -n "$ac_ct_DSYMUTIL"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8339 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8342 $as_echo "no
" >&6; }
8345 if test "x
$ac_ct_DSYMUTIL" = x; then
8348 case $cross_compiling:$ac_tool_warned in
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8351 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8352 ac_tool_warned=yes ;;
8354 DSYMUTIL=$ac_ct_DSYMUTIL
8357 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8360 if test -n "$ac_tool_prefix"; then
8361 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8362 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8364 $as_echo_n "checking
for $ac_word...
" >&6; }
8365 if ${ac_cv_prog_NMEDIT+:} false; then :
8366 $as_echo_n "(cached
) " >&6
8368 if test -n "$NMEDIT"; then
8369 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8375 test -z "$as_dir" && as_dir=.
8376 for ac_exec_ext in '' $ac_executable_extensions; do
8377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8378 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8388 NMEDIT=$ac_cv_prog_NMEDIT
8389 if test -n "$NMEDIT"; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8391 $as_echo "$NMEDIT" >&6; }
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8394 $as_echo "no
" >&6; }
8399 if test -z "$ac_cv_prog_NMEDIT"; then
8400 ac_ct_NMEDIT=$NMEDIT
8401 # Extract the first word of "nmedit
", so it can be a program name with args.
8402 set dummy nmedit; ac_word=$2
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8404 $as_echo_n "checking
for $ac_word...
" >&6; }
8405 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8406 $as_echo_n "(cached
) " >&6
8408 if test -n "$ac_ct_NMEDIT"; then
8409 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8415 test -z "$as_dir" && as_dir=.
8416 for ac_exec_ext in '' $ac_executable_extensions; do
8417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8418 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8419 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8428 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8429 if test -n "$ac_ct_NMEDIT"; then
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8431 $as_echo "$ac_ct_NMEDIT" >&6; }
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8434 $as_echo "no
" >&6; }
8437 if test "x
$ac_ct_NMEDIT" = x; then
8440 case $cross_compiling:$ac_tool_warned in
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8443 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8444 ac_tool_warned=yes ;;
8446 NMEDIT=$ac_ct_NMEDIT
8449 NMEDIT="$ac_cv_prog_NMEDIT"
8452 if test -n "$ac_tool_prefix"; then
8453 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8454 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8456 $as_echo_n "checking
for $ac_word...
" >&6; }
8457 if ${ac_cv_prog_LIPO+:} false; then :
8458 $as_echo_n "(cached
) " >&6
8460 if test -n "$LIPO"; then
8461 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8467 test -z "$as_dir" && as_dir=.
8468 for ac_exec_ext in '' $ac_executable_extensions; do
8469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8470 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8480 LIPO=$ac_cv_prog_LIPO
8481 if test -n "$LIPO"; then
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8483 $as_echo "$LIPO" >&6; }
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8486 $as_echo "no
" >&6; }
8491 if test -z "$ac_cv_prog_LIPO"; then
8493 # Extract the first word of "lipo
", so it can be a program name with args.
8494 set dummy lipo; ac_word=$2
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8496 $as_echo_n "checking
for $ac_word...
" >&6; }
8497 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8498 $as_echo_n "(cached
) " >&6
8500 if test -n "$ac_ct_LIPO"; then
8501 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8507 test -z "$as_dir" && as_dir=.
8508 for ac_exec_ext in '' $ac_executable_extensions; do
8509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8510 ac_cv_prog_ac_ct_LIPO="lipo
"
8511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8520 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8521 if test -n "$ac_ct_LIPO"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8523 $as_echo "$ac_ct_LIPO" >&6; }
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8526 $as_echo "no
" >&6; }
8529 if test "x
$ac_ct_LIPO" = x; then
8532 case $cross_compiling:$ac_tool_warned in
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8535 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8536 ac_tool_warned=yes ;;
8541 LIPO="$ac_cv_prog_LIPO"
8544 if test -n "$ac_tool_prefix"; then
8545 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8546 set dummy ${ac_tool_prefix}otool; ac_word=$2
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8548 $as_echo_n "checking
for $ac_word...
" >&6; }
8549 if ${ac_cv_prog_OTOOL+:} false; then :
8550 $as_echo_n "(cached
) " >&6
8552 if test -n "$OTOOL"; then
8553 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8559 test -z "$as_dir" && as_dir=.
8560 for ac_exec_ext in '' $ac_executable_extensions; do
8561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8562 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8572 OTOOL=$ac_cv_prog_OTOOL
8573 if test -n "$OTOOL"; then
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8575 $as_echo "$OTOOL" >&6; }
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8578 $as_echo "no
" >&6; }
8583 if test -z "$ac_cv_prog_OTOOL"; then
8585 # Extract the first word of "otool
", so it can be a program name with args.
8586 set dummy otool; ac_word=$2
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8588 $as_echo_n "checking
for $ac_word...
" >&6; }
8589 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8590 $as_echo_n "(cached
) " >&6
8592 if test -n "$ac_ct_OTOOL"; then
8593 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir=.
8600 for ac_exec_ext in '' $ac_executable_extensions; do
8601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8602 ac_cv_prog_ac_ct_OTOOL="otool
"
8603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8612 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8613 if test -n "$ac_ct_OTOOL"; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8615 $as_echo "$ac_ct_OTOOL" >&6; }
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8618 $as_echo "no
" >&6; }
8621 if test "x
$ac_ct_OTOOL" = x; then
8624 case $cross_compiling:$ac_tool_warned in
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8627 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8628 ac_tool_warned=yes ;;
8633 OTOOL="$ac_cv_prog_OTOOL"
8636 if test -n "$ac_tool_prefix"; then
8637 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8638 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8640 $as_echo_n "checking
for $ac_word...
" >&6; }
8641 if ${ac_cv_prog_OTOOL64+:} false; then :
8642 $as_echo_n "(cached
) " >&6
8644 if test -n "$OTOOL64"; then
8645 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8651 test -z "$as_dir" && as_dir=.
8652 for ac_exec_ext in '' $ac_executable_extensions; do
8653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8654 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8655 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8664 OTOOL64=$ac_cv_prog_OTOOL64
8665 if test -n "$OTOOL64"; then
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8667 $as_echo "$OTOOL64" >&6; }
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8670 $as_echo "no
" >&6; }
8675 if test -z "$ac_cv_prog_OTOOL64"; then
8676 ac_ct_OTOOL64=$OTOOL64
8677 # Extract the first word of "otool64
", so it can be a program name with args.
8678 set dummy otool64; ac_word=$2
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8680 $as_echo_n "checking
for $ac_word...
" >&6; }
8681 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8682 $as_echo_n "(cached
) " >&6
8684 if test -n "$ac_ct_OTOOL64"; then
8685 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8691 test -z "$as_dir" && as_dir=.
8692 for ac_exec_ext in '' $ac_executable_extensions; do
8693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8694 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8704 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8705 if test -n "$ac_ct_OTOOL64"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8707 $as_echo "$ac_ct_OTOOL64" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8710 $as_echo "no
" >&6; }
8713 if test "x
$ac_ct_OTOOL64" = x; then
8716 case $cross_compiling:$ac_tool_warned in
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8719 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8720 ac_tool_warned=yes ;;
8722 OTOOL64=$ac_ct_OTOOL64
8725 OTOOL64="$ac_cv_prog_OTOOL64"
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8755 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8756 if ${lt_cv_apple_cc_single_mod+:} false; then :
8757 $as_echo_n "(cached
) " >&6
8759 lt_cv_apple_cc_single_mod=no
8760 if test -z "${LT_MULTI_MODULE}"; then
8761 # By default we will add the -single_module flag. You can override
8762 # by either setting the environment variable LT_MULTI_MODULE
8763 # non-empty at configure time, or by adding -multi_module to the
8765 rm -rf libconftest.dylib*
8766 echo "int foo
(void
){return 1;}" > conftest.c
8767 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8768 -dynamiclib -Wl,-single_module conftest.c
" >&5
8769 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8770 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8772 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8773 lt_cv_apple_cc_single_mod=yes
8775 cat conftest.err >&5
8777 rm -rf libconftest.dylib*
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8782 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8784 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8785 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8786 $as_echo_n "(cached
) " >&6
8788 lt_cv_ld_exported_symbols_list=no
8789 save_LDFLAGS=$LDFLAGS
8790 echo "_main
" > conftest.sym
8791 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8803 if ac_fn_c_try_link "$LINENO"; then :
8804 lt_cv_ld_exported_symbols_list=yes
8806 lt_cv_ld_exported_symbols_list=no
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 LDFLAGS="$save_LDFLAGS"
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8814 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8816 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8817 if ${lt_cv_ld_force_load+:} false; then :
8818 $as_echo_n "(cached
) " >&6
8820 lt_cv_ld_force_load=no
8821 cat > conftest.c << _LT_EOF
8822 int forced_loaded() { return 2;}
8824 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8825 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8826 echo "$AR cru libconftest.a conftest.o
" >&5
8827 $AR cru libconftest.a conftest.o 2>&5
8828 cat > conftest.c << _LT_EOF
8829 int main() { return 0;}
8831 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8832 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8834 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8835 lt_cv_ld_force_load=yes
8837 cat conftest.err >&5
8839 rm -f conftest.err libconftest.a conftest conftest.c
8840 rm -rf conftest.dSYM
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8844 $as_echo "$lt_cv_ld_force_load" >&6; }
8845 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8846 # build without first building modern cctools / linker.
8847 case $host_cpu-$host_os in
8848 *-rhapsody* | *-darwin1.[012])
8849 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8851 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8853 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8854 # deployment target is forced to an earlier version.
8855 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8856 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8859 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8866 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8867 _lt_dar_single_mod='$single_module'
8869 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8870 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8872 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8874 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8875 _lt_dsymutil='~$DSYMUTIL $lib || :'
8882 for ac_header in dlfcn.h
8884 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8886 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8887 cat >>confdefs.h <<_ACEOF
8888 #define HAVE_DLFCN_H 1
8908 # Check whether --enable-shared was given.
8909 if test "${enable_shared+set}" = set; then :
8910 enableval=$enable_shared; p=${PACKAGE-default}
8912 yes) enable_shared=yes ;;
8913 no) enable_shared=no ;;
8916 # Look at the argument we got. We use all the common list separators.
8917 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8918 for pkg in $enableval; do
8920 if test "X
$pkg" = "X
$p"; then
8939 # Check whether --enable-static was given.
8940 if test "${enable_static+set}" = set; then :
8941 enableval=$enable_static; p=${PACKAGE-default}
8943 yes) enable_static=yes ;;
8944 no) enable_static=no ;;
8947 # Look at the argument we got. We use all the common list separators.
8948 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8949 for pkg in $enableval; do
8951 if test "X
$pkg" = "X
$p"; then
8971 # Check whether --with-pic was given.
8972 if test "${with_pic+set}" = set; then :
8973 withval=$with_pic; pic_mode="$withval"
8979 test -z "$pic_mode" && pic_mode=default
8987 # Check whether --enable-fast-install was given.
8988 if test "${enable_fast_install+set}" = set; then :
8989 enableval=$enable_fast_install; p=${PACKAGE-default}
8991 yes) enable_fast_install=yes ;;
8992 no) enable_fast_install=no ;;
8994 enable_fast_install=no
8995 # Look at the argument we got. We use all the common list separators.
8996 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8997 for pkg in $enableval; do
8999 if test "X
$pkg" = "X
$p"; then
9000 enable_fast_install=yes
9007 enable_fast_install=yes
9020 # This can be used to rebuild libtool when needed
9021 LIBTOOL_DEPS="$ltmain"
9023 # Always use our own libtool.
9024 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9051 test -z "$LN_S" && LN_S="ln -s"
9066 if test -n "${ZSH_VERSION+set}" ; then
9067 setopt NO_GLOB_SUBST
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9071 $as_echo_n "checking
for objdir...
" >&6; }
9072 if ${lt_cv_objdir+:} false; then :
9073 $as_echo_n "(cached
) " >&6
9075 rm -f .libs 2>/dev/null
9076 mkdir .libs 2>/dev/null
9077 if test -d .libs; then
9080 # MS-DOS does not allow filenames that begin with a dot.
9083 rmdir .libs 2>/dev/null
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9086 $as_echo "$lt_cv_objdir" >&6; }
9087 objdir=$lt_cv_objdir
9093 cat >>confdefs.h <<_ACEOF
9094 #define LT_OBJDIR "$lt_cv_objdir/"
9102 # AIX sometimes has problems with the GCC collect2 program. For some
9103 # reason, if we set the COLLECT_NAMES environment variable, the problems
9104 # vanish in a puff of smoke.
9105 if test "X
${COLLECT_NAMES+set}" != Xset; then
9107 export COLLECT_NAMES
9114 can_build_shared=yes
9116 # All known linkers require a `.a' archive for static linking (except MSVC,
9117 # which needs '.lib').
9120 with_gnu_ld="$lt_cv_prog_gnu_ld"
9123 old_CFLAGS="$CFLAGS"
9125 # Set sane defaults for various variables
9126 test -z "$CC" && CC=cc
9127 test -z "$LTCC" && LTCC=$CC
9128 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9129 test -z "$LD" && LD=ld
9130 test -z "$ac_objext" && ac_objext=o
9132 for cc_temp in $compiler""; do
9134 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9135 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9140 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9143 # Only perform the check for file, if the check method requires it
9144 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9145 case $deplibs_check_method in
9147 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9149 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9150 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9151 $as_echo_n "(cached
) " >&6
9155 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9158 lt_save_MAGIC_CMD="$MAGIC_CMD"
9159 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9160 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9161 for ac_dir in $ac_dummy; do
9163 test -z "$ac_dir" && ac_dir=.
9164 if test -f $ac_dir/${ac_tool_prefix}file; then
9165 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9166 if test -n "$file_magic_test_file"; then
9167 case $deplibs_check_method in
9169 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9170 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9171 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9172 $EGREP "$file_magic_regex" > /dev/null; then
9177 *** Warning: the command libtool uses to detect shared libraries,
9178 *** $file_magic_cmd, produces output that libtool cannot recognize.
9179 *** The result is that libtool may fail to recognize shared libraries
9180 *** as such. This will affect the creation of libtool libraries that
9181 *** depend on shared libraries, but programs linked with such libtool
9182 *** libraries will work regardless of this problem. Nevertheless, you
9183 *** may want to report the problem to your system manager and/or to
9184 *** bug-libtool@gnu.org
9194 MAGIC_CMD="$lt_save_MAGIC_CMD"
9199 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9200 if test -n "$MAGIC_CMD"; then
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9202 $as_echo "$MAGIC_CMD" >&6; }
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9205 $as_echo "no
" >&6; }
9212 if test -z "$lt_cv_path_MAGIC_CMD"; then
9213 if test -n "$ac_tool_prefix"; then
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9215 $as_echo_n "checking
for file...
" >&6; }
9216 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9217 $as_echo_n "(cached
) " >&6
9221 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9224 lt_save_MAGIC_CMD="$MAGIC_CMD"
9225 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9226 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9227 for ac_dir in $ac_dummy; do
9229 test -z "$ac_dir" && ac_dir=.
9230 if test -f $ac_dir/file; then
9231 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9232 if test -n "$file_magic_test_file"; then
9233 case $deplibs_check_method in
9235 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9236 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9237 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9238 $EGREP "$file_magic_regex" > /dev/null; then
9243 *** Warning: the command libtool uses to detect shared libraries,
9244 *** $file_magic_cmd, produces output that libtool cannot recognize.
9245 *** The result is that libtool may fail to recognize shared libraries
9246 *** as such. This will affect the creation of libtool libraries that
9247 *** depend on shared libraries, but programs linked with such libtool
9248 *** libraries will work regardless of this problem. Nevertheless, you
9249 *** may want to report the problem to your system manager and/or to
9250 *** bug-libtool@gnu.org
9260 MAGIC_CMD="$lt_save_MAGIC_CMD"
9265 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9266 if test -n "$MAGIC_CMD"; then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9268 $as_echo "$MAGIC_CMD" >&6; }
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9271 $as_echo "no
" >&6; }
9284 # Use C for the default configuration in the libtool script
9288 ac_cpp='$CPP $CPPFLAGS'
9289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9294 # Source file extension for C test sources.
9297 # Object file extension for compiled C test sources.
9301 # Code to be used in simple compile tests
9302 lt_simple_compile_test_code="int some_variable
= 0;"
9304 # Code to be used in simple link tests
9305 lt_simple_link_test_code='int main(){return(0);}'
9313 # If no C compiler was specified, use CC.
9316 # If no C compiler flags were specified, use CFLAGS.
9317 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9319 # Allow CC to be a program name with arguments.
9322 # Save the default compiler, since it gets overwritten when the other
9323 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9324 compiler_DEFAULT=$CC
9326 # save warnings/boilerplate of simple test code
9327 ac_outfile=conftest.$ac_objext
9328 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9329 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9330 _lt_compiler_boilerplate=`cat conftest.err`
9333 ac_outfile=conftest.$ac_objext
9334 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9335 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9336 _lt_linker_boilerplate=`cat conftest.err`
9341 ## There is no encapsulation within the following macros, do not change
9342 ## the running order or otherwise move them around unless you know exactly
9343 ## what you are doing...
9344 if test -n "$compiler"; then
9346 lt_prog_compiler_no_builtin_flag=
9348 if test "$GCC" = yes; then
9349 case $cc_basename in
9351 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9353 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9357 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9358 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9359 $as_echo_n "(cached
) " >&6
9361 lt_cv_prog_compiler_rtti_exceptions=no
9362 ac_outfile=conftest.$ac_objext
9363 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9364 lt_compiler_flag="-fno-rtti -fno-exceptions"
9365 # Insert the option either (1) after the last *FLAGS variable, or
9366 # (2) before a word containing "conftest.
", or (3) at the end.
9367 # Note that $ac_compile itself does not contain backslashes and begins
9368 # with a dollar sign (not a hyphen), so the echo should work correctly.
9369 # The option is referenced via a variable to avoid confusing sed.
9370 lt_compile=`echo "$ac_compile" | $SED \
9371 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9373 -e 's:$: $lt_compiler_flag:'`
9374 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9375 (eval "$lt_compile" 2>conftest.err)
9377 cat conftest.err >&5
9378 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9379 if (exit $ac_status) && test -s "$ac_outfile"; then
9380 # The compiler can only warn and ignore the option if not recognized
9381 # So say no if there are warnings other than the usual output.
9382 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9383 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9384 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9385 lt_cv_prog_compiler_rtti_exceptions=yes
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9392 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9394 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9395 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9407 lt_prog_compiler_wl=
9408 lt_prog_compiler_pic=
9409 lt_prog_compiler_static=
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9412 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9414 if test "$GCC" = yes; then
9415 lt_prog_compiler_wl='-Wl,'
9416 lt_prog_compiler_static='-static'
9420 # All AIX code is PIC.
9421 if test "$host_cpu" = ia64; then
9422 # AIX 5 now supports IA64 processor
9423 lt_prog_compiler_static='-Bstatic'
9425 lt_prog_compiler_pic='-fPIC'
9431 # see comment about AmigaOS4 .so support
9432 lt_prog_compiler_pic='-fPIC'
9435 # FIXME: we need at least 68020 code to build shared libraries, but
9436 # adding the `-m68020' flag to GCC prevents building anything better,
9438 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9443 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9444 # PIC is the default for these OSes.
9447 mingw* | cygwin* | pw32* | os2* | cegcc*)
9448 # This hack is so that the source file can tell whether it is being
9449 # built for inclusion in a dll (and should export symbols for example).
9450 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9451 # (--disable-auto-import) libraries
9452 lt_prog_compiler_pic='-DDLL_EXPORT'
9455 darwin* | rhapsody*)
9456 # PIC is the default on this platform
9457 # Common symbols not allowed in MH_DYLIB files
9458 lt_prog_compiler_pic='-fno-common'
9462 # PIC is the default for Haiku.
9463 # The "-static" flag exists, but is broken.
9464 lt_prog_compiler_static=
9468 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9469 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9470 # sets the default TLS model and affects inlining.
9476 lt_prog_compiler_pic='-fPIC'
9482 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9483 # Instead, we relocate shared libraries at runtime.
9487 # Just because we use GCC doesn't mean we suddenly get shared libraries
9488 # on systems that don't support them.
9489 lt_prog_compiler_can_build_shared=no
9494 # QNX uses GNU C++, but need to define -shared option too, otherwise
9496 lt_prog_compiler_pic='-fPIC -shared'
9500 if test -d /usr/nec; then
9501 lt_prog_compiler_pic=-Kconform_pic
9506 lt_prog_compiler_pic='-fPIC'
9510 case $cc_basename in
9511 nvcc*) # Cuda Compiler Driver 2.2
9512 lt_prog_compiler_wl='-Xlinker '
9513 lt_prog_compiler_pic='-Xcompiler -fPIC'
9517 # PORTME Check for flag to pass linker flags through the system compiler.
9520 lt_prog_compiler_wl='-Wl,'
9521 if test "$host_cpu" = ia64; then
9522 # AIX 5 now supports IA64 processor
9523 lt_prog_compiler_static='-Bstatic'
9525 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9529 mingw* | cygwin* | pw32* | os2* | cegcc*)
9530 # This hack is so that the source file can tell whether it is being
9531 # built for inclusion in a dll (and should export symbols for example).
9532 lt_prog_compiler_pic='-DDLL_EXPORT'
9535 hpux9* | hpux10* | hpux11*)
9536 lt_prog_compiler_wl='-Wl,'
9537 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9544 lt_prog_compiler_pic='+Z'
9547 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9548 lt_prog_compiler_static='${wl}-a ${wl}archive'
9551 irix5* | irix6* | nonstopux*)
9552 lt_prog_compiler_wl='-Wl,'
9553 # PIC (with -KPIC) is the default.
9554 lt_prog_compiler_static='-non_shared'
9557 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9558 case $cc_basename in
9559 # old Intel for x86_64 which still supported -KPIC.
9561 lt_prog_compiler_wl='-Wl,'
9562 lt_prog_compiler_pic='-KPIC'
9563 lt_prog_compiler_static='-static'
9565 # icc used to be incompatible with GCC.
9566 # ICC 10 doesn't accept -KPIC any more.
9568 lt_prog_compiler_wl='-Wl,'
9569 lt_prog_compiler_pic='-fPIC'
9570 lt_prog_compiler_static='-static'
9572 # Lahey Fortran 8.1.
9574 lt_prog_compiler_wl='-Wl,'
9575 lt_prog_compiler_pic='--shared'
9576 lt_prog_compiler_static='--static'
9578 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9579 # Portland Group compilers (*not* the Pentium gcc compiler,
9580 # which looks to be a dead project)
9581 lt_prog_compiler_wl='-Wl,'
9582 lt_prog_compiler_pic='-fpic'
9583 lt_prog_compiler_static='-Bstatic'
9586 lt_prog_compiler_wl='-Wl,'
9587 # All Alpha code is PIC.
9588 lt_prog_compiler_static='-non_shared'
9590 xl* | bgxl* | bgf* | mpixl*)
9591 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9592 lt_prog_compiler_wl='-Wl,'
9593 lt_prog_compiler_pic='-qpic'
9594 lt_prog_compiler_static='-qstaticlink'
9597 case `$CC -V 2>&1 | sed 5q` in
9598 *Sun\ F* | *Sun*Fortran*)
9599 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9600 lt_prog_compiler_pic='-KPIC'
9601 lt_prog_compiler_static='-Bstatic'
9602 lt_prog_compiler_wl=''
9606 lt_prog_compiler_pic='-KPIC'
9607 lt_prog_compiler_static='-Bstatic'
9608 lt_prog_compiler_wl='-Wl,'
9616 lt_prog_compiler_pic='-KPIC'
9617 lt_prog_compiler_static='-Bstatic'
9621 # QNX uses GNU C++, but need to define -shared option too, otherwise
9623 lt_prog_compiler_pic='-fPIC -shared'
9626 osf3* | osf4* | osf5*)
9627 lt_prog_compiler_wl='-Wl,'
9628 # All OSF/1 code is PIC.
9629 lt_prog_compiler_static='-non_shared'
9633 lt_prog_compiler_static='-non_shared'
9637 lt_prog_compiler_pic='-KPIC'
9638 lt_prog_compiler_static='-Bstatic'
9639 case $cc_basename in
9641 lt_prog_compiler_wl='-Qoption ld ';;
9643 lt_prog_compiler_wl='-Wl,';;
9648 lt_prog_compiler_wl='-Qoption ld '
9649 lt_prog_compiler_pic='-PIC'
9650 lt_prog_compiler_static='-Bstatic'
9653 sysv4 | sysv4.2uw2* | sysv4.3*)
9654 lt_prog_compiler_wl='-Wl,'
9655 lt_prog_compiler_pic='-KPIC'
9656 lt_prog_compiler_static='-Bstatic'
9660 if test -d /usr/nec ;then
9661 lt_prog_compiler_pic='-Kconform_pic'
9662 lt_prog_compiler_static='-Bstatic'
9666 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9667 lt_prog_compiler_wl='-Wl,'
9668 lt_prog_compiler_pic='-KPIC'
9669 lt_prog_compiler_static='-Bstatic'
9673 lt_prog_compiler_wl='-Wl,'
9674 lt_prog_compiler_can_build_shared=no
9678 lt_prog_compiler_pic='-pic'
9679 lt_prog_compiler_static='-Bstatic'
9683 lt_prog_compiler_can_build_shared=no
9689 # For platforms which do not support PIC, -DPIC is meaningless:
9691 lt_prog_compiler_pic=
9694 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9698 $as_echo "$lt_prog_compiler_pic" >&6; }
9706 # Check to make sure the PIC flag actually works.
9708 if test -n "$lt_prog_compiler_pic"; then
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9710 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9711 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9712 $as_echo_n "(cached
) " >&6
9714 lt_cv_prog_compiler_pic_works=no
9715 ac_outfile=conftest.$ac_objext
9716 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9717 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9718 # Insert the option either (1) after the last *FLAGS variable, or
9719 # (2) before a word containing "conftest.
", or (3) at the end.
9720 # Note that $ac_compile itself does not contain backslashes and begins
9721 # with a dollar sign (not a hyphen), so the echo should work correctly.
9722 # The option is referenced via a variable to avoid confusing sed.
9723 lt_compile=`echo "$ac_compile" | $SED \
9724 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9725 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9726 -e 's:$: $lt_compiler_flag:'`
9727 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9728 (eval "$lt_compile" 2>conftest.err)
9730 cat conftest.err >&5
9731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9732 if (exit $ac_status) && test -s "$ac_outfile"; then
9733 # The compiler can only warn and ignore the option if not recognized
9734 # So say no if there are warnings other than the usual output.
9735 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9736 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9737 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9738 lt_cv_prog_compiler_pic_works=yes
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9745 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9747 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9748 case $lt_prog_compiler_pic in
9750 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9753 lt_prog_compiler_pic=
9754 lt_prog_compiler_can_build_shared=no
9765 # Check to make sure the static flag actually works.
9767 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9769 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9770 if ${lt_cv_prog_compiler_static_works+:} false; then :
9771 $as_echo_n "(cached
) " >&6
9773 lt_cv_prog_compiler_static_works=no
9774 save_LDFLAGS="$LDFLAGS"
9775 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9776 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9777 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9778 # The linker can only warn and ignore the option if not recognized
9779 # So say no if there are warnings
9780 if test -s conftest.err; then
9781 # Append any errors to the config.log.
9782 cat conftest.err 1>&5
9783 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9784 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9785 if diff conftest.exp conftest.er2 >/dev/null; then
9786 lt_cv_prog_compiler_static_works=yes
9789 lt_cv_prog_compiler_static_works=yes
9793 LDFLAGS="$save_LDFLAGS"
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9797 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9799 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9802 lt_prog_compiler_static=
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9812 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9813 if ${lt_cv_prog_compiler_c_o+:} false; then :
9814 $as_echo_n "(cached
) " >&6
9816 lt_cv_prog_compiler_c_o=no
9817 $RM -r conftest 2>/dev/null
9821 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9823 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9824 # Insert the option either (1) after the last *FLAGS variable, or
9825 # (2) before a word containing "conftest.
", or (3) at the end.
9826 # Note that $ac_compile itself does not contain backslashes and begins
9827 # with a dollar sign (not a hyphen), so the echo should work correctly.
9828 lt_compile=`echo "$ac_compile" | $SED \
9829 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9830 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9831 -e 's:$: $lt_compiler_flag:'`
9832 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9833 (eval "$lt_compile" 2>out/conftest.err)
9835 cat out/conftest.err >&5
9836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9837 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9839 # The compiler can only warn and ignore the option if not recognized
9840 # So say no if there are warnings
9841 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9842 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9843 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9844 lt_cv_prog_compiler_c_o=yes
9849 # SGI C++ compiler will create directory out/ii_files/ for
9850 # template instantiation
9851 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9852 $RM out/* && rmdir out
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9859 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9867 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9868 if ${lt_cv_prog_compiler_c_o+:} false; then :
9869 $as_echo_n "(cached
) " >&6
9871 lt_cv_prog_compiler_c_o=no
9872 $RM -r conftest 2>/dev/null
9876 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9878 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9879 # Insert the option either (1) after the last *FLAGS variable, or
9880 # (2) before a word containing "conftest.
", or (3) at the end.
9881 # Note that $ac_compile itself does not contain backslashes and begins
9882 # with a dollar sign (not a hyphen), so the echo should work correctly.
9883 lt_compile=`echo "$ac_compile" | $SED \
9884 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9885 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9886 -e 's:$: $lt_compiler_flag:'`
9887 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9888 (eval "$lt_compile" 2>out/conftest.err)
9890 cat out/conftest.err >&5
9891 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9892 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9894 # The compiler can only warn and ignore the option if not recognized
9895 # So say no if there are warnings
9896 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9897 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9898 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9899 lt_cv_prog_compiler_c_o=yes
9904 # SGI C++ compiler will create directory out/ii_files/ for
9905 # template instantiation
9906 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9907 $RM out/* && rmdir out
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9914 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9919 hard_links="nottested
"
9920 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9921 # do not overwrite the value of need_locks provided by the user
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9923 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9926 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9928 ln conftest.a conftest.b 2>&5 || hard_links=no
9929 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9931 $as_echo "$hard_links" >&6; }
9932 if test "$hard_links" = no; then
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9934 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9947 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9950 allow_undefined_flag=
9951 always_export_symbols=no
9953 archive_expsym_cmds=
9954 compiler_needs_object=no
9955 enable_shared_with_static_runtimes=no
9956 export_dynamic_flag_spec=
9957 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9958 hardcode_automatic=no
9960 hardcode_direct_absolute=no
9961 hardcode_libdir_flag_spec=
9962 hardcode_libdir_flag_spec_ld=
9963 hardcode_libdir_separator=
9965 hardcode_shlibpath_var=unsupported
9967 link_all_deplibs=unknown
9970 old_archive_from_new_cmds=
9971 old_archive_from_expsyms_cmds=
9972 thread_safe_flag_spec=
9973 whole_archive_flag_spec=
9974 # include_expsyms should be a list of space-separated symbols to be *always*
9975 # included in the symbol list
9977 # exclude_expsyms can be an extended regexp of symbols to exclude
9978 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9979 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9980 # as well as any symbol that contains `d'.
9981 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9982 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9983 # platforms (ab)use it in PIC code, but their linkers get confused if
9984 # the symbol is explicitly referenced. Since portable code cannot
9985 # rely on this symbol name, it's probably fine to never include it in
9986 # preloaded symbol tables.
9987 # Exclude shared library initialization/finalization symbols.
9988 extract_expsyms_cmds=
9991 cygwin* | mingw* | pw32* | cegcc*)
9992 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9993 # When not using gcc, we currently assume that we are using
9994 # Microsoft Visual C++.
9995 if test "$GCC" != yes; then
10000 # we just hope/assume this is gcc and not c89 (= MSVC++)
10010 # On some targets, GNU ld is compatible enough with the native linker
10011 # that we're better off using the native interface for both.
10012 lt_use_gnu_ld_interface=no
10013 if test "$with_gnu_ld" = yes; then
10016 # The AIX port of GNU ld has always aspired to compatibility
10017 # with the native linker. However, as the warning in the GNU ld
10018 # block says, versions before 2.19.5* couldn't really create working
10019 # shared libraries, regardless of the interface used.
10020 case `$LD -v 2>&1` in
10021 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10022 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10023 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10025 lt_use_gnu_ld_interface=yes
10030 lt_use_gnu_ld_interface=yes
10035 if test "$lt_use_gnu_ld_interface" = yes; then
10036 # If archive_cmds runs LD, not CC, wlarc should be empty
10039 # Set some defaults for GNU ld with shared library support. These
10040 # are reset later if shared libraries are not supported. Putting them
10041 # here allows them to be overridden if necessary.
10042 runpath_var=LD_RUN_PATH
10043 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10044 export_dynamic_flag_spec='${wl}--export-dynamic'
10045 # ancient GNU ld didn't support --whole-archive et. al.
10046 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10047 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10049 whole_archive_flag_spec=
10051 supports_anon_versioning=no
10052 case `$LD -v 2>&1` in
10053 *GNU\ gold*) supports_anon_versioning=yes ;;
10054 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10055 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10056 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10057 *\ 2.11.*) ;; # other 2.11 versions
10058 *) supports_anon_versioning=yes ;;
10061 # See if GNU ld supports shared libraries.
10064 # On AIX/PPC, the GNU linker is very broken
10065 if test "$host_cpu" != ia64; then
10069 *** Warning: the GNU linker, at least up to release 2.19, is reported
10070 *** to be unable to reliably create shared libraries on AIX.
10071 *** Therefore, libtool is disabling shared libraries support. If you
10072 *** really care for shared libraries, you may want to install binutils
10073 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10074 *** You will then need to restart the configuration process.
10083 # see comment about AmigaOS4 .so support
10084 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10085 archive_expsym_cmds=''
10088 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)'
10089 hardcode_libdir_flag_spec
='-L$libdir'
10090 hardcode_minus_L
=yes
10096 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10097 allow_undefined_flag
=unsupported
10098 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10099 # support --undefined. This deserves some investigation. FIXME
10100 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10106 cygwin
* | mingw
* | pw32
* | cegcc
*)
10107 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10108 # as there is no search path for DLLs.
10109 hardcode_libdir_flag_spec
='-L$libdir'
10110 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10111 allow_undefined_flag
=unsupported
10112 always_export_symbols
=no
10113 enable_shared_with_static_runtimes
=yes
10114 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10116 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10117 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10118 # If the export-symbols file already is a .def file (1st line
10119 # is EXPORTS), use it as is; otherwise, prepend...
10120 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10121 cp $export_symbols $output_objdir/$soname.def;
10123 echo EXPORTS > $output_objdir/$soname.def;
10124 cat $export_symbols >> $output_objdir/$soname.def;
10126 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10133 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10134 link_all_deplibs
=yes
10139 hardcode_shlibpath_var
=no
10140 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10141 export_dynamic_flag_spec
='${wl}-E'
10142 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10143 # Instead, shared libraries are loaded at an image base (0x10000000 by
10144 # default) and relocated if they conflict, which is a slow very memory
10145 # consuming and fragmenting process. To avoid this, we pick a random,
10146 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10147 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10148 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10149 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'
10152 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10154 if test "$host_os" = linux-dietlibc
; then
10155 case $cc_basename in
10156 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10159 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10160 && test "$tmp_diet" = no
10162 tmp_addflag
=' $pic_flag'
10163 tmp_sharedflag
='-shared'
10164 case $cc_basename,$host_cpu in
10165 pgcc
*) # Portland Group C compiler
10166 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'
10167 tmp_addflag
=' $pic_flag'
10169 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10170 # Portland Group f77 and f90 compilers
10171 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'
10172 tmp_addflag
=' $pic_flag -Mnomain' ;;
10173 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10174 tmp_addflag
=' -i_dynamic' ;;
10175 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10176 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10177 ifc
* | ifort
*) # Intel Fortran compiler
10178 tmp_addflag
=' -nofor_main' ;;
10179 lf95
*) # Lahey Fortran 8.1
10180 whole_archive_flag_spec
=
10181 tmp_sharedflag
='--shared' ;;
10182 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10183 tmp_sharedflag
='-qmkshrobj'
10185 nvcc
*) # Cuda Compiler Driver 2.2
10186 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'
10187 compiler_needs_object
=yes
10190 case `$CC -V 2>&1 | sed 5q` in
10191 *Sun\ C
*) # Sun C 5.9
10192 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'
10193 compiler_needs_object
=yes
10194 tmp_sharedflag
='-G' ;;
10195 *Sun\ F
*) # Sun Fortran 8.3
10196 tmp_sharedflag
='-G' ;;
10198 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10200 if test "x$supports_anon_versioning" = xyes
; then
10201 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10202 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10203 echo "local: *; };" >> $output_objdir/$libname.ver~
10204 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10207 case $cc_basename in
10208 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10209 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10210 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10211 hardcode_libdir_flag_spec
=
10212 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10213 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10214 if test "x$supports_anon_versioning" = xyes
; then
10215 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10216 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10217 echo "local: *; };" >> $output_objdir/$libname.ver~
10218 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10228 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10229 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10232 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10233 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10238 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10242 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10243 *** create shared libraries on Solaris systems. Therefore, libtool
10244 *** is disabling shared libraries support. We urge you to upgrade GNU
10245 *** binutils to release 2.9.1 or newer. Another option is to modify
10246 *** your PATH or compiler configuration so that the native linker is
10247 *** used, and then restart.
10250 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10251 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10252 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10258 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10259 case `$LD -v 2>&1` in
10260 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10264 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10265 *** reliably create shared libraries on SCO systems. Therefore, libtool
10266 *** is disabling shared libraries support. We urge you to upgrade GNU
10267 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10268 *** your PATH or compiler configuration so that the native linker is
10269 *** used, and then restart.
10274 # For security reasons, it is highly recommended that you always
10275 # use absolute paths for naming shared libraries, and exclude the
10276 # DT_RUNPATH tag from executables and libraries. But doing so
10277 # requires that you compile everything twice, which is a pain.
10278 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10279 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10280 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10281 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10290 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10292 hardcode_direct
=yes
10293 hardcode_shlibpath_var
=no
10297 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10298 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10299 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10306 if test "$ld_shlibs" = no
; then
10308 hardcode_libdir_flag_spec
=
10309 export_dynamic_flag_spec
=
10310 whole_archive_flag_spec
=
10313 # PORTME fill in a description of your system's linker (not GNU ld)
10316 allow_undefined_flag
=unsupported
10317 always_export_symbols
=yes
10318 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'
10319 # Note: this linker hardcodes the directories in LIBPATH if there
10320 # are no directories specified by -L.
10321 hardcode_minus_L
=yes
10322 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10323 # Neither direct hardcoding nor static linking is supported with a
10325 hardcode_direct
=unsupported
10330 if test "$host_cpu" = ia64
; then
10331 # On IA64, the linker does run time linking by default, so we don't
10332 # have to do anything special.
10333 aix_use_runtimelinking
=no
10334 exp_sym_flag
='-Bexport'
10337 # If we're using GNU nm, then we don't want the "-C" option.
10338 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10339 # Also, AIX nm treats weak defined symbols like other global
10340 # defined symbols, whereas GNU nm marks them as "W".
10341 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10342 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'
10344 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'
10346 aix_use_runtimelinking
=no
10348 # Test if we are trying to use run time linking or normal
10349 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10350 # need to do runtime linking.
10351 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10352 for ld_flag
in $LDFLAGS; do
10353 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10354 aix_use_runtimelinking
=yes
10361 exp_sym_flag
='-bexport'
10362 no_entry_flag
='-bnoentry'
10365 # When large executables or shared objects are built, AIX ld can
10366 # have problems creating the table of contents. If linking a library
10367 # or program results in "error TOC overflow" add -mminimal-toc to
10368 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10369 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10372 hardcode_direct
=yes
10373 hardcode_direct_absolute
=yes
10374 hardcode_libdir_separator
=':'
10375 link_all_deplibs
=yes
10376 file_list_spec
='${wl}-f,'
10378 if test "$GCC" = yes; then
10379 case $host_os in aix4.
[012]|aix4.
[012].
*)
10380 # We only want to do this on AIX 4.2 and lower, the check
10381 # below for broken collect2 doesn't work under 4.3+
10382 collect2name
=`${CC} -print-prog-name=collect2`
10383 if test -f "$collect2name" &&
10384 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10386 # We have reworked collect2
10389 # We have old collect2
10390 hardcode_direct
=unsupported
10391 # It fails to find uninstalled libraries when the uninstalled
10392 # path is not listed in the libpath. Setting hardcode_minus_L
10393 # to unsupported forces relinking
10394 hardcode_minus_L
=yes
10395 hardcode_libdir_flag_spec
='-L$libdir'
10396 hardcode_libdir_separator
=
10400 shared_flag
='-shared'
10401 if test "$aix_use_runtimelinking" = yes; then
10402 shared_flag
="$shared_flag "'${wl}-G'
10406 if test "$host_cpu" = ia64
; then
10407 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10408 # chokes on -Wl,-G. The following line is correct:
10411 if test "$aix_use_runtimelinking" = yes; then
10412 shared_flag
='${wl}-G'
10414 shared_flag
='${wl}-bM:SRE'
10419 export_dynamic_flag_spec
='${wl}-bexpall'
10420 # It seems that -bexpall does not export symbols beginning with
10421 # underscore (_), so it is better to generate a list of symbols to export.
10422 always_export_symbols
=yes
10423 if test "$aix_use_runtimelinking" = yes; then
10424 # Warning - without using the other runtime loading flags (-brtl),
10425 # -berok will link without error, but may produce a broken library.
10426 allow_undefined_flag
='-berok'
10427 # Determine the default libpath from the value encoded in an
10428 # empty executable.
10429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10430 /* end confdefs.h. */
10440 if ac_fn_c_try_link
"$LINENO"; then :
10442 lt_aix_libpath_sed
='
10443 /Import File Strings/,/^$/ {
10449 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10450 # Check for a 64-bit object if we didn't find anything.
10451 if test -z "$aix_libpath"; then
10452 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10455 rm -f core conftest.err conftest.
$ac_objext \
10456 conftest
$ac_exeext conftest.
$ac_ext
10457 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10459 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10460 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"
10462 if test "$host_cpu" = ia64
; then
10463 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10464 allow_undefined_flag
="-z nodefs"
10465 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"
10467 # Determine the default libpath from the value encoded in an
10468 # empty executable.
10469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10480 if ac_fn_c_try_link
"$LINENO"; then :
10482 lt_aix_libpath_sed
='
10483 /Import File Strings/,/^$/ {
10489 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10490 # Check for a 64-bit object if we didn't find anything.
10491 if test -z "$aix_libpath"; then
10492 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10495 rm -f core conftest.err conftest.
$ac_objext \
10496 conftest
$ac_exeext conftest.
$ac_ext
10497 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10499 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10500 # Warning - without using the other run time loading flags,
10501 # -berok will link without error, but may produce a broken library.
10502 no_undefined_flag
=' ${wl}-bernotok'
10503 allow_undefined_flag
=' ${wl}-berok'
10504 if test "$with_gnu_ld" = yes; then
10505 # We only use this code for GNU lds that support --whole-archive.
10506 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10508 # Exported symbols can be pulled into shared objects from archives
10509 whole_archive_flag_spec
='$convenience'
10511 archive_cmds_need_lc
=yes
10512 # This is similar to how AIX traditionally builds its shared libraries.
10513 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'
10521 # see comment about AmigaOS4 .so support
10522 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10523 archive_expsym_cmds
=''
10526 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)'
10527 hardcode_libdir_flag_spec
='-L$libdir'
10528 hardcode_minus_L
=yes
10534 export_dynamic_flag_spec
=-rdynamic
10537 cygwin
* | mingw
* | pw32
* | cegcc
*)
10538 # When not using gcc, we currently assume that we are using
10539 # Microsoft Visual C++.
10540 # hardcode_libdir_flag_spec is actually meaningless, as there is
10541 # no search path for DLLs.
10542 hardcode_libdir_flag_spec
=' '
10543 allow_undefined_flag
=unsupported
10544 # Tell ltmain to make .lib files, not .a files.
10546 # Tell ltmain to make .dll files, not .so files.
10548 # FIXME: Setting linknames here is a bad hack.
10549 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10550 # The linker will automatically build a .lib file if we build a DLL.
10551 old_archive_from_new_cmds
='true'
10552 # FIXME: Should let the user specify the lib program.
10553 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10554 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10555 enable_shared_with_static_runtimes
=yes
10558 darwin
* | rhapsody
*)
10561 archive_cmds_need_lc
=no
10563 hardcode_automatic
=yes
10564 hardcode_shlibpath_var
=unsupported
10565 if test "$lt_cv_ld_force_load" = "yes"; then
10566 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\"`'
10568 whole_archive_flag_spec
=''
10570 link_all_deplibs
=yes
10571 allow_undefined_flag
="$_lt_dar_allow_undefined"
10572 case $cc_basename in
10573 ifort
*) _lt_dar_can_shared
=yes ;;
10574 *) _lt_dar_can_shared
=$GCC ;;
10576 if test "$_lt_dar_can_shared" = "yes"; then
10577 output_verbose_link_cmd
=func_echo_all
10578 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10579 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10580 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10581 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}"
10590 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10591 hardcode_libdir_flag_spec
='-L$libdir'
10592 hardcode_shlibpath_var
=no
10595 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10596 # support. Future versions do this automatically, but an explicit c++rt0.o
10597 # does not break anything, and helps significantly (at the cost of a little
10600 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10601 hardcode_libdir_flag_spec
='-R$libdir'
10602 hardcode_direct
=yes
10603 hardcode_shlibpath_var
=no
10606 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10608 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10609 hardcode_direct
=yes
10610 hardcode_minus_L
=yes
10611 hardcode_shlibpath_var
=no
10614 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10615 freebsd
* | dragonfly
*)
10616 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10617 hardcode_libdir_flag_spec
='-R$libdir'
10618 hardcode_direct
=yes
10619 hardcode_shlibpath_var
=no
10623 if test "$GCC" = yes; then
10624 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'
10626 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'
10628 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10629 hardcode_libdir_separator
=:
10630 hardcode_direct
=yes
10632 # hardcode_minus_L: Not really in the search PATH,
10633 # but as the default location of the library.
10634 hardcode_minus_L
=yes
10635 export_dynamic_flag_spec
='${wl}-E'
10639 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10640 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10642 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10644 if test "$with_gnu_ld" = no
; then
10645 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10646 hardcode_libdir_flag_spec_ld
='+b $libdir'
10647 hardcode_libdir_separator
=:
10648 hardcode_direct
=yes
10649 hardcode_direct_absolute
=yes
10650 export_dynamic_flag_spec
='${wl}-E'
10651 # hardcode_minus_L: Not really in the search PATH,
10652 # but as the default location of the library.
10653 hardcode_minus_L
=yes
10658 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10661 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10664 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10667 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10673 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10676 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10680 # Older versions of the 11.00 compiler do not understand -b yet
10681 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10683 $as_echo_n "checking if $CC understands -b... " >&6; }
10684 if ${lt_cv_prog_compiler__b+:} false
; then :
10685 $as_echo_n "(cached) " >&6
10687 lt_cv_prog_compiler__b
=no
10688 save_LDFLAGS
="$LDFLAGS"
10689 LDFLAGS
="$LDFLAGS -b"
10690 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10691 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10692 # The linker can only warn and ignore the option if not recognized
10693 # So say no if there are warnings
10694 if test -s conftest.err
; then
10695 # Append any errors to the config.log.
10696 cat conftest.err
1>&5
10697 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10698 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10699 if diff conftest.exp conftest.er2
>/dev
/null
; then
10700 lt_cv_prog_compiler__b
=yes
10703 lt_cv_prog_compiler__b
=yes
10707 LDFLAGS
="$save_LDFLAGS"
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10711 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10713 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10714 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10716 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10722 if test "$with_gnu_ld" = no
; then
10723 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10724 hardcode_libdir_separator
=:
10729 hardcode_shlibpath_var
=no
10732 hardcode_direct
=yes
10733 hardcode_direct_absolute
=yes
10734 export_dynamic_flag_spec
='${wl}-E'
10736 # hardcode_minus_L: Not really in the search PATH,
10737 # but as the default location of the library.
10738 hardcode_minus_L
=yes
10744 irix5
* | irix6
* | nonstopux
*)
10745 if test "$GCC" = yes; then
10746 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'
10747 # Try to use the -exported_symbol ld option, if it does not
10748 # work, assume that -exports_file does not work either and
10749 # implicitly export all symbols.
10750 save_LDFLAGS
="$LDFLAGS"
10751 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10756 if ac_fn_c_try_link
"$LINENO"; then :
10757 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'
10760 rm -f core conftest.err conftest.
$ac_objext \
10761 conftest
$ac_exeext conftest.
$ac_ext
10762 LDFLAGS
="$save_LDFLAGS"
10764 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'
10765 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'
10767 archive_cmds_need_lc
='no'
10768 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10769 hardcode_libdir_separator
=:
10771 link_all_deplibs
=yes
10775 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10776 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10778 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10780 hardcode_libdir_flag_spec
='-R$libdir'
10781 hardcode_direct
=yes
10782 hardcode_shlibpath_var
=no
10786 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10787 hardcode_direct
=yes
10788 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10789 hardcode_libdir_separator
=:
10790 hardcode_shlibpath_var
=no
10797 if test -f /usr
/libexec
/ld.so
; then
10798 hardcode_direct
=yes
10799 hardcode_shlibpath_var
=no
10800 hardcode_direct_absolute
=yes
10801 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10802 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10803 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10804 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10805 export_dynamic_flag_spec
='${wl}-E'
10808 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10809 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10810 hardcode_libdir_flag_spec
='-R$libdir'
10813 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10814 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10824 hardcode_libdir_flag_spec
='-L$libdir'
10825 hardcode_minus_L
=yes
10826 allow_undefined_flag
=unsupported
10827 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'
10828 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10832 if test "$GCC" = yes; then
10833 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10834 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'
10836 allow_undefined_flag
=' -expect_unresolved \*'
10837 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'
10839 archive_cmds_need_lc
='no'
10840 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10841 hardcode_libdir_separator
=:
10844 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10845 if test "$GCC" = yes; then
10846 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10847 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'
10848 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10850 allow_undefined_flag
=' -expect_unresolved \*'
10851 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'
10852 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~
10853 $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'
10855 # Both c and cxx compiler support -rpath directly
10856 hardcode_libdir_flag_spec
='-rpath $libdir'
10858 archive_cmds_need_lc
='no'
10859 hardcode_libdir_separator
=:
10863 no_undefined_flag
=' -z defs'
10864 if test "$GCC" = yes; then
10866 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10867 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10868 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10870 case `$CC -V 2>&1` in
10873 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10874 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10875 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10879 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10880 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10881 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10885 hardcode_libdir_flag_spec
='-R$libdir'
10886 hardcode_shlibpath_var
=no
10888 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10890 # The compiler driver will combine and reorder linker options,
10891 # but understands `-z linker_flag'. GCC discards it without `$wl',
10892 # but is careful enough not to reorder.
10893 # Supported since Solaris 2.6 (maybe 2.5.1?)
10894 if test "$GCC" = yes; then
10895 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10897 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10901 link_all_deplibs
=yes
10905 if test "x$host_vendor" = xsequent
; then
10906 # Use $CC to link under sequent, because it throws in some extra .o
10907 # files that make .init and .fini sections work.
10908 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10910 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10912 hardcode_libdir_flag_spec
='-L$libdir'
10913 hardcode_direct
=yes
10914 hardcode_minus_L
=yes
10915 hardcode_shlibpath_var
=no
10919 case $host_vendor in
10921 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10922 hardcode_direct
=yes # is this really true???
10925 ## LD is ld it makes a PLAMLIB
10926 ## CC just makes a GrossModule.
10927 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10928 reload_cmds
='$CC -r -o $output$reload_objs'
10932 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10933 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10936 runpath_var
='LD_RUN_PATH'
10937 hardcode_shlibpath_var
=no
10941 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10942 hardcode_shlibpath_var
=no
10943 export_dynamic_flag_spec
='-Bexport'
10947 if test -d /usr
/nec
; then
10948 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10949 hardcode_shlibpath_var
=no
10950 runpath_var
=LD_RUN_PATH
10951 hardcode_runpath_var
=yes
10956 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10957 no_undefined_flag
='${wl}-z,text'
10958 archive_cmds_need_lc
=no
10959 hardcode_shlibpath_var
=no
10960 runpath_var
='LD_RUN_PATH'
10962 if test "$GCC" = yes; then
10963 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10964 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10966 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10967 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10971 sysv5
* | sco3.2v5
* | sco5v6
*)
10972 # Note: We can NOT use -z defs as we might desire, because we do not
10973 # link with -lc, and that would cause any symbols used from libc to
10974 # always be unresolved, which means just about no library would
10975 # ever link correctly. If we're not using GNU ld we use -z text
10976 # though, which does catch some bad symbols but isn't as heavy-handed
10978 no_undefined_flag
='${wl}-z,text'
10979 allow_undefined_flag
='${wl}-z,nodefs'
10980 archive_cmds_need_lc
=no
10981 hardcode_shlibpath_var
=no
10982 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10983 hardcode_libdir_separator
=':'
10984 link_all_deplibs
=yes
10985 export_dynamic_flag_spec
='${wl}-Bexport'
10986 runpath_var
='LD_RUN_PATH'
10988 if test "$GCC" = yes; then
10989 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10990 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10992 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10993 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10998 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10999 hardcode_libdir_flag_spec
='-L$libdir'
11000 hardcode_shlibpath_var
=no
11008 if test x
$host_vendor = xsni
; then
11010 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11011 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11018 $as_echo "$ld_shlibs" >&6; }
11019 test "$ld_shlibs" = no
&& can_build_shared
=no
11021 with_gnu_ld
=$with_gnu_ld
11038 # Do we need to explicitly link libc?
11040 case "x$archive_cmds_need_lc" in
11042 # Assume -lc should be added
11043 archive_cmds_need_lc
=yes
11045 if test "$enable_shared" = yes && test "$GCC" = yes; then
11046 case $archive_cmds in
11048 # FIXME: we may have to deal with multi-command sequences.
11051 # Test whether the compiler implicitly links with -lc since on some
11052 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11053 # to ld, don't add -lc before -lgcc.
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11055 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11056 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11057 $as_echo_n "(cached) " >&6
11060 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11063 (eval $ac_compile) 2>&5
11065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11066 test $ac_status = 0; } 2>conftest.err
; then
11069 libobjs
=conftest.
$ac_objext
11071 wl
=$lt_prog_compiler_wl
11072 pic_flag
=$lt_prog_compiler_pic
11078 lt_save_allow_undefined_flag
=$allow_undefined_flag
11079 allow_undefined_flag
=
11080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11081 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11084 test $ac_status = 0; }
11086 lt_cv_archive_cmds_need_lc
=no
11088 lt_cv_archive_cmds_need_lc
=yes
11090 allow_undefined_flag
=$lt_save_allow_undefined_flag
11092 cat conftest.err
1>&5
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11098 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11099 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11263 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11265 if test "$GCC" = yes; then
11267 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11268 *) lt_awk_arg
="/^libraries:/" ;;
11271 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11272 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11274 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11275 case $lt_search_path_spec in
11277 # if the path contains ";" then we assume it to be the separator
11278 # otherwise default to the standard path separator (i.e. ":") - it is
11279 # assumed that no part of a normal pathname contains ";" but that should
11280 # okay in the real world where ";" in dirpaths is itself problematic.
11281 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11284 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11287 # Ok, now we have the path, separated by spaces, we can step through it
11288 # and add multilib dir if necessary.
11289 lt_tmp_lt_search_path_spec
=
11290 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11291 for lt_sys_path
in $lt_search_path_spec; do
11292 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11293 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11295 test -d "$lt_sys_path" && \
11296 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11299 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11300 BEGIN {RS=" "; FS="/|\n";} {
11303 for (lt_i = NF; lt_i > 0; lt_i--) {
11304 if ($lt_i != "" && $lt_i != ".") {
11305 if ($lt_i == "..") {
11308 if (lt_count == 0) {
11309 lt_foo="/" $lt_i lt_foo;
11316 if (lt_foo != "") { lt_freq[lt_foo]++; }
11317 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11319 # AWK program above erroneously prepends '/' to C:/dos/paths
11322 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11323 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11325 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11327 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11329 library_names_spec
=
11330 libname_spec
='lib$name'
11334 postuninstall_cmds
=
11338 shlibpath_overrides_runpath
=unknown
11340 dynamic_linker
="$host_os ld.so"
11341 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11342 need_lib_prefix
=unknown
11343 hardcode_into_libs
=no
11345 # when you set need_version to no, make sure it does not cause -set_version
11346 # flags to be left without arguments
11347 need_version
=unknown
11352 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11353 shlibpath_var
=LIBPATH
11355 # AIX 3 has no versioning support, so we append a major version to the name.
11356 soname_spec
='${libname}${release}${shared_ext}$major'
11363 hardcode_into_libs
=yes
11364 if test "$host_cpu" = ia64
; then
11365 # AIX 5 supports IA64
11366 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11367 shlibpath_var
=LD_LIBRARY_PATH
11369 # With GCC up to 2.95.x, collect2 would create an import file
11370 # for dependence libraries. The import file would start with
11371 # the line `#! .'. This would cause the generated library to
11372 # depend on `.', always an invalid library. This was fixed in
11373 # development snapshots of GCC prior to 3.0.
11375 aix4 | aix4.
[01] | aix4.
[01].
*)
11376 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11378 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11381 can_build_shared
=no
11385 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11386 # soname into executable. Probably we can add versioning support to
11387 # collect2, so additional links can be useful in future.
11388 if test "$aix_use_runtimelinking" = yes; then
11389 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11390 # instead of lib<name>.a to let people know that these are not
11391 # typical AIX shared libraries.
11392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11394 # We preserve .a as extension for shared libraries through AIX4.2
11395 # and later when we are not doing run time linking.
11396 library_names_spec
='${libname}${release}.a $libname.a'
11397 soname_spec
='${libname}${release}${shared_ext}$major'
11399 shlibpath_var
=LIBPATH
11406 # Since July 2007 AmigaOS4 officially supports .so libraries.
11407 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11411 library_names_spec
='$libname.ixlibrary $libname.a'
11412 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11413 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'
11419 library_names_spec
='${libname}${shared_ext}'
11420 dynamic_linker
="$host_os ld.so"
11421 shlibpath_var
=LIBRARY_PATH
11427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11428 soname_spec
='${libname}${release}${shared_ext}$major'
11429 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11430 shlibpath_var
=LD_LIBRARY_PATH
11431 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11432 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11433 # the default ld.so.conf also contains /usr/contrib/lib and
11434 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11435 # libtool to hard-code these into programs
11438 cygwin
* | mingw
* | pw32
* | cegcc
*)
11439 version_type
=windows
11444 case $GCC,$host_os in
11445 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11446 library_names_spec
='$libname.dll.a'
11447 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11448 postinstall_cmds
='base_file=`basename \${file}`~
11449 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11450 dldir=$destdir/`dirname \$dlpath`~
11451 test -d \$dldir || mkdir -p \$dldir~
11452 $install_prog $dir/$dlname \$dldir/$dlname~
11453 chmod a+x \$dldir/$dlname~
11454 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11455 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11457 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11458 dlpath=$dir/\$dldll~
11460 shlibpath_overrides_runpath
=yes
11464 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11465 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11467 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11470 # MinGW DLLs use traditional 'lib' prefix
11471 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11474 # pw32 DLLs use 'pw' prefix rather than 'lib'
11475 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11481 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11484 dynamic_linker
='Win32 ld.exe'
11485 # FIXME: first we should search . and the directory the executable is in
11489 darwin
* | rhapsody
*)
11490 dynamic_linker
="$host_os dyld"
11491 version_type
=darwin
11494 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11495 soname_spec
='${libname}${release}${major}$shared_ext'
11496 shlibpath_overrides_runpath
=yes
11497 shlibpath_var
=DYLD_LIBRARY_PATH
11498 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11500 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11501 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11509 soname_spec
='${libname}${release}${shared_ext}$major'
11510 shlibpath_var
=LD_LIBRARY_PATH
11513 freebsd
* | dragonfly
*)
11514 # DragonFly does not have aout. When/if they implement a new
11515 # versioning mechanism, adjust this.
11516 if test -x /usr
/bin
/objformat
; then
11517 objformat
=`/usr/bin/objformat`
11520 freebsd
[23].
*) objformat
=aout
;;
11521 *) objformat
=elf
;;
11524 version_type
=freebsd-
$objformat
11525 case $version_type in
11527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11532 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11536 shlibpath_var
=LD_LIBRARY_PATH
11539 shlibpath_overrides_runpath
=yes
11541 freebsd3.
[01]* | freebsdelf3.
[01]*)
11542 shlibpath_overrides_runpath
=yes
11543 hardcode_into_libs
=yes
11545 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11546 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11547 shlibpath_overrides_runpath
=no
11548 hardcode_into_libs
=yes
11550 *) # from 4.6 on, and DragonFly
11551 shlibpath_overrides_runpath
=yes
11552 hardcode_into_libs
=yes
11561 dynamic_linker
="$host_os runtime_loader"
11562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11563 soname_spec
='${libname}${release}${shared_ext}$major'
11564 shlibpath_var
=LIBRARY_PATH
11565 shlibpath_overrides_runpath
=yes
11566 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11567 hardcode_into_libs
=yes
11570 hpux9
* | hpux10
* | hpux11
*)
11571 # Give a soname corresponding to the major version so that dld.sl refuses to
11572 # link against other versions.
11579 hardcode_into_libs
=yes
11580 dynamic_linker
="$host_os dld.so"
11581 shlibpath_var
=LD_LIBRARY_PATH
11582 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11584 soname_spec
='${libname}${release}${shared_ext}$major'
11585 if test "X$HPUX_IA64_MODE" = X32
; then
11586 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11588 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11590 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11594 hardcode_into_libs
=yes
11595 dynamic_linker
="$host_os dld.sl"
11596 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11597 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599 soname_spec
='${libname}${release}${shared_ext}$major'
11600 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11601 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11605 dynamic_linker
="$host_os dld.sl"
11606 shlibpath_var
=SHLIB_PATH
11607 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11609 soname_spec
='${libname}${release}${shared_ext}$major'
11612 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11613 postinstall_cmds
='chmod 555 $lib'
11614 # or fails outright, so override atomically:
11615 install_override_mode
=555
11622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11623 soname_spec
='${libname}${release}${shared_ext}$major'
11624 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11625 shlibpath_var
=LD_LIBRARY_PATH
11626 shlibpath_overrides_runpath
=no
11627 hardcode_into_libs
=yes
11630 irix5
* | irix6
* | nonstopux
*)
11632 nonstopux
*) version_type
=nonstopux
;;
11634 if test "$lt_cv_prog_gnu_ld" = yes; then
11642 soname_spec
='${libname}${release}${shared_ext}$major'
11643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11645 irix5
* | nonstopux
*)
11646 libsuff
= shlibsuff
=
11649 case $LD in # libtool.m4 will add one of these switches to LD
11650 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11651 libsuff
= shlibsuff
= libmagic
=32-bit;;
11652 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11653 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11654 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11655 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11656 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11660 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11661 shlibpath_overrides_runpath
=no
11662 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11663 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11664 hardcode_into_libs
=yes
11667 # No shared lib support for Linux oldld, aout, or coff.
11668 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11672 # This must be Linux ELF.
11674 # uclinux* changes (here and below) have been submitted to the libtool
11675 # project, but have not yet been accepted: they are GCC-local changes
11676 # for the time being. (See
11677 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11678 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11683 soname_spec
='${libname}${release}${shared_ext}$major'
11684 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11685 shlibpath_var
=LD_LIBRARY_PATH
11686 shlibpath_overrides_runpath
=no
11688 # Some binutils ld are patched to set DT_RUNPATH
11689 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11690 $as_echo_n "(cached) " >&6
11692 lt_cv_shlibpath_overrides_runpath
=no
11693 save_LDFLAGS
=$LDFLAGS
11694 save_libdir
=$libdir
11695 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11696 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11708 if ac_fn_c_try_link
"$LINENO"; then :
11709 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11710 lt_cv_shlibpath_overrides_runpath
=yes
11713 rm -f core conftest.err conftest.
$ac_objext \
11714 conftest
$ac_exeext conftest.
$ac_ext
11715 LDFLAGS
=$save_LDFLAGS
11716 libdir
=$save_libdir
11720 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11722 # This implies no fast_install, which is unacceptable.
11723 # Some rework will be needed to allow for fast_install
11724 # before this can be enabled.
11725 hardcode_into_libs
=yes
11727 # Append ld.so.conf contents to the search path
11728 if test -f /etc
/ld.so.conf
; then
11729 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' ' '`
11730 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11733 # We used to test for /lib/ld.so.1 and disable shared libraries on
11734 # powerpc, because MkLinux only supported shared libraries with the
11735 # GNU dynamic linker. Since this was broken with cross compilers,
11736 # most powerpc-linux boxes support dynamic linking these days and
11737 # people can always --disable-shared, the test was removed, and we
11738 # assume the GNU/Linux dynamic linker is in use.
11739 dynamic_linker
='GNU/Linux ld.so'
11746 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11748 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11749 dynamic_linker
='NetBSD (a.out) ld.so'
11751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11752 soname_spec
='${libname}${release}${shared_ext}$major'
11753 dynamic_linker
='NetBSD ld.elf_so'
11755 shlibpath_var
=LD_LIBRARY_PATH
11756 shlibpath_overrides_runpath
=yes
11757 hardcode_into_libs
=yes
11762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11763 shlibpath_var
=LD_LIBRARY_PATH
11764 shlibpath_overrides_runpath
=yes
11771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11772 soname_spec
='${libname}${release}${shared_ext}$major'
11773 shlibpath_var
=LD_LIBRARY_PATH
11774 shlibpath_overrides_runpath
=no
11775 hardcode_into_libs
=yes
11776 dynamic_linker
='ldqnx.so'
11781 sys_lib_dlsearch_path_spec
="/usr/lib"
11783 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11785 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11786 *) need_version
=no
;;
11788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11789 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11790 shlibpath_var
=LD_LIBRARY_PATH
11791 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11793 openbsd2.
[89] | openbsd2.
[89].
*)
11794 shlibpath_overrides_runpath
=no
11797 shlibpath_overrides_runpath
=yes
11801 shlibpath_overrides_runpath
=yes
11806 libname_spec
='$name'
11809 library_names_spec
='$libname${shared_ext} $libname.a'
11810 dynamic_linker
='OS/2 ld.exe'
11811 shlibpath_var
=LIBPATH
11814 osf3
* | osf4
* | osf5
*)
11818 soname_spec
='${libname}${release}${shared_ext}$major'
11819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11820 shlibpath_var
=LD_LIBRARY_PATH
11821 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11822 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11834 soname_spec
='${libname}${release}${shared_ext}$major'
11835 shlibpath_var
=LD_LIBRARY_PATH
11836 shlibpath_overrides_runpath
=yes
11837 hardcode_into_libs
=yes
11838 # ldd complains unless libraries are executable
11839 postinstall_cmds
='chmod +x $lib'
11844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11845 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11846 shlibpath_var
=LD_LIBRARY_PATH
11847 shlibpath_overrides_runpath
=yes
11848 if test "$with_gnu_ld" = yes; then
11856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11857 soname_spec
='${libname}${release}${shared_ext}$major'
11858 shlibpath_var
=LD_LIBRARY_PATH
11859 case $host_vendor in
11861 shlibpath_overrides_runpath
=no
11863 runpath_var
=LD_RUN_PATH
11871 shlibpath_overrides_runpath
=no
11872 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11878 if test -d /usr
/nec
;then
11880 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11881 soname_spec
='$libname${shared_ext}.$major'
11882 shlibpath_var
=LD_LIBRARY_PATH
11886 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11887 version_type
=freebsd-elf
11890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11891 soname_spec
='${libname}${release}${shared_ext}$major'
11892 shlibpath_var
=LD_LIBRARY_PATH
11893 shlibpath_overrides_runpath
=yes
11894 hardcode_into_libs
=yes
11895 if test "$with_gnu_ld" = yes; then
11896 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11898 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11901 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11905 sys_lib_dlsearch_path_spec
='/usr/lib'
11909 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11914 shlibpath_var
=LD_LIBRARY_PATH
11915 shlibpath_overrides_runpath
=no
11916 hardcode_into_libs
=yes
11921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11922 soname_spec
='${libname}${release}${shared_ext}$major'
11923 shlibpath_var
=LD_LIBRARY_PATH
11926 # Shared libraries for VwWorks, >= 7 only at this stage
11927 # and (fpic) still incompatible with "large" code models
11928 # in a few configurations. Only for RTP mode in any case,
11929 # and upon explicit request at configure time.
11932 case ${with_multisubdir}-${enable_shared} in
11939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11940 soname_spec
='${libname}${release}${shared_ext}$major'
11941 dynamic_linker
="$host_os module_loader"
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11950 $as_echo "$dynamic_linker" >&6; }
11951 test "$dynamic_linker" = no
&& can_build_shared
=no
11953 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11954 if test "$GCC" = yes; then
11955 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11958 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11959 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11961 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11962 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12057 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12059 if test -n "$hardcode_libdir_flag_spec" ||
12060 test -n "$runpath_var" ||
12061 test "X$hardcode_automatic" = "Xyes" ; then
12063 # We can hardcode non-existent directories.
12064 if test "$hardcode_direct" != no
&&
12065 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12066 # have to relink, otherwise we might link with an installed library
12067 # when we should be linking with a yet-to-be-installed one
12068 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12069 test "$hardcode_minus_L" != no
; then
12070 # Linking always hardcodes the temporary library directory.
12071 hardcode_action
=relink
12073 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12074 hardcode_action
=immediate
12077 # We cannot hardcode anything, or else we can only hardcode existing
12079 hardcode_action
=unsupported
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12082 $as_echo "$hardcode_action" >&6; }
12084 if test "$hardcode_action" = relink ||
12085 test "$inherit_rpath" = yes; then
12086 # Fast installation is not supported
12087 enable_fast_install
=no
12088 elif test "$shlibpath_overrides_runpath" = yes ||
12089 test "$enable_shared" = no
; then
12090 # Fast installation is not necessary
12091 enable_fast_install
=needless
12099 if test "x$enable_dlopen" != xyes
; then
12100 enable_dlopen
=unknown
12101 enable_dlopen_self
=unknown
12102 enable_dlopen_self_static
=unknown
12109 lt_cv_dlopen
="load_add_on"
12111 lt_cv_dlopen_self
=yes
12114 mingw
* | pw32
* | cegcc
*)
12115 lt_cv_dlopen
="LoadLibrary"
12120 lt_cv_dlopen
="dlopen"
12125 # if libdl is installed we need to link against it
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12127 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12128 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12129 $as_echo_n "(cached) " >&6
12131 ac_check_lib_save_LIBS
=$LIBS
12133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12151 if ac_fn_c_try_link
"$LINENO"; then :
12152 ac_cv_lib_dl_dlopen
=yes
12154 ac_cv_lib_dl_dlopen
=no
12156 rm -f core conftest.err conftest.
$ac_objext \
12157 conftest
$ac_exeext conftest.
$ac_ext
12158 LIBS
=$ac_check_lib_save_LIBS
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12161 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12162 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12163 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12166 lt_cv_dlopen
="dyld"
12168 lt_cv_dlopen_self
=yes
12175 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12176 if test "x$ac_cv_func_shl_load" = xyes
; then :
12177 lt_cv_dlopen
="shl_load"
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12180 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12181 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12182 $as_echo_n "(cached) " >&6
12184 ac_check_lib_save_LIBS
=$LIBS
12186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12199 return shl_load ();
12204 if ac_fn_c_try_link
"$LINENO"; then :
12205 ac_cv_lib_dld_shl_load
=yes
12207 ac_cv_lib_dld_shl_load
=no
12209 rm -f core conftest.err conftest.
$ac_objext \
12210 conftest
$ac_exeext conftest.
$ac_ext
12211 LIBS
=$ac_check_lib_save_LIBS
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12214 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12215 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12216 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12218 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12219 if test "x$ac_cv_func_dlopen" = xyes
; then :
12220 lt_cv_dlopen
="dlopen"
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12223 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12224 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12225 $as_echo_n "(cached) " >&6
12227 ac_check_lib_save_LIBS
=$LIBS
12229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12232 /* Override any GCC internal prototype to avoid an error.
12233 Use char because int might match the return type of a GCC
12234 builtin and then its argument prototype would still apply. */
12247 if ac_fn_c_try_link
"$LINENO"; then :
12248 ac_cv_lib_dl_dlopen
=yes
12250 ac_cv_lib_dl_dlopen
=no
12252 rm -f core conftest.err conftest.
$ac_objext \
12253 conftest
$ac_exeext conftest.
$ac_ext
12254 LIBS
=$ac_check_lib_save_LIBS
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12257 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12258 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12259 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12262 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12263 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12264 $as_echo_n "(cached) " >&6
12266 ac_check_lib_save_LIBS
=$LIBS
12267 LIBS
="-lsvld $LIBS"
12268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12286 if ac_fn_c_try_link
"$LINENO"; then :
12287 ac_cv_lib_svld_dlopen
=yes
12289 ac_cv_lib_svld_dlopen
=no
12291 rm -f core conftest.err conftest.
$ac_objext \
12292 conftest
$ac_exeext conftest.
$ac_ext
12293 LIBS
=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12296 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12297 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12298 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12301 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12302 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12303 $as_echo_n "(cached) " >&6
12305 ac_check_lib_save_LIBS
=$LIBS
12307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12308 /* end confdefs.h. */
12310 /* Override any GCC internal prototype to avoid an error.
12311 Use char because int might match the return type of a GCC
12312 builtin and then its argument prototype would still apply. */
12320 return dld_link ();
12325 if ac_fn_c_try_link
"$LINENO"; then :
12326 ac_cv_lib_dld_dld_link
=yes
12328 ac_cv_lib_dld_dld_link
=no
12330 rm -f core conftest.err conftest.
$ac_objext \
12331 conftest
$ac_exeext conftest.
$ac_ext
12332 LIBS
=$ac_check_lib_save_LIBS
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12335 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12336 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12337 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12358 if test "x$lt_cv_dlopen" != xno
; then
12364 case $lt_cv_dlopen in
12366 save_CPPFLAGS
="$CPPFLAGS"
12367 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12369 save_LDFLAGS
="$LDFLAGS"
12370 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12373 LIBS
="$lt_cv_dlopen_libs $LIBS"
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12376 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12377 if ${lt_cv_dlopen_self+:} false
; then :
12378 $as_echo_n "(cached) " >&6
12380 if test "$cross_compiling" = yes; then :
12381 lt_cv_dlopen_self
=cross
12383 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12384 lt_status
=$lt_dlunknown
12385 cat > conftest.
$ac_ext <<_LT_EOF
12386 #line 12386 "configure"
12387 #include "confdefs.h"
12396 # define LT_DLGLOBAL RTLD_GLOBAL
12399 # define LT_DLGLOBAL DL_GLOBAL
12401 # define LT_DLGLOBAL 0
12405 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12406 find out it does not work in some platform. */
12407 #ifndef LT_DLLAZY_OR_NOW
12409 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12412 # define LT_DLLAZY_OR_NOW DL_LAZY
12415 # define LT_DLLAZY_OR_NOW RTLD_NOW
12418 # define LT_DLLAZY_OR_NOW DL_NOW
12420 # define LT_DLLAZY_OR_NOW 0
12427 /* When -fvisbility=hidden is used, assume the code has been annotated
12428 correspondingly for the symbols needed. */
12429 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12430 void fnord () __attribute__((visibility("default")));
12433 void fnord () { int i=42; }
12436 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12437 int status = $lt_dlunknown;
12441 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12444 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12445 else puts (dlerror ());
12447 /* dlclose (self); */
12455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12456 (eval $ac_link) 2>&5
12458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12459 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12460 (.
/conftest
; exit; ) >&5 2>/dev
/null
12462 case x
$lt_status in
12463 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12464 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12465 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12468 # compilation failed
12469 lt_cv_dlopen_self
=no
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12477 $as_echo "$lt_cv_dlopen_self" >&6; }
12479 if test "x$lt_cv_dlopen_self" = xyes
; then
12480 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12482 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12483 if ${lt_cv_dlopen_self_static+:} false
; then :
12484 $as_echo_n "(cached) " >&6
12486 if test "$cross_compiling" = yes; then :
12487 lt_cv_dlopen_self_static
=cross
12489 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12490 lt_status
=$lt_dlunknown
12491 cat > conftest.
$ac_ext <<_LT_EOF
12492 #line 12492 "configure"
12493 #include "confdefs.h"
12502 # define LT_DLGLOBAL RTLD_GLOBAL
12505 # define LT_DLGLOBAL DL_GLOBAL
12507 # define LT_DLGLOBAL 0
12511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12512 find out it does not work in some platform. */
12513 #ifndef LT_DLLAZY_OR_NOW
12515 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12518 # define LT_DLLAZY_OR_NOW DL_LAZY
12521 # define LT_DLLAZY_OR_NOW RTLD_NOW
12524 # define LT_DLLAZY_OR_NOW DL_NOW
12526 # define LT_DLLAZY_OR_NOW 0
12533 /* When -fvisbility=hidden is used, assume the code has been annotated
12534 correspondingly for the symbols needed. */
12535 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12536 void fnord () __attribute__((visibility("default")));
12539 void fnord () { int i=42; }
12542 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12543 int status = $lt_dlunknown;
12547 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12550 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12551 else puts (dlerror ());
12553 /* dlclose (self); */
12561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12562 (eval $ac_link) 2>&5
12564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12565 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12566 (.
/conftest
; exit; ) >&5 2>/dev
/null
12568 case x
$lt_status in
12569 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12570 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12571 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12574 # compilation failed
12575 lt_cv_dlopen_self_static
=no
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12583 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12586 CPPFLAGS
="$save_CPPFLAGS"
12587 LDFLAGS
="$save_LDFLAGS"
12592 case $lt_cv_dlopen_self in
12593 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12594 *) enable_dlopen_self
=unknown
;;
12597 case $lt_cv_dlopen_self_static in
12598 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12599 *) enable_dlopen_self_static
=unknown
;;
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12622 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12623 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12624 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12625 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12627 $as_echo "yes" >&6; }
12629 # FIXME - insert some real tests, host_os isn't really good enough
12632 if test -n "$STRIP" ; then
12633 striplib
="$STRIP -x"
12634 old_striplib
="$STRIP -S"
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12636 $as_echo "yes" >&6; }
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12639 $as_echo "no" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12644 $as_echo "no" >&6; }
12660 # Report which library types will actually be built
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12662 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12664 $as_echo "$can_build_shared" >&6; }
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12667 $as_echo_n "checking whether to build shared libraries... " >&6; }
12668 test "$can_build_shared" = "no" && enable_shared
=no
12670 # On AIX, shared libraries and static libraries use the same namespace, and
12671 # are all built from PIC.
12674 test "$enable_shared" = yes && enable_static
=no
12675 if test -n "$RANLIB"; then
12676 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12677 postinstall_cmds
='$RANLIB $lib'
12682 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12683 test "$enable_shared" = yes && enable_static
=no
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12688 $as_echo "$enable_shared" >&6; }
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12691 $as_echo_n "checking whether to build static libraries... " >&6; }
12692 # Make sure either enable_shared or enable_static is yes.
12693 test "$enable_shared" = yes || enable_static
=yes
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12695 $as_echo "$enable_static" >&6; }
12702 ac_cpp
='$CPP $CPPFLAGS'
12703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12709 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12710 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12711 (test "X$CXX" != "Xg++"))) ; then
12713 ac_cpp
='$CXXCPP $CPPFLAGS'
12714 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12715 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12716 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12718 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12719 if test -z "$CXXCPP"; then
12720 if ${ac_cv_prog_CXXCPP+:} false
; then :
12721 $as_echo_n "(cached) " >&6
12723 # Double quotes because CXXCPP needs to be expanded
12724 for CXXCPP
in "$CXX -E" "/lib/cpp"
12726 ac_preproc_ok
=false
12727 for ac_cxx_preproc_warn_flag
in '' yes
12729 # Use a header file that comes with gcc, so configuring glibc
12730 # with a fresh cross-compiler works.
12731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12732 # <limits.h> exists even on freestanding compilers.
12733 # On the NeXT, cc -E runs the code through the compiler's parser,
12734 # not just through cpp. "Syntax error" is here to catch this case.
12735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12738 # include <limits.h>
12740 # include <assert.h>
12744 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12747 # Broken: fails on valid input.
12750 rm -f conftest.err conftest.i conftest.
$ac_ext
12752 # OK, works on sane cases. Now check whether nonexistent headers
12753 # can be detected and how.
12754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12756 #include <ac_nonexistent.h>
12758 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12759 # Broken: success on invalid input.
12762 # Passes both tests.
12766 rm -f conftest.err conftest.i conftest.
$ac_ext
12769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12770 rm -f conftest.i conftest.err conftest.
$ac_ext
12771 if $ac_preproc_ok; then :
12776 ac_cv_prog_CXXCPP
=$CXXCPP
12779 CXXCPP
=$ac_cv_prog_CXXCPP
12781 ac_cv_prog_CXXCPP
=$CXXCPP
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12784 $as_echo "$CXXCPP" >&6; }
12785 ac_preproc_ok
=false
12786 for ac_cxx_preproc_warn_flag
in '' yes
12788 # Use a header file that comes with gcc, so configuring glibc
12789 # with a fresh cross-compiler works.
12790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12791 # <limits.h> exists even on freestanding compilers.
12792 # On the NeXT, cc -E runs the code through the compiler's parser,
12793 # not just through cpp. "Syntax error" is here to catch this case.
12794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 # include <limits.h>
12799 # include <assert.h>
12803 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12806 # Broken: fails on valid input.
12809 rm -f conftest.err conftest.i conftest.
$ac_ext
12811 # OK, works on sane cases. Now check whether nonexistent headers
12812 # can be detected and how.
12813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12815 #include <ac_nonexistent.h>
12817 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12818 # Broken: success on invalid input.
12821 # Passes both tests.
12825 rm -f conftest.err conftest.i conftest.
$ac_ext
12828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12829 rm -f conftest.i conftest.err conftest.
$ac_ext
12830 if $ac_preproc_ok; then :
12833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12835 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12836 See \`config.log' for more details" "$LINENO" 5; }
12840 ac_cpp
='$CPP $CPPFLAGS'
12841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12846 _lt_caught_CXX_error
=yes
12850 ac_cpp
='$CXXCPP $CPPFLAGS'
12851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12855 archive_cmds_need_lc_CXX
=no
12856 allow_undefined_flag_CXX
=
12857 always_export_symbols_CXX
=no
12858 archive_expsym_cmds_CXX
=
12859 compiler_needs_object_CXX
=no
12860 export_dynamic_flag_spec_CXX
=
12861 hardcode_direct_CXX
=no
12862 hardcode_direct_absolute_CXX
=no
12863 hardcode_libdir_flag_spec_CXX
=
12864 hardcode_libdir_flag_spec_ld_CXX
=
12865 hardcode_libdir_separator_CXX
=
12866 hardcode_minus_L_CXX
=no
12867 hardcode_shlibpath_var_CXX
=unsupported
12868 hardcode_automatic_CXX
=no
12869 inherit_rpath_CXX
=no
12871 module_expsym_cmds_CXX
=
12872 link_all_deplibs_CXX
=unknown
12873 old_archive_cmds_CXX
=$old_archive_cmds
12874 reload_flag_CXX
=$reload_flag
12875 reload_cmds_CXX
=$reload_cmds
12876 no_undefined_flag_CXX
=
12877 whole_archive_flag_spec_CXX
=
12878 enable_shared_with_static_runtimes_CXX
=no
12880 # Source file extension for C++ test sources.
12883 # Object file extension for compiled C++ test sources.
12887 # No sense in running all these tests if we already determined that
12888 # the CXX compiler isn't working. Some variables (like enable_shared)
12889 # are currently assumed to apply to all compilers on this platform,
12890 # and will be corrupted by setting them based on a non-working compiler.
12891 if test "$_lt_caught_CXX_error" != yes; then
12892 # Code to be used in simple compile tests
12893 lt_simple_compile_test_code
="int some_variable = 0;"
12895 # Code to be used in simple link tests
12896 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12898 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12905 # If no C compiler was specified, use CC.
12908 # If no C compiler flags were specified, use CFLAGS.
12909 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12911 # Allow CC to be a program name with arguments.
12915 # save warnings/boilerplate of simple test code
12916 ac_outfile
=conftest.
$ac_objext
12917 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12918 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12919 _lt_compiler_boilerplate
=`cat conftest.err`
12922 ac_outfile
=conftest.
$ac_objext
12923 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12924 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12925 _lt_linker_boilerplate
=`cat conftest.err`
12929 # Allow CC to be a program name with arguments.
12934 lt_save_with_gnu_ld
=$with_gnu_ld
12935 lt_save_path_LD
=$lt_cv_path_LD
12936 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12937 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12939 $as_unset lt_cv_prog_gnu_ld
12941 if test -n "${lt_cv_path_LDCXX+set}"; then
12942 lt_cv_path_LD
=$lt_cv_path_LDCXX
12944 $as_unset lt_cv_path_LD
12946 test -z "${LDCXX+set}" || LD
=$LDCXX
12950 for cc_temp
in $compiler""; do
12952 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12953 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12958 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12961 if test -n "$compiler"; then
12962 # We don't want -fno-exception when compiling C++ code, so set the
12963 # no_builtin_flag separately
12964 if test "$GXX" = yes; then
12965 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12967 lt_prog_compiler_no_builtin_flag_CXX
=
12970 if test "$GXX" = yes; then
12971 # Set up default GNU C++ configuration
12975 # Check whether --with-gnu-ld was given.
12976 if test "${with_gnu_ld+set}" = set; then :
12977 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12983 if test "$GCC" = yes; then
12984 # Check if gcc -print-prog-name=ld gives a path.
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12986 $as_echo_n "checking for ld used by $CC... " >&6; }
12989 # gcc leaves a trailing carriage return which upsets mingw
12990 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12992 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12995 # Accept absolute paths.
12997 re_direlt
='/[^/][^/]*/\.\./'
12998 # Canonicalize the pathname of ld
12999 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13000 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13001 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13003 test -z "$LD" && LD
="$ac_prog"
13006 # If it fails, then pretend we aren't using GCC.
13010 # If it is relative, then search for the first ld in PATH.
13011 with_gnu_ld
=unknown
13014 elif test "$with_gnu_ld" = yes; then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13016 $as_echo_n "checking for GNU ld... " >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13019 $as_echo_n "checking for non-GNU ld... " >&6; }
13021 if ${lt_cv_path_LD+:} false
; then :
13022 $as_echo_n "(cached) " >&6
13024 if test -z "$LD"; then
13025 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13026 for ac_dir
in $PATH; do
13028 test -z "$ac_dir" && ac_dir
=.
13029 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13030 lt_cv_path_LD
="$ac_dir/$ac_prog"
13031 # Check to see if the program is GNU ld. I'd rather use --version,
13032 # but apparently some variants of GNU ld only accept -v.
13033 # Break only if it was the GNU/non-GNU ld that we prefer.
13034 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13035 *GNU
* |
*'with BFD'*)
13036 test "$with_gnu_ld" != no
&& break
13039 test "$with_gnu_ld" != yes && break
13046 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13050 LD
="$lt_cv_path_LD"
13051 if test -n "$LD"; then
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13053 $as_echo "$LD" >&6; }
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13056 $as_echo "no" >&6; }
13058 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13060 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13061 if ${lt_cv_prog_gnu_ld+:} false
; then :
13062 $as_echo_n "(cached) " >&6
13064 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13065 case `$LD -v 2>&1 </dev/null` in
13066 *GNU
* |
*'with BFD'*)
13067 lt_cv_prog_gnu_ld
=yes
13070 lt_cv_prog_gnu_ld
=no
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13075 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13076 with_gnu_ld
=$lt_cv_prog_gnu_ld
13084 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13085 # archiving commands below assume that GNU ld is being used.
13086 if test "$with_gnu_ld" = yes; then
13087 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13088 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'
13090 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13091 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13093 # If archive_cmds runs LD, not CC, wlarc should be empty
13094 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13095 # investigate it a little bit more. (MM)
13098 # ancient GNU ld didn't support --whole-archive et. al.
13099 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13100 $GREP 'no-whole-archive' > /dev
/null
; then
13101 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13103 whole_archive_flag_spec_CXX
=
13109 # A generic and very simple default shared library creation
13110 # command for GNU C++ for the case where it uses the native
13111 # linker, instead of GNU ld. If possible, this setting should
13112 # overridden to take advantage of the native linker features on
13113 # the platform it is being used on.
13114 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13117 # Commands to make compiler produce verbose output that lists
13118 # what "hidden" libraries, object files and flags are used when
13119 # linking a shared library.
13120 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13128 # PORTME: fill in a description of your system's C++ link characteristics
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13130 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13134 # FIXME: insert proper C++ library support
13138 if test "$host_cpu" = ia64
; then
13139 # On IA64, the linker does run time linking by default, so we don't
13140 # have to do anything special.
13141 aix_use_runtimelinking
=no
13142 exp_sym_flag
='-Bexport'
13145 aix_use_runtimelinking
=no
13147 # Test if we are trying to use run time linking or normal
13148 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13149 # need to do runtime linking.
13150 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13151 for ld_flag
in $LDFLAGS; do
13154 aix_use_runtimelinking
=yes
13162 exp_sym_flag
='-bexport'
13163 no_entry_flag
='-bnoentry'
13166 # When large executables or shared objects are built, AIX ld can
13167 # have problems creating the table of contents. If linking a library
13168 # or program results in "error TOC overflow" add -mminimal-toc to
13169 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13170 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13172 archive_cmds_CXX
=''
13173 hardcode_direct_CXX
=yes
13174 hardcode_direct_absolute_CXX
=yes
13175 hardcode_libdir_separator_CXX
=':'
13176 link_all_deplibs_CXX
=yes
13177 file_list_spec_CXX
='${wl}-f,'
13179 if test "$GXX" = yes; then
13180 case $host_os in aix4.
[012]|aix4.
[012].
*)
13181 # We only want to do this on AIX 4.2 and lower, the check
13182 # below for broken collect2 doesn't work under 4.3+
13183 collect2name
=`${CC} -print-prog-name=collect2`
13184 if test -f "$collect2name" &&
13185 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13187 # We have reworked collect2
13190 # We have old collect2
13191 hardcode_direct_CXX
=unsupported
13192 # It fails to find uninstalled libraries when the uninstalled
13193 # path is not listed in the libpath. Setting hardcode_minus_L
13194 # to unsupported forces relinking
13195 hardcode_minus_L_CXX
=yes
13196 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13197 hardcode_libdir_separator_CXX
=
13200 shared_flag
='-shared'
13201 if test "$aix_use_runtimelinking" = yes; then
13202 shared_flag
="$shared_flag "'${wl}-G'
13206 if test "$host_cpu" = ia64
; then
13207 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13208 # chokes on -Wl,-G. The following line is correct:
13211 if test "$aix_use_runtimelinking" = yes; then
13212 shared_flag
='${wl}-G'
13214 shared_flag
='${wl}-bM:SRE'
13219 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13220 # It seems that -bexpall does not export symbols beginning with
13221 # underscore (_), so it is better to generate a list of symbols to
13223 always_export_symbols_CXX
=yes
13224 if test "$aix_use_runtimelinking" = yes; then
13225 # Warning - without using the other runtime loading flags (-brtl),
13226 # -berok will link without error, but may produce a broken library.
13227 allow_undefined_flag_CXX
='-berok'
13228 # Determine the default libpath from the value encoded in an empty
13230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h. */
13241 if ac_fn_cxx_try_link
"$LINENO"; then :
13243 lt_aix_libpath_sed
='
13244 /Import File Strings/,/^$/ {
13250 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13251 # Check for a 64-bit object if we didn't find anything.
13252 if test -z "$aix_libpath"; then
13253 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13256 rm -f core conftest.err conftest.
$ac_objext \
13257 conftest
$ac_exeext conftest.
$ac_ext
13258 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13260 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13262 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"
13264 if test "$host_cpu" = ia64
; then
13265 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13266 allow_undefined_flag_CXX
="-z nodefs"
13267 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"
13269 # Determine the default libpath from the value encoded in an
13270 # empty executable.
13271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13282 if ac_fn_cxx_try_link
"$LINENO"; then :
13284 lt_aix_libpath_sed
='
13285 /Import File Strings/,/^$/ {
13291 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13292 # Check for a 64-bit object if we didn't find anything.
13293 if test -z "$aix_libpath"; then
13294 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13297 rm -f core conftest.err conftest.
$ac_objext \
13298 conftest
$ac_exeext conftest.
$ac_ext
13299 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13301 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13302 # Warning - without using the other run time loading flags,
13303 # -berok will link without error, but may produce a broken library.
13304 no_undefined_flag_CXX
=' ${wl}-bernotok'
13305 allow_undefined_flag_CXX
=' ${wl}-berok'
13306 if test "$with_gnu_ld" = yes; then
13307 # We only use this code for GNU lds that support --whole-archive.
13308 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13310 # Exported symbols can be pulled into shared objects from archives
13311 whole_archive_flag_spec_CXX
='$convenience'
13313 archive_cmds_need_lc_CXX
=yes
13314 # This is similar to how AIX traditionally builds its shared
13316 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'
13322 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13323 allow_undefined_flag_CXX
=unsupported
13324 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13325 # support --undefined. This deserves some investigation. FIXME
13326 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13333 case $cc_basename in
13335 # FIXME: insert proper C++ library support
13341 cygwin
* | mingw
* | pw32
* | cegcc
*)
13342 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13343 # as there is no search path for DLLs.
13344 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13345 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13346 allow_undefined_flag_CXX
=unsupported
13347 always_export_symbols_CXX
=no
13348 enable_shared_with_static_runtimes_CXX
=yes
13350 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13351 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'
13352 # If the export-symbols file already is a .def file (1st line
13353 # is EXPORTS), use it as is; otherwise, prepend...
13354 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13355 cp $export_symbols $output_objdir/$soname.def;
13357 echo EXPORTS > $output_objdir/$soname.def;
13358 cat $export_symbols >> $output_objdir/$soname.def;
13360 $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'
13365 darwin
* | rhapsody
*)
13368 archive_cmds_need_lc_CXX
=no
13369 hardcode_direct_CXX
=no
13370 hardcode_automatic_CXX
=yes
13371 hardcode_shlibpath_var_CXX
=unsupported
13372 if test "$lt_cv_ld_force_load" = "yes"; then
13373 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\"`'
13375 whole_archive_flag_spec_CXX
=''
13377 link_all_deplibs_CXX
=yes
13378 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13379 case $cc_basename in
13380 ifort
*) _lt_dar_can_shared
=yes ;;
13381 *) _lt_dar_can_shared
=$GCC ;;
13383 if test "$_lt_dar_can_shared" = "yes"; then
13384 output_verbose_link_cmd
=func_echo_all
13385 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13386 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13387 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13388 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}"
13389 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13390 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13391 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}"
13401 case $cc_basename in
13403 # FIXME: insert proper C++ library support
13407 # Green Hills C++ Compiler
13408 # FIXME: insert proper C++ library support
13412 # FIXME: insert proper C++ library support
13419 # C++ shared libraries reported to be fairly broken before
13425 archive_cmds_need_lc_CXX
=no
13428 freebsd
* | dragonfly
*)
13429 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13438 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13439 link_all_deplibs_CXX
=yes
13443 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13444 hardcode_libdir_separator_CXX
=:
13445 export_dynamic_flag_spec_CXX
='${wl}-E'
13446 hardcode_direct_CXX
=yes
13447 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13448 # but as the default
13449 # location of the library.
13451 case $cc_basename in
13453 # FIXME: insert proper C++ library support
13457 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'
13458 # Commands to make compiler produce verbose output that lists
13459 # what "hidden" libraries, object files and flags are used when
13460 # linking a shared library.
13462 # There doesn't appear to be a way to prevent this compiler from
13463 # explicitly linking system object files so we need to strip them
13464 # from the output so that they don't get included in the library
13466 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"'
13469 if test "$GXX" = yes; then
13470 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'
13472 # FIXME: insert proper C++ library support
13480 if test $with_gnu_ld = no
; then
13481 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13482 hardcode_libdir_separator_CXX
=:
13488 export_dynamic_flag_spec_CXX
='${wl}-E'
13494 hardcode_direct_CXX
=no
13495 hardcode_shlibpath_var_CXX
=no
13498 hardcode_direct_CXX
=yes
13499 hardcode_direct_absolute_CXX
=yes
13500 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13501 # but as the default
13502 # location of the library.
13506 case $cc_basename in
13508 # FIXME: insert proper C++ library support
13514 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13517 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13520 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13523 # Commands to make compiler produce verbose output that lists
13524 # what "hidden" libraries, object files and flags are used when
13525 # linking a shared library.
13527 # There doesn't appear to be a way to prevent this compiler from
13528 # explicitly linking system object files so we need to strip them
13529 # from the output so that they don't get included in the library
13531 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"'
13534 if test "$GXX" = yes; then
13535 if test $with_gnu_ld = no
; then
13538 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13541 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13544 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'
13549 # FIXME: insert proper C++ library support
13557 hardcode_direct_CXX
=no
13558 hardcode_shlibpath_var_CXX
=no
13559 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13560 export_dynamic_flag_spec_CXX
='${wl}-E'
13561 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13562 # Instead, shared libraries are loaded at an image base (0x10000000 by
13563 # default) and relocated if they conflict, which is a slow very memory
13564 # consuming and fragmenting process. To avoid this, we pick a random,
13565 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13566 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13567 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'
13568 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'
13571 case $cc_basename in
13574 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'
13576 # Archives containing C++ object files must be created using
13577 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13578 # necessary to make sure instantiated templates are included
13580 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13583 if test "$GXX" = yes; then
13584 if test "$with_gnu_ld" = no
; then
13585 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'
13587 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'
13590 link_all_deplibs_CXX
=yes
13593 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13594 hardcode_libdir_separator_CXX
=:
13595 inherit_rpath_CXX
=yes
13598 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13599 case $cc_basename in
13601 # Kuck and Associates, Inc. (KAI) C++ Compiler
13603 # KCC will only create a shared library if the output file
13604 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13605 # to its proper name (with version) after linking.
13606 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'
13607 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'
13608 # Commands to make compiler produce verbose output that lists
13609 # what "hidden" libraries, object files and flags are used when
13610 # linking a shared library.
13612 # There doesn't appear to be a way to prevent this compiler from
13613 # explicitly linking system object files so we need to strip them
13614 # from the output so that they don't get included in the library
13616 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"'
13618 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13619 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13621 # Archives containing C++ object files must be created using
13622 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13623 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13628 # version 8.0 and above of icpc choke on multiply defined symbols
13629 # if we add $predep_objects and $postdep_objects, however 7.1 and
13630 # earlier do not add the objects themselves.
13631 case `$CC -V 2>&1` in
13633 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13634 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'
13636 *) # Version 8.0 or newer
13639 ia64
*) tmp_idyn
=' -i_dynamic';;
13641 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13642 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'
13645 archive_cmds_need_lc_CXX
=no
13646 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13647 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13648 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13651 # Portland Group C++ compiler
13653 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13654 prelink_cmds_CXX
='tpldir=Template.dir~
13656 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13657 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13658 old_archive_cmds_CXX
='tpldir=Template.dir~
13660 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13661 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13663 archive_cmds_CXX
='tpldir=Template.dir~
13665 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13666 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13667 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13669 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13670 $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'
13672 *) # Version 6 and above use weak symbols
13673 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13674 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'
13678 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13679 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13680 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'
13684 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13685 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'
13687 runpath_var
=LD_RUN_PATH
13688 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13689 hardcode_libdir_separator_CXX
=:
13691 # Commands to make compiler produce verbose output that lists
13692 # what "hidden" libraries, object files and flags are used when
13693 # linking a shared library.
13695 # There doesn't appear to be a way to prevent this compiler from
13696 # explicitly linking system object files so we need to strip them
13697 # from the output so that they don't get included in the library
13699 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'
13701 xl
* | mpixl
* | bgxl
*)
13702 # IBM XL 8.0 on PPC, with GNU ld
13703 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13704 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13705 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13706 if test "x$supports_anon_versioning" = xyes
; then
13707 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13708 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13709 echo "local: *; };" >> $output_objdir/$libname.ver~
13710 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13714 case `$CC -V 2>&1 | sed 5q` in
13717 no_undefined_flag_CXX
=' -zdefs'
13718 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13719 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'
13720 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13721 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'
13722 compiler_needs_object_CXX
=yes
13724 # Not sure whether something based on
13725 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13727 output_verbose_link_cmd
='func_echo_all'
13729 # Archives containing C++ object files must be created using
13730 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13731 # necessary to make sure instantiated templates are included
13733 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13741 # FIXME: insert proper C++ library support
13746 # FIXME: insert proper C++ library support
13751 case $cc_basename in
13753 # FIXME: insert proper C++ library support
13757 # FIXME: insert proper C++ library support
13764 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13765 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13767 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13768 hardcode_direct_CXX
=yes
13769 hardcode_shlibpath_var_CXX
=no
13771 # Workaround some broken pre-1.5 toolchains
13772 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13780 # C++ shared libraries are fairly broken
13785 if test -f /usr
/libexec
/ld.so
; then
13786 hardcode_direct_CXX
=yes
13787 hardcode_shlibpath_var_CXX
=no
13788 hardcode_direct_absolute_CXX
=yes
13789 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13790 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13791 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13792 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13793 export_dynamic_flag_spec_CXX
='${wl}-E'
13794 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13796 output_verbose_link_cmd
=func_echo_all
13802 osf3
* | osf4
* | osf5
*)
13803 case $cc_basename in
13805 # Kuck and Associates, Inc. (KAI) C++ Compiler
13807 # KCC will only create a shared library if the output file
13808 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13809 # to its proper name (with version) after linking.
13810 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'
13812 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13813 hardcode_libdir_separator_CXX
=:
13815 # Archives containing C++ object files must be created using
13816 # the KAI C++ compiler.
13818 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13819 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13823 # Rational C++ 2.4.1
13824 # FIXME: insert proper C++ library support
13830 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13831 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'
13832 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13835 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13836 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'
13837 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13838 echo "-hidden">> $lib.exp~
13839 $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~
13841 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13845 hardcode_libdir_separator_CXX
=:
13847 # Commands to make compiler produce verbose output that lists
13848 # what "hidden" libraries, object files and flags are used when
13849 # linking a shared library.
13851 # There doesn't appear to be a way to prevent this compiler from
13852 # explicitly linking system object files so we need to strip them
13853 # from the output so that they don't get included in the library
13855 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"'
13858 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13859 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13862 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'
13865 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'
13869 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13870 hardcode_libdir_separator_CXX
=:
13872 # Commands to make compiler produce verbose output that lists
13873 # what "hidden" libraries, object files and flags are used when
13874 # linking a shared library.
13875 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13878 # FIXME: insert proper C++ library support
13886 # FIXME: insert proper C++ library support
13891 case $cc_basename in
13894 # FIXME: insert proper C++ library support
13899 # FIXME: insert proper C++ library support
13903 # FIXME: insert proper C++ library support
13910 case $cc_basename in
13912 # Sun C++ 4.2, 5.x and Centerline C++
13913 archive_cmds_need_lc_CXX
=yes
13914 no_undefined_flag_CXX
=' -zdefs'
13915 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13916 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13917 $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'
13919 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13920 hardcode_shlibpath_var_CXX
=no
13922 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13924 # The compiler driver will combine and reorder linker options,
13925 # but understands `-z linker_flag'.
13926 # Supported since Solaris 2.6 (maybe 2.5.1?)
13927 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13930 link_all_deplibs_CXX
=yes
13932 output_verbose_link_cmd
='func_echo_all'
13934 # Archives containing C++ object files must be created using
13935 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13936 # necessary to make sure instantiated templates are included
13938 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13941 # Green Hills C++ Compiler
13942 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13944 # The C++ compiler must be used to create the archive.
13945 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13948 # GNU C++ compiler with Solaris linker
13949 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13950 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13951 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13952 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13953 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13954 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13956 # Commands to make compiler produce verbose output that lists
13957 # what "hidden" libraries, object files and flags are used when
13958 # linking a shared library.
13959 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13961 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13963 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13964 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13965 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13967 # Commands to make compiler produce verbose output that lists
13968 # what "hidden" libraries, object files and flags are used when
13969 # linking a shared library.
13970 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13973 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13975 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13977 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13985 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13986 no_undefined_flag_CXX
='${wl}-z,text'
13987 archive_cmds_need_lc_CXX
=no
13988 hardcode_shlibpath_var_CXX
=no
13989 runpath_var
='LD_RUN_PATH'
13991 case $cc_basename in
13993 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13994 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13997 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13998 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14003 sysv5
* | sco3.2v5
* | sco5v6
*)
14004 # Note: We can NOT use -z defs as we might desire, because we do not
14005 # link with -lc, and that would cause any symbols used from libc to
14006 # always be unresolved, which means just about no library would
14007 # ever link correctly. If we're not using GNU ld we use -z text
14008 # though, which does catch some bad symbols but isn't as heavy-handed
14010 no_undefined_flag_CXX
='${wl}-z,text'
14011 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14012 archive_cmds_need_lc_CXX
=no
14013 hardcode_shlibpath_var_CXX
=no
14014 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14015 hardcode_libdir_separator_CXX
=':'
14016 link_all_deplibs_CXX
=yes
14017 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14018 runpath_var
='LD_RUN_PATH'
14020 case $cc_basename in
14022 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14023 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14024 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14025 '"$old_archive_cmds_CXX"
14026 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14027 '"$reload_cmds_CXX"
14030 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14031 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14037 case $cc_basename in
14039 # NonStop-UX NCC 3.20
14040 # FIXME: insert proper C++ library support
14044 # FIXME: insert proper C++ library support
14051 # For VxWorks ports, we assume the use of a GNU linker with
14052 # standard elf conventions.
14057 # FIXME: insert proper C++ library support
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14063 $as_echo "$ld_shlibs_CXX" >&6; }
14064 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14070 ## There is no encapsulation within the following macros, do not change
14071 ## the running order or otherwise move them around unless you know exactly
14072 ## what you are doing...
14073 # Dependencies to place before and after the object being linked:
14074 predep_objects_CXX
=
14075 postdep_objects_CXX
=
14078 compiler_lib_search_path_CXX
=
14080 cat > conftest.
$ac_ext <<_LT_EOF
14084 Foo (void) { a = 0; }
14090 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14091 (eval $ac_compile) 2>&5
14093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14094 test $ac_status = 0; }; then
14095 # Parse the compiler output and extract the necessary
14096 # objects, libraries and library flags.
14098 # Sentinel used to keep track of whether or not we are before
14099 # the conftest object file.
14100 pre_test_object_deps_done
=no
14102 for p
in `eval "$output_verbose_link_cmd"`; do
14106 # Some compilers place space between "-{L,R}" and the path.
14107 # Remove the space.
14108 if test $p = "-L" ||
14109 test $p = "-R"; then
14116 if test "$pre_test_object_deps_done" = no
; then
14119 # Internal compiler library paths should come after those
14120 # provided the user. The postdeps already come after the
14121 # user supplied libs so there is no need to process them.
14122 if test -z "$compiler_lib_search_path_CXX"; then
14123 compiler_lib_search_path_CXX
="${prev}${p}"
14125 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14128 # The "-l" case would never come before the object being
14129 # linked, so don't bother handling this case.
14132 if test -z "$postdeps_CXX"; then
14133 postdeps_CXX
="${prev}${p}"
14135 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14141 # This assumes that the test object file only shows up
14142 # once in the compiler output.
14143 if test "$p" = "conftest.$objext"; then
14144 pre_test_object_deps_done
=yes
14148 if test "$pre_test_object_deps_done" = no
; then
14149 if test -z "$predep_objects_CXX"; then
14150 predep_objects_CXX
="$p"
14152 predep_objects_CXX
="$predep_objects_CXX $p"
14155 if test -z "$postdep_objects_CXX"; then
14156 postdep_objects_CXX
="$p"
14158 postdep_objects_CXX
="$postdep_objects_CXX $p"
14163 *) ;; # Ignore the rest.
14171 echo "libtool.m4: error: problem compiling CXX test program"
14174 $RM -f confest.
$objext
14176 # PORTME: override above test on systems where it is broken
14179 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14180 # hack all around it, let's just trust "g++" to DTRT.
14181 predep_objects_CXX
=
14182 postdep_objects_CXX
=
14187 case `$CC -V 2>&1 | sed 5q` in
14191 # The more standards-conforming stlport4 library is
14192 # incompatible with the Cstd library. Avoid specifying
14193 # it if it's in CXXFLAGS. Ignore libCrun as
14194 # -library=stlport4 depends on it.
14195 case " $CXX $CXXFLAGS " in
14196 *" -library=stlport4 "*)
14197 solaris_use_stlport4
=yes
14201 if test "$solaris_use_stlport4" != yes; then
14202 postdeps_CXX
='-library=Cstd -library=Crun'
14209 case $cc_basename in
14211 # The more standards-conforming stlport4 library is
14212 # incompatible with the Cstd library. Avoid specifying
14213 # it if it's in CXXFLAGS. Ignore libCrun as
14214 # -library=stlport4 depends on it.
14215 case " $CXX $CXXFLAGS " in
14216 *" -library=stlport4 "*)
14217 solaris_use_stlport4
=yes
14221 # Adding this requires a known-good setup of shared libraries for
14222 # Sun compiler versions before 5.6, else PIC objects from an old
14223 # archive will be linked into the output, leading to subtle bugs.
14224 if test "$solaris_use_stlport4" != yes; then
14225 postdeps_CXX
='-library=Cstd -library=Crun'
14233 case " $postdeps_CXX " in
14234 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14236 compiler_lib_search_dirs_CXX
=
14237 if test -n "${compiler_lib_search_path_CXX}"; then
14238 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14271 lt_prog_compiler_wl_CXX
=
14272 lt_prog_compiler_pic_CXX
=
14273 lt_prog_compiler_static_CXX
=
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14276 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14278 # C++ specific cases for pic, static, wl, etc.
14279 if test "$GXX" = yes; then
14280 lt_prog_compiler_wl_CXX
='-Wl,'
14281 lt_prog_compiler_static_CXX
='-static'
14285 # All AIX code is PIC.
14286 if test "$host_cpu" = ia64
; then
14287 # AIX 5 now supports IA64 processor
14288 lt_prog_compiler_static_CXX
='-Bstatic'
14290 lt_prog_compiler_pic_CXX
='-fPIC'
14296 # see comment about AmigaOS4 .so support
14297 lt_prog_compiler_pic_CXX
='-fPIC'
14300 # FIXME: we need at least 68020 code to build shared libraries, but
14301 # adding the `-m68020' flag to GCC prevents building anything better,
14303 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14308 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14309 # PIC is the default for these OSes.
14311 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14312 # This hack is so that the source file can tell whether it is being
14313 # built for inclusion in a dll (and should export symbols for example).
14314 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14315 # (--disable-auto-import) libraries
14316 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14318 darwin
* | rhapsody
*)
14319 # PIC is the default on this platform
14320 # Common symbols not allowed in MH_DYLIB files
14321 lt_prog_compiler_pic_CXX
='-fno-common'
14324 # DJGPP does not support shared libraries at all
14325 lt_prog_compiler_pic_CXX
=
14328 # PIC is the default for Haiku.
14329 # The "-static" flag exists, but is broken.
14330 lt_prog_compiler_static_CXX
=
14333 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14334 # Instead, we relocate shared libraries at runtime.
14337 if test -d /usr
/nec
; then
14338 lt_prog_compiler_pic_CXX
=-Kconform_pic
14342 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14343 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14344 # sets the default TLS model and affects inlining.
14349 lt_prog_compiler_pic_CXX
='-fPIC'
14354 # QNX uses GNU C++, but need to define -shared option too, otherwise
14355 # it will coredump.
14356 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14359 lt_prog_compiler_pic_CXX
='-fPIC'
14365 # All AIX code is PIC.
14366 if test "$host_cpu" = ia64
; then
14367 # AIX 5 now supports IA64 processor
14368 lt_prog_compiler_static_CXX
='-Bstatic'
14370 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14374 case $cc_basename in
14376 # Green Hills C++ Compiler
14377 # _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"
14382 case $cc_basename in
14384 lt_prog_compiler_pic_CXX
='-KPIC'
14387 # Green Hills C++ Compiler
14388 lt_prog_compiler_pic_CXX
='-pic'
14394 freebsd
* | dragonfly
*)
14395 # FreeBSD uses GNU C++
14397 hpux9
* | hpux10
* | hpux11
*)
14398 case $cc_basename in
14400 lt_prog_compiler_wl_CXX
='-Wl,'
14401 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14402 if test "$host_cpu" != ia64
; then
14403 lt_prog_compiler_pic_CXX
='+Z'
14407 lt_prog_compiler_wl_CXX
='-Wl,'
14408 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14414 lt_prog_compiler_pic_CXX
='+Z'
14423 # This is c89, which is MS Visual C++ (no shared libs)
14424 # Anyone wants to do a port?
14426 irix5
* | irix6
* | nonstopux
*)
14427 case $cc_basename in
14429 lt_prog_compiler_wl_CXX
='-Wl,'
14430 lt_prog_compiler_static_CXX
='-non_shared'
14431 # CC pic flag -KPIC is the default.
14437 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14438 case $cc_basename in
14441 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14442 lt_prog_compiler_pic_CXX
='-fPIC'
14445 # old Intel C++ for x86_64 which still supported -KPIC.
14446 lt_prog_compiler_wl_CXX
='-Wl,'
14447 lt_prog_compiler_pic_CXX
='-KPIC'
14448 lt_prog_compiler_static_CXX
='-static'
14451 # Intel C++, used to be incompatible with GCC.
14452 # ICC 10 doesn't accept -KPIC any more.
14453 lt_prog_compiler_wl_CXX
='-Wl,'
14454 lt_prog_compiler_pic_CXX
='-fPIC'
14455 lt_prog_compiler_static_CXX
='-static'
14458 # Portland Group C++ compiler
14459 lt_prog_compiler_wl_CXX
='-Wl,'
14460 lt_prog_compiler_pic_CXX
='-fpic'
14461 lt_prog_compiler_static_CXX
='-Bstatic'
14465 # Make sure the PIC flag is empty. It appears that all Alpha
14466 # Linux and Compaq Tru64 Unix objects are PIC.
14467 lt_prog_compiler_pic_CXX
=
14468 lt_prog_compiler_static_CXX
='-non_shared'
14470 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14471 # IBM XL 8.0, 9.0 on PPC and BlueGene
14472 lt_prog_compiler_wl_CXX
='-Wl,'
14473 lt_prog_compiler_pic_CXX
='-qpic'
14474 lt_prog_compiler_static_CXX
='-qstaticlink'
14477 case `$CC -V 2>&1 | sed 5q` in
14480 lt_prog_compiler_pic_CXX
='-KPIC'
14481 lt_prog_compiler_static_CXX
='-Bstatic'
14482 lt_prog_compiler_wl_CXX
='-Qoption ld '
14493 case $cc_basename in
14495 lt_prog_compiler_pic_CXX
='-W c,exportall'
14504 # QNX uses GNU C++, but need to define -shared option too, otherwise
14505 # it will coredump.
14506 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14508 osf3
* | osf4
* | osf5
*)
14509 case $cc_basename in
14511 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14514 # Rational C++ 2.4.1
14515 lt_prog_compiler_pic_CXX
='-pic'
14518 # Digital/Compaq C++
14519 lt_prog_compiler_wl_CXX
='-Wl,'
14520 # Make sure the PIC flag is empty. It appears that all Alpha
14521 # Linux and Compaq Tru64 Unix objects are PIC.
14522 lt_prog_compiler_pic_CXX
=
14523 lt_prog_compiler_static_CXX
='-non_shared'
14532 case $cc_basename in
14534 # Sun C++ 4.2, 5.x and Centerline C++
14535 lt_prog_compiler_pic_CXX
='-KPIC'
14536 lt_prog_compiler_static_CXX
='-Bstatic'
14537 lt_prog_compiler_wl_CXX
='-Qoption ld '
14540 # Green Hills C++ Compiler
14541 lt_prog_compiler_pic_CXX
='-PIC'
14548 case $cc_basename in
14551 lt_prog_compiler_pic_CXX
='-pic'
14552 lt_prog_compiler_static_CXX
='-Bstatic'
14556 lt_prog_compiler_pic_CXX
='-pic'
14562 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14563 case $cc_basename in
14565 lt_prog_compiler_wl_CXX
='-Wl,'
14566 lt_prog_compiler_pic_CXX
='-KPIC'
14567 lt_prog_compiler_static_CXX
='-Bstatic'
14572 case $cc_basename in
14574 # NonStop-UX NCC 3.20
14575 lt_prog_compiler_pic_CXX
='-KPIC'
14584 lt_prog_compiler_can_build_shared_CXX
=no
14590 # For platforms which do not support PIC, -DPIC is meaningless:
14592 lt_prog_compiler_pic_CXX
=
14595 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14599 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14604 # Check to make sure the PIC flag actually works.
14606 if test -n "$lt_prog_compiler_pic_CXX"; then
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14608 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14609 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14610 $as_echo_n "(cached) " >&6
14612 lt_cv_prog_compiler_pic_works_CXX
=no
14613 ac_outfile
=conftest.
$ac_objext
14614 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14615 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14616 # Insert the option either (1) after the last *FLAGS variable, or
14617 # (2) before a word containing "conftest.", or (3) at the end.
14618 # Note that $ac_compile itself does not contain backslashes and begins
14619 # with a dollar sign (not a hyphen), so the echo should work correctly.
14620 # The option is referenced via a variable to avoid confusing sed.
14621 lt_compile
=`echo "$ac_compile" | $SED \
14622 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14623 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14624 -e 's:$: $lt_compiler_flag:'`
14625 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14626 (eval "$lt_compile" 2>conftest.err
)
14628 cat conftest.err
>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 if (exit $ac_status) && test -s "$ac_outfile"; then
14631 # The compiler can only warn and ignore the option if not recognized
14632 # So say no if there are warnings other than the usual output.
14633 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14634 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14635 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14636 lt_cv_prog_compiler_pic_works_CXX
=yes
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14643 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14645 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14646 case $lt_prog_compiler_pic_CXX in
14648 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14651 lt_prog_compiler_pic_CXX
=
14652 lt_prog_compiler_can_build_shared_CXX
=no
14660 # Check to make sure the static flag actually works.
14662 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14664 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14665 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14666 $as_echo_n "(cached) " >&6
14668 lt_cv_prog_compiler_static_works_CXX
=no
14669 save_LDFLAGS
="$LDFLAGS"
14670 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14671 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14672 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14673 # The linker can only warn and ignore the option if not recognized
14674 # So say no if there are warnings
14675 if test -s conftest.err
; then
14676 # Append any errors to the config.log.
14677 cat conftest.err
1>&5
14678 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14679 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14680 if diff conftest.exp conftest.er2
>/dev
/null
; then
14681 lt_cv_prog_compiler_static_works_CXX
=yes
14684 lt_cv_prog_compiler_static_works_CXX
=yes
14688 LDFLAGS
="$save_LDFLAGS"
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14692 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14694 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14697 lt_prog_compiler_static_CXX
=
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14704 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14705 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14706 $as_echo_n "(cached) " >&6
14708 lt_cv_prog_compiler_c_o_CXX
=no
14709 $RM -r conftest
2>/dev
/null
14713 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14715 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14716 # Insert the option either (1) after the last *FLAGS variable, or
14717 # (2) before a word containing "conftest.", or (3) at the end.
14718 # Note that $ac_compile itself does not contain backslashes and begins
14719 # with a dollar sign (not a hyphen), so the echo should work correctly.
14720 lt_compile
=`echo "$ac_compile" | $SED \
14721 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14723 -e 's:$: $lt_compiler_flag:'`
14724 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14725 (eval "$lt_compile" 2>out
/conftest.err
)
14727 cat out
/conftest.err
>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14731 # The compiler can only warn and ignore the option if not recognized
14732 # So say no if there are warnings
14733 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14734 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14735 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14736 lt_cv_prog_compiler_c_o_CXX
=yes
14741 # SGI C++ compiler will create directory out/ii_files/ for
14742 # template instantiation
14743 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14744 $RM out
/* && rmdir out
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14751 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14756 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14757 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14758 $as_echo_n "(cached) " >&6
14760 lt_cv_prog_compiler_c_o_CXX
=no
14761 $RM -r conftest
2>/dev
/null
14765 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14767 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14768 # Insert the option either (1) after the last *FLAGS variable, or
14769 # (2) before a word containing "conftest.", or (3) at the end.
14770 # Note that $ac_compile itself does not contain backslashes and begins
14771 # with a dollar sign (not a hyphen), so the echo should work correctly.
14772 lt_compile
=`echo "$ac_compile" | $SED \
14773 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14775 -e 's:$: $lt_compiler_flag:'`
14776 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14777 (eval "$lt_compile" 2>out
/conftest.err
)
14779 cat out
/conftest.err
>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14783 # The compiler can only warn and ignore the option if not recognized
14784 # So say no if there are warnings
14785 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14786 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14787 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14788 lt_cv_prog_compiler_c_o_CXX
=yes
14793 # SGI C++ compiler will create directory out/ii_files/ for
14794 # template instantiation
14795 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14796 $RM out
/* && rmdir out
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14803 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14808 hard_links
="nottested"
14809 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14810 # do not overwrite the value of need_locks provided by the user
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14812 $as_echo_n "checking if we can lock with hard links... " >&6; }
14815 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14817 ln conftest.a conftest.b
2>&5 || hard_links
=no
14818 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14820 $as_echo "$hard_links" >&6; }
14821 if test "$hard_links" = no
; then
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14823 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14833 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14835 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14838 # If we're using GNU nm, then we don't want the "-C" option.
14839 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14840 # Also, AIX nm treats weak defined symbols like other global defined
14841 # symbols, whereas GNU nm marks them as "W".
14842 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14843 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'
14845 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'
14849 export_symbols_cmds_CXX
="$ltdll_cmds"
14851 cygwin
* | mingw
* | cegcc
*)
14852 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'
14855 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14858 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14861 $as_echo "$ld_shlibs_CXX" >&6; }
14862 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14864 with_gnu_ld_CXX
=$with_gnu_ld
14872 # Do we need to explicitly link libc?
14874 case "x$archive_cmds_need_lc_CXX" in
14876 # Assume -lc should be added
14877 archive_cmds_need_lc_CXX
=yes
14879 if test "$enable_shared" = yes && test "$GCC" = yes; then
14880 case $archive_cmds_CXX in
14882 # FIXME: we may have to deal with multi-command sequences.
14885 # Test whether the compiler implicitly links with -lc since on some
14886 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14887 # to ld, don't add -lc before -lgcc.
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14889 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14890 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14891 $as_echo_n "(cached) " >&6
14894 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14896 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14897 (eval $ac_compile) 2>&5
14899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14900 test $ac_status = 0; } 2>conftest.err
; then
14903 libobjs
=conftest.
$ac_objext
14905 wl
=$lt_prog_compiler_wl_CXX
14906 pic_flag
=$lt_prog_compiler_pic_CXX
14912 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14913 allow_undefined_flag_CXX
=
14914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14915 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14918 test $ac_status = 0; }
14920 lt_cv_archive_cmds_need_lc_CXX
=no
14922 lt_cv_archive_cmds_need_lc_CXX
=yes
14924 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14926 cat conftest.err
1>&5
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14932 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14933 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15004 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15006 library_names_spec
=
15007 libname_spec
='lib$name'
15011 postuninstall_cmds
=
15015 shlibpath_overrides_runpath
=unknown
15017 dynamic_linker
="$host_os ld.so"
15018 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15019 need_lib_prefix
=unknown
15020 hardcode_into_libs
=no
15022 # when you set need_version to no, make sure it does not cause -set_version
15023 # flags to be left without arguments
15024 need_version
=unknown
15029 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15030 shlibpath_var
=LIBPATH
15032 # AIX 3 has no versioning support, so we append a major version to the name.
15033 soname_spec
='${libname}${release}${shared_ext}$major'
15040 hardcode_into_libs
=yes
15041 if test "$host_cpu" = ia64
; then
15042 # AIX 5 supports IA64
15043 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15044 shlibpath_var
=LD_LIBRARY_PATH
15046 # With GCC up to 2.95.x, collect2 would create an import file
15047 # for dependence libraries. The import file would start with
15048 # the line `#! .'. This would cause the generated library to
15049 # depend on `.', always an invalid library. This was fixed in
15050 # development snapshots of GCC prior to 3.0.
15052 aix4 | aix4.
[01] | aix4.
[01].
*)
15053 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15055 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15058 can_build_shared
=no
15062 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15063 # soname into executable. Probably we can add versioning support to
15064 # collect2, so additional links can be useful in future.
15065 if test "$aix_use_runtimelinking" = yes; then
15066 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15067 # instead of lib<name>.a to let people know that these are not
15068 # typical AIX shared libraries.
15069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15071 # We preserve .a as extension for shared libraries through AIX4.2
15072 # and later when we are not doing run time linking.
15073 library_names_spec
='${libname}${release}.a $libname.a'
15074 soname_spec
='${libname}${release}${shared_ext}$major'
15076 shlibpath_var
=LIBPATH
15083 # Since July 2007 AmigaOS4 officially supports .so libraries.
15084 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15088 library_names_spec
='$libname.ixlibrary $libname.a'
15089 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15090 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'
15096 library_names_spec
='${libname}${shared_ext}'
15097 dynamic_linker
="$host_os ld.so"
15098 shlibpath_var
=LIBRARY_PATH
15104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15105 soname_spec
='${libname}${release}${shared_ext}$major'
15106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15107 shlibpath_var
=LD_LIBRARY_PATH
15108 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15109 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15110 # the default ld.so.conf also contains /usr/contrib/lib and
15111 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15112 # libtool to hard-code these into programs
15115 cygwin
* | mingw
* | pw32
* | cegcc
*)
15116 version_type
=windows
15121 case $GCC,$host_os in
15122 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15123 library_names_spec
='$libname.dll.a'
15124 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15125 postinstall_cmds
='base_file=`basename \${file}`~
15126 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15127 dldir=$destdir/`dirname \$dlpath`~
15128 test -d \$dldir || mkdir -p \$dldir~
15129 $install_prog $dir/$dlname \$dldir/$dlname~
15130 chmod a+x \$dldir/$dlname~
15131 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15132 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15134 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15135 dlpath=$dir/\$dldll~
15137 shlibpath_overrides_runpath
=yes
15141 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15142 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15146 # MinGW DLLs use traditional 'lib' prefix
15147 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15150 # pw32 DLLs use 'pw' prefix rather than 'lib'
15151 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15157 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15160 dynamic_linker
='Win32 ld.exe'
15161 # FIXME: first we should search . and the directory the executable is in
15165 darwin
* | rhapsody
*)
15166 dynamic_linker
="$host_os dyld"
15167 version_type
=darwin
15170 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15171 soname_spec
='${libname}${release}${major}$shared_ext'
15172 shlibpath_overrides_runpath
=yes
15173 shlibpath_var
=DYLD_LIBRARY_PATH
15174 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15176 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15184 soname_spec
='${libname}${release}${shared_ext}$major'
15185 shlibpath_var
=LD_LIBRARY_PATH
15188 freebsd
* | dragonfly
*)
15189 # DragonFly does not have aout. When/if they implement a new
15190 # versioning mechanism, adjust this.
15191 if test -x /usr
/bin
/objformat
; then
15192 objformat
=`/usr/bin/objformat`
15195 freebsd
[23].
*) objformat
=aout
;;
15196 *) objformat
=elf
;;
15199 version_type
=freebsd-
$objformat
15200 case $version_type in
15202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15207 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15211 shlibpath_var
=LD_LIBRARY_PATH
15214 shlibpath_overrides_runpath
=yes
15216 freebsd3.
[01]* | freebsdelf3.
[01]*)
15217 shlibpath_overrides_runpath
=yes
15218 hardcode_into_libs
=yes
15220 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15221 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15222 shlibpath_overrides_runpath
=no
15223 hardcode_into_libs
=yes
15225 *) # from 4.6 on, and DragonFly
15226 shlibpath_overrides_runpath
=yes
15227 hardcode_into_libs
=yes
15236 dynamic_linker
="$host_os runtime_loader"
15237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15238 soname_spec
='${libname}${release}${shared_ext}$major'
15239 shlibpath_var
=LIBRARY_PATH
15240 shlibpath_overrides_runpath
=yes
15241 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15242 hardcode_into_libs
=yes
15245 hpux9
* | hpux10
* | hpux11
*)
15246 # Give a soname corresponding to the major version so that dld.sl refuses to
15247 # link against other versions.
15254 hardcode_into_libs
=yes
15255 dynamic_linker
="$host_os dld.so"
15256 shlibpath_var
=LD_LIBRARY_PATH
15257 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15259 soname_spec
='${libname}${release}${shared_ext}$major'
15260 if test "X$HPUX_IA64_MODE" = X32
; then
15261 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15263 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15265 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15269 hardcode_into_libs
=yes
15270 dynamic_linker
="$host_os dld.sl"
15271 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15272 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274 soname_spec
='${libname}${release}${shared_ext}$major'
15275 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15276 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15280 dynamic_linker
="$host_os dld.sl"
15281 shlibpath_var
=SHLIB_PATH
15282 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15284 soname_spec
='${libname}${release}${shared_ext}$major'
15287 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15288 postinstall_cmds
='chmod 555 $lib'
15289 # or fails outright, so override atomically:
15290 install_override_mode
=555
15297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15298 soname_spec
='${libname}${release}${shared_ext}$major'
15299 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15300 shlibpath_var
=LD_LIBRARY_PATH
15301 shlibpath_overrides_runpath
=no
15302 hardcode_into_libs
=yes
15305 irix5
* | irix6
* | nonstopux
*)
15307 nonstopux
*) version_type
=nonstopux
;;
15309 if test "$lt_cv_prog_gnu_ld" = yes; then
15317 soname_spec
='${libname}${release}${shared_ext}$major'
15318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15320 irix5
* | nonstopux
*)
15321 libsuff
= shlibsuff
=
15324 case $LD in # libtool.m4 will add one of these switches to LD
15325 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15326 libsuff
= shlibsuff
= libmagic
=32-bit;;
15327 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15328 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15329 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15330 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15331 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15335 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15336 shlibpath_overrides_runpath
=no
15337 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15338 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15339 hardcode_into_libs
=yes
15342 # No shared lib support for Linux oldld, aout, or coff.
15343 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15347 # This must be Linux ELF.
15349 # uclinux* changes (here and below) have been submitted to the libtool
15350 # project, but have not yet been accepted: they are GCC-local changes
15351 # for the time being. (See
15352 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15353 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15358 soname_spec
='${libname}${release}${shared_ext}$major'
15359 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15360 shlibpath_var
=LD_LIBRARY_PATH
15361 shlibpath_overrides_runpath
=no
15363 # Some binutils ld are patched to set DT_RUNPATH
15364 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15365 $as_echo_n "(cached) " >&6
15367 lt_cv_shlibpath_overrides_runpath
=no
15368 save_LDFLAGS
=$LDFLAGS
15369 save_libdir
=$libdir
15370 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15371 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15383 if ac_fn_cxx_try_link
"$LINENO"; then :
15384 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15385 lt_cv_shlibpath_overrides_runpath
=yes
15388 rm -f core conftest.err conftest.
$ac_objext \
15389 conftest
$ac_exeext conftest.
$ac_ext
15390 LDFLAGS
=$save_LDFLAGS
15391 libdir
=$save_libdir
15395 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15397 # This implies no fast_install, which is unacceptable.
15398 # Some rework will be needed to allow for fast_install
15399 # before this can be enabled.
15400 hardcode_into_libs
=yes
15402 # Append ld.so.conf contents to the search path
15403 if test -f /etc
/ld.so.conf
; then
15404 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' ' '`
15405 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15408 # We used to test for /lib/ld.so.1 and disable shared libraries on
15409 # powerpc, because MkLinux only supported shared libraries with the
15410 # GNU dynamic linker. Since this was broken with cross compilers,
15411 # most powerpc-linux boxes support dynamic linking these days and
15412 # people can always --disable-shared, the test was removed, and we
15413 # assume the GNU/Linux dynamic linker is in use.
15414 dynamic_linker
='GNU/Linux ld.so'
15421 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15423 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15424 dynamic_linker
='NetBSD (a.out) ld.so'
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'
15428 dynamic_linker
='NetBSD ld.elf_so'
15430 shlibpath_var
=LD_LIBRARY_PATH
15431 shlibpath_overrides_runpath
=yes
15432 hardcode_into_libs
=yes
15437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15438 shlibpath_var
=LD_LIBRARY_PATH
15439 shlibpath_overrides_runpath
=yes
15446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15447 soname_spec
='${libname}${release}${shared_ext}$major'
15448 shlibpath_var
=LD_LIBRARY_PATH
15449 shlibpath_overrides_runpath
=no
15450 hardcode_into_libs
=yes
15451 dynamic_linker
='ldqnx.so'
15456 sys_lib_dlsearch_path_spec
="/usr/lib"
15458 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15460 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15461 *) need_version
=no
;;
15463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15464 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15465 shlibpath_var
=LD_LIBRARY_PATH
15466 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15468 openbsd2.
[89] | openbsd2.
[89].
*)
15469 shlibpath_overrides_runpath
=no
15472 shlibpath_overrides_runpath
=yes
15476 shlibpath_overrides_runpath
=yes
15481 libname_spec
='$name'
15484 library_names_spec
='$libname${shared_ext} $libname.a'
15485 dynamic_linker
='OS/2 ld.exe'
15486 shlibpath_var
=LIBPATH
15489 osf3
* | osf4
* | osf5
*)
15493 soname_spec
='${libname}${release}${shared_ext}$major'
15494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15495 shlibpath_var
=LD_LIBRARY_PATH
15496 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15497 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15509 soname_spec
='${libname}${release}${shared_ext}$major'
15510 shlibpath_var
=LD_LIBRARY_PATH
15511 shlibpath_overrides_runpath
=yes
15512 hardcode_into_libs
=yes
15513 # ldd complains unless libraries are executable
15514 postinstall_cmds
='chmod +x $lib'
15519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15520 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15521 shlibpath_var
=LD_LIBRARY_PATH
15522 shlibpath_overrides_runpath
=yes
15523 if test "$with_gnu_ld" = yes; then
15531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15532 soname_spec
='${libname}${release}${shared_ext}$major'
15533 shlibpath_var
=LD_LIBRARY_PATH
15534 case $host_vendor in
15536 shlibpath_overrides_runpath
=no
15538 runpath_var
=LD_RUN_PATH
15546 shlibpath_overrides_runpath
=no
15547 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15553 if test -d /usr
/nec
;then
15555 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15556 soname_spec
='$libname${shared_ext}.$major'
15557 shlibpath_var
=LD_LIBRARY_PATH
15561 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15562 version_type
=freebsd-elf
15565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15566 soname_spec
='${libname}${release}${shared_ext}$major'
15567 shlibpath_var
=LD_LIBRARY_PATH
15568 shlibpath_overrides_runpath
=yes
15569 hardcode_into_libs
=yes
15570 if test "$with_gnu_ld" = yes; then
15571 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15573 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15576 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15580 sys_lib_dlsearch_path_spec
='/usr/lib'
15584 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15589 shlibpath_var
=LD_LIBRARY_PATH
15590 shlibpath_overrides_runpath
=no
15591 hardcode_into_libs
=yes
15596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15597 soname_spec
='${libname}${release}${shared_ext}$major'
15598 shlibpath_var
=LD_LIBRARY_PATH
15601 # Shared libraries for VwWorks, >= 7 only at this stage
15602 # and (fpic) still incompatible with "large" code models
15603 # in a few configurations. Only for RTP mode in any case,
15604 # and upon explicit request at configure time.
15607 case ${with_multisubdir}-${enable_shared} in
15614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15615 soname_spec
='${libname}${release}${shared_ext}$major'
15616 dynamic_linker
="$host_os module_loader"
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15625 $as_echo "$dynamic_linker" >&6; }
15626 test "$dynamic_linker" = no
&& can_build_shared
=no
15628 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15629 if test "$GCC" = yes; then
15630 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15633 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15634 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15636 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15637 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15678 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15679 hardcode_action_CXX
=
15680 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15681 test -n "$runpath_var_CXX" ||
15682 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15684 # We can hardcode non-existent directories.
15685 if test "$hardcode_direct_CXX" != no
&&
15686 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15687 # have to relink, otherwise we might link with an installed library
15688 # when we should be linking with a yet-to-be-installed one
15689 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15690 test "$hardcode_minus_L_CXX" != no
; then
15691 # Linking always hardcodes the temporary library directory.
15692 hardcode_action_CXX
=relink
15694 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15695 hardcode_action_CXX
=immediate
15698 # We cannot hardcode anything, or else we can only hardcode existing
15700 hardcode_action_CXX
=unsupported
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15703 $as_echo "$hardcode_action_CXX" >&6; }
15705 if test "$hardcode_action_CXX" = relink ||
15706 test "$inherit_rpath_CXX" = yes; then
15707 # Fast installation is not supported
15708 enable_fast_install
=no
15709 elif test "$shlibpath_overrides_runpath" = yes ||
15710 test "$enable_shared" = no
; then
15711 # Fast installation is not necessary
15712 enable_fast_install
=needless
15721 fi # test -n "$compiler"
15727 with_gnu_ld
=$lt_save_with_gnu_ld
15728 lt_cv_path_LDCXX
=$lt_cv_path_LD
15729 lt_cv_path_LD
=$lt_save_path_LD
15730 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15731 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15732 fi # test "$_lt_caught_CXX_error" != yes
15735 ac_cpp
='$CPP $CPPFLAGS'
15736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15752 ac_config_commands
="$ac_config_commands libtool"
15757 # Only expand once:
15761 for ac_prog
in gawk mawk nawk
awk
15763 # Extract the first word of "$ac_prog", so it can be a program name with args.
15764 set dummy
$ac_prog; ac_word
=$2
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15766 $as_echo_n "checking for $ac_word... " >&6; }
15767 if ${ac_cv_prog_AWK+:} false
; then :
15768 $as_echo_n "(cached) " >&6
15770 if test -n "$AWK"; then
15771 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
15773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15774 for as_dir
in $PATH
15777 test -z "$as_dir" && as_dir
=.
15778 for ac_exec_ext
in '' $ac_executable_extensions; do
15779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15780 ac_cv_prog_AWK
="$ac_prog"
15781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15790 AWK
=$ac_cv_prog_AWK
15791 if test -n "$AWK"; then
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
15793 $as_echo "$AWK" >&6; }
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15796 $as_echo "no" >&6; }
15800 test -n "$AWK" && break
15804 "") as_fn_error $?
"can't build without awk" "$LINENO" 5 ;;
15810 # The cast to long int works around a bug in the HP C Compiler
15811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15813 # This bug is HP SR number 8606223364.
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15815 $as_echo_n "checking size of void *... " >&6; }
15816 if ${ac_cv_sizeof_void_p+:} false
; then :
15817 $as_echo_n "(cached) " >&6
15819 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15822 if test "$ac_cv_type_void_p" = yes; then
15823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15825 as_fn_error
77 "cannot compute sizeof (void *)
15826 See \`config.log' for more details" "$LINENO" 5; }
15828 ac_cv_sizeof_void_p
=0
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15834 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15838 cat >>confdefs.h
<<_ACEOF
15839 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15844 if test "${multilib}" = "yes"; then
15845 multilib_arg
="--enable-multilib"
15850 # Get target configury.
15851 unset TSAN_SUPPORTED
15852 unset LSAN_SUPPORTED
15853 unset HWASAN_SUPPORTED
15854 .
${srcdir}/configure.tgt
15855 if test "x$TSAN_SUPPORTED" = "xyes"; then
15856 TSAN_SUPPORTED_TRUE
=
15857 TSAN_SUPPORTED_FALSE
='#'
15859 TSAN_SUPPORTED_TRUE
='#'
15860 TSAN_SUPPORTED_FALSE
=
15863 if test "x$LSAN_SUPPORTED" = "xyes"; then
15864 LSAN_SUPPORTED_TRUE
=
15865 LSAN_SUPPORTED_FALSE
='#'
15867 LSAN_SUPPORTED_TRUE
='#'
15868 LSAN_SUPPORTED_FALSE
=
15871 if test "x$HWASAN_SUPPORTED" = "xyes"; then
15872 HWASAN_SUPPORTED_TRUE
=
15873 HWASAN_SUPPORTED_FALSE
='#'
15875 HWASAN_SUPPORTED_TRUE
='#'
15876 HWASAN_SUPPORTED_FALSE
=
15880 # Check for functions needed.
15881 for ac_func
in clock_getres clock_gettime clock_settime lstat readlink
15883 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15884 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15885 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15886 cat >>confdefs.h
<<_ACEOF
15887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15894 # Common libraries that we need to link against for all sanitizer libs.
15895 link_sanitizer_common
='-lpthread -lm'
15897 # At least for glibc, shm_open is in librt. But don't pull that
15898 # in if it still doesn't give us the function we want. This
15899 # test is copied from libgomp.
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
15901 $as_echo_n "checking for shm_open in -lrt... " >&6; }
15902 if ${ac_cv_lib_rt_shm_open+:} false
; then :
15903 $as_echo_n "(cached) " >&6
15905 ac_check_lib_save_LIBS
=$LIBS
15907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15920 return shm_open ();
15925 if ac_fn_c_try_link
"$LINENO"; then :
15926 ac_cv_lib_rt_shm_open
=yes
15928 ac_cv_lib_rt_shm_open
=no
15930 rm -f core conftest.err conftest.
$ac_objext \
15931 conftest
$ac_exeext conftest.
$ac_ext
15932 LIBS
=$ac_check_lib_save_LIBS
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
15935 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
15936 if test "x$ac_cv_lib_rt_shm_open" = xyes
; then :
15937 link_sanitizer_common
="-lrt $link_sanitizer_common"
15941 # Do a configure time check for -ldl
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
15943 $as_echo_n "checking for dlsym in -ldl... " >&6; }
15944 if ${ac_cv_lib_dl_dlsym+:} false
; then :
15945 $as_echo_n "(cached) " >&6
15947 ac_check_lib_save_LIBS
=$LIBS
15949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15952 /* Override any GCC internal prototype to avoid an error.
15953 Use char because int might match the return type of a GCC
15954 builtin and then its argument prototype would still apply. */
15967 if ac_fn_c_try_link
"$LINENO"; then :
15968 ac_cv_lib_dl_dlsym
=yes
15970 ac_cv_lib_dl_dlsym
=no
15972 rm -f core conftest.err conftest.
$ac_objext \
15973 conftest
$ac_exeext conftest.
$ac_ext
15974 LIBS
=$ac_check_lib_save_LIBS
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
15977 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
15978 if test "x$ac_cv_lib_dl_dlsym" = xyes
; then :
15979 link_sanitizer_common
="-ldl $link_sanitizer_common"
15983 # Set up the set of additional libraries that we need to link against for libasan.
15984 link_libasan
=$link_sanitizer_common
15987 # Set up the set of additional libraries that we need to link against for libhwasan.
15988 link_libhwasan
=$link_sanitizer_common
15991 # Set up the set of additional libraries that we need to link against for libtsan.
15992 link_libtsan
=$link_sanitizer_common
15995 # Set up the set of additional libraries that we need to link against for libubsan.
15996 link_libubsan
=$link_sanitizer_common
15999 # Set up the set of additional libraries that we need to link against for liblsan.
16000 link_liblsan
=$link_sanitizer_common
16004 # At least for glibc, clock_gettime is in librt. But don't pull that
16005 # in if it still doesn't give us the function we want. This
16006 # test is copied from libgomp.
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
16008 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
16009 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
16010 $as_echo_n "(cached) " >&6
16012 ac_check_lib_save_LIBS
=$LIBS
16014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16015 /* end confdefs.h. */
16017 /* Override any GCC internal prototype to avoid an error.
16018 Use char because int might match the return type of a GCC
16019 builtin and then its argument prototype would still apply. */
16023 char clock_gettime ();
16027 return clock_gettime ();
16032 if ac_fn_c_try_link
"$LINENO"; then :
16033 ac_cv_lib_rt_clock_gettime
=yes
16035 ac_cv_lib_rt_clock_gettime
=no
16037 rm -f core conftest.err conftest.
$ac_objext \
16038 conftest
$ac_exeext conftest.
$ac_ext
16039 LIBS
=$ac_check_lib_save_LIBS
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
16042 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
16043 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
16044 link_libasan
="-lrt $link_libasan"
16045 link_libtsan
="-lrt $link_libtsan"
16046 # Other sanitizers do not override clock_* API
16052 *-*-darwin*) MAC_INTERPOSE
=true
; enable_static
=no
;;
16053 *) MAC_INTERPOSE
=false
;;
16055 if $MAC_INTERPOSE; then
16056 USING_MAC_INTERPOSE_TRUE
=
16057 USING_MAC_INTERPOSE_FALSE
='#'
16059 USING_MAC_INTERPOSE_TRUE
='#'
16060 USING_MAC_INTERPOSE_FALSE
=
16064 backtrace_supported
=yes
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for necessary platform features" >&5
16067 $as_echo_n "checking for necessary platform features... " >&6; }
16070 # Some old Linux distributions miss required syscalls.
16071 sanitizer_supported
=no
16072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16073 /* end confdefs.h. */
16074 #include <sys/syscall.h>
16075 #include <unistd.h>
16080 syscall (__NR_gettid);
16081 syscall (__NR_futex);
16082 syscall (__NR_exit_group);
16088 if ac_fn_c_try_compile
"$LINENO"; then :
16089 sanitizer_supported
=yes
16091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16094 sanitizer_supported
=yes
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sanitizer_supported" >&5
16098 $as_echo "$sanitizer_supported" >&6; }
16099 if test "$sanitizer_supported" = yes; then
16100 SANITIZER_SUPPORTED_TRUE
=
16101 SANITIZER_SUPPORTED_FALSE
='#'
16103 SANITIZER_SUPPORTED_TRUE
='#'
16104 SANITIZER_SUPPORTED_FALSE
=
16108 # Test for __sync support.
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
16110 $as_echo_n "checking __sync extensions... " >&6; }
16111 if ${libsanitizer_cv_sys_sync+:} false
; then :
16112 $as_echo_n "(cached) " >&6
16114 if test -n "${with_target_subdir}"; then
16115 libsanitizer_cv_sys_sync
=yes
16117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16118 /* end confdefs.h. */
16123 __sync_bool_compare_and_swap (&i, i, i);
16124 __sync_lock_test_and_set (&i, 1);
16125 __sync_lock_release (&i);
16130 if ac_fn_c_try_link
"$LINENO"; then :
16131 libsanitizer_cv_sys_sync
=yes
16133 libsanitizer_cv_sys_sync
=no
16135 rm -f core conftest.err conftest.
$ac_objext \
16136 conftest
$ac_exeext conftest.
$ac_ext
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_sync" >&5
16140 $as_echo "$libsanitizer_cv_sys_sync" >&6; }
16141 if test "$libsanitizer_cv_sys_sync" = "yes"; then
16143 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
16147 # Test for __atomic support.
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
16149 $as_echo_n "checking __atomic extensions... " >&6; }
16150 if ${libsanitizer_cv_sys_atomic+:} false
; then :
16151 $as_echo_n "(cached) " >&6
16153 if test -n "${with_target_subdir}"; then
16154 libsanitizer_cv_sys_atomic
=yes
16156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16162 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
16163 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
16168 if ac_fn_c_try_link
"$LINENO"; then :
16169 libsanitizer_cv_sys_atomic
=yes
16171 libsanitizer_cv_sys_atomic
=no
16173 rm -f core conftest.err conftest.
$ac_objext \
16174 conftest
$ac_exeext conftest.
$ac_ext
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_atomic" >&5
16178 $as_echo "$libsanitizer_cv_sys_atomic" >&6; }
16179 if test "$libsanitizer_cv_sys_atomic" = "yes"; then
16181 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
16185 # The library needs to be able to read the executable itself. Compile
16186 # a file to determine the executable format. The awk script
16187 # filetype.awk prints out the file type.
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
16189 $as_echo_n "checking output filetype... " >&6; }
16190 if ${libsanitizer_cv_sys_filetype+:} false
; then :
16191 $as_echo_n "(cached) " >&6
16194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h. */
16205 if ac_fn_c_try_compile
"$LINENO"; then :
16206 filetype
=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
16208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16210 as_fn_error $?
"compiler failed
16211 See \`config.log' for more details" "$LINENO" 5; }
16213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16214 libsanitizer_cv_sys_filetype
=$filetype
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_filetype" >&5
16217 $as_echo "$libsanitizer_cv_sys_filetype" >&6; }
16219 # Match the file type to decide what files to compile.
16221 case "$libsanitizer_cv_sys_filetype" in
16222 elf
*) FORMAT_FILE
="elf.lo" ;;
16223 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
16224 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
16225 FORMAT_FILE
="unknown.lo"
16226 backtrace_supported
=no
16233 case "$libsanitizer_cv_sys_filetype" in
16234 elf32
) elfsize
=32 ;;
16235 elf64
) elfsize
=64 ;;
16238 cat >>confdefs.h
<<_ACEOF
16239 #define BACKTRACE_ELF_SIZE $elfsize
16243 BACKTRACE_SUPPORTED
=0
16244 if test "$backtrace_supported" = "yes"; then
16245 BACKTRACE_SUPPORTED
=1
16251 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16253 acx_cv_header_stdint
=stddef.h
16254 acx_cv_header_stdint_kind
="(already complete)"
16255 for i
in stdint.h
$inttype_headers; do
16256 unset ac_cv_type_uintptr_t
16257 unset ac_cv_type_uintmax_t
16258 unset ac_cv_type_int_least32_t
16259 unset ac_cv_type_int_fast32_t
16260 unset ac_cv_type_uint64_t
16261 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16262 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16265 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16266 acx_cv_header_stdint
=$i
16271 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16274 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16277 acx_cv_header_stdint_kind
="(mostly complete)"
16280 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16283 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16286 acx_cv_header_stdint_kind
="(mostly complete)"
16289 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16292 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16295 acx_cv_header_stdint_kind
="(mostly complete)"
16298 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16301 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16304 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16309 if test "$acx_cv_header_stdint" = stddef.h
; then
16310 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16311 for i
in stdint.h
$inttype_headers; do
16312 unset ac_cv_type_uintptr_t
16313 unset ac_cv_type_uint32_t
16314 unset ac_cv_type_uint64_t
16315 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16316 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16319 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16320 acx_cv_header_stdint
=$i
16325 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16328 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16332 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16335 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16342 if test "$acx_cv_header_stdint" = stddef.h
; then
16343 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16344 for i
in sys
/types.h
$inttype_headers; do
16345 unset ac_cv_type_u_int32_t
16346 unset ac_cv_type_u_int64_t
16347 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16348 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16351 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16352 acx_cv_header_stdint
=$i
16357 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16360 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16367 if test "$acx_cv_header_stdint" = stddef.h
; then
16368 acx_cv_header_stdint_kind
="(using manual detection)"
16371 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16372 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16373 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16374 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16375 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16377 # ----------------- Summarize what we found so far
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16380 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16382 case `$as_basename -- gstdint.h ||
16383 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16384 Xgstdint.h : 'X\(//\)$' \| \
16385 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16386 $as_echo X/gstdint.h |
16387 sed '/^.*\/\([^/][^/]*\)\/*$/{
16400 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16401 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16402 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16403 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16408 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16410 # ----------------- done included file, check C basic types --------
16412 # Lacking an uintptr_t? Test size of void *
16413 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16414 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16417 # This bug is HP SR number 8606223364.
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16419 $as_echo_n "checking size of void *... " >&6; }
16420 if ${ac_cv_sizeof_void_p+:} false
; then :
16421 $as_echo_n "(cached) " >&6
16423 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16426 if test "$ac_cv_type_void_p" = yes; then
16427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16429 as_fn_error
77 "cannot compute sizeof (void *)
16430 See \`config.log' for more details" "$LINENO" 5; }
16432 ac_cv_sizeof_void_p
=0
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16438 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16442 cat >>confdefs.h
<<_ACEOF
16443 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16449 # Lacking an uint64_t? Test size of long
16450 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16451 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16452 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16453 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16454 # This bug is HP SR number 8606223364.
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16456 $as_echo_n "checking size of long... " >&6; }
16457 if ${ac_cv_sizeof_long+:} false
; then :
16458 $as_echo_n "(cached) " >&6
16460 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16463 if test "$ac_cv_type_long" = yes; then
16464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16466 as_fn_error
77 "cannot compute sizeof (long)
16467 See \`config.log' for more details" "$LINENO" 5; }
16469 ac_cv_sizeof_long
=0
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16475 $as_echo "$ac_cv_sizeof_long" >&6; }
16479 cat >>confdefs.h
<<_ACEOF
16480 #define SIZEOF_LONG $ac_cv_sizeof_long
16486 if test $acx_cv_header_stdint = stddef.h
; then
16487 # Lacking a good header? Test size of everything and deduce all types.
16488 # The cast to long int works around a bug in the HP C Compiler
16489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16491 # This bug is HP SR number 8606223364.
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16493 $as_echo_n "checking size of int... " >&6; }
16494 if ${ac_cv_sizeof_int+:} false
; then :
16495 $as_echo_n "(cached) " >&6
16497 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16500 if test "$ac_cv_type_int" = yes; then
16501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16503 as_fn_error
77 "cannot compute sizeof (int)
16504 See \`config.log' for more details" "$LINENO" 5; }
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16512 $as_echo "$ac_cv_sizeof_int" >&6; }
16516 cat >>confdefs.h
<<_ACEOF
16517 #define SIZEOF_INT $ac_cv_sizeof_int
16521 # The cast to long int works around a bug in the HP C Compiler
16522 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16523 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16524 # This bug is HP SR number 8606223364.
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16526 $as_echo_n "checking size of short... " >&6; }
16527 if ${ac_cv_sizeof_short+:} false
; then :
16528 $as_echo_n "(cached) " >&6
16530 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16533 if test "$ac_cv_type_short" = yes; then
16534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16536 as_fn_error
77 "cannot compute sizeof (short)
16537 See \`config.log' for more details" "$LINENO" 5; }
16539 ac_cv_sizeof_short
=0
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16545 $as_echo "$ac_cv_sizeof_short" >&6; }
16549 cat >>confdefs.h
<<_ACEOF
16550 #define SIZEOF_SHORT $ac_cv_sizeof_short
16554 # The cast to long int works around a bug in the HP C Compiler
16555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16557 # This bug is HP SR number 8606223364.
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16559 $as_echo_n "checking size of char... " >&6; }
16560 if ${ac_cv_sizeof_char+:} false
; then :
16561 $as_echo_n "(cached) " >&6
16563 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16566 if test "$ac_cv_type_char" = yes; then
16567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16569 as_fn_error
77 "cannot compute sizeof (char)
16570 See \`config.log' for more details" "$LINENO" 5; }
16572 ac_cv_sizeof_char
=0
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16578 $as_echo "$ac_cv_sizeof_char" >&6; }
16582 cat >>confdefs.h
<<_ACEOF
16583 #define SIZEOF_CHAR $ac_cv_sizeof_char
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16589 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16590 case "$ac_cv_sizeof_char" in
16591 1) acx_cv_type_int8_t
=char
;;
16592 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16595 $as_echo "$acx_cv_type_int8_t" >&6; }
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16598 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16599 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16600 2:*) acx_cv_type_int16_t
=int
;;
16601 *:2) acx_cv_type_int16_t
=short
;;
16602 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16605 $as_echo "$acx_cv_type_int16_t" >&6; }
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16608 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16609 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16610 4:*) acx_cv_type_int32_t
=int
;;
16611 *:4) acx_cv_type_int32_t
=long
;;
16612 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16615 $as_echo "$acx_cv_type_int32_t" >&6; }
16618 # These tests are here to make the output prettier
16620 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16621 case "$ac_cv_sizeof_long" in
16622 8) acx_cv_type_int64_t
=long
;;
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16625 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16627 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16630 # Now we can use the above types
16632 if test "$ac_cv_type_uintptr_t" != yes; then
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16634 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16635 case $ac_cv_sizeof_void_p in
16636 2) acx_cv_type_intptr_t
=int16_t
;;
16637 4) acx_cv_type_intptr_t
=int32_t
;;
16638 8) acx_cv_type_intptr_t
=int64_t
;;
16639 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16642 $as_echo "$acx_cv_type_intptr_t" >&6; }
16645 # ----------------- done all checks, emit header -------------
16646 ac_config_commands
="$ac_config_commands gstdint.h"
16651 for ac_header
in sys
/mman.h alloca.h
16653 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16654 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16655 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16656 cat >>confdefs.h
<<_ACEOF
16657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16664 if test "$ac_cv_header_sys_mman_h" = "no"; then
16667 if test -n "${with_target_subdir}"; then
16668 # When built as a GCC target library, we can't do a link test. We
16669 # simply assume that if we have mman.h, we have mmap.
16672 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
16673 if test "x$ac_cv_func_mmap" = xyes
; then :
16681 if test "$have_mmap" = "no"; then
16683 ALLOC_FILE
=alloc.lo
16685 VIEW_FILE
=mmapio.lo
16686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16689 #include <sys/mman.h>
16690 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
16691 #error no MAP_ANONYMOUS
16695 if ac_fn_c_try_cpp
"$LINENO"; then :
16698 ALLOC_FILE
=alloc.lo
16700 rm -f conftest.err conftest.i conftest.
$ac_ext
16705 BACKTRACE_USES_MALLOC
=0
16706 if test "$ALLOC_FILE" = "alloc.lo"; then
16707 BACKTRACE_USES_MALLOC
=1
16711 # Don't care about thread support
16712 BACKTRACE_SUPPORTS_THREADS
=0
16715 # Check for dl_iterate_phdr.
16716 for ac_header
in link.h
16718 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
16719 if test "x$ac_cv_header_link_h" = xyes
; then :
16720 cat >>confdefs.h
<<_ACEOF
16721 #define HAVE_LINK_H 1
16728 if test "$ac_cv_header_link_h" = "no"; then
16729 have_dl_iterate_phdr
=no
16731 # When built as a GCC target library, we can't do a link test.
16732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h. */
16737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16738 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
16739 have_dl_iterate_phdr
=yes
16741 have_dl_iterate_phdr
=no
16746 if test "$have_dl_iterate_phdr" = "yes"; then
16748 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
16752 # Check for the fcntl function.
16753 if test -n "${with_target_subdir}"; then
16755 *-*-mingw*) have_fcntl
=no
;;
16756 *) have_fcntl
=yes ;;
16759 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
16760 if test "x$ac_cv_func_fcntl" = xyes
; then :
16767 if test "$have_fcntl" = "yes"; then
16769 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
16773 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
16774 if test "x$ac_cv_have_decl_strnlen" = xyes
; then :
16780 cat >>confdefs.h
<<_ACEOF
16781 #define HAVE_DECL_STRNLEN $ac_have_decl
16785 # Check for getexecname function.
16786 if test -n "${with_target_subdir}"; then
16788 *-*-solaris2*) have_getexecname
=yes ;;
16789 *) have_getexecname
=no
;;
16792 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
16793 if test "x$ac_cv_func_getexecname" = xyes
; then :
16794 have_getexecname
=yes
16796 have_getexecname
=no
16800 if test "$have_getexecname" = "yes"; then
16802 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
16806 # Check for rpc/xdr.h
16807 for ac_header
in rpc
/xdr.h
16809 ac_fn_c_check_header_mongrel
"$LINENO" "rpc/xdr.h" "ac_cv_header_rpc_xdr_h" "$ac_includes_default"
16810 if test "x$ac_cv_header_rpc_xdr_h" = xyes
; then :
16811 cat >>confdefs.h
<<_ACEOF
16812 #define HAVE_RPC_XDR_H 1
16819 if test x
"$ac_cv_header_rpc_xdr_h" = xyes
; then
16820 rpc_defs
="$rpc_defs -DHAVE_RPC_XDR_H=1"
16822 rpc_defs
="$rpc_defs -DHAVE_RPC_XDR_H=0"
16825 # Check for tirpc/rpc/xdr.h
16826 for ac_header
in tirpc
/rpc
/xdr.h
16828 ac_fn_c_check_header_mongrel
"$LINENO" "tirpc/rpc/xdr.h" "ac_cv_header_tirpc_rpc_xdr_h" "$ac_includes_default"
16829 if test "x$ac_cv_header_tirpc_rpc_xdr_h" = xyes
; then :
16830 cat >>confdefs.h
<<_ACEOF
16831 #define HAVE_TIRPC_RPC_XDR_H 1
16838 if test x
"$ac_cv_header_tirpc_rpc_xdr_h" = xyes
; then
16839 rpc_defs
="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=1"
16841 rpc_defs
="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=0"
16847 if test "x${BACKTRACE_SUPPORTED}x${BACKTRACE_USES_MALLOC}" = "x1x0"; then
16848 LIBBACKTRACE_SUPPORTED_TRUE
=
16849 LIBBACKTRACE_SUPPORTED_FALSE
='#'
16851 LIBBACKTRACE_SUPPORTED_TRUE
='#'
16852 LIBBACKTRACE_SUPPORTED_FALSE
=
16857 ac_config_files
="$ac_config_files Makefile libsanitizer.spec libbacktrace/backtrace-supported.h"
16859 ac_config_headers
="$ac_config_headers config.h"
16862 ac_config_files
="$ac_config_files interception/Makefile sanitizer_common/Makefile libbacktrace/Makefile lsan/Makefile asan/Makefile ubsan/Makefile"
16865 if test "x$TSAN_SUPPORTED" = "xyes"; then
16866 ac_config_files
="$ac_config_files tsan/Makefile"
16870 if test "x$HWASAN_SUPPORTED" = "xyes"; then
16871 ac_config_files
="$ac_config_files hwasan/Makefile"
16878 # Check whether --enable-werror was given.
16879 if test "${enable_werror+set}" = set; then :
16880 enableval
=$enable_werror;
16885 ac_cpp
='$CPP $CPPFLAGS'
16886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16891 save_CFLAGS
="$CFLAGS"
16892 for real_option
in -Wextra -Wall -Wwrite-strings \
16893 -Wmissing-format-attribute -Wcast-qual; do
16894 # Do the check with the no- prefix removed since gcc silently
16895 # accepts any -Wno-* option on purpose
16896 case $real_option in
16897 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
16898 *) option
=$real_option ;;
16900 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
16903 $as_echo_n "checking whether $CC supports $option... " >&6; }
16904 if eval \
${$as_acx_Woption+:} false
; then :
16905 $as_echo_n "(cached) " >&6
16908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16909 /* end confdefs.h. */
16919 if ac_fn_c_try_compile
"$LINENO"; then :
16920 eval "$as_acx_Woption=yes"
16922 eval "$as_acx_Woption=no"
16924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16927 eval ac_res
=\$
$as_acx_Woption
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16929 $as_echo "$ac_res" >&6; }
16930 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
16931 WARN_FLAGS
="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
16934 CFLAGS
="$save_CFLAGS"
16936 ac_cpp
='$CPP $CPPFLAGS'
16937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16942 if test "x$enable_werror" != "xno"; then :
16943 WARN_FLAGS
="$WARN_FLAGS -Werror"
16947 # Determine what GCC version number to use in filesystem paths.
16949 get_gcc_base_ver
="cat"
16951 # Check whether --with-gcc-major-version-only was given.
16952 if test "${with_gcc_major_version_only+set}" = set; then :
16953 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
16954 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
16962 # Add CET specific flags if Intel CET is enabled.
16963 # Check whether --enable-cet was given.
16964 if test "${enable_cet+set}" = set; then :
16965 enableval
=$enable_cet;
16966 case "$enableval" in
16968 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
16977 $as_echo_n "checking for CET support... " >&6; }
16979 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
16981 i
[34567]86-*-linux* | x86_64-
*-linux*)
16982 case "$enable_cet" in
16984 # Check if target supports multi-byte NOPs
16985 # and if compiler and assembler support CET insn.
16986 cet_save_CFLAGS
="$CFLAGS"
16987 CFLAGS
="$CFLAGS -fcf-protection"
16988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16995 #if !defined(__SSE2__)
16996 #error target does not support multi-byte NOPs
17005 if ac_fn_c_try_compile
"$LINENO"; then :
17010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17011 CFLAGS
="$cet_save_CFLAGS"
17014 # Check if assembler supports CET.
17015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h. */
17026 if ac_fn_c_try_compile
"$LINENO"; then :
17029 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
17031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17039 if test x
$enable_cet = xyes
; then
17040 CET_FLAGS
="-fcf-protection -mshstk"
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17042 $as_echo "yes" >&6; }
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17045 $as_echo "no" >&6; }
17049 # Always set -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to sync with LLVM,
17050 # and keep struct *stat* have the same size.
17052 mips
*-*) FILE64_FLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ;;
17053 *) FILE64_FLAGS
="" ;;
17056 EXTRA_CFLAGS
="$EXTRA_CFLAGS $CET_FLAGS $FILE64_FLAGS"
17057 EXTRA_CXXFLAGS
="$EXTRA_CXXFLAGS $CET_FLAGS $FILE64_FLAGS"
17058 EXTRA_ASFLAGS
=$CET_FLAGS
17063 cat >confcache
<<\_ACEOF
17064 # This file is a shell script that caches the results of configure
17065 # tests run on this system so they can be shared between configure
17066 # scripts and configure runs, see configure's option --config-cache.
17067 # It is not useful on other systems. If it contains results you don't
17068 # want to keep, you may remove or edit it.
17070 # config.status only pays attention to the cache file if you give it
17071 # the --recheck option to rerun configure.
17073 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17074 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17075 # following values.
17079 # The following way of writing the cache mishandles newlines in values,
17080 # but we know of no workaround that is simple, portable, and efficient.
17081 # So, we kill variables containing newlines.
17082 # Ultrix sh set writes to stderr and can't be redirected directly,
17083 # and sets the high bit in the cache file unless we assign to the vars.
17085 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17086 eval ac_val
=\$
$ac_var
17090 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17091 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17094 _ | IFS | as_nl
) ;; #(
17095 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17096 *) { eval $ac_var=; unset $ac_var;} ;;
17102 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17103 *${as_nl}ac_space
=\
*)
17104 # `set' does not quote correctly, so add quotes: double-quote
17105 # substitution turns \\\\ into \\, and sed turns \\ into \.
17108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17111 # `set' quotes correctly as required by POSIX, so do not add quotes.
17112 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17121 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17123 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17125 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17126 if test -w "$cache_file"; then
17127 if test "x$cache_file" != "x/dev/null"; then
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17129 $as_echo "$as_me: updating cache $cache_file" >&6;}
17130 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17131 cat confcache
>"$cache_file"
17133 case $cache_file in #(
17135 mv -f confcache
"$cache_file"$$
&&
17136 mv -f "$cache_file"$$
"$cache_file" ;; #(
17138 mv -f confcache
"$cache_file" ;;
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17144 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17149 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17150 # Let make expand exec_prefix.
17151 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17153 DEFS
=-DHAVE_CONFIG_H
17158 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17159 # 1. Remove the extension, and $U if already installed.
17160 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17161 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17162 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17163 # will be set to the directory where LIBOBJS objects are built.
17164 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17165 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17167 LIBOBJS
=$ac_libobjs
17169 LTLIBOBJS
=$ac_ltlibobjs
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17173 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17174 if test -n "$am_sleep_pid"; then
17175 # Hide warnings about reused PIDs.
17176 wait $am_sleep_pid 2>/dev
/null
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17179 $as_echo "done" >&6; }
17180 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17181 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17184 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17185 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17188 if test -n "$EXEEXT"; then
17190 am__EXEEXT_FALSE
='#'
17192 am__EXEEXT_TRUE
='#'
17196 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17197 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17200 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17201 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
17202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17204 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
17205 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
17206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17208 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
17209 as_fn_error $?
"conditional \"TSAN_SUPPORTED\" was never defined.
17210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17212 if test -z "${LSAN_SUPPORTED_TRUE}" && test -z "${LSAN_SUPPORTED_FALSE}"; then
17213 as_fn_error $?
"conditional \"LSAN_SUPPORTED\" was never defined.
17214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17216 if test -z "${HWASAN_SUPPORTED_TRUE}" && test -z "${HWASAN_SUPPORTED_FALSE}"; then
17217 as_fn_error $?
"conditional \"HWASAN_SUPPORTED\" was never defined.
17218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17220 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
17221 as_fn_error $?
"conditional \"USING_MAC_INTERPOSE\" was never defined.
17222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17224 if test -z "${SANITIZER_SUPPORTED_TRUE}" && test -z "${SANITIZER_SUPPORTED_FALSE}"; then
17225 as_fn_error $?
"conditional \"SANITIZER_SUPPORTED\" was never defined.
17226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17228 if test -z "${LIBBACKTRACE_SUPPORTED_TRUE}" && test -z "${LIBBACKTRACE_SUPPORTED_FALSE}"; then
17229 as_fn_error $?
"conditional \"LIBBACKTRACE_SUPPORTED\" was never defined.
17230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17233 : "${CONFIG_STATUS=./config.status}"
17235 ac_clean_files_save
=$ac_clean_files
17236 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17238 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17240 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17242 # Generated by $as_me.
17243 # Run this file to recreate the current configuration.
17244 # Compiler output produced by configure, useful for debugging
17245 # configure, is in config.log if it exists.
17248 ac_cs_recheck=false
17251 SHELL=\${CONFIG_SHELL-$SHELL}
17254 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17255 ## -------------------- ##
17256 ## M4sh Initialization. ##
17257 ## -------------------- ##
17259 # Be more Bourne compatible
17260 DUALCASE
=1; export DUALCASE
# for MKS sh
17261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17265 # is contrary to our usage. Disable this feature.
17266 alias -g '${1+"$@"}'='"$@"'
17267 setopt NO_GLOB_SUBST
17269 case `(set -o) 2>/dev/null` in #(
17281 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17282 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17283 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17284 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17285 # Prefer a ksh shell builtin over an external printf program on Solaris,
17286 # but without wasting forks for bash or zsh.
17287 if test -z "$BASH_VERSION$ZSH_VERSION" \
17288 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17289 as_echo='print
-r --'
17290 as_echo_n='print
-rn --'
17291 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17292 as_echo='printf %s
\n'
17293 as_echo_n='printf %s
'
17295 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17296 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17297 as_echo_n='/usr
/ucb
/echo -n'
17299 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17300 as_echo_n_body='eval
17304 expr "X$arg" : "X\\(.*\\)$as_nl";
17305 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17307 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17309 export as_echo_n_body
17310 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17312 export as_echo_body
17313 as_echo='sh
-c $as_echo_body as_echo
'
17316 # The user is always right.
17317 if test "${PATH_SEPARATOR+set}" != set; then
17319 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17320 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17327 # We need space, tab and new line, in precisely that order. Quoting is
17328 # there to prevent editors from complaining about space-tab.
17329 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17330 # splitting by setting IFS to empty value.)
17333 # Find who we are. Look in the path if we contain no directory separator.
17336 *[\\/]* ) as_myself=$0 ;;
17337 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17338 for as_dir in $PATH
17341 test -z "$as_dir" && as_dir=.
17342 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17348 # We did not find ourselves, most probably we were run as `sh COMMAND'
17349 # in which case we are not to be found in the path.
17350 if test "x$as_myself" = x
; then
17353 if test ! -f "$as_myself"; then
17354 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17358 # Unset variables that we do not need and which cause bugs (e.g. in
17359 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17360 # suppresses any "Segmentation fault" message there. '((' could
17361 # trigger a bug in pdksh 5.2.14.
17362 for as_var
in BASH_ENV ENV MAIL MAILPATH
17363 do eval test x\
${$as_var+set} = xset \
17364 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17377 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17380 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17381 # ----------------------------------------
17382 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17383 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17384 # script with STATUS, using 1 if that was 0.
17387 as_status
=$1; test $as_status -eq 0 && as_status
=1
17389 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17390 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17392 $as_echo "$as_me: error: $2" >&2
17393 as_fn_exit
$as_status
17397 # as_fn_set_status STATUS
17398 # -----------------------
17399 # Set $? to STATUS, without forking.
17400 as_fn_set_status
()
17403 } # as_fn_set_status
17405 # as_fn_exit STATUS
17406 # -----------------
17407 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17411 as_fn_set_status
$1
17417 # Portably unset VAR.
17420 { eval $1=; unset $1;}
17422 as_unset
=as_fn_unset
17423 # as_fn_append VAR VALUE
17424 # ----------------------
17425 # Append the text in VALUE to the end of the definition contained in VAR. Take
17426 # advantage of any shell optimizations that allow amortized linear growth over
17427 # repeated appends, instead of the typical quadratic growth present in naive
17429 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17430 eval 'as_fn_append ()
17441 # as_fn_arith ARG...
17442 # ------------------
17443 # Perform arithmetic evaluation on the ARGs, and store the result in the
17444 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17445 # must be portable across $(()) and expr.
17446 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17447 eval 'as_fn_arith ()
17454 as_val
=`expr "$@" || test $? -eq 1`
17459 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17460 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17466 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17467 as_basename
=basename
17472 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17478 as_me
=`$as_basename -- "$0" ||
17479 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17480 X"$0" : 'X\(//\)$' \| \
17481 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17483 sed '/^.*\/\([^/][^/]*\)\/*$/{
17497 # Avoid depending upon Character Ranges.
17498 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17499 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17500 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17501 as_cr_digits
='0123456789'
17502 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17504 ECHO_C
= ECHO_N
= ECHO_T
=
17505 case `echo -n x` in #(((((
17507 case `echo 'xy\c'` in
17508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17510 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17517 rm -f conf$$ conf$$.exe conf$$.
file
17518 if test -d conf$$.dir
; then
17519 rm -f conf$$.dir
/conf$$.
file
17522 mkdir conf$$.dir
2>/dev
/null
17524 if (echo >conf$$.
file) 2>/dev
/null
; then
17525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17527 # ... but there are two gotchas:
17528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17530 # In both cases, we have to default to `cp -pR'.
17531 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17541 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17542 rmdir conf$$.dir
2>/dev
/null
17547 # Create "$as_dir" as a directory, including parents if necessary.
17552 -*) as_dir
=.
/$as_dir;;
17554 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17558 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17559 *) as_qdir
=$as_dir;;
17561 as_dirs
="'$as_qdir' $as_dirs"
17562 as_dir
=`$as_dirname -- "$as_dir" ||
17563 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17564 X"$as_dir" : 'X\(//\)[^/]' \| \
17565 X"$as_dir" : 'X\(//\)$' \| \
17566 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17567 $as_echo X"$as_dir" |
17568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17572 /^X\(\/\/\)[^/].*/{
17585 test -d "$as_dir" && break
17587 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17588 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17592 if mkdir
-p .
2>/dev
/null
; then
17593 as_mkdir_p
='mkdir -p "$as_dir"'
17595 test -d .
/-p && rmdir .
/-p
17600 # as_fn_executable_p FILE
17601 # -----------------------
17602 # Test if FILE is an executable regular file.
17603 as_fn_executable_p
()
17605 test -f "$1" && test -x "$1"
17606 } # as_fn_executable_p
17607 as_test_x
='test -x'
17608 as_executable_p
=as_fn_executable_p
17610 # Sed expression to map a string onto a valid CPP name.
17611 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17613 # Sed expression to map a string onto a valid variable name.
17614 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17618 ## ----------------------------------- ##
17619 ## Main body of $CONFIG_STATUS script. ##
17620 ## ----------------------------------- ##
17622 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17625 # Save the log message, to keep $0 and so on meaningful, and to
17626 # report actual input values of CONFIG_FILES etc. instead of their
17627 # values after options handling.
17629 This file was extended by package-unused $as_me version-unused, which was
17630 generated by GNU Autoconf 2.69. Invocation command line was
17632 CONFIG_FILES = $CONFIG_FILES
17633 CONFIG_HEADERS = $CONFIG_HEADERS
17634 CONFIG_LINKS = $CONFIG_LINKS
17635 CONFIG_COMMANDS = $CONFIG_COMMANDS
17638 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17643 case $ac_config_files in *"
17644 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17647 case $ac_config_headers in *"
17648 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17653 # Files that config.status was made for.
17654 config_files="$ac_config_files"
17655 config_headers="$ac_config_headers"
17656 config_commands="$ac_config_commands"
17660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17662 \`$as_me' instantiates files and other configuration actions
17663 from templates according to the current configuration. Unless the files
17664 and actions are specified as TAGs, all are instantiated by default.
17666 Usage: $0 [OPTION]... [TAG]...
17668 -h, --help print this help, then exit
17669 -V, --version print version number and configuration settings, then exit
17670 --config print configuration, then exit
17671 -q, --quiet, --silent
17672 do not print progress messages
17673 -d, --debug don't remove temporary files
17674 --recheck update $as_me by reconfiguring in the same conditions
17675 --file=FILE[:TEMPLATE]
17676 instantiate the configuration file FILE
17677 --header=FILE[:TEMPLATE]
17678 instantiate the configuration header FILE
17680 Configuration files:
17683 Configuration headers:
17686 Configuration commands:
17689 Report bugs to <libsanitizer>."
17692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17693 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17695 package-unused config.status version-unused
17696 configured by $0, generated by GNU Autoconf 2.69,
17697 with options \\"\$ac_cs_config\\"
17699 Copyright (C) 2012 Free Software Foundation, Inc.
17700 This config.status script is free software; the Free Software Foundation
17701 gives unlimited permission to copy, distribute and modify it."
17708 test -n "\$AWK" || AWK=awk
17711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17712 # The default lists apply if the user does not specify any file.
17718 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17719 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17723 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17735 # Handling of the options.
17736 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17738 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17739 $as_echo "$ac_cs_version"; exit ;;
17740 --config |
--confi |
--conf |
--con |
--co |
--c )
17741 $as_echo "$ac_cs_config"; exit ;;
17742 --debug |
--debu |
--deb |
--de |
--d |
-d )
17744 --file |
--fil |
--fi |
--f )
17747 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17748 '') as_fn_error $?
"missing file argument" ;;
17750 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17751 ac_need_defaults
=false
;;
17752 --header |
--heade |
--head |
--hea )
17755 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17757 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17758 ac_need_defaults
=false
;;
17760 # Conflict between --help and --header
17761 as_fn_error $?
"ambiguous option: \`$1'
17762 Try \`$0 --help' for more information.";;
17763 --help |
--hel |
-h )
17764 $as_echo "$ac_cs_usage"; exit ;;
17765 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17766 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17769 # This is an error.
17770 -*) as_fn_error $?
"unrecognized option: \`$1'
17771 Try \`$0 --help' for more information." ;;
17773 *) as_fn_append ac_config_targets
" $1"
17774 ac_need_defaults
=false
;;
17780 ac_configure_extra_args
=
17782 if $ac_cs_silent; then
17784 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17789 if \$ac_cs_recheck; then
17790 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17792 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17793 CONFIG_SHELL='$SHELL'
17794 export CONFIG_SHELL
17799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17803 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17804 ## Running $as_me. ##
17810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17818 with_multisubdir="$with_multisubdir"
17819 with_multisrctop="$with_multisrctop"
17820 with_target_subdir="$with_target_subdir"
17821 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17822 multi_basedir="$multi_basedir"
17823 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17826 GFORTRAN="$GFORTRAN"
17828 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17831 # The HP-UX ksh and POSIX shell print the target directory to stdout
17832 # if CDPATH is set.
17833 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17835 sed_quote_subst='$sed_quote_subst'
17836 double_quote_subst='$double_quote_subst'
17837 delay_variable_subst='$delay_variable_subst'
17838 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17839 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17840 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17841 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17842 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17843 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17844 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17845 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17846 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17847 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17848 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17849 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17850 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17851 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17852 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17853 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17854 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17855 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17856 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17857 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17858 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17859 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17860 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17861 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17862 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17863 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17864 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17865 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17866 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17867 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17868 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17869 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17870 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17871 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17872 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17873 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17874 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17875 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17876 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17877 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17878 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17879 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17880 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17881 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17882 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17883 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17884 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17885 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17886 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"`'
17887 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17888 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17889 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17890 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17891 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17892 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17893 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17894 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17895 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17896 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17897 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17898 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17899 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17900 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17901 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17902 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17903 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17904 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17905 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17906 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17907 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17908 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17909 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17910 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17911 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17912 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17913 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17914 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17915 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17916 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17917 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17918 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17919 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17920 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17921 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17922 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17923 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17924 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17925 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17926 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17927 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17928 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17929 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17930 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17931 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17932 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17933 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17934 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17935 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17936 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17937 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17938 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17939 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17940 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17941 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17942 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17943 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17944 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17945 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17946 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17947 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17948 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17949 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17950 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17951 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17952 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17953 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17954 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17955 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17956 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17957 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17958 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17959 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17960 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17961 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17962 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17963 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17964 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17965 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17966 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17967 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17968 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17969 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17970 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17971 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17972 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17973 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17974 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17975 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17976 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17977 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17978 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17979 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17980 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17981 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17982 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17983 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17984 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17985 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17986 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17987 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17988 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17989 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17990 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17991 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17992 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17993 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17994 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17995 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17996 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17997 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17998 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17999 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18000 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18001 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18002 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18003 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18004 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18005 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18006 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18007 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18008 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18009 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18010 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18011 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18012 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18015 LTCFLAGS='$LTCFLAGS'
18016 compiler='$compiler_DEFAULT'
18018 # A function that is used when there is no print builtin or printf.
18019 func_fallback_echo ()
18021 eval 'cat <<_LTECHO_EOF
18026 # Quote evaled strings.
18040 deplibs_check_method \
18049 lt_cv_sys_global_symbol_pipe \
18050 lt_cv_sys_global_symbol_to_cdecl \
18051 lt_cv_sys_global_symbol_to_c_name_address \
18052 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18053 lt_prog_compiler_no_builtin_flag \
18054 lt_prog_compiler_wl \
18055 lt_prog_compiler_pic \
18056 lt_prog_compiler_static \
18057 lt_cv_prog_compiler_c_o \
18065 export_dynamic_flag_spec \
18066 whole_archive_flag_spec \
18067 compiler_needs_object \
18069 allow_undefined_flag \
18070 no_undefined_flag \
18071 hardcode_libdir_flag_spec \
18072 hardcode_libdir_flag_spec_ld \
18073 hardcode_libdir_separator \
18078 variables_saved_for_relink \
18080 library_names_spec \
18082 install_override_mode \
18086 compiler_lib_search_dirs \
18091 compiler_lib_search_path \
18095 lt_prog_compiler_no_builtin_flag_CXX \
18096 lt_prog_compiler_wl_CXX \
18097 lt_prog_compiler_pic_CXX \
18098 lt_prog_compiler_static_CXX \
18099 lt_cv_prog_compiler_c_o_CXX \
18100 export_dynamic_flag_spec_CXX \
18101 whole_archive_flag_spec_CXX \
18102 compiler_needs_object_CXX \
18104 allow_undefined_flag_CXX \
18105 no_undefined_flag_CXX \
18106 hardcode_libdir_flag_spec_CXX \
18107 hardcode_libdir_flag_spec_ld_CXX \
18108 hardcode_libdir_separator_CXX \
18109 fix_srcfile_path_CXX \
18110 exclude_expsyms_CXX \
18111 include_expsyms_CXX \
18112 file_list_spec_CXX \
18113 compiler_lib_search_dirs_CXX \
18114 predep_objects_CXX \
18115 postdep_objects_CXX \
18118 compiler_lib_search_path_CXX; do
18119 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18120 *[\\\\\\\`\\"\\\$]*)
18121 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18124 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18129 # Double-quote double-evaled strings.
18130 for var in reload_cmds \
18131 old_postinstall_cmds \
18132 old_postuninstall_cmds \
18134 extract_expsyms_cmds \
18135 old_archive_from_new_cmds \
18136 old_archive_from_expsyms_cmds \
18138 archive_expsym_cmds \
18140 module_expsym_cmds \
18141 export_symbols_cmds \
18144 postuninstall_cmds \
18146 sys_lib_search_path_spec \
18147 sys_lib_dlsearch_path_spec \
18149 old_archive_cmds_CXX \
18150 old_archive_from_new_cmds_CXX \
18151 old_archive_from_expsyms_cmds_CXX \
18153 archive_expsym_cmds_CXX \
18155 module_expsym_cmds_CXX \
18156 export_symbols_cmds_CXX \
18157 prelink_cmds_CXX; do
18158 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18159 *[\\\\\\\`\\"\\\$]*)
18160 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18163 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18168 ac_aux_dir='$ac_aux_dir'
18169 xsi_shell='$xsi_shell'
18170 lt_shell_append='$lt_shell_append'
18172 # See if we are running on zsh, and set the options which allow our
18173 # commands through without removal of \ escapes INIT.
18174 if test -n "\${ZSH_VERSION+set}" ; then
18175 setopt NO_GLOB_SUBST
18181 TIMESTAMP='$TIMESTAMP'
18192 acx_cv_header_stdint="$acx_cv_header_stdint"
18193 acx_cv_type_int8_t="$acx_cv_type_int8_t"
18194 acx_cv_type_int16_t="$acx_cv_type_int16_t"
18195 acx_cv_type_int32_t="$acx_cv_type_int32_t"
18196 acx_cv_type_int64_t="$acx_cv_type_int64_t"
18197 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
18198 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
18199 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
18200 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
18201 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
18202 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
18203 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
18204 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
18205 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
18210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18212 # Handling of arguments.
18213 for ac_config_target
in $ac_config_targets
18215 case $ac_config_target in
18216 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18217 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18218 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18219 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
18220 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18221 "libsanitizer.spec") CONFIG_FILES
="$CONFIG_FILES libsanitizer.spec" ;;
18222 "libbacktrace/backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES libbacktrace/backtrace-supported.h" ;;
18223 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18224 "interception/Makefile") CONFIG_FILES
="$CONFIG_FILES interception/Makefile" ;;
18225 "sanitizer_common/Makefile") CONFIG_FILES
="$CONFIG_FILES sanitizer_common/Makefile" ;;
18226 "libbacktrace/Makefile") CONFIG_FILES
="$CONFIG_FILES libbacktrace/Makefile" ;;
18227 "lsan/Makefile") CONFIG_FILES
="$CONFIG_FILES lsan/Makefile" ;;
18228 "asan/Makefile") CONFIG_FILES
="$CONFIG_FILES asan/Makefile" ;;
18229 "ubsan/Makefile") CONFIG_FILES
="$CONFIG_FILES ubsan/Makefile" ;;
18230 "tsan/Makefile") CONFIG_FILES
="$CONFIG_FILES tsan/Makefile" ;;
18231 "hwasan/Makefile") CONFIG_FILES
="$CONFIG_FILES hwasan/Makefile" ;;
18233 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18238 # If the user did not use the arguments to specify the items to instantiate,
18239 # then the envvar interface is used. Set only those that are not.
18240 # We use the long form for the default assignment because of an extremely
18241 # bizarre bug on SunOS 4.1.3.
18242 if $ac_need_defaults; then
18243 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18244 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18245 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18248 # Have a temporary directory for convenience. Make it in the build tree
18249 # simply because there is no reason against having it here, and in addition,
18250 # creating and moving files from /tmp can sometimes cause problems.
18251 # Hook for its removal unless debugging.
18252 # Note that there is a small window in which the directory will not be cleaned:
18253 # after its creation but before its name has been assigned to `$tmp'.
18257 trap 'exit_status=$?
18258 : "${ac_tmp:=$tmp}"
18259 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18261 trap 'as_fn_exit 1' 1 2 13 15
18263 # Create a (secure) tmp directory for tmp files.
18266 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18270 tmp
=.
/conf$$
-$RANDOM
18271 (umask 077 && mkdir
"$tmp")
18272 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18275 # Set up the scripts for CONFIG_FILES section.
18276 # No need to generate them if there are no CONFIG_FILES.
18277 # This happens for instance with `./config.status config.h'.
18278 if test -n "$CONFIG_FILES"; then
18281 ac_cr
=`echo X | tr X '\015'`
18282 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18283 # But we know of no other shell where ac_cr would be empty at this
18284 # point, so we can use a bashism as a fallback.
18285 if test "x$ac_cr" = x
; then
18286 eval ac_cr
=\$
\'\\r
\'
18288 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18289 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18292 ac_cs_awk_cr
=$ac_cr
18295 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18300 echo "cat >conf$$subs.awk <<_ACEOF" &&
18301 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18303 } >conf$$subs.sh ||
18304 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18305 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18307 for ac_last_try in false false false false false :; do
18308 . ./conf$$subs.sh ||
18309 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18311 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18312 if test $ac_delim_n = $ac_delim_num; then
18314 elif $ac_last_try; then
18315 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18317 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18320 rm -f conf$$subs.sh
18322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18323 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18327 s/^/S["/; s
/!.
*/"]=/
18337 s/\(.\{148\}\)..*/\1/
18339 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18344 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18351 s/\(.\{148\}\)..*/\1/
18353 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18357 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18362 ' <conf$$subs.awk | sed '
18367 ' >>$CONFIG_STATUS || ac_write_fail=1
18368 rm -f conf$$subs.awk
18369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18371 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18372 for (key in S) S_is_set[key] = 1
18378 nfields = split(line, field, "@
")
18380 len = length(field[1])
18381 for (i = 2; i < nfields; i++) {
18383 keylen = length(key)
18384 if (S_is_set[key]) {
18386 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18387 len += length(value) + length(field[++i])
18398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18399 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18400 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18403 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18404 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18407 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18408 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18409 # trailing colons and then remove the whole line if VPATH becomes empty
18410 # (actually we leave an empty line to preserve line numbers).
18411 if test "x
$srcdir" = x.; then
18412 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18431 fi # test -n "$CONFIG_FILES"
18433 # Set up the scripts for CONFIG_HEADERS section.
18434 # No need to generate them if there are no CONFIG_HEADERS.
18435 # This happens for instance with `./config.status Makefile'.
18436 if test -n "$CONFIG_HEADERS"; then
18437 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18441 # Transform confdefs.h into an awk script `defines.awk', embedded as
18442 # here-document in config.status, that substitutes the proper values into
18443 # config.h.in to produce config.h.
18445 # Create a delimiter string that does not exist in confdefs.h, to ease
18446 # handling of long lines.
18448 for ac_last_try in false false :; do
18449 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18450 if test -z "$ac_tt"; then
18452 elif $ac_last_try; then
18453 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18455 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18459 # For the awk script, D is an array of macro values keyed by name,
18460 # likewise P contains macro parameters if any. Preserve backslash
18461 # newline sequences.
18463 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18465 s/.\{148\}/&'"$ac_delim"'/g
18468 s/^[ ]*#[ ]*define[ ][ ]*/ /
18475 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18477 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18481 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18482 D["\
1"]=" \
3\\\\\\n
"\\/p
18484 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18489 s/.\{148\}/&'"$ac_delim"'/g
18494 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18497 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18499 ' <confdefs.h | sed '
18500 s/'"$ac_delim"'/"\\\
18501 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18504 for (key in D) D_is_set[key] = 1
18507 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18509 split(line, arg, " ")
18510 if (arg[1] == "#") {
18514 defundef
= substr
(arg
[1], 2)
18517 split(mac1
, mac2
, "(") #)
18519 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18520 if (D_is_set
[macro
]) {
18521 # Preserve the white space surrounding the "#".
18522 print prefix
"define", macro P
[macro
] D
[macro
]
18525 # Replace #undef with comments. This is necessary, for example,
18526 # in the case of _POSIX_SOURCE, which is predefined and required
18527 # on some systems where configure will not decide to define it.
18528 if (defundef
== "undef") {
18529 print
"/*", prefix defundef
, macro
, "*/"
18537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18538 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18539 fi # test -n "$CONFIG_HEADERS"
18542 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18547 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18549 case $ac_mode$ac_tag in
18551 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18552 :[FH
]-) ac_tag
=-:-;;
18553 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18570 -) ac_f
="$ac_tmp/stdin";;
18571 *) # Look for the file first in the build tree, then in the source tree
18572 # (if the path is not absolute). The absolute path cannot be DOS-style,
18573 # because $ac_f cannot contain `:'.
18577 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18579 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18581 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18582 as_fn_append ac_file_inputs
" '$ac_f'"
18585 # Let's still pretend it is `configure' which instantiates (i.e., don't
18586 # use $as_me), people would be surprised to read:
18587 # /* config.h. Generated by config.status. */
18588 configure_input
='Generated from '`
18589 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18591 if test x
"$ac_file" != x-
; then
18592 configure_input
="$ac_file. $configure_input"
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18594 $as_echo "$as_me: creating $ac_file" >&6;}
18596 # Neutralize special characters interpreted by sed in replacement strings.
18597 case $configure_input in #(
18598 *\
&* |
*\|
* |
*\\* )
18599 ac_sed_conf_input
=`$as_echo "$configure_input" |
18600 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18601 *) ac_sed_conf_input
=$configure_input;;
18605 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18606 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18611 ac_dir
=`$as_dirname -- "$ac_file" ||
18612 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18613 X"$ac_file" : 'X\(//\)[^/]' \| \
18614 X"$ac_file" : 'X\(//\)$' \| \
18615 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18616 $as_echo X"$ac_file" |
18617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18621 /^X\(\/\/\)[^/].*/{
18634 as_dir
="$ac_dir"; as_fn_mkdir_p
18638 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18640 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18641 # A ".." for each directory in $ac_dir_suffix.
18642 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18643 case $ac_top_builddir_sub in
18644 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18645 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18648 ac_abs_top_builddir
=$ac_pwd
18649 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18650 # for backward compatibility:
18651 ac_top_builddir
=$ac_top_build_prefix
18654 .
) # We are building in place.
18656 ac_top_srcdir
=$ac_top_builddir_sub
18657 ac_abs_top_srcdir
=$ac_pwd ;;
18658 [\\/]* | ?
:[\\/]* ) # Absolute name.
18659 ac_srcdir
=$srcdir$ac_dir_suffix;
18660 ac_top_srcdir
=$srcdir
18661 ac_abs_top_srcdir
=$srcdir ;;
18662 *) # Relative name.
18663 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18664 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18665 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18667 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18677 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18678 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18680 ac_MKDIR_P
=$MKDIR_P
18682 [\\/$
]* | ?
:[\\/]* ) ;;
18683 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18688 # If the template does not know about datarootdir, expand it.
18689 # FIXME: This hack should be removed a few years after 2.60.
18690 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18701 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18702 *datarootdir
*) ac_datarootdir_seen
=yes;;
18703 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18705 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18708 ac_datarootdir_hack='
18709 s&@datadir@&$datadir&g
18710 s&@docdir@&$docdir&g
18711 s&@infodir@&$infodir&g
18712 s&@localedir@&$localedir&g
18713 s&@mandir@&$mandir&g
18714 s&\\\${datarootdir}&$datarootdir&g' ;;
18718 # Neutralize VPATH when `$srcdir' = `.'.
18719 # Shell code in configure.ac might set extrasub.
18720 # FIXME: do we really want to maintain this feature?
18721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18722 ac_sed_extra="$ac_vpsub
18725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18727 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18728 s|@configure_input@|
$ac_sed_conf_input|
;t t
18729 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18730 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18731 s
&@srcdir@
&$ac_srcdir&;t t
18732 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18733 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18734 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18735 s
&@builddir@
&$ac_builddir&;t t
18736 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18737 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18738 s
&@INSTALL@
&$ac_INSTALL&;t t
18739 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18740 $ac_datarootdir_hack
18742 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18743 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18745 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18746 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18747 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18748 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18750 which seems to be undefined. Please make sure it is defined" >&5
18751 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18752 which seems to be undefined. Please make sure it is defined" >&2;}
18754 rm -f "$ac_tmp/stdin"
18756 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18757 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18759 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18765 if test x"$ac_file" != x-; then
18767 $as_echo "/* $configure_input */" \
18768 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18769 } >"$ac_tmp/config.h" \
18770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18771 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18773 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18776 mv "$ac_tmp/config.h" "$ac_file" \
18777 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18780 $as_echo "/* $configure_input */" \
18781 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18782 || as_fn_error $? "could not create -" "$LINENO" 5
18784 # Compute "$ac_file"'s index
in $config_headers.
18787 for _am_header
in $config_headers :; do
18788 case $_am_header in
18789 $_am_arg |
$_am_arg:* )
18792 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18795 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18796 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18797 X"$_am_arg" : 'X\(//\)[^/]' \| \
18798 X"$_am_arg" : 'X\(//\)$' \| \
18799 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18800 $as_echo X"$_am_arg" |
18801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18805 /^X\(\/\/\)[^/].*/{
18817 s/.*/./; q'`/stamp-h
$_am_stamp_count
18820 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18821 $as_echo "$as_me: executing $ac_file commands" >&6;}
18826 case $ac_file$ac_mode in
18828 # Only add multilib support code if we just rebuilt the top-level
18830 case " $CONFIG_FILES " in
18832 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18835 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18836 # Older Autoconf quotes --file arguments for eval, but not when files
18837 # are listed without --file. Let's play safe and only enable the eval
18838 # if we detect the quoting.
18839 case $CONFIG_FILES in
18840 *\'*) eval set x
"$CONFIG_FILES" ;;
18841 *) set x
$CONFIG_FILES ;;
18846 # Strip MF so we end up with the name of the file.
18847 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18848 # Check whether this is an Automake generated Makefile or not.
18849 # We used to match only the files named 'Makefile.in', but
18850 # some people rename them; so instead we look at the file content.
18851 # Grep'ing the first line is not enough: some people post-process
18852 # each Makefile.in and add a new line on top of each file to say so.
18853 # Grep'ing the whole file is not good either: AIX grep has a line
18854 # limit of 2048, but all sed's we know have understand at least 4000.
18855 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18856 dirpart
=`$as_dirname -- "$mf" ||
18857 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18858 X"$mf" : 'X\(//\)[^/]' \| \
18859 X"$mf" : 'X\(//\)$' \| \
18860 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18866 /^X\(\/\/\)[^/].*/{
18882 # Extract the definition of DEPDIR, am__include, and am__quote
18883 # from the Makefile without running 'make'.
18884 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18885 test -z "$DEPDIR" && continue
18886 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18887 test -z "$am__include" && continue
18888 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18889 # Find all dependency output files, they are included files with
18890 # $(DEPDIR) in their names. We invoke sed twice because it is the
18891 # simplest approach to changing $(DEPDIR) to its actual value in the
18893 for file in `sed -n "
18894 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18895 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18896 # Make sure the directory exists.
18897 test -f "$dirpart/$file" && continue
18898 fdir
=`$as_dirname -- "$file" ||
18899 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18900 X"$file" : 'X\(//\)[^/]' \| \
18901 X"$file" : 'X\(//\)$' \| \
18902 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18903 $as_echo X"$file" |
18904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18908 /^X\(\/\/\)[^/].*/{
18921 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18922 # echo "creating $dirpart/$file"
18923 echo '# dummy' > "$dirpart/$file"
18930 # See if we are running on zsh, and set the options which allow our
18931 # commands through without removal of \ escapes.
18932 if test -n "${ZSH_VERSION+set}" ; then
18933 setopt NO_GLOB_SUBST
18936 cfgfile
="${ofile}T"
18937 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18940 cat <<_LT_EOF >> "$cfgfile"
18943 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18944 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18945 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18946 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18948 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18949 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18950 # Written by Gordon Matzigkeit, 1996
18952 # This file is part of GNU Libtool.
18954 # GNU Libtool is free software; you can redistribute it and/or
18955 # modify it under the terms of the GNU General Public License as
18956 # published by the Free Software Foundation; either version 2 of
18957 # the License, or (at your option) any later version.
18959 # As a special exception to the GNU General Public License,
18960 # if you distribute this file as part of a program or library that
18961 # is built using GNU Libtool, you may include this file under the
18962 # same distribution terms that you use for the rest of that program.
18964 # GNU Libtool is distributed in the hope that it will be useful,
18965 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18966 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18967 # GNU General Public License for more details.
18969 # You should have received a copy of the GNU General Public License
18970 # along with GNU Libtool; see the file COPYING. If not, a copy
18971 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18972 # obtained by writing to the Free Software Foundation, Inc.,
18973 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18976 # The names of the tagged configurations supported by this script.
18977 available_tags="CXX "
18979 # ### BEGIN LIBTOOL CONFIG
18981 # Which release of libtool.m4 was used?
18982 macro_version=$macro_version
18983 macro_revision=$macro_revision
18985 # Whether or not to build shared libraries.
18986 build_libtool_libs=$enable_shared
18988 # Whether or not to build static libraries.
18989 build_old_libs=$enable_static
18991 # What type of objects to build.
18994 # Whether or not to optimize for fast installation.
18995 fast_install=$enable_fast_install
18997 # Shell to use when invoking shell scripts.
19000 # An echo program that protects backslashes.
19004 host_alias=$host_alias
19008 # The build system.
19009 build_alias=$build_alias
19013 # A sed program that does not truncate output.
19016 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19017 Xsed="\$SED -e 1s/^X//"
19019 # A grep program that handles long lines.
19025 # A literal string matcher.
19028 # A BSD- or MS-compatible name lister.
19031 # Whether we need soft or hard links.
19034 # What is the maximum length of a command?
19035 max_cmd_len=$max_cmd_len
19037 # Object file suffix (normally "o").
19040 # Executable file suffix (normally "").
19043 # whether the shell understands "unset".
19046 # turn spaces into newlines.
19049 # turn newlines into spaces.
19052 # An object symbol dumper.
19053 OBJDUMP=$lt_OBJDUMP
19055 # Method to check whether dependent libraries are shared objects.
19056 deplibs_check_method=$lt_deplibs_check_method
19058 # Command to use when deplibs_check_method == "file_magic".
19059 file_magic_cmd=$lt_file_magic_cmd
19063 AR_FLAGS=$lt_AR_FLAGS
19065 # A symbol stripping program.
19068 # Commands used to install an old-style archive.
19070 old_postinstall_cmds=$lt_old_postinstall_cmds
19071 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19073 # Whether to use a lock for old archive extraction.
19074 lock_old_archive_extraction=$lock_old_archive_extraction
19079 # LTCC compiler flags.
19080 LTCFLAGS=$lt_CFLAGS
19082 # Take the output of nm and produce a listing of raw symbols and C names.
19083 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19085 # Transform the output of nm in a proper C declaration.
19086 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19088 # Transform the output of nm in a C name address pair.
19089 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19091 # Transform the output of nm in a C name address pair when lib prefix is needed.
19092 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19094 # The name of the directory that contains temporary libtool files.
19097 # Used to examine libraries when file_magic_cmd begins with "file".
19098 MAGIC_CMD=$MAGIC_CMD
19100 # Must we lock files when doing compilation?
19101 need_locks=$lt_need_locks
19103 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19104 DSYMUTIL=$lt_DSYMUTIL
19106 # Tool to change global to local symbols on Mac OS X.
19109 # Tool to manipulate fat objects and archives on Mac OS X.
19112 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19115 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19116 OTOOL64=$lt_OTOOL64
19118 # Old archive suffix (normally "a").
19121 # Shared library suffix (normally ".so").
19122 shrext_cmds=$lt_shrext_cmds
19124 # The commands to extract the exported symbol list from a shared archive.
19125 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19127 # Variables whose values should be saved in libtool wrapper scripts and
19128 # restored at link time.
19129 variables_saved_for_relink=$lt_variables_saved_for_relink
19131 # Do we need the "lib" prefix for modules?
19132 need_lib_prefix=$need_lib_prefix
19134 # Do we need a version for libraries?
19135 need_version=$need_version
19137 # Library versioning type.
19138 version_type=$version_type
19140 # Shared library runtime path variable.
19141 runpath_var=$runpath_var
19143 # Shared library path variable.
19144 shlibpath_var=$shlibpath_var
19146 # Is shlibpath searched before the hard-coded library search path?
19147 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19149 # Format of library name prefix.
19150 libname_spec=$lt_libname_spec
19152 # List of archive names. First name is the real one, the rest are links.
19153 # The last name is the one that the linker finds with -lNAME
19154 library_names_spec=$lt_library_names_spec
19156 # The coded name of the library, if different from the real name.
19157 soname_spec=$lt_soname_spec
19159 # Permission mode override for installation of shared libraries.
19160 install_override_mode=$lt_install_override_mode
19162 # Command to use after installation of a shared archive.
19163 postinstall_cmds=$lt_postinstall_cmds
19165 # Command to use after uninstallation of a shared archive.
19166 postuninstall_cmds=$lt_postuninstall_cmds
19168 # Commands used to finish a libtool library installation in a directory.
19169 finish_cmds=$lt_finish_cmds
19171 # As "finish_cmds", except a single script fragment to be evaled but
19173 finish_eval=$lt_finish_eval
19175 # Whether we should hardcode library paths into libraries.
19176 hardcode_into_libs=$hardcode_into_libs
19178 # Compile-time system search path for libraries.
19179 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19181 # Run-time system search path for libraries.
19182 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19184 # Whether dlopen is supported.
19185 dlopen_support=$enable_dlopen
19187 # Whether dlopen of programs is supported.
19188 dlopen_self=$enable_dlopen_self
19190 # Whether dlopen of statically linked programs is supported.
19191 dlopen_self_static=$enable_dlopen_self_static
19193 # Commands to strip libraries.
19194 old_striplib=$lt_old_striplib
19195 striplib=$lt_striplib
19198 # The linker used to build libraries.
19201 # How to create reloadable object files.
19202 reload_flag=$lt_reload_flag
19203 reload_cmds=$lt_reload_cmds
19205 # Commands used to build an old-style archive.
19206 old_archive_cmds=$lt_old_archive_cmds
19208 # A language specific compiler.
19211 # Is the compiler the GNU compiler?
19214 # Compiler flag to turn off builtin functions.
19215 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19217 # How to pass a linker flag through the compiler.
19218 wl=$lt_lt_prog_compiler_wl
19220 # Additional compiler flags for building library objects.
19221 pic_flag=$lt_lt_prog_compiler_pic
19223 # Compiler flag to prevent dynamic linking.
19224 link_static_flag=$lt_lt_prog_compiler_static
19226 # Does compiler simultaneously support -c and -o options?
19227 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19229 # Whether or not to add -lc for building shared libraries.
19230 build_libtool_need_lc=$archive_cmds_need_lc
19232 # Whether or not to disallow shared libs when runtime libs are static.
19233 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19235 # Compiler flag to allow reflexive dlopens.
19236 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19238 # Compiler flag to generate shared objects directly from archives.
19239 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19241 # Whether the compiler copes with passing no objects directly.
19242 compiler_needs_object=$lt_compiler_needs_object
19244 # Create an old-style archive from a shared archive.
19245 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19247 # Create a temporary old-style archive to link instead of a shared archive.
19248 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19250 # Commands used to build a shared archive.
19251 archive_cmds=$lt_archive_cmds
19252 archive_expsym_cmds=$lt_archive_expsym_cmds
19254 # Commands used to build a loadable module if different from building
19255 # a shared archive.
19256 module_cmds=$lt_module_cmds
19257 module_expsym_cmds=$lt_module_expsym_cmds
19259 # Whether we are building with GNU ld or not.
19260 with_gnu_ld=$lt_with_gnu_ld
19262 # Flag that allows shared libraries with undefined symbols to be built.
19263 allow_undefined_flag=$lt_allow_undefined_flag
19265 # Flag that enforces no undefined symbols.
19266 no_undefined_flag=$lt_no_undefined_flag
19268 # Flag to hardcode \$libdir into a binary during linking.
19269 # This must work even if \$libdir does not exist
19270 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19272 # If ld is used when linking, flag to hardcode \$libdir into a binary
19273 # during linking. This must work even if \$libdir does not exist.
19274 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19276 # Whether we need a single "-rpath" flag with a separated argument.
19277 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19279 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19280 # DIR into the resulting binary.
19281 hardcode_direct=$hardcode_direct
19283 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19284 # DIR into the resulting binary and the resulting library dependency is
19285 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19286 # library is relocated.
19287 hardcode_direct_absolute=$hardcode_direct_absolute
19289 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19290 # into the resulting binary.
19291 hardcode_minus_L=$hardcode_minus_L
19293 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19294 # into the resulting binary.
19295 hardcode_shlibpath_var=$hardcode_shlibpath_var
19297 # Set to "yes" if building a shared library automatically hardcodes DIR
19298 # into the library and all subsequent libraries and executables linked
19300 hardcode_automatic=$hardcode_automatic
19302 # Set to yes if linker adds runtime paths of dependent libraries
19303 # to runtime path list.
19304 inherit_rpath=$inherit_rpath
19306 # Whether libtool must link a program against all its dependency libraries.
19307 link_all_deplibs=$link_all_deplibs
19309 # Fix the shell variable \$srcfile for the compiler.
19310 fix_srcfile_path=$lt_fix_srcfile_path
19312 # Set to "yes" if exported symbols are required.
19313 always_export_symbols=$always_export_symbols
19315 # The commands to list exported symbols.
19316 export_symbols_cmds=$lt_export_symbols_cmds
19318 # Symbols that should not be listed in the preloaded symbols.
19319 exclude_expsyms=$lt_exclude_expsyms
19321 # Symbols that must always be exported.
19322 include_expsyms=$lt_include_expsyms
19324 # Commands necessary for linking programs (against libraries) with templates.
19325 prelink_cmds=$lt_prelink_cmds
19327 # Specify filename containing input files.
19328 file_list_spec=$lt_file_list_spec
19330 # How to hardcode a shared library path into an executable.
19331 hardcode_action=$hardcode_action
19333 # The directories searched by this compiler when creating a shared library.
19334 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19336 # Dependencies to place before and after the objects being linked to
19337 # create a shared library.
19338 predep_objects=$lt_predep_objects
19339 postdep_objects=$lt_postdep_objects
19340 predeps=$lt_predeps
19341 postdeps=$lt_postdeps
19343 # The library search path used internally by the compiler when linking
19344 # a shared library.
19345 compiler_lib_search_path=$lt_compiler_lib_search_path
19347 # ### END LIBTOOL CONFIG
19353 cat <<\_LT_EOF
>> "$cfgfile"
19354 # AIX sometimes has problems with the GCC collect2 program. For some
19355 # reason, if we set the COLLECT_NAMES environment variable, the problems
19356 # vanish in a puff of smoke.
19357 if test "X${COLLECT_NAMES+set}" != Xset
; then
19359 export COLLECT_NAMES
19366 ltmain
="$ac_aux_dir/ltmain.sh"
19369 # We use sed instead of cat because bash on DJGPP gets confused if
19370 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19371 # text mode, it properly converts lines to CR/LF. This bash problem
19372 # is reportedly fixed, but why not run on old versions too?
19373 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19374 ||
(rm -f "$cfgfile"; exit 1)
19378 cat << \_LT_EOF
>> "$cfgfile"
19380 # func_dirname file append nondir_replacement
19381 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19382 # otherwise set result to NONDIR_REPLACEMENT.
19386 */*) func_dirname_result
="${1%/*}${2}" ;;
19387 * ) func_dirname_result
="${3}" ;;
19391 # func_basename file
19394 func_basename_result
="${1##*/}"
19397 # func_dirname_and_basename file append nondir_replacement
19398 # perform func_basename and func_dirname in a single function
19400 # dirname: Compute the dirname of FILE. If nonempty,
19401 # add APPEND to the result, otherwise set result
19402 # to NONDIR_REPLACEMENT.
19403 # value returned in "$func_dirname_result"
19404 # basename: Compute filename of FILE.
19405 # value retuned in "$func_basename_result"
19406 # Implementation must be kept synchronized with func_dirname
19407 # and func_basename. For efficiency, we do not delegate to
19408 # those functions but instead duplicate the functionality here.
19409 func_dirname_and_basename
()
19412 */*) func_dirname_result
="${1%/*}${2}" ;;
19413 * ) func_dirname_result
="${3}" ;;
19415 func_basename_result
="${1##*/}"
19418 # func_stripname prefix suffix name
19419 # strip PREFIX and SUFFIX off of NAME.
19420 # PREFIX and SUFFIX must not contain globbing or regex special
19421 # characters, hashes, percent signs, but SUFFIX may contain a leading
19422 # dot (in which case that matches only a dot).
19425 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19426 # positional parameters, so assign one to ordinary parameter first.
19427 func_stripname_result
=${3}
19428 func_stripname_result
=${func_stripname_result#"${1}"}
19429 func_stripname_result
=${func_stripname_result%"${2}"}
19435 func_opt_split_opt
=${1%%=*}
19436 func_opt_split_arg
=${1#*=}
19443 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19444 *) func_lo2o_result
=${1} ;;
19448 # func_xform libobj-or-source
19451 func_xform_result
=${1%.*}.lo
19454 # func_arith arithmetic-term...
19457 func_arith_result
=$
(( $
* ))
19461 # STRING may not start with a hyphen.
19464 func_len_result
=${#1}
19469 *) # Bourne compatible functions.
19470 cat << \_LT_EOF
>> "$cfgfile"
19472 # func_dirname file append nondir_replacement
19473 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19474 # otherwise set result to NONDIR_REPLACEMENT.
19477 # Extract subdirectory from the argument.
19478 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19479 if test "X$func_dirname_result" = "X${1}"; then
19480 func_dirname_result
="${3}"
19482 func_dirname_result
="$func_dirname_result${2}"
19486 # func_basename file
19489 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19493 # func_stripname prefix suffix name
19494 # strip PREFIX and SUFFIX off of NAME.
19495 # PREFIX and SUFFIX must not contain globbing or regex special
19496 # characters, hashes, percent signs, but SUFFIX may contain a leading
19497 # dot (in which case that matches only a dot).
19498 # func_strip_suffix prefix name
19502 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19503 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19508 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19509 my_sed_long_arg
='1s/^-[^=]*=//'
19514 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19515 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19521 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19524 # func_xform libobj-or-source
19527 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19530 # func_arith arithmetic-term...
19533 func_arith_result
=`expr "$@"`
19537 # STRING may not start with a hyphen.
19540 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19546 case $lt_shell_append in
19548 cat << \_LT_EOF
>> "$cfgfile"
19550 # func_append var value
19551 # Append VALUE to the end of shell variable VAR.
19559 cat << \_LT_EOF
>> "$cfgfile"
19561 # func_append var value
19562 # Append VALUE to the end of shell variable VAR.
19573 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19574 ||
(rm -f "$cfgfile"; exit 1)
19576 mv -f "$cfgfile" "$ofile" ||
19577 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19581 cat <<_LT_EOF >> "$ofile"
19583 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19585 # The linker used to build libraries.
19588 # How to create reloadable object files.
19589 reload_flag=$lt_reload_flag_CXX
19590 reload_cmds=$lt_reload_cmds_CXX
19592 # Commands used to build an old-style archive.
19593 old_archive_cmds=$lt_old_archive_cmds_CXX
19595 # A language specific compiler.
19596 CC=$lt_compiler_CXX
19598 # Is the compiler the GNU compiler?
19601 # Compiler flag to turn off builtin functions.
19602 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19604 # How to pass a linker flag through the compiler.
19605 wl=$lt_lt_prog_compiler_wl_CXX
19607 # Additional compiler flags for building library objects.
19608 pic_flag=$lt_lt_prog_compiler_pic_CXX
19610 # Compiler flag to prevent dynamic linking.
19611 link_static_flag=$lt_lt_prog_compiler_static_CXX
19613 # Does compiler simultaneously support -c and -o options?
19614 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19616 # Whether or not to add -lc for building shared libraries.
19617 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19619 # Whether or not to disallow shared libs when runtime libs are static.
19620 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19622 # Compiler flag to allow reflexive dlopens.
19623 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19625 # Compiler flag to generate shared objects directly from archives.
19626 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19628 # Whether the compiler copes with passing no objects directly.
19629 compiler_needs_object=$lt_compiler_needs_object_CXX
19631 # Create an old-style archive from a shared archive.
19632 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19634 # Create a temporary old-style archive to link instead of a shared archive.
19635 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19637 # Commands used to build a shared archive.
19638 archive_cmds=$lt_archive_cmds_CXX
19639 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19641 # Commands used to build a loadable module if different from building
19642 # a shared archive.
19643 module_cmds=$lt_module_cmds_CXX
19644 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19646 # Whether we are building with GNU ld or not.
19647 with_gnu_ld=$lt_with_gnu_ld_CXX
19649 # Flag that allows shared libraries with undefined symbols to be built.
19650 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19652 # Flag that enforces no undefined symbols.
19653 no_undefined_flag=$lt_no_undefined_flag_CXX
19655 # Flag to hardcode \$libdir into a binary during linking.
19656 # This must work even if \$libdir does not exist
19657 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19659 # If ld is used when linking, flag to hardcode \$libdir into a binary
19660 # during linking. This must work even if \$libdir does not exist.
19661 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19663 # Whether we need a single "-rpath" flag with a separated argument.
19664 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19666 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19667 # DIR into the resulting binary.
19668 hardcode_direct=$hardcode_direct_CXX
19670 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19671 # DIR into the resulting binary and the resulting library dependency is
19672 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19673 # library is relocated.
19674 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19676 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19677 # into the resulting binary.
19678 hardcode_minus_L=$hardcode_minus_L_CXX
19680 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19681 # into the resulting binary.
19682 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19684 # Set to "yes" if building a shared library automatically hardcodes DIR
19685 # into the library and all subsequent libraries and executables linked
19687 hardcode_automatic=$hardcode_automatic_CXX
19689 # Set to yes if linker adds runtime paths of dependent libraries
19690 # to runtime path list.
19691 inherit_rpath=$inherit_rpath_CXX
19693 # Whether libtool must link a program against all its dependency libraries.
19694 link_all_deplibs=$link_all_deplibs_CXX
19696 # Fix the shell variable \$srcfile for the compiler.
19697 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19699 # Set to "yes" if exported symbols are required.
19700 always_export_symbols=$always_export_symbols_CXX
19702 # The commands to list exported symbols.
19703 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19705 # Symbols that should not be listed in the preloaded symbols.
19706 exclude_expsyms=$lt_exclude_expsyms_CXX
19708 # Symbols that must always be exported.
19709 include_expsyms=$lt_include_expsyms_CXX
19711 # Commands necessary for linking programs (against libraries) with templates.
19712 prelink_cmds=$lt_prelink_cmds_CXX
19714 # Specify filename containing input files.
19715 file_list_spec=$lt_file_list_spec_CXX
19717 # How to hardcode a shared library path into an executable.
19718 hardcode_action=$hardcode_action_CXX
19720 # The directories searched by this compiler when creating a shared library.
19721 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19723 # Dependencies to place before and after the objects being linked to
19724 # create a shared library.
19725 predep_objects=$lt_predep_objects_CXX
19726 postdep_objects=$lt_postdep_objects_CXX
19727 predeps=$lt_predeps_CXX
19728 postdeps=$lt_postdeps_CXX
19730 # The library search path used internally by the compiler when linking
19731 # a shared library.
19732 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19734 # ### END LIBTOOL TAG CONFIG: CXX
19739 if test "$GCC" = yes; then
19740 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
19742 echo "/* generated for $CC */" > tmp-stdint.h
19745 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19747 #ifndef GCC_GENERATED_STDINT_H
19748 #define GCC_GENERATED_STDINT_H 1
19750 #include <sys/types.h>
19753 if test "$acx_cv_header_stdint" != stdint.h
; then
19754 echo "#include <stddef.h>" >> tmp-stdint.h
19756 if test "$acx_cv_header_stdint" != stddef.h
; then
19757 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
19760 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19761 /* glibc uses these symbols as guards to prevent redefinitions. */
19762 #ifdef __int8_t_defined
19767 #ifdef __uint32_t_defined
19773 # ----------------- done header, emit basic int types -------------
19774 if test "$acx_cv_header_stdint" = stddef.h
; then
19775 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19779 #ifndef __uint8_t_defined
19780 #define __uint8_t_defined
19782 typedef unsigned $acx_cv_type_int8_t uint8_t;
19789 #ifndef __uint16_t_defined
19790 #define __uint16_t_defined
19792 typedef unsigned $acx_cv_type_int16_t uint16_t;
19799 #ifndef __uint32_t_defined
19800 #define __uint32_t_defined
19802 typedef unsigned $acx_cv_type_int32_t uint32_t;
19809 #ifndef __int8_t_defined
19810 #define __int8_t_defined
19812 typedef $acx_cv_type_int8_t int8_t;
19819 #ifndef __int16_t_defined
19820 #define __int16_t_defined
19822 typedef $acx_cv_type_int16_t int16_t;
19829 #ifndef __int32_t_defined
19830 #define __int32_t_defined
19832 typedef $acx_cv_type_int32_t int32_t;
19837 elif test "$ac_cv_type_u_int32_t" = yes; then
19838 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19840 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
19853 #ifndef __uint8_t_defined
19854 #define __uint8_t_defined
19856 typedef u_int8_t uint8_t;
19863 #ifndef __uint16_t_defined
19864 #define __uint16_t_defined
19866 typedef u_int16_t uint16_t;
19873 #ifndef __uint32_t_defined
19874 #define __uint32_t_defined
19876 typedef u_int32_t uint32_t;
19882 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19884 /* Some systems have guard macros to prevent redefinitions, define them. */
19906 # ------------- done basic int types, emit int64_t types ------------
19907 if test "$ac_cv_type_uint64_t" = yes; then
19908 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19910 /* system headers have good uint64_t and int64_t */
19918 elif test "$ac_cv_type_u_int64_t" = yes; then
19919 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19921 /* system headers have an u_int64_t (and int64_t) */
19927 #ifndef __uint64_t_defined
19928 #define __uint64_t_defined
19930 typedef u_int64_t uint64_t;
19935 elif test -n "$acx_cv_type_int64_t"; then
19936 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19938 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
19942 typedef $acx_cv_type_int64_t int64_t;
19947 #ifndef __uint64_t_defined
19948 #define __uint64_t_defined
19950 typedef unsigned $acx_cv_type_int64_t uint64_t;
19956 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19958 /* some common heuristics for int64_t, using compiler-specific tests */
19959 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
19962 #ifndef __int64_t_defined
19964 typedef long long int64_t;
19971 typedef unsigned long long uint64_t;
19975 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
19976 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
19977 does not implement __extension__. But that compiler doesn't define
19979 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
19980 # define __extension__
19986 __extension__ typedef long long int64_t;
19992 __extension__ typedef unsigned long long uint64_t;
19996 #elif !defined __STRICT_ANSI__
19997 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
20002 typedef __int64 int64_t;
20008 typedef unsigned __int64 uint64_t;
20011 # endif /* compiler */
20013 #endif /* ANSI version */
20017 # ------------- done int64_t types, emit intptr types ------------
20018 if test "$ac_cv_type_uintptr_t" != yes; then
20019 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20021 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
20022 #ifndef __uintptr_t_defined
20024 typedef u$acx_cv_type_intptr_t uintptr_t;
20027 #ifndef __intptr_t_defined
20029 typedef $acx_cv_type_intptr_t intptr_t;
20035 # ------------- done intptr types, emit int_least types ------------
20036 if test "$ac_cv_type_int_least32_t" != yes; then
20037 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20039 /* Define int_least types */
20040 typedef int8_t int_least8_t;
20041 typedef int16_t int_least16_t;
20042 typedef int32_t int_least32_t;
20044 typedef int64_t int_least64_t;
20047 typedef uint8_t uint_least8_t;
20048 typedef uint16_t uint_least16_t;
20049 typedef uint32_t uint_least32_t;
20051 typedef uint64_t uint_least64_t;
20056 # ------------- done intptr types, emit int_fast types ------------
20057 if test "$ac_cv_type_int_fast32_t" != yes; then
20058 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20060 /* Define int_fast types. short is often slow */
20061 typedef int8_t int_fast8_t;
20062 typedef int int_fast16_t;
20063 typedef int32_t int_fast32_t;
20065 typedef int64_t int_fast64_t;
20068 typedef uint8_t uint_fast8_t;
20069 typedef unsigned int uint_fast16_t;
20070 typedef uint32_t uint_fast32_t;
20072 typedef uint64_t uint_fast64_t;
20077 if test "$ac_cv_type_uintmax_t" != yes; then
20078 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20080 /* Define intmax based on what we found */
20083 typedef int64_t intmax_t;
20085 typedef long intmax_t;
20090 typedef uint64_t uintmax_t;
20092 typedef unsigned long uintmax_t;
20098 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20100 #endif /* GCC_GENERATED_STDINT_H */
20103 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
20106 mv -f tmp-stdint.h gstdint.h
20110 "interception/Makefile":F
) cat > vpsed$$
<< \_EOF
20111 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20113 sed -f vpsed$$
$ac_file > tmp$$
20116 echo 'MULTISUBDIR =' >> $ac_file
20118 .
${multi_basedir}/config-ml.
in
20119 { ml_norecursion
=; unset ml_norecursion
;}
20121 "sanitizer_common/Makefile":F
) cat > vpsed$$
<< \_EOF
20122 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20124 sed -f vpsed$$
$ac_file > tmp$$
20127 echo 'MULTISUBDIR =' >> $ac_file
20129 .
${multi_basedir}/config-ml.
in
20130 { ml_norecursion
=; unset ml_norecursion
;}
20132 "libbacktrace/Makefile":F
) cat > vpsed$$
<< \_EOF
20133 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20135 sed -f vpsed$$
$ac_file > tmp$$
20138 echo 'MULTISUBDIR =' >> $ac_file
20140 .
${multi_basedir}/config-ml.
in
20141 { ml_norecursion
=; unset ml_norecursion
;}
20143 "lsan/Makefile":F
) cat > vpsed$$
<< \_EOF
20144 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20146 sed -f vpsed$$
$ac_file > tmp$$
20149 echo 'MULTISUBDIR =' >> $ac_file
20151 .
${multi_basedir}/config-ml.
in
20152 { ml_norecursion
=; unset ml_norecursion
;}
20154 "asan/Makefile":F
) cat > vpsed$$
<< \_EOF
20155 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20157 sed -f vpsed$$
$ac_file > tmp$$
20160 echo 'MULTISUBDIR =' >> $ac_file
20162 .
${multi_basedir}/config-ml.
in
20163 { ml_norecursion
=; unset ml_norecursion
;}
20165 "ubsan/Makefile":F
) cat > vpsed$$
<< \_EOF
20166 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20168 sed -f vpsed$$
$ac_file > tmp$$
20171 echo 'MULTISUBDIR =' >> $ac_file
20173 .
${multi_basedir}/config-ml.
in
20174 { ml_norecursion
=; unset ml_norecursion
;}
20176 "tsan/Makefile":F
) cat > vpsed$$
<< \_EOF
20177 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20179 sed -f vpsed$$
$ac_file > tmp$$
20182 echo 'MULTISUBDIR =' >> $ac_file
20184 .
${multi_basedir}/config-ml.
in
20185 { ml_norecursion
=; unset ml_norecursion
;}
20187 "hwasan/Makefile":F
) cat > vpsed$$
<< \_EOF
20188 s
!`test -f '$<' || echo '$(srcdir)/'`!!
20190 sed -f vpsed$$
$ac_file > tmp$$
20193 echo 'MULTISUBDIR =' >> $ac_file
20195 .
${multi_basedir}/config-ml.
in
20196 { ml_norecursion
=; unset ml_norecursion
;}
20205 ac_clean_files
=$ac_clean_files_save
20207 test $ac_write_fail = 0 ||
20208 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20211 # configure is writing to config.log, and then calls config.status.
20212 # config.status does its own redirection, appending to config.log.
20213 # Unfortunately, on DOS this fails, as config.log is still kept open
20214 # by configure, so config.status won't be able to write to it; its
20215 # output is simply discarded. So we exec the FD to /dev/null,
20216 # effectively closing config.log, so it can be properly (re)opened and
20217 # appended to by config.status. When coming back to configure, we
20218 # need to make the FD available again.
20219 if test "$no_create" != yes; then
20221 ac_config_status_args
=
20222 test "$silent" = yes &&
20223 ac_config_status_args
="$ac_config_status_args --quiet"
20225 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20227 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20228 # would make configure fail if this is the last instruction.
20229 $ac_cs_success || as_fn_exit
1
20231 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20233 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}