2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Report bugs to <libsanitizer>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and libsanitizer about
240 $0: your system, including any error possibly output before
241 $0: this message. Then install a modern shell, or manually
242 $0: run the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error ERROR [LINENO LOG_FD]
368 # ---------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with status $?, using 1 if that was 0.
374 as_status
=$?
; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
379 $as_echo "$as_me: error: $1" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 SHELL
=${CONFIG_SHELL-/bin/sh}
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
558 # Identity of this package.
559 PACKAGE_NAME
='package-unused'
560 PACKAGE_TARNAME
='package-unused'
561 PACKAGE_VERSION
='version-unused'
562 PACKAGE_STRING
='package-unused version-unused'
563 PACKAGE_BUGREPORT
='libsanitizer'
566 ac_unique_file
="include/sanitizer/common_interface_defs.h"
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
580 # ifdef HAVE_STDLIB_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
603 ac_subst_vars
='am__EXEEXT_FALSE
607 LIBBACKTRACE_SUPPORTED_FALSE
608 LIBBACKTRACE_SUPPORTED_TRUE
609 BACKTRACE_SUPPORTS_THREADS
610 BACKTRACE_USES_MALLOC
615 SANITIZER_SUPPORTED_FALSE
616 SANITIZER_SUPPORTED_TRUE
617 USING_MAC_INTERPOSE_FALSE
618 USING_MAC_INTERPOSE_TRUE
646 am__fastdepCCAS_FALSE
660 MAINTAINER_MODE_FALSE
679 INSTALL_STRIP_PROGRAM
694 LIBSTDCXX_RAW_CXX_LDFLAGS
695 LIBSTDCXX_RAW_CXX_CXXFLAGS
747 program_transform_name
760 enable_option_checking
762 enable_version_specific_runtime_libs
763 enable_dependency_tracking
764 enable_maintainer_mode
772 ac_precious_vars
='build_alias
789 # Initialize some variables set by options.
791 ac_init_version
=false
792 ac_unrecognized_opts
=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
803 program_transform_name
=s
,x
,x
,
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir
='${exec_prefix}/bin'
818 sbindir
='${exec_prefix}/sbin'
819 libexecdir
='${exec_prefix}/libexec'
820 datarootdir
='${prefix}/share'
821 datadir
='${datarootdir}'
822 sysconfdir
='${prefix}/etc'
823 sharedstatedir
='${prefix}/com'
824 localstatedir
='${prefix}/var'
825 includedir
='${prefix}/include'
826 oldincludedir
='/usr/include'
827 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir
='${datarootdir}/info'
833 libdir
='${exec_prefix}/lib'
834 localedir
='${datarootdir}/locale'
835 mandir
='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\
$ac_option
849 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
859 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
861 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
864 -build |
--build |
--buil |
--bui |
--bu)
865 ac_prev
=build_alias
;;
866 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
867 build_alias
=$ac_optarg ;;
869 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
870 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
871 ac_prev
=cache_file
;;
872 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
873 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
874 cache_file
=$ac_optarg ;;
877 cache_file
=config.cache
;;
879 -datadir |
--datadir |
--datadi |
--datad)
881 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
882 datadir
=$ac_optarg ;;
884 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
885 |
--dataroo |
--dataro |
--datar)
886 ac_prev
=datarootdir
;;
887 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
888 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
889 datarootdir
=$ac_optarg ;;
891 -disable-* |
--disable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=no
;;
907 -docdir |
--docdir |
--docdi |
--doc |
--do)
909 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
912 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
914 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
917 -enable-* |
--enable-*)
918 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
921 as_fn_error
"invalid feature name: $ac_useropt"
922 ac_useropt_orig
=$ac_useropt
923 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep
=', ';;
931 eval enable_
$ac_useropt=\
$ac_optarg ;;
933 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
934 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
935 |
--exec |
--exe |
--ex)
936 ac_prev
=exec_prefix
;;
937 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
938 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
939 |
--exec=* |
--exe=* |
--ex=*)
940 exec_prefix
=$ac_optarg ;;
942 -gas |
--gas |
--ga |
--g)
943 # Obsolete; use --with-gas.
946 -help |
--help |
--hel |
--he |
-h)
948 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
949 ac_init_help
=recursive
;;
950 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
951 ac_init_help
=short
;;
953 -host |
--host |
--hos |
--ho)
954 ac_prev
=host_alias
;;
955 -host=* |
--host=* |
--hos=* |
--ho=*)
956 host_alias
=$ac_optarg ;;
958 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
960 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
962 htmldir
=$ac_optarg ;;
964 -includedir |
--includedir |
--includedi |
--included |
--include \
965 |
--includ |
--inclu |
--incl |
--inc)
966 ac_prev
=includedir
;;
967 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
968 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
969 includedir
=$ac_optarg ;;
971 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
973 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
974 infodir
=$ac_optarg ;;
976 -libdir |
--libdir |
--libdi |
--libd)
978 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
981 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
982 |
--libexe |
--libex |
--libe)
983 ac_prev
=libexecdir
;;
984 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
985 |
--libexe=* |
--libex=* |
--libe=*)
986 libexecdir
=$ac_optarg ;;
988 -localedir |
--localedir |
--localedi |
--localed |
--locale)
990 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
991 localedir
=$ac_optarg ;;
993 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
994 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
995 ac_prev
=localstatedir
;;
996 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
997 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
998 localstatedir
=$ac_optarg ;;
1000 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1002 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1003 mandir
=$ac_optarg ;;
1005 -nfp |
--nfp |
--nf)
1006 # Obsolete; use --without-fp.
1009 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1010 |
--no-cr |
--no-c |
-n)
1013 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1014 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1017 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1018 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1019 |
--oldin |
--oldi |
--old |
--ol |
--o)
1020 ac_prev
=oldincludedir
;;
1021 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1022 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1023 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1024 oldincludedir
=$ac_optarg ;;
1026 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1028 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1029 prefix
=$ac_optarg ;;
1031 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1032 |
--program-pre |
--program-pr |
--program-p)
1033 ac_prev
=program_prefix
;;
1034 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1035 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1036 program_prefix
=$ac_optarg ;;
1038 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1039 |
--program-suf |
--program-su |
--program-s)
1040 ac_prev
=program_suffix
;;
1041 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1042 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1043 program_suffix
=$ac_optarg ;;
1045 -program-transform-name |
--program-transform-name \
1046 |
--program-transform-nam |
--program-transform-na \
1047 |
--program-transform-n |
--program-transform- \
1048 |
--program-transform |
--program-transfor \
1049 |
--program-transfo |
--program-transf \
1050 |
--program-trans |
--program-tran \
1051 |
--progr-tra |
--program-tr |
--program-t)
1052 ac_prev
=program_transform_name
;;
1053 -program-transform-name=* |
--program-transform-name=* \
1054 |
--program-transform-nam=* |
--program-transform-na=* \
1055 |
--program-transform-n=* |
--program-transform-=* \
1056 |
--program-transform=* |
--program-transfor=* \
1057 |
--program-transfo=* |
--program-transf=* \
1058 |
--program-trans=* |
--program-tran=* \
1059 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1060 program_transform_name
=$ac_optarg ;;
1062 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1064 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1065 pdfdir
=$ac_optarg ;;
1067 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1069 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1072 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1073 |
-silent |
--silent |
--silen |
--sile |
--sil)
1076 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1078 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1080 sbindir
=$ac_optarg ;;
1082 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1083 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1084 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1086 ac_prev
=sharedstatedir
;;
1087 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1088 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1089 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1091 sharedstatedir
=$ac_optarg ;;
1093 -site |
--site |
--sit)
1095 -site=* |
--site=* |
--sit=*)
1098 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1100 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1101 srcdir
=$ac_optarg ;;
1103 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1104 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1105 ac_prev
=sysconfdir
;;
1106 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1107 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1108 sysconfdir
=$ac_optarg ;;
1110 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1111 ac_prev
=target_alias
;;
1112 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1113 target_alias
=$ac_optarg ;;
1115 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1118 -version |
--version |
--versio |
--versi |
--vers |
-V)
1119 ac_init_version
=: ;;
1122 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error
"invalid package name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval with_
$ac_useropt=\
$ac_optarg ;;
1137 -without-* |
--without-*)
1138 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1141 as_fn_error
"invalid package name: $ac_useropt"
1142 ac_useropt_orig
=$ac_useropt
1143 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1148 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep
=', ';;
1151 eval with_
$ac_useropt=no
;;
1154 # Obsolete; use --with-x.
1157 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1158 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1159 ac_prev
=x_includes
;;
1160 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1161 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1162 x_includes
=$ac_optarg ;;
1164 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1165 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1166 ac_prev
=x_libraries
;;
1167 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1168 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1169 x_libraries
=$ac_optarg ;;
1171 -*) as_fn_error
"unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information."
1176 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1180 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1182 eval $ac_envvar=\
$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1196 if test -n "$ac_prev"; then
1197 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error
"missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1204 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209 # Check all directory arguments for consistency.
1210 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val
=\$
$ac_var
1216 # Remove trailing slashes.
1219 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\
$ac_val;;
1222 # Be sure to have absolute directory names.
1224 [\\/$
]* | ?
:[\\/]* ) continue;;
1225 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1227 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1235 target
=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x
; then
1239 if test "x$build_alias" = x
; then
1240 cross_compiling
=maybe
1241 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1242 If a cross compiler is detected then cross compile mode will be used." >&2
1243 elif test "x$build_alias" != "x$host_alias"; then
1249 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1251 test "$silent" = yes && exec 6>/dev
/null
1254 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di
=`ls -di .` &&
1256 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error
"working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error
"pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted
=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir
=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1294 ac_srcdir_defaulted
=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1298 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1312 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1314 for ac_var
in $ac_precious_vars; do
1315 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1317 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1328 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1391 --build=BUILD configure
for building on BUILD
[guessed
]
1392 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1393 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive
) echo "Configuration of package-unused version-unused:";;
1404 --disable-option-checking ignore unrecognized
--enable/--with options
1405 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1406 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1407 --enable-multilib build many library versions
(default
)
1408 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1409 --disable-dependency-tracking speeds up one-time build
1410 --enable-dependency-tracking do not reject slow dependency extractors
1411 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing
) to the casual installer
1413 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1414 --enable-static[=PKGS
] build static libraries
[default
=yes]
1415 --enable-fast-install[=PKGS
]
1416 optimize
for fast installation
[default
=yes]
1417 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1420 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1421 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1422 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1424 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1426 Some influential environment variables
:
1427 CC C compiler
command
1428 CFLAGS C compiler flags
1429 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1430 nonstandard directory
<lib dir
>
1431 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1432 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1433 you have headers
in a nonstandard directory
<include dir
>
1435 CXX C
++ compiler
command
1436 CXXFLAGS C
++ compiler flags
1437 CCAS assembler compiler
command (defaults to CC
)
1438 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1439 CXXCPP C
++ preprocessor
1441 Use these variables to override the choices made by
`configure' or to help
1442 it to find libraries and programs with nonstandard names/locations.
1444 Report bugs to <libsanitizer>.
1449 if test "$ac_init_help" = "recursive"; then
1450 # If there are subdirs, report their specific --help.
1451 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1452 test -d "$ac_dir" ||
1453 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1468 ac_abs_top_builddir=$ac_pwd
1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1470 # for backward compatibility:
1471 ac_top_builddir=$ac_top_build_prefix
1474 .) # We are building in place.
1476 ac_top_srcdir=$ac_top_builddir_sub
1477 ac_abs_top_srcdir=$ac_pwd ;;
1478 [\\/]* | ?:[\\/]* ) # Absolute name.
1479 ac_srcdir=$srcdir$ac_dir_suffix;
1480 ac_top_srcdir=$srcdir
1481 ac_abs_top_srcdir=$srcdir ;;
1483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1489 cd "$ac_dir" || { ac_status=$?; continue; }
1490 # Check for guested configure.
1491 if test -f "$ac_srcdir/configure.gnu"; then
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
1496 $SHELL "$ac_srcdir/configure" --help=recursive
1498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 cd "$ac_pwd" || { ac_status=$?; break; }
1504 test -n "$ac_init_help" && exit $ac_status
1505 if $ac_init_version; then
1507 package-unused configure version-unused
1508 generated by GNU Autoconf 2.64
1510 Copyright (C) 2009 Free Software Foundation, Inc.
1511 This configure script is free software; the Free Software Foundation
1512 gives unlimited permission to copy, distribute and modify it.
1517 ## ------------------------ ##
1518 ## Autoconf initialization. ##
1519 ## ------------------------ ##
1521 # ac_fn_c_try_compile LINENO
1522 # --------------------------
1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1524 ac_fn_c_try_compile ()
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 rm -f conftest.$ac_objext
1528 if { { ac_try="$ac_compile"
1530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1531 *) ac_try_echo
=$ac_try;;
1533 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_compile") 2>conftest.err
1537 if test -s conftest.err
; then
1538 grep -v '^ *+' conftest.err
>conftest.er1
1539 cat conftest.er1
>&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } && {
1544 test -z "$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1546 } && test -s conftest.
$ac_objext; then :
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.
$ac_ext >&5
1554 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1557 } # ac_fn_c_try_compile
1559 # ac_fn_c_try_cpp LINENO
1560 # ----------------------
1561 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1564 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1565 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } >/dev/null && {
1581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1591 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1596 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1597 # -------------------------------------------------------
1598 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1599 # the include files in INCLUDES and setting the cache variable VAR
1601 ac_fn_c_check_header_mongrel ()
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1606 $as_echo_n "checking for $2... " >&6; }
1607 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1608 $as_echo_n "(cached) " >&6
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1612 $as_echo "$ac_res" >&6; }
1614 # Is the header compilable?
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1616 $as_echo_n "checking $2 usability... " >&6; }
1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1622 if ac_fn_c_try_compile "$LINENO"; then :
1623 ac_header_compiler=yes
1625 ac_header_compiler=no
1627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1629 $as_echo "$ac_header_compiler" >&6; }
1631 # Is the header present?
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1633 $as_echo_n "checking $2 presence... " >&6; }
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1638 if ac_fn_c_try_cpp "$LINENO"; then :
1639 ac_header_preproc=yes
1641 ac_header_preproc=no
1643 rm -f conftest.err conftest.$ac_ext
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1645 $as_echo "$ac_header_preproc" >&6; }
1647 # So? What about this header?
1648 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1651 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1657 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1659 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1661 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1663 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1665 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1667 ## --------------------------- ##
1668 ## Report this to libsanitizer ##
1669 ## --------------------------- ##
1671 ) | sed "s/^/$as_me: WARNING: /" >&2
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677 $as_echo_n "(cached) " >&6
1679 eval "$3=\$ac_header_compiler"
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 } # ac_fn_c_check_header_mongrel
1689 # ac_fn_c_try_run LINENO
1690 # ----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1699 *) ac_try_echo
=$ac_try;;
1701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1707 { { case "(($ac_try" in
1708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_try") 2>&5
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; }; }; then :
1719 $as_echo "$as_me: program exited with status $ac_status" >&5
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1723 ac_retval=$ac_status
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732 # -------------------------------------------------------
1733 # Tests whether HEADER exists and can be compiled using the include files in
1734 # INCLUDES, setting the cache variable VAR accordingly.
1735 ac_fn_c_check_header_compile ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1748 if ac_fn_c_try_compile "$LINENO"; then :
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 } # ac_fn_c_check_header_compile
1762 # ac_fn_cxx_try_compile LINENO
1763 # ----------------------------
1764 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_cxx_try_compile ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext
1769 if { { ac_try="$ac_compile"
1771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1772 *) ac_try_echo
=$ac_try;;
1774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_compile") 2>conftest.err
1778 if test -s conftest.err
; then
1779 grep -v '^ *+' conftest.err
>conftest.er1
1780 cat conftest.er1
>&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_cxx_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest.
$ac_objext; then :
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.
$ac_ext >&5
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1798 } # ac_fn_cxx_try_compile
1800 # ac_fn_c_try_link LINENO
1801 # -----------------------
1802 # Try to link conftest.$ac_ext, and return whether this succeeded.
1805 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1806 rm -f conftest.
$ac_objext conftest
$ac_exeext
1807 if { { ac_try
="$ac_link"
1809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_link") 2>conftest.err
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest$ac_exeext && {
1826 test "$cross_compiling" = yes ||
1827 $as_test_x conftest$ac_exeext
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1836 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1837 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1838 # interfere with the next link command; also delete a directory that is
1839 # left behind by Apple's compiler. We do this before executing the actions.
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1844 } # ac_fn_c_try_link
1846 # ac_fn_c_check_func LINENO FUNC VAR
1847 # ----------------------------------
1848 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1849 ac_fn_c_check_func ()
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1855 $as_echo_n "(cached) " >&6
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1859 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1861 #define $2 innocuous_$2
1863 /* System header to define __stub macros and hopefully few prototypes,
1864 which can conflict with char $2 (); below.
1865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1866 <limits.h> exists even on freestanding compilers. */
1869 # include <limits.h>
1871 # include <assert.h>
1876 /* Override any GCC internal prototype to avoid an error.
1877 Use char because int might match the return type of a GCC
1878 builtin and then its argument prototype would still apply. */
1883 /* The GNU C library defines this for functions which it implements
1884 to always fail with ENOSYS. Some functions are actually named
1885 something starting with __ and the normal name is an alias. */
1886 #if defined __stub_$2 || defined __stub___$2
1898 if ac_fn_c_try_link "$LINENO"; then :
1903 rm -f core conftest.err conftest.$ac_objext \
1904 conftest$ac_exeext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1911 } # ac_fn_c_check_func
1913 # ac_fn_cxx_try_cpp LINENO
1914 # ------------------------
1915 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1916 ac_fn_cxx_try_cpp ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 if { { ac_try="$ac_cpp conftest.$ac_ext"
1921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1922 *) ac_try_echo
=$ac_try;;
1924 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1928 if test -s conftest.err
; then
1929 grep -v '^ *+' conftest.err
>conftest.er1
1930 cat conftest.er1
>&5
1931 mv -f conftest.er1 conftest.err
1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934 test $ac_status = 0; } >/dev
/null
&& {
1935 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1936 test ! -s conftest.err
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.
$ac_ext >&5
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1948 } # ac_fn_cxx_try_cpp
1950 # ac_fn_cxx_try_link LINENO
1951 # -------------------------
1952 # Try to link conftest.$ac_ext, and return whether this succeeded.
1953 ac_fn_cxx_try_link
()
1955 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1956 rm -f conftest.
$ac_objext conftest
$ac_exeext
1957 if { { ac_try
="$ac_link"
1959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1960 *) ac_try_echo=$ac_try;;
1962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_link") 2>conftest.err
1966 if test -s conftest.err; then
1967 grep -v '^ *+' conftest.err >conftest.er1
1968 cat conftest.er1 >&5
1969 mv -f conftest.er1 conftest.err
1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972 test $ac_status = 0; } && {
1973 test -z "$ac_cxx_werror_flag" ||
1974 test ! -s conftest.err
1975 } && test -s conftest$ac_exeext && {
1976 test "$cross_compiling" = yes ||
1977 $as_test_x conftest$ac_exeext
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.$ac_ext >&5
1986 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1987 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1988 # interfere with the next link command; also delete a directory that is
1989 # left behind by Apple's compiler. We do this before executing the actions.
1990 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1994 } # ac_fn_cxx_try_link
1996 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1997 # --------------------------------------------
1998 # Tries to find the compile-time value of EXPR in a program that includes
1999 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2001 ac_fn_c_compute_int ()
2003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2004 if test "$cross_compiling" = yes; then
2005 # Depending upon the size, compute the lo and hi bounds.
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2012 static int test_array [1 - 2 * !(($2) >= 0)];
2019 if ac_fn_c_try_compile "$LINENO"; then :
2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2028 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2035 if ac_fn_c_try_compile "$LINENO"; then :
2036 ac_hi=$ac_mid; break
2038 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2039 if test $ac_lo -le $ac_mid; then
2043 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2054 static int test_array [1 - 2 * !(($2) < 0)];
2061 if ac_fn_c_try_compile "$LINENO"; then :
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2070 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2077 if ac_fn_c_try_compile "$LINENO"; then :
2078 ac_lo=$ac_mid; break
2080 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2081 if test $ac_mid -le $ac_hi; then
2085 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2095 # Binary search between lo and hi bounds.
2096 while test "x$ac_lo" != "x$ac_hi"; do
2097 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2104 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2111 if ac_fn_c_try_compile "$LINENO"; then :
2114 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2119 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2126 static long int longval () { return $2; }
2127 static unsigned long int ulongval () { return $2; }
2134 FILE *f = fopen ("conftest.val", "w");
2139 long int i = longval ();
2142 fprintf (f, "%ld", i);
2146 unsigned long int i = ulongval ();
2149 fprintf (f, "%lu", i);
2151 /* Do not output a trailing newline, as this causes \r\n confusion
2152 on some platforms. */
2153 return ferror (f) || fclose (f) != 0;
2159 if ac_fn_c_try_run "$LINENO"; then :
2160 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2165 conftest.$ac_objext conftest.beam conftest.$ac_ext
2169 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2172 } # ac_fn_c_compute_int
2174 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2175 # -------------------------------------------
2176 # Tests whether TYPE exists after having included INCLUDES, setting cache
2177 # variable VAR accordingly.
2178 ac_fn_c_check_type ()
2180 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 $as_echo_n "(cached) " >&6
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2199 if ac_fn_c_try_compile "$LINENO"; then :
2200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2212 if ac_fn_c_try_compile "$LINENO"; then :
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2223 $as_echo "$ac_res" >&6; }
2224 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2226 } # ac_fn_c_check_type
2228 # ac_fn_c_check_decl LINENO SYMBOL VAR
2229 # ------------------------------------
2230 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2231 ac_fn_c_check_decl ()
2233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2235 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2237 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2238 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2239 $as_echo_n "(cached) " >&6
2241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2242 /* end confdefs.h. */
2247 #ifndef $as_decl_name
2249 (void) $as_decl_use;
2251 (void) $as_decl_name;
2259 if ac_fn_c_try_compile "$LINENO"; then :
2264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2268 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2271 } # ac_fn_c_check_decl
2272 cat >config.log <<_ACEOF
2273 This file contains any messages produced by compilers while
2274 running configure, to aid debugging if configure makes a mistake.
2276 It was created by package-unused $as_me version-unused, which was
2277 generated by GNU Autoconf 2.64. Invocation command line was
2289 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2290 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2291 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2292 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2293 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2295 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2296 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2298 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2299 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2300 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2301 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2302 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2303 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2304 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir=.
2313 $as_echo "PATH: $as_dir"
2329 # Keep a trace of the command line.
2330 # Strip out --no-create and --no-recursion so they do not pile up.
2331 # Strip out --silent because we don't want to record it for future runs.
2332 # Also quote any args containing shell meta-characters.
2333 # Make two passes to allow for proper duplicate-argument suppression.
2337 ac_must_keep_next=false
2343 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2345 | -silent | --silent | --silen | --sile | --sil)
2348 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2351 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2353 as_fn_append ac_configure_args1 " '$ac_arg'"
2354 if test $ac_must_keep_next = true; then
2355 ac_must_keep_next=false # Got value, back to normal.
2358 *=* | --config-cache | -C | -disable-* | --disable-* \
2359 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2360 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2361 | -with-* | --with-* | -without-* | --without-* | --x)
2362 case "$ac_configure_args0 " in
2363 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2366 -* ) ac_must_keep_next=true ;;
2369 as_fn_append ac_configure_args " '$ac_arg'"
2374 { ac_configure_args0=; unset ac_configure_args0;}
2375 { ac_configure_args1=; unset ac_configure_args1;}
2377 # When interrupted or exit'd, cleanup temporary files, and complete
2378 # config.log. We remove comments because anyway the quotes in there
2379 # would cause problems or look ugly.
2380 # WARNING: Use '\'' to represent an apostrophe within the trap.
2381 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2382 trap 'exit_status=$?
2383 # Save into config.log some information that might help in debugging.
2388 ## ---------------- ##
2389 ## Cache variables. ##
2390 ## ---------------- ##
2393 # The following way of writing the cache mishandles newlines in values,
2395 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2396 eval ac_val=\$$ac_var
2400 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2401 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2404 _ | IFS | as_nl) ;; #(
2405 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2406 *) { eval $ac_var=; unset $ac_var;} ;;
2411 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2412 *${as_nl}ac_space=\ *)
2414 "s/'\''/'\''\\\\'\'''\''/g;
2415 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2418 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2426 ## ----------------- ##
2427 ## Output variables. ##
2428 ## ----------------- ##
2431 for ac_var in $ac_subst_vars
2433 eval ac_val=\$$ac_var
2435 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2437 $as_echo "$ac_var='\''$ac_val'\''"
2441 if test -n "$ac_subst_files"; then
2443 ## ------------------- ##
2444 ## File substitutions. ##
2445 ## ------------------- ##
2448 for ac_var in $ac_subst_files
2450 eval ac_val=\$$ac_var
2452 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2454 $as_echo "$ac_var='\''$ac_val'\''"
2459 if test -s confdefs.h; then
2469 test "$ac_signal" != 0 &&
2470 $as_echo "$as_me: caught signal $ac_signal"
2471 $as_echo "$as_me: exit $exit_status"
2473 rm -f core *.core core.conftest.* &&
2474 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2477 for ac_signal in 1 2 13 15; do
2478 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2482 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2483 rm -f -r conftest* confdefs.h
2485 $as_echo "/* confdefs.h */" > confdefs.h
2487 # Predefined preprocessor variables.
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_NAME "$PACKAGE_NAME"
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2497 cat >>confdefs.h <<_ACEOF
2498 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2501 cat >>confdefs.h <<_ACEOF
2502 #define PACKAGE_STRING "$PACKAGE_STRING"
2505 cat >>confdefs.h <<_ACEOF
2506 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2509 cat >>confdefs.h <<_ACEOF
2510 #define PACKAGE_URL "$PACKAGE_URL"
2514 # Let the site file select an alternate cache file if it wants to.
2515 # Prefer an explicitly selected file to automatically selected ones.
2518 if test -n "$CONFIG_SITE"; then
2519 ac_site_file1=$CONFIG_SITE
2520 elif test "x$prefix" != xNONE; then
2521 ac_site_file1=$prefix/share/config.site
2522 ac_site_file2=$prefix/etc/config.site
2524 ac_site_file1=$ac_default_prefix/share/config.site
2525 ac_site_file2=$ac_default_prefix/etc/config.site
2527 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2529 test "x$ac_site_file" = xNONE && continue
2530 if test -r "$ac_site_file"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2532 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2533 sed 's/^/| /' "$ac_site_file" >&5
2538 if test -r "$cache_file"; then
2539 # Some versions of bash will fail to source /dev/null (special
2540 # files actually), so we avoid doing that.
2541 if test -f "$cache_file"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2543 $as_echo "$as_me: loading cache $cache_file" >&6;}
2545 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2546 *) . "./$cache_file";;
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2551 $as_echo "$as_me: creating cache $cache_file" >&6;}
2555 # Check that the precious variables saved in the cache have kept the same
2557 ac_cache_corrupted=false
2558 for ac_var in $ac_precious_vars; do
2559 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2560 eval ac_new_set=\$ac_env_${ac_var}_set
2561 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2562 eval ac_new_val=\$ac_env_${ac_var}_value
2563 case $ac_old_set,$ac_new_set in
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2566 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2567 ac_cache_corrupted=: ;;
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2570 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2571 ac_cache_corrupted=: ;;
2574 if test "x$ac_old_val" != "x$ac_new_val"; then
2575 # differences in whitespace do not lead to failure.
2576 ac_old_val_w=`echo x
$ac_old_val`
2577 ac_new_val_w=`echo x
$ac_new_val`
2578 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2580 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2581 ac_cache_corrupted=:
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2584 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2585 eval $ac_var=\$ac_old_val
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2588 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2590 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2593 # Pass precious variables to config.status.
2594 if test "$ac_new_set" = set; then
2596 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2597 *) ac_arg=$ac_var=$ac_new_val ;;
2599 case " $ac_configure_args " in
2600 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2601 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2605 if $ac_cache_corrupted; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2609 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2610 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2612 ## -------------------- ##
2613 ## Main body of script. ##
2614 ## -------------------- ##
2617 ac_cpp='$CPP $CPPFLAGS'
2618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2628 # Default to --enable-multilib
2629 # Check whether --enable-multilib was given.
2630 if test "${enable_multilib+set}" = set; then :
2631 enableval=$enable_multilib; case "$enableval" in
2632 yes) multilib=yes ;;
2634 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2641 # We may get other options which we leave undocumented:
2642 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2643 # See config-ml.in if you want the gory details.
2645 if test "$srcdir" = "."; then
2646 if test "$with_target_subdir" != "."; then
2647 multi_basedir="$srcdir/$with_multisrctop../.."
2649 multi_basedir="$srcdir/$with_multisrctop.."
2652 multi_basedir="$srcdir/.."
2656 # Even if the default multilib is not a cross compilation,
2657 # it may be that some of the other multilibs are.
2658 if test $cross_compiling = no && test $multilib = yes \
2659 && test "x${with_multisubdir}" != x ; then
2660 cross_compiling=maybe
2663 ac_config_commands="$ac_config_commands default-1"
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2667 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2668 # Check whether --enable-version-specific-runtime-libs was given.
2669 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2670 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2671 yes) version_specific_libs=yes ;;
2672 no) version_specific_libs=no ;;
2673 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2676 version_specific_libs=no
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2680 $as_echo "$version_specific_libs" >&6; }
2683 ac_cpp='$CPP $CPPFLAGS'
2684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2687 if test -n "$ac_tool_prefix"; then
2688 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2689 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if test "${ac_cv_prog_CC+set}" = set; then :
2693 $as_echo_n "(cached) " >&6
2695 if test -n "$CC"; then
2696 ac_cv_prog_CC="$CC" # Let the user override the test.
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir=.
2703 for ac_exec_ext in '' $ac_executable_extensions; do
2704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2705 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 if test -n "$CC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 $as_echo "$CC" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2726 if test -z "$ac_cv_prog_CC"; then
2728 # Extract the first word of "gcc", so it can be a program name with args.
2729 set dummy gcc; ac_word=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2733 $as_echo_n "(cached) " >&6
2735 if test -n "$ac_ct_CC"; then
2736 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_ac_ct_CC="gcc"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2756 if test -n "$ac_ct_CC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2758 $as_echo "$ac_ct_CC" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2764 if test "x$ac_ct_CC" = x; then
2767 case $cross_compiling:$ac_tool_warned in
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2771 ac_tool_warned=yes ;;
2779 if test -z "$CC"; then
2780 if test -n "$ac_tool_prefix"; then
2781 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2782 set dummy ${ac_tool_prefix}cc; ac_word=$2
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2784 $as_echo_n "checking for $ac_word... " >&6; }
2785 if test "${ac_cv_prog_CC+set}" = set; then :
2786 $as_echo_n "(cached) " >&6
2788 if test -n "$CC"; then
2789 ac_cv_prog_CC="$CC" # Let the user override the test.
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir=.
2796 for ac_exec_ext in '' $ac_executable_extensions; do
2797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2798 ac_cv_prog_CC="${ac_tool_prefix}cc"
2799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 if test -n "$CC"; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2811 $as_echo "$CC" >&6; }
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814 $as_echo "no" >&6; }
2820 if test -z "$CC"; then
2821 # Extract the first word of "cc", so it can be a program name with args.
2822 set dummy cc; ac_word=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if test "${ac_cv_prog_CC+set}" = set; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC="$CC" # Let the user override the test.
2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir=.
2837 for ac_exec_ext in '' $ac_executable_extensions; do
2838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2839 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2840 ac_prog_rejected=yes
2844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 if test $ac_prog_rejected = yes; then
2852 # We found a bogon in the path, so make sure we never use it.
2853 set dummy $ac_cv_prog_CC
2855 if test $# != 0; then
2856 # We chose a different compiler from the bogus one.
2857 # However, it has the same basename, so the bogon will be chosen
2858 # first if we set CC to just the basename; use the full file name.
2860 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2866 if test -n "$CC"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2868 $as_echo "$CC" >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871 $as_echo "no" >&6; }
2876 if test -z "$CC"; then
2877 if test -n "$ac_tool_prefix"; then
2878 for ac_prog in cl.exe
2880 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2881 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if test "${ac_cv_prog_CC+set}" = set; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$CC"; then
2888 ac_cv_prog_CC="$CC" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 if test -n "$CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2910 $as_echo "$CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2917 test -n "$CC" && break
2920 if test -z "$CC"; then
2922 for ac_prog in cl.exe
2924 # Extract the first word of "$ac_prog", so it can be a program name with args.
2925 set dummy $ac_prog; ac_word=$2
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2929 $as_echo_n "(cached) " >&6
2931 if test -n "$ac_ct_CC"; then
2932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir=.
2939 for ac_exec_ext in '' $ac_executable_extensions; do
2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2941 ac_cv_prog_ac_ct_CC="$ac_prog"
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2952 if test -n "$ac_ct_CC"; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2954 $as_echo "$ac_ct_CC" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2961 test -n "$ac_ct_CC" && break
2964 if test "x$ac_ct_CC" = x; then
2967 case $cross_compiling:$ac_tool_warned in
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2971 ac_tool_warned=yes ;;
2980 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2982 as_fn_error "no acceptable C compiler found
in \
$PATH
2983 See \
`config.log' for more details." "$LINENO" 5; }
2985 # Provide some information about the compiler.
2986 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2989 for ac_option in --version -v -V -qversion; do
2990 { { ac_try="$ac_compiler $ac_option >&5"
2992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2993 *) ac_try_echo
=$ac_try;;
2995 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2999 if test -s conftest.err
; then
3001 ... rest of stderr output deleted ...
3002 10q' conftest.err
>conftest.er1
3003 cat conftest.er1
>&5
3004 rm -f conftest.er1 conftest.err
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }
3010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3021 ac_clean_files_save
=$ac_clean_files
3022 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3023 # Try to create an executable without -o first, disregard a.out.
3024 # It will help us diagnose broken compilers, and finding out an intuition
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3027 $as_echo_n "checking for C compiler default output file name... " >&6; }
3028 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3030 # The possible output files:
3031 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3034 for ac_file
in $ac_files
3037 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3038 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3043 if { { ac_try
="$ac_link_default"
3045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3049 $as_echo "$ac_try_echo"; } >&5
3050 (eval "$ac_link_default") 2>&5
3052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053 test $ac_status = 0; }; then :
3054 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3055 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3056 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3057 # so that the user can short-circuit this test for compilers unknown to
3059 for ac_file in $ac_files ''
3061 test -f "$ac_file" || continue
3063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3066 # We found the default executable, but exeext='' is most
3070 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3072 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3074 # We set ac_cv_exeext here because the later test for it is not
3075 # safe: cross compilers may not add the suffix if given an `-o'
3076 # argument, so we may need to know it at that point already.
3077 # Even if this section looks crufty: it has the advantage of
3084 test "$ac_cv_exeext" = no && ac_cv_exeext=
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3090 $as_echo "$ac_file" >&6; }
3091 if test -z "$ac_file"; then :
3092 $as_echo "$as_me: failed program was:" >&5
3093 sed 's
/^
/|
/' conftest.$ac_ext >&5
3095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3096 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3097 { as_fn_set_status 77
3098 as_fn_error "C compiler cannot create executables
3099 See \`config.log
' for more details." "$LINENO" 5; }; }
3101 ac_exeext=$ac_cv_exeext
3103 # Check that the compiler produces executables we can run. If not, either
3104 # the compiler is broken, or we cross compile.
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3106 $as_echo_n "checking whether the C compiler works... " >&6; }
3107 # If not cross compiling, check that we can run a simple program.
3108 if test "$cross_compiling" != yes; then
3109 if { ac_try='.
/$ac_file'
3110 { { case "(($ac_try" in
3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3116 (eval "$ac_try") 2>&5
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; }; }; then
3122 if test "$cross_compiling" = maybe; then
3125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3126 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3127 as_fn_error "cannot run C compiled programs.
3128 If you meant to cross compile, use \`--host'.
3129 See \`config.log' for more details.
" "$LINENO" 5; }
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3134 $as_echo "yes" >&6; }
3136 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3137 ac_clean_files=$ac_clean_files_save
3138 # Check that the compiler produces executables we can run. If not, either
3139 # the compiler is broken, or we cross compile.
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3141 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3143 $as_echo "$cross_compiling" >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3146 $as_echo_n "checking
for suffix of executables...
" >&6; }
3147 if { { ac_try="$ac_link"
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3152 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3153 $as_echo "$ac_try_echo"; } >&5
3154 (eval "$ac_link") 2>&5
3156 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3157 test $ac_status = 0; }; then :
3158 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3159 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3160 # work properly (i.e., refer to `conftest.exe'), while it won't with
3162 for ac_file in conftest.exe conftest conftest.*; do
3163 test -f "$ac_file" || continue
3165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3166 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3174 as_fn_error "cannot compute suffix of executables: cannot compile and link
3175 See \`config.log' for more details.
" "$LINENO" 5; }
3177 rm -f conftest$ac_cv_exeext
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3179 $as_echo "$ac_cv_exeext" >&6; }
3181 rm -f conftest.$ac_ext
3182 EXEEXT=$ac_cv_exeext
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3185 $as_echo_n "checking
for suffix of object files...
" >&6; }
3186 if test "${ac_cv_objext+set}" = set; then :
3187 $as_echo_n "(cached
) " >&6
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3200 rm -f conftest.o conftest.obj
3201 if { { ac_try="$ac_compile"
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_compile") 2>&5
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3211 test $ac_status = 0; }; then :
3212 for ac_file in conftest.o conftest.obj conftest.*; do
3213 test -f "$ac_file" || continue;
3215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3216 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3221 $as_echo "$as_me: failed program was
:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 as_fn_error "cannot compute suffix of object files: cannot compile
3227 See \`config.log' for more details.
" "$LINENO" 5; }
3229 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3232 $as_echo "$ac_cv_objext" >&6; }
3233 OBJEXT=$ac_cv_objext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3236 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3237 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3238 $as_echo_n "(cached
) " >&6
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3254 if ac_fn_c_try_compile "$LINENO"; then :
3259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3264 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3265 if test $ac_compiler_gnu = yes; then
3270 ac_test_CFLAGS=${CFLAGS+set}
3271 ac_save_CFLAGS=$CFLAGS
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3273 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3274 if test "${ac_cv_prog_cc_g+set}" = set; then :
3275 $as_echo_n "(cached
) " >&6
3277 ac_save_c_werror_flag=$ac_c_werror_flag
3278 ac_c_werror_flag=yes
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3292 if ac_fn_c_try_compile "$LINENO"; then :
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3307 if ac_fn_c_try_compile "$LINENO"; then :
3310 ac_c_werror_flag=$ac_save_c_werror_flag
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3323 if ac_fn_c_try_compile "$LINENO"; then :
3326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 ac_c_werror_flag=$ac_save_c_werror_flag
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3334 $as_echo "$ac_cv_prog_cc_g" >&6; }
3335 if test "$ac_test_CFLAGS" = set; then
3336 CFLAGS=$ac_save_CFLAGS
3337 elif test $ac_cv_prog_cc_g = yes; then
3338 if test "$GCC" = yes; then
3344 if test "$GCC" = yes; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3351 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3352 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3353 $as_echo_n "(cached
) " >&6
3355 ac_cv_prog_cc_c89=no
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3361 #include <sys/types.h>
3362 #include <sys/stat.h>
3363 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3364 struct buf { int x; };
3365 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3366 static char *e (p, i)
3372 static char *f (char * (*g) (char **, int), char **p, ...)
3377 s = g (p, va_arg (v,int));
3382 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3383 function prototypes and stuff, but not '\xHH' hex character constants.
3384 These don't provoke an error unfortunately, instead are silently treated
3385 as 'x'. The following induces an error, until -std is added to get
3386 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3387 array size at least. It's necessary to write '\x00'==0 to get something
3388 that's true only with -std. */
3389 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3391 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3392 inside strings and character constants. */
3394 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3396 int test (int i, double x);
3397 struct s1 {int (*f) (int a);};
3398 struct s2 {int (*f) (double a);};
3399 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3405 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3410 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3411 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3413 CC="$ac_save_CC $ac_arg"
3414 if ac_fn_c_try_compile "$LINENO"; then :
3415 ac_cv_prog_cc_c89=$ac_arg
3417 rm -f core conftest.err conftest.$ac_objext
3418 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3420 rm -f conftest.$ac_ext
3425 case "x
$ac_cv_prog_cc_c89" in
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3428 $as_echo "none needed
" >&6; } ;;
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3431 $as_echo "unsupported
" >&6; } ;;
3433 CC="$CC $ac_cv_prog_cc_c89"
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3435 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3437 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3442 ac_cpp='$CPP $CPPFLAGS'
3443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3454 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3455 # On Suns, sometimes $CPP names a directory.
3456 if test -n "$CPP" && test -d "$CPP"; then
3459 if test -z "$CPP"; then
3460 if test "${ac_cv_prog_CPP+set}" = set; then :
3461 $as_echo_n "(cached
) " >&6
3463 # Double quotes because CPP needs to be expanded
3464 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3467 for ac_c_preproc_warn_flag in '' yes
3469 # Use a header file that comes with gcc, so configuring glibc
3470 # with a fresh cross-compiler works.
3471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3472 # <limits.h> exists even on freestanding compilers.
3473 # On the NeXT, cc -E runs the code through the compiler's parser,
3474 # not just through cpp. "Syntax error
" is here to catch this case.
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3478 # include <limits.h>
3480 # include <assert.h>
3484 if ac_fn_c_try_cpp "$LINENO"; then :
3487 # Broken: fails on valid input.
3490 rm -f conftest.err conftest.$ac_ext
3492 # OK, works on sane cases. Now check whether nonexistent headers
3493 # can be detected and how.
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3496 #include <ac_nonexistent.h>
3498 if ac_fn_c_try_cpp "$LINENO"; then :
3499 # Broken: success on invalid input.
3502 # Passes both tests.
3506 rm -f conftest.err conftest.$ac_ext
3509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3510 rm -f conftest.err conftest.$ac_ext
3511 if $ac_preproc_ok; then :
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3524 $as_echo "$CPP" >&6; }
3526 for ac_c_preproc_warn_flag in '' yes
3528 # Use a header file that comes with gcc, so configuring glibc
3529 # with a fresh cross-compiler works.
3530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3531 # <limits.h> exists even on freestanding compilers.
3532 # On the NeXT, cc -E runs the code through the compiler's parser,
3533 # not just through cpp. "Syntax error
" is here to catch this case.
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h. */
3537 # include <limits.h>
3539 # include <assert.h>
3543 if ac_fn_c_try_cpp "$LINENO"; then :
3546 # Broken: fails on valid input.
3549 rm -f conftest.err conftest.$ac_ext
3551 # OK, works on sane cases. Now check whether nonexistent headers
3552 # can be detected and how.
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3555 #include <ac_nonexistent.h>
3557 if ac_fn_c_try_cpp "$LINENO"; then :
3558 # Broken: success on invalid input.
3561 # Passes both tests.
3565 rm -f conftest.err conftest.$ac_ext
3568 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3569 rm -f conftest.err conftest.$ac_ext
3570 if $ac_preproc_ok; then :
3573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3575 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3576 See \`config.log' for more details.
" "$LINENO" 5; }
3580 ac_cpp='$CPP $CPPFLAGS'
3581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3587 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3588 if test "${ac_cv_path_GREP+set}" = set; then :
3589 $as_echo_n "(cached
) " >&6
3591 if test -z "$GREP"; then
3592 ac_path_GREP_found=false
3593 # Loop through the user's path and test for each of PROGNAME-LIST
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3598 test -z "$as_dir" && as_dir=.
3599 for ac_prog in grep ggrep; do
3600 for ac_exec_ext in '' $ac_executable_extensions; do
3601 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3602 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3603 # Check for GNU ac_path_GREP and select it if it is found.
3604 # Check for GNU $ac_path_GREP
3605 case `"$ac_path_GREP" --version 2>&1` in
3607 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3610 $as_echo_n 0123456789 >"conftest.
in"
3613 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3614 mv "conftest.tmp
" "conftest.
in"
3615 cp "conftest.
in" "conftest.
nl"
3616 $as_echo 'GREP' >> "conftest.
nl"
3617 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3618 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3619 as_fn_arith $ac_count + 1 && ac_count=$as_val
3620 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3621 # Best one so far, save it but keep looking for a better one
3622 ac_cv_path_GREP="$ac_path_GREP"
3623 ac_path_GREP_max=$ac_count
3625 # 10*(2^10) chars as input seems more than enough
3626 test $ac_count -gt 10 && break
3628 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3631 $ac_path_GREP_found && break 3
3636 if test -z "$ac_cv_path_GREP"; then
3637 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3640 ac_cv_path_GREP=$GREP
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3645 $as_echo "$ac_cv_path_GREP" >&6; }
3646 GREP="$ac_cv_path_GREP"
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3650 $as_echo_n "checking
for egrep...
" >&6; }
3651 if test "${ac_cv_path_EGREP+set}" = set; then :
3652 $as_echo_n "(cached
) " >&6
3654 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3655 then ac_cv_path_EGREP="$GREP -E"
3657 if test -z "$EGREP"; then
3658 ac_path_EGREP_found=false
3659 # Loop through the user's path and test for each of PROGNAME-LIST
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3664 test -z "$as_dir" && as_dir=.
3665 for ac_prog in egrep; do
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3668 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3669 # Check for GNU ac_path_EGREP and select it if it is found.
3670 # Check for GNU $ac_path_EGREP
3671 case `"$ac_path_EGREP" --version 2>&1` in
3673 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3676 $as_echo_n 0123456789 >"conftest.
in"
3679 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3680 mv "conftest.tmp
" "conftest.
in"
3681 cp "conftest.
in" "conftest.
nl"
3682 $as_echo 'EGREP' >> "conftest.
nl"
3683 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3684 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3685 as_fn_arith $ac_count + 1 && ac_count=$as_val
3686 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3687 # Best one so far, save it but keep looking for a better one
3688 ac_cv_path_EGREP="$ac_path_EGREP"
3689 ac_path_EGREP_max=$ac_count
3691 # 10*(2^10) chars as input seems more than enough
3692 test $ac_count -gt 10 && break
3694 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3697 $ac_path_EGREP_found && break 3
3702 if test -z "$ac_cv_path_EGREP"; then
3703 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3706 ac_cv_path_EGREP=$EGREP
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3712 $as_echo "$ac_cv_path_EGREP" >&6; }
3713 EGREP="$ac_cv_path_EGREP"
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3717 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3718 if test "${ac_cv_header_stdc+set}" = set; then :
3719 $as_echo_n "(cached
) " >&6
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3736 if ac_fn_c_try_compile "$LINENO"; then :
3737 ac_cv_header_stdc=yes
3739 ac_cv_header_stdc=no
3741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3743 if test $ac_cv_header_stdc = yes; then
3744 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3750 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3751 $EGREP "memchr
" >/dev/null 2>&1; then :
3754 ac_cv_header_stdc=no
3760 if test $ac_cv_header_stdc = yes; then
3761 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3767 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3768 $EGREP "free
" >/dev/null 2>&1; then :
3771 ac_cv_header_stdc=no
3777 if test $ac_cv_header_stdc = yes; then
3778 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3779 if test "$cross_compiling" = yes; then :
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3786 #if ((' ' & 0x0FF) == 0x020)
3787 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3788 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3790 # define ISLOWER(c) \
3791 (('a' <= (c) && (c) <= 'i') \
3792 || ('j' <= (c) && (c) <= 'r') \
3793 || ('s' <= (c) && (c) <= 'z'))
3794 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3797 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3802 for (i = 0; i < 256; i++)
3803 if (XOR (islower (i), ISLOWER (i))
3804 || toupper (i) != TOUPPER (i))
3809 if ac_fn_c_try_run "$LINENO"; then :
3812 ac_cv_header_stdc=no
3814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3815 conftest.$ac_objext conftest.beam conftest.$ac_ext
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3821 $as_echo "$ac_cv_header_stdc" >&6; }
3822 if test $ac_cv_header_stdc = yes; then
3824 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3828 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3829 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3830 inttypes.h stdint.h unistd.h
3832 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3833 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3835 eval as_val
=\$
$as_ac_Header
3836 if test "x$as_val" = x
""yes; then :
3837 cat >>confdefs.h
<<_ACEOF
3838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3847 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3848 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3855 if test "$MINIX" = yes; then
3857 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3860 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3863 $as_echo "#define _MINIX 1" >>confdefs.h
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3869 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3870 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3871 $as_echo_n "(cached) " >&6
3873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3876 # define __EXTENSIONS__ 1
3877 $ac_includes_default
3886 if ac_fn_c_try_compile
"$LINENO"; then :
3887 ac_cv_safe_to_define___extensions__
=yes
3889 ac_cv_safe_to_define___extensions__
=no
3891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3894 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3895 test $ac_cv_safe_to_define___extensions__ = yes &&
3896 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3898 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3900 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3902 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3904 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3908 # Do not delete or change the following two lines. For why, see
3909 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3911 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3912 for ac_t
in install-sh
install.sh shtool
; do
3913 if test -f "$ac_dir/$ac_t"; then
3915 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3920 if test -z "$ac_aux_dir"; then
3921 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3924 # These three variables are undocumented and unsupported,
3925 # and are intended to be withdrawn in a future Autoconf release.
3926 # They can cause serious problems if a builder's source tree is in a directory
3927 # whose full name contains unusual characters.
3928 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3929 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3930 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3933 # Make sure we can run config.sub.
3934 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3935 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3938 $as_echo_n "checking build system type... " >&6; }
3939 if test "${ac_cv_build+set}" = set; then :
3940 $as_echo_n "(cached) " >&6
3942 ac_build_alias
=$build_alias
3943 test "x$ac_build_alias" = x
&&
3944 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3945 test "x$ac_build_alias" = x
&&
3946 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3947 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3948 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3952 $as_echo "$ac_cv_build" >&6; }
3953 case $ac_cv_build in
3955 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3958 ac_save_IFS
=$IFS; IFS
='-'
3964 # Remember, the first character of IFS is used to create $*,
3965 # except with old shells:
3968 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3972 $as_echo_n "checking host system type... " >&6; }
3973 if test "${ac_cv_host+set}" = set; then :
3974 $as_echo_n "(cached) " >&6
3976 if test "x$host_alias" = x
; then
3977 ac_cv_host
=$ac_cv_build
3979 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3980 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3985 $as_echo "$ac_cv_host" >&6; }
3988 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3991 ac_save_IFS
=$IFS; IFS
='-'
3997 # Remember, the first character of IFS is used to create $*,
3998 # except with old shells:
4001 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4005 $as_echo_n "checking target system type... " >&6; }
4006 if test "${ac_cv_target+set}" = set; then :
4007 $as_echo_n "(cached) " >&6
4009 if test "x$target_alias" = x
; then
4010 ac_cv_target
=$ac_cv_host
4012 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4013 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4018 $as_echo "$ac_cv_target" >&6; }
4019 case $ac_cv_target in
4021 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
4023 target
=$ac_cv_target
4024 ac_save_IFS
=$IFS; IFS
='-'
4030 # Remember, the first character of IFS is used to create $*,
4031 # except with old shells:
4034 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4037 # The aliases save the names the user supplied, while $host etc.
4038 # will get canonicalized.
4039 test -n "$target_alias" &&
4040 test "$program_prefix$program_suffix$program_transform_name" = \
4042 program_prefix
=${target_alias}-
4044 target_alias
=${target_alias-$host_alias}
4046 case ${build_alias} in
4047 "") build_noncanonical
=${build} ;;
4048 *) build_noncanonical
=${build_alias} ;;
4051 case ${host_alias} in
4052 "") host_noncanonical
=${build_noncanonical} ;;
4053 *) host_noncanonical
=${host_alias} ;;
4056 case ${target_alias} in
4057 "") target_noncanonical
=${host_noncanonical} ;;
4058 *) target_noncanonical
=${target_alias} ;;
4065 LIBSTDCXX_RAW_CXX_CXXFLAGS
="\
4066 -I\$(top_builddir)/../libstdc++-v3/include \
4067 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
4068 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
4069 LIBSTDCXX_RAW_CXX_LDFLAGS
="\
4070 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
4075 am__api_version
='1.11'
4077 # Find a good install program. We prefer a C program (faster),
4078 # so one script is as good as another. But avoid the broken or
4079 # incompatible versions:
4080 # SysV /etc/install, /usr/sbin/install
4081 # SunOS /usr/etc/install
4082 # IRIX /sbin/install
4084 # AmigaOS /C/install, which installs bootblocks on floppy discs
4085 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4086 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4087 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4088 # OS/2's system install, which has a completely different semantic
4089 # ./install, which can be erroneously created by make from ./install.sh.
4090 # Reject install programs that cannot install multiple files.
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4092 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4093 if test -z "$INSTALL"; then
4094 if test "${ac_cv_path_install+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4101 test -z "$as_dir" && as_dir
=.
4102 # Account for people who put trailing slashes in PATH elements.
4103 case $as_dir/ in #((
4104 .
/ | .
// |
/[cC
]/* | \
4105 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4106 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4109 # OSF1 and SCO ODT 3.0 have their own names for install.
4110 # Don't use installbsd from OSF since it installs stuff as root
4112 for ac_prog
in ginstall scoinst
install; do
4113 for ac_exec_ext
in '' $ac_executable_extensions; do
4114 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4115 if test $ac_prog = install &&
4116 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4117 # AIX install. It has an incompatible calling convention.
4119 elif test $ac_prog = install &&
4120 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4121 # program-specific install script used by HP pwplus--don't use.
4124 rm -rf conftest.one conftest.two conftest.dir
4125 echo one
> conftest.one
4126 echo two
> conftest.two
4128 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4129 test -s conftest.one
&& test -s conftest.two
&&
4130 test -s conftest.dir
/conftest.one
&&
4131 test -s conftest.dir
/conftest.two
4133 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4146 rm -rf conftest.one conftest.two conftest.dir
4149 if test "${ac_cv_path_install+set}" = set; then
4150 INSTALL
=$ac_cv_path_install
4152 # As a last resort, use the slow shell script. Don't cache a
4153 # value for INSTALL within a source directory, because that will
4154 # break other packages using the cache if that directory is
4155 # removed, or if the value is a relative name.
4156 INSTALL
=$ac_install_sh
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4160 $as_echo "$INSTALL" >&6; }
4162 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4163 # It thinks the first close brace ends the variable substitution.
4164 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4166 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4168 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4171 $as_echo_n "checking whether build environment is sane... " >&6; }
4174 echo timestamp
> conftest.
file
4175 # Reject unsafe characters in $srcdir or the absolute working directory
4176 # name. Accept space and tab only in the latter.
4180 *[\\\"\
#\$\&\'\`$am_lf]*)
4181 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4184 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4185 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4188 # Do `set' in a subshell so we don't clobber the current shell's
4189 # arguments. Must try -L first in case configure is actually a
4190 # symlink; some systems play weird games with the mod time of symlinks
4191 # (eg FreeBSD returns the mod time of the symlink's containing
4194 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4195 if test "$*" = "X"; then
4197 set X
`ls -t "$srcdir/configure" conftest.file`
4200 if test "$*" != "X $srcdir/configure conftest.file" \
4201 && test "$*" != "X conftest.file $srcdir/configure"; then
4203 # If neither matched, then we have a broken ls. This can happen
4204 # if, for instance, CONFIG_SHELL is bash and it inherits a
4205 # broken ls alias from the environment. This has actually
4206 # happened. Such a system could not be considered "sane".
4207 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4208 alias in your environment" "$LINENO" 5
4211 test "$2" = conftest.
file
4217 as_fn_error
"newly created file is older than distributed files!
4218 Check your system clock" "$LINENO" 5
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4221 $as_echo "yes" >&6; }
4222 test "$program_prefix" != NONE
&&
4223 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4224 # Use a double $ so make ignores it.
4225 test "$program_suffix" != NONE
&&
4226 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4227 # Double any \ or $.
4228 # By default was `s,x,x', remove it if useless.
4229 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4230 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4232 # expand $ac_aux_dir to an absolute path
4233 am_aux_dir
=`cd $ac_aux_dir && pwd`
4235 if test x
"${MISSING+set}" != xset
; then
4238 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4240 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4243 # Use eval to expand $SHELL
4244 if eval "$MISSING --run true"; then
4245 am_missing_run
="$MISSING --run "
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4249 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4252 if test x
"${install_sh}" != xset
; then
4255 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4257 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4261 # Installed binaries are usually stripped using `strip' when the user
4262 # run `make install-strip'. However `strip' might not be the right
4263 # tool to use in cross-compilation environments, therefore Automake
4264 # will honor the `STRIP' environment variable to overrule this program.
4265 if test "$cross_compiling" != no
; then
4266 if test -n "$ac_tool_prefix"; then
4267 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4268 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if test "${ac_cv_prog_STRIP+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 if test -n "$STRIP"; then
4275 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4281 test -z "$as_dir" && as_dir
=.
4282 for ac_exec_ext
in '' $ac_executable_extensions; do
4283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4284 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 STRIP
=$ac_cv_prog_STRIP
4295 if test -n "$STRIP"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4297 $as_echo "$STRIP" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4305 if test -z "$ac_cv_prog_STRIP"; then
4307 # Extract the first word of "strip", so it can be a program name with args.
4308 set dummy strip
; ac_word
=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -n "$ac_ct_STRIP"; then
4315 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4321 test -z "$as_dir" && as_dir
=.
4322 for ac_exec_ext
in '' $ac_executable_extensions; do
4323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4324 ac_cv_prog_ac_ct_STRIP
="strip"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4335 if test -n "$ac_ct_STRIP"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4337 $as_echo "$ac_ct_STRIP" >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4343 if test "x$ac_ct_STRIP" = x
; then
4346 case $cross_compiling:$ac_tool_warned in
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4350 ac_tool_warned
=yes ;;
4355 STRIP
="$ac_cv_prog_STRIP"
4359 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4362 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4363 if test -z "$MKDIR_P"; then
4364 if test "${ac_cv_path_mkdir+set}" = set; then :
4365 $as_echo_n "(cached) " >&6
4367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4368 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4371 test -z "$as_dir" && as_dir
=.
4372 for ac_prog
in mkdir gmkdir
; do
4373 for ac_exec_ext
in '' $ac_executable_extensions; do
4374 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4375 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4376 'mkdir (GNU coreutils) '* | \
4377 'mkdir (coreutils) '* | \
4378 'mkdir (fileutils) '4.1*)
4379 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4389 if test "${ac_cv_path_mkdir+set}" = set; then
4390 MKDIR_P
="$ac_cv_path_mkdir -p"
4392 # As a last resort, use the slow shell script. Don't cache a
4393 # value for MKDIR_P within a source directory, because that will
4394 # break other packages using the cache if that directory is
4395 # removed, or if the value is a relative name.
4396 test -d .
/--version && rmdir .
/--version
4397 MKDIR_P
="$ac_install_sh -d"
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4401 $as_echo "$MKDIR_P" >&6; }
4405 [\\/$
]* | ?
:[\\/]*) ;;
4406 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4409 for ac_prog
in gawk mawk nawk
awk
4411 # Extract the first word of "$ac_prog", so it can be a program name with args.
4412 set dummy
$ac_prog; ac_word
=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if test "${ac_cv_prog_AWK+set}" = set; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -n "$AWK"; then
4419 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir
=.
4426 for ac_exec_ext
in '' $ac_executable_extensions; do
4427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4428 ac_cv_prog_AWK
="$ac_prog"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 if test -n "$AWK"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4441 $as_echo "$AWK" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4448 test -n "$AWK" && break
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4452 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4454 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4455 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4456 $as_echo_n "(cached) " >&6
4458 cat >conftest.
make <<\_ACEOF
4461 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4463 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4464 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4466 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4468 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4472 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4474 $as_echo "yes" >&6; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4479 SET_MAKE
="MAKE=${MAKE-make}"
4482 rm -rf .tst
2>/dev
/null
4483 mkdir .tst
2>/dev
/null
4484 if test -d .tst
; then
4489 rmdir .tst
2>/dev
/null
4491 DEPDIR
="${am__leading_dot}deps"
4493 ac_config_commands
="$ac_config_commands depfiles"
4496 am_make
=${MAKE-make}
4497 cat > confinc
<< 'END'
4499 @
echo this is the am__doit target
4502 # If we don't find an include directive, just comment out the code.
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4504 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4508 # First try GNU make style include.
4509 echo "include confinc" > confmf
4510 # Ignore all kinds of additional output from `make'.
4511 case `$am_make -s -f confmf 2> /dev/null` in #(
4512 *the\ am__doit\ target
*)
4518 # Now try BSD make style include.
4519 if test "$am__include" = "#"; then
4520 echo '.include "confinc"' > confmf
4521 case `$am_make -s -f confmf 2> /dev/null` in #(
4522 *the\ am__doit\ target
*)
4523 am__include
=.include
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4532 $as_echo "$_am_result" >&6; }
4533 rm -f confinc confmf
4535 # Check whether --enable-dependency-tracking was given.
4536 if test "${enable_dependency_tracking+set}" = set; then :
4537 enableval
=$enable_dependency_tracking;
4540 if test "x$enable_dependency_tracking" != xno
; then
4541 am_depcomp
="$ac_aux_dir/depcomp"
4544 if test "x$enable_dependency_tracking" != xno; then
4553 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4554 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4555 # is not polluted with repeated "-I."
4556 am__isrc
=' -I$(srcdir)'
4557 # test to see if srcdir already configured
4558 if test -f $srcdir/config.status
; then
4559 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4563 # test whether we have cygpath
4564 if test -z "$CYGPATH_W"; then
4565 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4566 CYGPATH_W
='cygpath -w'
4573 # Define the identity of the package.
4574 PACKAGE
='package-unused'
4575 VERSION
='version-unused'
4578 cat >>confdefs.h
<<_ACEOF
4579 #define PACKAGE "$PACKAGE"
4583 cat >>confdefs.h
<<_ACEOF
4584 #define VERSION "$VERSION"
4587 # Some tools Automake needs.
4589 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4592 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4595 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4598 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4601 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4603 # We need awk for the "check" target. The system "awk" is bad on
4605 # Always define AMTAR for backward compatibility.
4607 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4609 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4614 depcc
="$CC" am_compiler_list
=
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4617 $as_echo_n "checking dependency style of $depcc... " >&6; }
4618 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4622 # We make a subdir and do the tests there. Otherwise we can end up
4623 # making bogus files that we don't know about and never remove. For
4624 # instance it was reported that on HP-UX the gcc test will end up
4625 # making a dummy file named `D' -- because `-MD' means `put the output
4628 # Copy depcomp to subdir because otherwise we won't find it if we're
4629 # using a relative directory.
4630 cp "$am_depcomp" conftest.dir
4632 # We will build objects and dependencies in a subdirectory because
4633 # it helps to detect inapplicable dependency modes. For instance
4634 # both Tru64's cc and ICC support -MD to output dependencies as a
4635 # side effect of compilation, but ICC will put the dependencies in
4636 # the current directory while Tru64 will put them in the object
4640 am_cv_CC_dependencies_compiler_type
=none
4641 if test "$am_compiler_list" = ""; then
4642 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4645 case " $depcc " in #(
4646 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4649 for depmode
in $am_compiler_list; do
4650 # Setup a source with many dependencies, because some compilers
4651 # like to wrap large dependency lists on column 80 (with \), and
4652 # we should not choose a depcomp mode which is confused by this.
4654 # We need to recreate these files for each test, as the compiler may
4655 # overwrite some of them when testing with obscure command lines.
4656 # This happens at least with the AIX C compiler.
4658 for i
in 1 2 3 4 5 6; do
4659 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4660 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4661 # Solaris 8's {/usr,}/bin/sh.
4662 touch sub
/conftst
$i.h
4664 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4666 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4667 # mode. It turns out that the SunPro C++ compiler does not properly
4668 # handle `-M -o', and we need to detect this. Also, some Intel
4669 # versions had trouble with output in subdirs
4670 am__obj
=sub
/conftest.
${OBJEXT-o}
4671 am__minus_obj
="-o $am__obj"
4674 # This depmode causes a compiler race in universal mode.
4675 test "$am__universal" = false ||
continue
4678 # after this tag, mechanisms are not by side-effect, so they'll
4679 # only be used when explicitly requested
4680 if test "x$enable_dependency_tracking" = xyes
; then
4686 msvisualcpp | msvcmsys
)
4687 # This compiler won't grok `-c -o', but also, the minuso test has
4688 # not run yet. These depmodes are late enough in the game, and
4689 # so weak that their functioning should not be impacted.
4690 am__obj
=conftest.
${OBJEXT-o}
4695 if depmode
=$depmode \
4696 source=sub
/conftest.c object
=$am__obj \
4697 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4698 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4699 >/dev
/null
2>conftest.err
&&
4700 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4701 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4702 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4703 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4704 # icc doesn't choke on unknown options, it will just issue warnings
4705 # or remarks (even with -Werror). So we grep stderr for any message
4706 # that says an option was ignored or not supported.
4707 # When given -MP, icc 7.0 and 7.1 complain thusly:
4708 # icc: Command line warning: ignoring option '-M'; no argument required
4709 # The diagnosis changed in icc 8.0:
4710 # icc: Command line remark: option '-MP' not supported
4711 if (grep 'ignoring option' conftest.err ||
4712 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4713 am_cv_CC_dependencies_compiler_type
=$depmode
4722 am_cv_CC_dependencies_compiler_type
=none
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4727 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4728 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4731 test "x$enable_dependency_tracking" != xno \
4732 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4734 am__fastdepCC_FALSE
='#'
4736 am__fastdepCC_TRUE
='#'
4737 am__fastdepCC_FALSE
=
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4744 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4745 # Check whether --enable-maintainer-mode was given.
4746 if test "${enable_maintainer_mode+set}" = set; then :
4747 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4749 USE_MAINTAINER_MODE
=no
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4753 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4754 if test $USE_MAINTAINER_MODE = yes; then
4755 MAINTAINER_MODE_TRUE
=
4756 MAINTAINER_MODE_FALSE
='#'
4758 MAINTAINER_MODE_TRUE
='#'
4759 MAINTAINER_MODE_FALSE
=
4762 MAINT
=$MAINTAINER_MODE_TRUE
4766 # Calculate toolexeclibdir
4767 # Also toolexecdir, though it's only used in toolexeclibdir
4768 case ${version_specific_libs} in
4770 # Need the gcc compiler version to know where to install libraries
4771 # and header files if --enable-version-specific-runtime-libs option
4773 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4774 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4777 if test -n "$with_cross_host" &&
4778 test x
"$with_cross_host" != x
"no"; then
4779 # Install a library built with a cross compiler in tooldir, not libdir.
4780 toolexecdir
='$(exec_prefix)/$(target_alias)'
4781 toolexeclibdir
='$(toolexecdir)/lib'
4783 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4784 toolexeclibdir
='$(libdir)'
4786 multi_os_directory
=`$CC -print-multi-os-directory`
4787 case $multi_os_directory in
4788 .
) ;; # Avoid trailing /.
4789 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4796 # Checks for programs.
4798 ac_cpp
='$CPP $CPPFLAGS'
4799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4802 if test -n "$ac_tool_prefix"; then
4803 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4804 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 $as_echo_n "checking for $ac_word... " >&6; }
4807 if test "${ac_cv_prog_CC+set}" = set; then :
4808 $as_echo_n "(cached) " >&6
4810 if test -n "$CC"; then
4811 ac_cv_prog_CC
="$CC" # Let the user override the test.
4813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4817 test -z "$as_dir" && as_dir
=.
4818 for ac_exec_ext
in '' $ac_executable_extensions; do
4819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4820 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831 if test -n "$CC"; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4833 $as_echo "$CC" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4836 $as_echo "no" >&6; }
4841 if test -z "$ac_cv_prog_CC"; then
4843 # Extract the first word of "gcc", so it can be a program name with args.
4844 set dummy gcc
; ac_word
=$2
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4846 $as_echo_n "checking for $ac_word... " >&6; }
4847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4848 $as_echo_n "(cached) " >&6
4850 if test -n "$ac_ct_CC"; then
4851 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4857 test -z "$as_dir" && as_dir
=.
4858 for ac_exec_ext
in '' $ac_executable_extensions; do
4859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4860 ac_cv_prog_ac_ct_CC
="gcc"
4861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4871 if test -n "$ac_ct_CC"; then
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4873 $as_echo "$ac_ct_CC" >&6; }
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 $as_echo "no" >&6; }
4879 if test "x$ac_ct_CC" = x
; then
4882 case $cross_compiling:$ac_tool_warned in
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4886 ac_tool_warned
=yes ;;
4894 if test -z "$CC"; then
4895 if test -n "$ac_tool_prefix"; then
4896 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4897 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if test "${ac_cv_prog_CC+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$CC"; then
4904 ac_cv_prog_CC
="$CC" # Let the user override the test.
4906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir
=.
4911 for ac_exec_ext
in '' $ac_executable_extensions; do
4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 if test -n "$CC"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4926 $as_echo "$CC" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4935 if test -z "$CC"; then
4936 # Extract the first word of "cc", so it can be a program name with args.
4937 set dummy cc
; ac_word
=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_CC+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4943 if test -n "$CC"; then
4944 ac_cv_prog_CC
="$CC" # Let the user override the test.
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4954 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4955 ac_prog_rejected
=yes
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 if test $ac_prog_rejected = yes; then
4967 # We found a bogon in the path, so make sure we never use it.
4968 set dummy
$ac_cv_prog_CC
4970 if test $# != 0; then
4971 # We chose a different compiler from the bogus one.
4972 # However, it has the same basename, so the bogon will be chosen
4973 # first if we set CC to just the basename; use the full file name.
4975 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4981 if test -n "$CC"; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4983 $as_echo "$CC" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4991 if test -z "$CC"; then
4992 if test -n "$ac_tool_prefix"; then
4993 for ac_prog
in cl.exe
4995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4996 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if test "${ac_cv_prog_CC+set}" = set; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -n "$CC"; then
5003 ac_cv_prog_CC
="$CC" # Let the user override the test.
5005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir
=.
5010 for ac_exec_ext
in '' $ac_executable_extensions; do
5011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5012 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 if test -n "$CC"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5025 $as_echo "$CC" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5032 test -n "$CC" && break
5035 if test -z "$CC"; then
5037 for ac_prog
in cl.exe
5039 # Extract the first word of "$ac_prog", so it can be a program name with args.
5040 set dummy
$ac_prog; ac_word
=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5044 $as_echo_n "(cached) " >&6
5046 if test -n "$ac_ct_CC"; then
5047 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5056 ac_cv_prog_ac_ct_CC
="$ac_prog"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5067 if test -n "$ac_ct_CC"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5069 $as_echo "$ac_ct_CC" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5076 test -n "$ac_ct_CC" && break
5079 if test "x$ac_ct_CC" = x
; then
5082 case $cross_compiling:$ac_tool_warned in
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086 ac_tool_warned
=yes ;;
5095 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5097 as_fn_error
"no acceptable C compiler found in \$PATH
5098 See \`config.log' for more details." "$LINENO" 5; }
5100 # Provide some information about the compiler.
5101 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5104 for ac_option
in --version -v -V -qversion; do
5105 { { ac_try
="$ac_compiler $ac_option >&5"
5107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5108 *) ac_try_echo=$ac_try;;
5110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5111 $as_echo "$ac_try_echo"; } >&5
5112 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5114 if test -s conftest.err; then
5116 ... rest of stderr output deleted ...
5117 10q' conftest.err >conftest.er1
5118 cat conftest.er1 >&5
5119 rm -f conftest.er1 conftest.err
5121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5122 test $ac_status = 0; }
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5126 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5127 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5128 $as_echo_n "(cached) " >&6
5130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5131 /* end confdefs.h. */
5144 if ac_fn_c_try_compile "$LINENO"; then :
5149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5150 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5154 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5155 if test $ac_compiler_gnu = yes; then
5160 ac_test_CFLAGS=${CFLAGS+set}
5161 ac_save_CFLAGS=$CFLAGS
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5163 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5164 if test "${ac_cv_prog_cc_g+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5167 ac_save_c_werror_flag=$ac_c_werror_flag
5168 ac_c_werror_flag=yes
5171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5182 if ac_fn_c_try_compile "$LINENO"; then :
5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5197 if ac_fn_c_try_compile "$LINENO"; then :
5200 ac_c_werror_flag=$ac_save_c_werror_flag
5202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5213 if ac_fn_c_try_compile "$LINENO"; then :
5216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5221 ac_c_werror_flag=$ac_save_c_werror_flag
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5224 $as_echo "$ac_cv_prog_cc_g" >&6; }
5225 if test "$ac_test_CFLAGS" = set; then
5226 CFLAGS=$ac_save_CFLAGS
5227 elif test $ac_cv_prog_cc_g = yes; then
5228 if test "$GCC" = yes; then
5234 if test "$GCC" = yes; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5241 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5242 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5243 $as_echo_n "(cached) " >&6
5245 ac_cv_prog_cc_c89=no
5247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h. */
5251 #include <sys/types.h>
5252 #include <sys/stat.h>
5253 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5254 struct buf { int x; };
5255 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5256 static char *e (p, i)
5262 static char *f (char * (*g) (char **, int), char **p, ...)
5267 s = g (p, va_arg (v,int));
5272 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5273 function prototypes and stuff, but not '\xHH' hex character constants.
5274 These don't provoke an error unfortunately, instead are silently treated
5275 as 'x'. The following induces an error, until -std is added to get
5276 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5277 array size at least. It's necessary to write '\x00'==0 to get something
5278 that's true only with -std. */
5279 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5281 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5282 inside strings and character constants. */
5284 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5286 int test (int i, double x);
5287 struct s1 {int (*f) (int a);};
5288 struct s2 {int (*f) (double a);};
5289 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5295 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5300 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5301 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5303 CC="$ac_save_CC $ac_arg"
5304 if ac_fn_c_try_compile "$LINENO"; then :
5305 ac_cv_prog_cc_c89=$ac_arg
5307 rm -f core conftest.err conftest.$ac_objext
5308 test "x$ac_cv_prog_cc_c89" != "xno" && break
5310 rm -f conftest.$ac_ext
5315 case "x$ac_cv_prog_cc_c89" in
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5318 $as_echo "none needed" >&6; } ;;
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5321 $as_echo "unsupported" >&6; } ;;
5323 CC="$CC $ac_cv_prog_cc_c89"
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5325 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5327 if test "x$ac_cv_prog_cc_c89" != xno; then :
5332 ac_cpp='$CPP $CPPFLAGS'
5333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5338 ac_cpp='$CXXCPP $CPPFLAGS'
5339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5342 if test -z "$CXX"; then
5343 if test -n "$CCC"; then
5346 if test -n "$ac_tool_prefix"; then
5347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5350 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if test "${ac_cv_prog_CXX+set}" = set; then :
5354 $as_echo_n "(cached) " >&6
5356 if test -n "$CXX"; then
5357 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5366 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 if test -n "$CXX"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5379 $as_echo "$CXX" >&6; }
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5386 test -n "$CXX" && break
5389 if test -z "$CXX"; then
5391 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5393 # Extract the first word of "$ac_prog", so it can be a program name with args.
5394 set dummy $ac_prog; ac_word=$2
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396 $as_echo_n "checking for $ac_word... " >&6; }
5397 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5398 $as_echo_n "(cached) " >&6
5400 if test -n "$ac_ct_CXX"; then
5401 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir=.
5408 for ac_exec_ext in '' $ac_executable_extensions; do
5409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_prog_ac_ct_CXX="$ac_prog"
5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5421 if test -n "$ac_ct_CXX"; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5423 $as_echo "$ac_ct_CXX" >&6; }
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426 $as_echo "no" >&6; }
5430 test -n "$ac_ct_CXX" && break
5433 if test "x$ac_ct_CXX" = x; then
5436 case $cross_compiling:$ac_tool_warned in
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5440 ac_tool_warned=yes ;;
5448 # Provide some information about the compiler.
5449 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5452 for ac_option in --version -v -V -qversion; do
5453 { { ac_try="$ac_compiler $ac_option >&5"
5455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5456 *) ac_try_echo
=$ac_try;;
5458 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5459 $as_echo "$ac_try_echo"; } >&5
5460 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5462 if test -s conftest.err
; then
5464 ... rest of stderr output deleted ...
5465 10q' conftest.err
>conftest.er1
5466 cat conftest.er1
>&5
5467 rm -f conftest.er1 conftest.err
5469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5470 test $ac_status = 0; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5474 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5475 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5479 /* end confdefs.h. */
5492 if ac_fn_cxx_try_compile
"$LINENO"; then :
5497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5498 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5502 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5503 if test $ac_compiler_gnu = yes; then
5508 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5509 ac_save_CXXFLAGS
=$CXXFLAGS
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5511 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5512 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5513 $as_echo_n "(cached) " >&6
5515 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5516 ac_cxx_werror_flag
=yes
5519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5520 /* end confdefs.h. */
5530 if ac_fn_cxx_try_compile
"$LINENO"; then :
5531 ac_cv_prog_cxx_g
=yes
5534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h. */
5545 if ac_fn_cxx_try_compile
"$LINENO"; then :
5548 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5561 if ac_fn_cxx_try_compile
"$LINENO"; then :
5562 ac_cv_prog_cxx_g
=yes
5564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5569 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5572 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5573 if test "$ac_test_CXXFLAGS" = set; then
5574 CXXFLAGS
=$ac_save_CXXFLAGS
5575 elif test $ac_cv_prog_cxx_g = yes; then
5576 if test "$GXX" = yes; then
5582 if test "$GXX" = yes; then
5589 ac_cpp
='$CPP $CPPFLAGS'
5590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5594 depcc
="$CXX" am_compiler_list
=
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5597 $as_echo_n "checking dependency style of $depcc... " >&6; }
5598 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5599 $as_echo_n "(cached) " >&6
5601 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5602 # We make a subdir and do the tests there. Otherwise we can end up
5603 # making bogus files that we don't know about and never remove. For
5604 # instance it was reported that on HP-UX the gcc test will end up
5605 # making a dummy file named `D' -- because `-MD' means `put the output
5608 # Copy depcomp to subdir because otherwise we won't find it if we're
5609 # using a relative directory.
5610 cp "$am_depcomp" conftest.dir
5612 # We will build objects and dependencies in a subdirectory because
5613 # it helps to detect inapplicable dependency modes. For instance
5614 # both Tru64's cc and ICC support -MD to output dependencies as a
5615 # side effect of compilation, but ICC will put the dependencies in
5616 # the current directory while Tru64 will put them in the object
5620 am_cv_CXX_dependencies_compiler_type
=none
5621 if test "$am_compiler_list" = ""; then
5622 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5625 case " $depcc " in #(
5626 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5629 for depmode
in $am_compiler_list; do
5630 # Setup a source with many dependencies, because some compilers
5631 # like to wrap large dependency lists on column 80 (with \), and
5632 # we should not choose a depcomp mode which is confused by this.
5634 # We need to recreate these files for each test, as the compiler may
5635 # overwrite some of them when testing with obscure command lines.
5636 # This happens at least with the AIX C compiler.
5638 for i
in 1 2 3 4 5 6; do
5639 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5640 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5641 # Solaris 8's {/usr,}/bin/sh.
5642 touch sub
/conftst
$i.h
5644 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5646 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5647 # mode. It turns out that the SunPro C++ compiler does not properly
5648 # handle `-M -o', and we need to detect this. Also, some Intel
5649 # versions had trouble with output in subdirs
5650 am__obj
=sub
/conftest.
${OBJEXT-o}
5651 am__minus_obj
="-o $am__obj"
5654 # This depmode causes a compiler race in universal mode.
5655 test "$am__universal" = false ||
continue
5658 # after this tag, mechanisms are not by side-effect, so they'll
5659 # only be used when explicitly requested
5660 if test "x$enable_dependency_tracking" = xyes
; then
5666 msvisualcpp | msvcmsys
)
5667 # This compiler won't grok `-c -o', but also, the minuso test has
5668 # not run yet. These depmodes are late enough in the game, and
5669 # so weak that their functioning should not be impacted.
5670 am__obj
=conftest.
${OBJEXT-o}
5675 if depmode
=$depmode \
5676 source=sub
/conftest.c object
=$am__obj \
5677 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5678 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5679 >/dev
/null
2>conftest.err
&&
5680 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5681 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5682 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5683 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5684 # icc doesn't choke on unknown options, it will just issue warnings
5685 # or remarks (even with -Werror). So we grep stderr for any message
5686 # that says an option was ignored or not supported.
5687 # When given -MP, icc 7.0 and 7.1 complain thusly:
5688 # icc: Command line warning: ignoring option '-M'; no argument required
5689 # The diagnosis changed in icc 8.0:
5690 # icc: Command line remark: option '-MP' not supported
5691 if (grep 'ignoring option' conftest.err ||
5692 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5693 am_cv_CXX_dependencies_compiler_type
=$depmode
5702 am_cv_CXX_dependencies_compiler_type
=none
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5707 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5708 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5711 test "x$enable_dependency_tracking" != xno \
5712 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5713 am__fastdepCXX_TRUE
=
5714 am__fastdepCXX_FALSE
='#'
5716 am__fastdepCXX_TRUE
='#'
5717 am__fastdepCXX_FALSE
=
5721 # By default we simply use the C compiler to build assembly code.
5723 test "${CCAS+set}" = set || CCAS
=$CC
5724 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
5728 depcc
="$CCAS" am_compiler_list
=
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5731 $as_echo_n "checking dependency style of $depcc... " >&6; }
5732 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
5733 $as_echo_n "(cached) " >&6
5735 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5736 # We make a subdir and do the tests there. Otherwise we can end up
5737 # making bogus files that we don't know about and never remove. For
5738 # instance it was reported that on HP-UX the gcc test will end up
5739 # making a dummy file named `D' -- because `-MD' means `put the output
5742 # Copy depcomp to subdir because otherwise we won't find it if we're
5743 # using a relative directory.
5744 cp "$am_depcomp" conftest.dir
5746 # We will build objects and dependencies in a subdirectory because
5747 # it helps to detect inapplicable dependency modes. For instance
5748 # both Tru64's cc and ICC support -MD to output dependencies as a
5749 # side effect of compilation, but ICC will put the dependencies in
5750 # the current directory while Tru64 will put them in the object
5754 am_cv_CCAS_dependencies_compiler_type
=none
5755 if test "$am_compiler_list" = ""; then
5756 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5761 for depmode
in $am_compiler_list; do
5762 # Setup a source with many dependencies, because some compilers
5763 # like to wrap large dependency lists on column 80 (with \), and
5764 # we should not choose a depcomp mode which is confused by this.
5766 # We need to recreate these files for each test, as the compiler may
5767 # overwrite some of them when testing with obscure command lines.
5768 # This happens at least with the AIX C compiler.
5770 for i
in 1 2 3 4 5 6; do
5771 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5772 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5773 # Solaris 8's {/usr,}/bin/sh.
5774 touch sub
/conftst
$i.h
5776 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5778 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5779 # mode. It turns out that the SunPro C++ compiler does not properly
5780 # handle `-M -o', and we need to detect this. Also, some Intel
5781 # versions had trouble with output in subdirs
5782 am__obj
=sub
/conftest.
${OBJEXT-o}
5783 am__minus_obj
="-o $am__obj"
5786 # This depmode causes a compiler race in universal mode.
5787 test "$am__universal" = false ||
continue
5790 # after this tag, mechanisms are not by side-effect, so they'll
5791 # only be used when explicitly requested
5792 if test "x$enable_dependency_tracking" = xyes
; then
5798 msvisualcpp | msvcmsys
)
5799 # This compiler won't grok `-c -o', but also, the minuso test has
5800 # not run yet. These depmodes are late enough in the game, and
5801 # so weak that their functioning should not be impacted.
5802 am__obj
=conftest.
${OBJEXT-o}
5807 if depmode
=$depmode \
5808 source=sub
/conftest.c object
=$am__obj \
5809 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5810 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5811 >/dev
/null
2>conftest.err
&&
5812 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5813 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5814 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5815 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5816 # icc doesn't choke on unknown options, it will just issue warnings
5817 # or remarks (even with -Werror). So we grep stderr for any message
5818 # that says an option was ignored or not supported.
5819 # When given -MP, icc 7.0 and 7.1 complain thusly:
5820 # icc: Command line warning: ignoring option '-M'; no argument required
5821 # The diagnosis changed in icc 8.0:
5822 # icc: Command line remark: option '-MP' not supported
5823 if (grep 'ignoring option' conftest.err ||
5824 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5825 am_cv_CCAS_dependencies_compiler_type
=$depmode
5834 am_cv_CCAS_dependencies_compiler_type
=none
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5839 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5840 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
5843 test "x$enable_dependency_tracking" != xno \
5844 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
5845 am__fastdepCCAS_TRUE
=
5846 am__fastdepCCAS_FALSE
='#'
5848 am__fastdepCCAS_TRUE
='#'
5849 am__fastdepCCAS_FALSE
=
5853 if test -n "$ac_tool_prefix"; then
5854 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5855 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5859 $as_echo_n "(cached) " >&6
5861 if test -n "$RANLIB"; then
5862 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5868 test -z "$as_dir" && as_dir
=.
5869 for ac_exec_ext
in '' $ac_executable_extensions; do
5870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 RANLIB
=$ac_cv_prog_RANLIB
5882 if test -n "$RANLIB"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5884 $as_echo "$RANLIB" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5892 if test -z "$ac_cv_prog_RANLIB"; then
5893 ac_ct_RANLIB
=$RANLIB
5894 # Extract the first word of "ranlib", so it can be a program name with args.
5895 set dummy ranlib
; ac_word
=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5899 $as_echo_n "(cached) " >&6
5901 if test -n "$ac_ct_RANLIB"; then
5902 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir
=.
5909 for ac_exec_ext
in '' $ac_executable_extensions; do
5910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5922 if test -n "$ac_ct_RANLIB"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5924 $as_echo "$ac_ct_RANLIB" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5930 if test "x$ac_ct_RANLIB" = x
; then
5933 case $cross_compiling:$ac_tool_warned in
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5937 ac_tool_warned
=yes ;;
5939 RANLIB
=$ac_ct_RANLIB
5942 RANLIB
="$ac_cv_prog_RANLIB"
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5953 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5958 macro_version
='2.2.7a'
5959 macro_revision
='1.3134'
5973 ltmain
="$ac_aux_dir/ltmain.sh"
5975 # Backslashify metacharacters that are still active within
5976 # double-quoted strings.
5977 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5979 # Same as above, but do not quote variable references.
5980 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5982 # Sed substitution to delay expansion of an escaped shell variable in a
5983 # double_quote_subst'ed string.
5984 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5986 # Sed substitution to delay expansion of an escaped single quote.
5987 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5989 # Sed substitution to avoid accidental globbing in evaled expressions
5990 no_glob_subst
='s/\*/\\\*/g'
5992 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5993 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5994 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5997 $as_echo_n "checking how to print strings... " >&6; }
5998 # Test print first, because it will be a builtin if present.
5999 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6000 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6002 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6005 # Use this function as a fallback that always works.
6006 func_fallback_echo ()
6008 eval 'cat <<_LTECHO_EOF
6012 ECHO='func_fallback_echo
'
6015 # func_echo_all arg...
6016 # Invoke $ECHO with all args, space-separated.
6023 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6024 $as_echo "printf" >&6; } ;;
6025 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6026 $as_echo "print -r" >&6; } ;;
6027 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6028 $as_echo "cat" >&6; } ;;
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6045 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6046 if test "${ac_cv_path_SED+set}" = set; then :
6047 $as_echo_n "(cached) " >&6
6049 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6050 for ac_i in 1 2 3 4 5 6 7; do
6051 ac_script="$ac_script$as_nl$ac_script"
6053 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6054 { ac_script=; unset ac_script;}
6055 if test -z "$SED"; then
6056 ac_path_SED_found=false
6057 # Loop through the user's path and
test for each of PROGNAME-LIST
6058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6062 test -z "$as_dir" && as_dir
=.
6063 for ac_prog
in sed gsed
; do
6064 for ac_exec_ext
in '' $ac_executable_extensions; do
6065 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6066 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6067 # Check for GNU ac_path_SED and select it if it is found.
6068 # Check for GNU $ac_path_SED
6069 case `"$ac_path_SED" --version 2>&1` in
6071 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6074 $as_echo_n 0123456789 >"conftest.in"
6077 cat "conftest.in" "conftest.in" >"conftest.tmp"
6078 mv "conftest.tmp" "conftest.in"
6079 cp "conftest.in" "conftest.nl"
6080 $as_echo '' >> "conftest.nl"
6081 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6082 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6083 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6084 if test $ac_count -gt ${ac_path_SED_max-0}; then
6085 # Best one so far, save it but keep looking for a better one
6086 ac_cv_path_SED
="$ac_path_SED"
6087 ac_path_SED_max
=$ac_count
6089 # 10*(2^10) chars as input seems more than enough
6090 test $ac_count -gt 10 && break
6092 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6095 $ac_path_SED_found && break 3
6100 if test -z "$ac_cv_path_SED"; then
6101 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6109 $as_echo "$ac_cv_path_SED" >&6; }
6110 SED
="$ac_cv_path_SED"
6113 test -z "$SED" && SED
=sed
6114 Xsed
="$SED -e 1s/^X//"
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6127 $as_echo_n "checking for fgrep... " >&6; }
6128 if test "${ac_cv_path_FGREP+set}" = set; then :
6129 $as_echo_n "(cached) " >&6
6131 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6132 then ac_cv_path_FGREP
="$GREP -F"
6134 if test -z "$FGREP"; then
6135 ac_path_FGREP_found
=false
6136 # Loop through the user's path and test for each of PROGNAME-LIST
6137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6138 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6141 test -z "$as_dir" && as_dir
=.
6142 for ac_prog
in fgrep
; do
6143 for ac_exec_ext
in '' $ac_executable_extensions; do
6144 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6145 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
6146 # Check for GNU ac_path_FGREP and select it if it is found.
6147 # Check for GNU $ac_path_FGREP
6148 case `"$ac_path_FGREP" --version 2>&1` in
6150 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6153 $as_echo_n 0123456789 >"conftest.in"
6156 cat "conftest.in" "conftest.in" >"conftest.tmp"
6157 mv "conftest.tmp" "conftest.in"
6158 cp "conftest.in" "conftest.nl"
6159 $as_echo 'FGREP' >> "conftest.nl"
6160 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6161 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6162 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6163 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6164 # Best one so far, save it but keep looking for a better one
6165 ac_cv_path_FGREP
="$ac_path_FGREP"
6166 ac_path_FGREP_max
=$ac_count
6168 # 10*(2^10) chars as input seems more than enough
6169 test $ac_count -gt 10 && break
6171 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6174 $ac_path_FGREP_found && break 3
6179 if test -z "$ac_cv_path_FGREP"; then
6180 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6183 ac_cv_path_FGREP
=$FGREP
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6189 $as_echo "$ac_cv_path_FGREP" >&6; }
6190 FGREP
="$ac_cv_path_FGREP"
6193 test -z "$GREP" && GREP
=grep
6213 # Check whether --with-gnu-ld was given.
6214 if test "${with_gnu_ld+set}" = set; then :
6215 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6221 if test "$GCC" = yes; then
6222 # Check if gcc -print-prog-name=ld gives a path.
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6224 $as_echo_n "checking for ld used by $CC... " >&6; }
6227 # gcc leaves a trailing carriage return which upsets mingw
6228 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6230 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6233 # Accept absolute paths.
6235 re_direlt
='/[^/][^/]*/\.\./'
6236 # Canonicalize the pathname of ld
6237 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6238 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6239 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6241 test -z "$LD" && LD
="$ac_prog"
6244 # If it fails, then pretend we aren't using GCC.
6248 # If it is relative, then search for the first ld in PATH.
6252 elif test "$with_gnu_ld" = yes; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6254 $as_echo_n "checking for GNU ld... " >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6257 $as_echo_n "checking for non-GNU ld... " >&6; }
6259 if test "${lt_cv_path_LD+set}" = set; then :
6260 $as_echo_n "(cached) " >&6
6262 if test -z "$LD"; then
6263 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6264 for ac_dir
in $PATH; do
6266 test -z "$ac_dir" && ac_dir
=.
6267 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6268 lt_cv_path_LD
="$ac_dir/$ac_prog"
6269 # Check to see if the program is GNU ld. I'd rather use --version,
6270 # but apparently some variants of GNU ld only accept -v.
6271 # Break only if it was the GNU/non-GNU ld that we prefer.
6272 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6273 *GNU
* |
*'with BFD'*)
6274 test "$with_gnu_ld" != no
&& break
6277 test "$with_gnu_ld" != yes && break
6284 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6289 if test -n "$LD"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6291 $as_echo "$LD" >&6; }
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294 $as_echo "no" >&6; }
6296 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6298 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6299 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6300 $as_echo_n "(cached) " >&6
6302 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6303 case `$LD -v 2>&1 </dev/null` in
6304 *GNU
* |
*'with BFD'*)
6305 lt_cv_prog_gnu_ld
=yes
6308 lt_cv_prog_gnu_ld
=no
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6313 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6314 with_gnu_ld
=$lt_cv_prog_gnu_ld
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6325 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6326 if test "${lt_cv_path_NM+set}" = set; then :
6327 $as_echo_n "(cached) " >&6
6329 if test -n "$NM"; then
6330 # Let the user override the test.
6333 lt_nm_to_check
="${ac_tool_prefix}nm"
6334 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6335 lt_nm_to_check
="$lt_nm_to_check nm"
6337 for lt_tmp_nm
in $lt_nm_to_check; do
6338 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6339 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6341 test -z "$ac_dir" && ac_dir
=.
6342 tmp_nm
="$ac_dir/$lt_tmp_nm"
6343 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6344 # Check to see if the nm accepts a BSD-compat flag.
6345 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6346 # nm: unknown option "B" ignored
6347 # Tru64's nm complains that /dev/null is an invalid object file
6348 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6349 */dev
/null
* |
*'Invalid file or object type'*)
6350 lt_cv_path_NM
="$tmp_nm -B"
6354 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6356 lt_cv_path_NM
="$tmp_nm -p"
6360 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6361 continue # so that we can try to find one that supports BSD flags
6370 : ${lt_cv_path_NM=no}
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6374 $as_echo "$lt_cv_path_NM" >&6; }
6375 if test "$lt_cv_path_NM" != "no"; then
6378 # Didn't find any BSD compatible name lister, look for dumpbin.
6379 if test -n "$DUMPBIN"; then :
6380 # Let the user override the test.
6382 if test -n "$ac_tool_prefix"; then
6383 for ac_prog
in dumpbin
"link -dump"
6385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6386 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6388 $as_echo_n "checking for $ac_word... " >&6; }
6389 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6390 $as_echo_n "(cached) " >&6
6392 if test -n "$DUMPBIN"; then
6393 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6399 test -z "$as_dir" && as_dir
=.
6400 for ac_exec_ext
in '' $ac_executable_extensions; do
6401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6402 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 DUMPBIN
=$ac_cv_prog_DUMPBIN
6413 if test -n "$DUMPBIN"; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6415 $as_echo "$DUMPBIN" >&6; }
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6418 $as_echo "no" >&6; }
6422 test -n "$DUMPBIN" && break
6425 if test -z "$DUMPBIN"; then
6426 ac_ct_DUMPBIN
=$DUMPBIN
6427 for ac_prog
in dumpbin
"link -dump"
6429 # Extract the first word of "$ac_prog", so it can be a program name with args.
6430 set dummy
$ac_prog; ac_word
=$2
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6432 $as_echo_n "checking for $ac_word... " >&6; }
6433 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6434 $as_echo_n "(cached) " >&6
6436 if test -n "$ac_ct_DUMPBIN"; then
6437 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6443 test -z "$as_dir" && as_dir
=.
6444 for ac_exec_ext
in '' $ac_executable_extensions; do
6445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6446 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6457 if test -n "$ac_ct_DUMPBIN"; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6459 $as_echo "$ac_ct_DUMPBIN" >&6; }
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 $as_echo "no" >&6; }
6466 test -n "$ac_ct_DUMPBIN" && break
6469 if test "x$ac_ct_DUMPBIN" = x
; then
6472 case $cross_compiling:$ac_tool_warned in
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6476 ac_tool_warned
=yes ;;
6478 DUMPBIN
=$ac_ct_DUMPBIN
6482 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6484 DUMPBIN
="$DUMPBIN -symbols"
6492 if test "$DUMPBIN" != ":"; then
6496 test -z "$NM" && NM
=nm
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6504 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6505 if test "${lt_cv_nm_interface+set}" = set; then :
6506 $as_echo_n "(cached) " >&6
6508 lt_cv_nm_interface
="BSD nm"
6509 echo "int some_variable = 0;" > conftest.
$ac_ext
6510 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6511 (eval "$ac_compile" 2>conftest.err
)
6512 cat conftest.err
>&5
6513 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6514 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6515 cat conftest.err
>&5
6516 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6517 cat conftest.out
>&5
6518 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6519 lt_cv_nm_interface
="MS dumpbin"
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6524 $as_echo "$lt_cv_nm_interface" >&6; }
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6527 $as_echo_n "checking whether ln -s works... " >&6; }
6529 if test "$LN_S" = "ln -s"; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6531 $as_echo "yes" >&6; }
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6534 $as_echo "no, using $LN_S" >&6; }
6537 # find the maximum length of command line arguments
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6539 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6540 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6541 $as_echo_n "(cached) " >&6
6548 # On DJGPP, this test can blow up pretty badly due to problems in libc
6549 # (any single argument exceeding 2000 bytes causes a buffer overrun
6550 # during glob expansion). Even if it were fixed, the result of this
6551 # check would be larger than it should be.
6552 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6556 # Under GNU Hurd, this test is not required because there is
6557 # no limit to the length of command line arguments.
6558 # Libtool will interpret -1 as no limit whatsoever
6559 lt_cv_sys_max_cmd_len
=-1;
6562 cygwin
* | mingw
* | cegcc
*)
6563 # On Win9x/ME, this test blows up -- it succeeds, but takes
6564 # about 5 minutes as the teststring grows exponentially.
6565 # Worse, since 9x/ME are not pre-emptively multitasking,
6566 # you end up with a "frozen" computer, even though with patience
6567 # the test eventually succeeds (with a max line length of 256k).
6568 # Instead, let's just punt: use the minimum linelength reported by
6569 # all of the supported platforms: 8192 (on NT/2K/XP).
6570 lt_cv_sys_max_cmd_len
=8192;
6574 # On MiNT this can take a long time and run out of memory.
6575 lt_cv_sys_max_cmd_len
=8192;
6579 # On AmigaOS with pdksh, this test takes hours, literally.
6580 # So we just punt and use a minimum line length of 8192.
6581 lt_cv_sys_max_cmd_len
=8192;
6584 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6585 # This has been around since 386BSD, at least. Likely further.
6586 if test -x /sbin
/sysctl
; then
6587 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6588 elif test -x /usr
/sbin
/sysctl
; then
6589 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6591 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6593 # And add a safety zone
6594 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6595 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6599 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6600 lt_cv_sys_max_cmd_len
=196608
6604 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6605 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6606 # nice to cause kernel panics so lets avoid the loop below.
6607 # First set a reasonable default.
6608 lt_cv_sys_max_cmd_len
=16384
6610 if test -x /sbin
/sysconfig
; then
6611 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6612 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6617 lt_cv_sys_max_cmd_len
=102400
6619 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6620 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6621 if test -n "$kargmax"; then
6622 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6624 lt_cv_sys_max_cmd_len
=32768
6628 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6629 if test -n "$lt_cv_sys_max_cmd_len"; then
6630 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6631 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6633 # Make teststring a little bigger before we do anything with it.
6634 # a 1K string should be a reasonable start.
6635 for i
in 1 2 3 4 5 6 7 8 ; do
6636 teststring
=$teststring$teststring
6638 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6639 # If test is not a shell built-in, we'll probably end up computing a
6640 # maximum length that is only half of the actual maximum length, but
6642 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6643 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6644 test $i != 17 # 1/2 MB should be enough
6647 teststring
=$teststring$teststring
6649 # Only check the string length outside the loop.
6650 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6652 # Add a significant safety factor because C++ compilers can tack on
6653 # massive amounts of additional arguments before passing them to the
6654 # linker. It appears as though 1/2 is a usable value.
6655 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6662 if test -n $lt_cv_sys_max_cmd_len ; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6664 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6667 $as_echo "none" >&6; }
6669 max_cmd_len
=$lt_cv_sys_max_cmd_len
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6681 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6682 # Try some XSI features
6685 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6687 && eval 'test $(( 1 + 1 )) -eq 2 \
6688 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6691 $as_echo "$xsi_shell" >&6; }
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6695 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6697 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6699 && lt_shell_append=yes
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6701 $as_echo "$lt_shell_append" >&6; }
6704 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6714 # test EBCDIC or ASCII
6715 case `echo X|tr X '\101'` in
6716 A) # ASCII based system
6717 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6718 lt_SP2NL='tr \040 \012'
6719 lt_NL2SP='tr \015\012 \040\040'
6721 *) # EBCDIC based system
6722 lt_SP2NL='tr \100 \n'
6723 lt_NL2SP='tr \r\n \100\100'
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6736 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6737 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6738 $as_echo_n "(cached
) " >&6
6740 lt_cv_ld_reload_flag='-r'
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6743 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6744 reload_flag=$lt_cv_ld_reload_flag
6745 case $reload_flag in
6747 *) reload_flag=" $reload_flag" ;;
6749 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6752 if test "$GCC" = yes; then
6753 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6755 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6768 if test -n "$ac_tool_prefix"; then
6769 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6770 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6772 $as_echo_n "checking
for $ac_word...
" >&6; }
6773 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6774 $as_echo_n "(cached
) " >&6
6776 if test -n "$OBJDUMP"; then
6777 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 test -z "$as_dir" && as_dir=.
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6786 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6796 OBJDUMP=$ac_cv_prog_OBJDUMP
6797 if test -n "$OBJDUMP"; then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6799 $as_echo "$OBJDUMP" >&6; }
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6802 $as_echo "no
" >&6; }
6807 if test -z "$ac_cv_prog_OBJDUMP"; then
6808 ac_ct_OBJDUMP=$OBJDUMP
6809 # Extract the first word of "objdump
", so it can be a program name with args.
6810 set dummy objdump; ac_word=$2
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6812 $as_echo_n "checking
for $ac_word...
" >&6; }
6813 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6814 $as_echo_n "(cached
) " >&6
6816 if test -n "$ac_ct_OBJDUMP"; then
6817 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir=.
6824 for ac_exec_ext in '' $ac_executable_extensions; do
6825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6826 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6836 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6837 if test -n "$ac_ct_OBJDUMP"; then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6839 $as_echo "$ac_ct_OBJDUMP" >&6; }
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6842 $as_echo "no
" >&6; }
6845 if test "x
$ac_ct_OBJDUMP" = x; then
6848 case $cross_compiling:$ac_tool_warned in
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6851 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6852 ac_tool_warned=yes ;;
6854 OBJDUMP=$ac_ct_OBJDUMP
6857 OBJDUMP="$ac_cv_prog_OBJDUMP"
6860 test -z "$OBJDUMP" && OBJDUMP=objdump
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6871 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6872 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6873 $as_echo_n "(cached
) " >&6
6875 lt_cv_file_magic_cmd='$MAGIC_CMD'
6876 lt_cv_file_magic_test_file=
6877 lt_cv_deplibs_check_method='unknown'
6878 # Need to set the preceding variable on all platforms that support
6879 # interlibrary dependencies.
6880 # 'none' -- dependencies not supported.
6881 # `unknown' -- same as none, but documents that we really don't know.
6882 # 'pass_all' -- all dependencies passed with no checks.
6883 # 'test_compile' -- check by making test program.
6884 # 'file_magic [[regex]]' -- check by looking for files in library path
6885 # which responds to the $file_magic_cmd with a given extended regex.
6886 # If you have `file' or equivalent on your system and you're not sure
6887 # whether `pass_all' will *always* work, you probably want this one.
6891 lt_cv_deplibs_check_method=pass_all
6895 lt_cv_deplibs_check_method=pass_all
6899 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6900 lt_cv_file_magic_cmd='/usr/bin/file -L'
6901 lt_cv_file_magic_test_file=/shlib/libc.so
6905 # func_win32_libid is a shell function defined in ltmain.sh
6906 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6907 lt_cv_file_magic_cmd='func_win32_libid'
6911 # Base MSYS/MinGW do not provide the 'file' command needed by
6912 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6913 # unless we find 'file', for example because we are cross-compiling.
6914 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6915 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6916 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6917 lt_cv_file_magic_cmd='func_win32_libid'
6919 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6920 lt_cv_file_magic_cmd='$OBJDUMP -f'
6925 # use the weaker test based on 'objdump'. See mingw*.
6926 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6927 lt_cv_file_magic_cmd='$OBJDUMP -f'
6930 darwin* | rhapsody*)
6931 lt_cv_deplibs_check_method=pass_all
6934 freebsd* | dragonfly*)
6935 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6938 # Not sure whether the presence of OpenBSD here was a mistake.
6939 # Let's accept both of them until this is cleared up.
6940 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6941 lt_cv_file_magic_cmd=/usr/bin/file
6942 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6946 lt_cv_deplibs_check_method=pass_all
6951 lt_cv_deplibs_check_method=pass_all
6955 lt_cv_deplibs_check_method=pass_all
6958 hpux10.20* | hpux11*)
6959 lt_cv_file_magic_cmd=/usr/bin/file
6962 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6963 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6966 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]'
6967 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6970 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6971 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6977 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6978 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6981 irix5* | irix6* | nonstopux*)
6983 *-32|*"-32 ") libmagic=32-bit;;
6984 *-n32|*"-n32 ") libmagic=N32;;
6985 *-64|*"-64 ") libmagic=64-bit;;
6986 *) libmagic=never-match;;
6988 lt_cv_deplibs_check_method=pass_all
6991 # This must be Linux ELF.
6992 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6993 lt_cv_deplibs_check_method=pass_all
6997 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6998 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7000 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7006 lt_cv_file_magic_cmd=/usr/bin/file
7007 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7011 lt_cv_deplibs_check_method=pass_all
7015 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7018 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7022 osf3* | osf4* | osf5*)
7023 lt_cv_deplibs_check_method=pass_all
7027 lt_cv_deplibs_check_method=pass_all
7031 lt_cv_deplibs_check_method=pass_all
7034 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7035 lt_cv_deplibs_check_method=pass_all
7039 case $host_vendor in
7041 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]'
7042 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7045 lt_cv_deplibs_check_method=pass_all
7048 lt_cv_file_magic_cmd='/bin/file'
7049 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7052 lt_cv_file_magic_cmd='/bin/file'
7053 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7054 lt_cv_file_magic_test_file=/lib/libc.so
7057 lt_cv_deplibs_check_method=pass_all
7060 lt_cv_deplibs_check_method=pass_all
7066 lt_cv_deplibs_check_method=pass_all
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7072 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7073 file_magic_cmd=$lt_cv_file_magic_cmd
7074 deplibs_check_method=$lt_cv_deplibs_check_method
7075 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7088 if test -n "$ac_tool_prefix"; then
7089 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7090 set dummy ${ac_tool_prefix}ar; ac_word=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7092 $as_echo_n "checking
for $ac_word...
" >&6; }
7093 if test "${ac_cv_prog_AR+set}" = set; then :
7094 $as_echo_n "(cached
) " >&6
7096 if test -n "$AR"; then
7097 ac_cv_prog_AR="$AR" # Let the user override the test.
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir=.
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7106 ac_cv_prog_AR="${ac_tool_prefix}ar"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7117 if test -n "$AR"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7119 $as_echo "$AR" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7122 $as_echo "no
" >&6; }
7127 if test -z "$ac_cv_prog_AR"; then
7129 # Extract the first word of "ar", so it can be a program name with args.
7130 set dummy ar; ac_word=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7132 $as_echo_n "checking
for $ac_word...
" >&6; }
7133 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7134 $as_echo_n "(cached
) " >&6
7136 if test -n "$ac_ct_AR"; then
7137 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 test -z "$as_dir" && as_dir=.
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7146 ac_cv_prog_ac_ct_AR="ar"
7147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7156 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7157 if test -n "$ac_ct_AR"; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7159 $as_echo "$ac_ct_AR" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7162 $as_echo "no
" >&6; }
7165 if test "x
$ac_ct_AR" = x; then
7168 case $cross_compiling:$ac_tool_warned in
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7171 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7172 ac_tool_warned=yes ;;
7180 test -z "$AR" && AR=ar
7181 test -z "$AR_FLAGS" && AR_FLAGS=cru
7193 if test -n "$ac_tool_prefix"; then
7194 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7195 set dummy ${ac_tool_prefix}strip; ac_word=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7197 $as_echo_n "checking
for $ac_word...
" >&6; }
7198 if test "${ac_cv_prog_STRIP+set}" = set; then :
7199 $as_echo_n "(cached
) " >&6
7201 if test -n "$STRIP"; then
7202 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir=.
7209 for ac_exec_ext in '' $ac_executable_extensions; do
7210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7212 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7221 STRIP=$ac_cv_prog_STRIP
7222 if test -n "$STRIP"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7224 $as_echo "$STRIP" >&6; }
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7227 $as_echo "no
" >&6; }
7232 if test -z "$ac_cv_prog_STRIP"; then
7234 # Extract the first word of "strip
", so it can be a program name with args.
7235 set dummy strip; ac_word=$2
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7237 $as_echo_n "checking
for $ac_word...
" >&6; }
7238 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7239 $as_echo_n "(cached
) " >&6
7241 if test -n "$ac_ct_STRIP"; then
7242 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 test -z "$as_dir" && as_dir=.
7249 for ac_exec_ext in '' $ac_executable_extensions; do
7250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 ac_cv_prog_ac_ct_STRIP="strip
"
7252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7261 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7262 if test -n "$ac_ct_STRIP"; then
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7264 $as_echo "$ac_ct_STRIP" >&6; }
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7267 $as_echo "no
" >&6; }
7270 if test "x
$ac_ct_STRIP" = x; then
7273 case $cross_compiling:$ac_tool_warned in
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7276 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7277 ac_tool_warned=yes ;;
7282 STRIP="$ac_cv_prog_STRIP"
7285 test -z "$STRIP" && STRIP=:
7292 if test -n "$ac_tool_prefix"; then
7293 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7294 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7296 $as_echo_n "checking
for $ac_word...
" >&6; }
7297 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7298 $as_echo_n "(cached
) " >&6
7300 if test -n "$RANLIB"; then
7301 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 test -z "$as_dir" && as_dir=.
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7310 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7320 RANLIB=$ac_cv_prog_RANLIB
7321 if test -n "$RANLIB"; then
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7323 $as_echo "$RANLIB" >&6; }
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7326 $as_echo "no
" >&6; }
7331 if test -z "$ac_cv_prog_RANLIB"; then
7332 ac_ct_RANLIB=$RANLIB
7333 # Extract the first word of "ranlib
", so it can be a program name with args.
7334 set dummy ranlib; ac_word=$2
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7336 $as_echo_n "checking
for $ac_word...
" >&6; }
7337 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7338 $as_echo_n "(cached
) " >&6
7340 if test -n "$ac_ct_RANLIB"; then
7341 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 test -z "$as_dir" && as_dir=.
7348 for ac_exec_ext in '' $ac_executable_extensions; do
7349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7350 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7360 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7361 if test -n "$ac_ct_RANLIB"; then
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7363 $as_echo "$ac_ct_RANLIB" >&6; }
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7366 $as_echo "no
" >&6; }
7369 if test "x
$ac_ct_RANLIB" = x; then
7372 case $cross_compiling:$ac_tool_warned in
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7375 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7376 ac_tool_warned=yes ;;
7378 RANLIB=$ac_ct_RANLIB
7381 RANLIB="$ac_cv_prog_RANLIB"
7384 test -z "$RANLIB" && RANLIB=:
7391 # Determine commands to create old-style static archives.
7392 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7393 old_postinstall_cmds='chmod 644 $oldlib'
7394 old_postuninstall_cmds=
7396 if test -n "$RANLIB"; then
7399 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7402 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7405 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7410 lock_old_archive_extraction=yes ;;
7412 lock_old_archive_extraction=no ;;
7453 # If no C compiler was specified, use CC.
7456 # If no C compiler flags were specified, use CFLAGS.
7457 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7459 # Allow CC to be a program name with arguments.
7463 # Check for command to grab the raw symbol name followed by C symbol from nm.
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7465 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7466 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7467 $as_echo_n "(cached
) " >&6
7470 # These are sane defaults that work on at least a few old systems.
7471 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7473 # Character class describing NM global symbol codes.
7474 symcode='[BCDEGRST]'
7476 # Regexp to match symbols that can be accessed directly from C.
7477 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7479 # Define system-specific variables.
7484 cygwin* | mingw* | pw32* | cegcc*)
7485 symcode='[ABCDGISTW]'
7488 if test "$host_cpu" = ia64; then
7489 symcode='[ABCDEGRST]'
7493 symcode='[BCDEGRST]'
7496 symcode='[BCDEGQRST]'
7507 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7515 # If we're using GNU nm, then use its standard symbol codes.
7516 case `$NM -V 2>&1` in
7517 *GNU* | *'with BFD'*)
7518 symcode='[ABCDGIRSTW]' ;;
7521 # Transform an extracted symbol line into a proper C declaration.
7522 # Some systems (esp. on ia64) link data and code symbols differently,
7523 # so use this general approach.
7524 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7526 # Transform an extracted symbol line into symbol name and symbol address
7527 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7528 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'"
7530 # Handle CRLF in mingw tool chain
7534 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7538 # Try without a prefix underscore, then with it.
7539 for ac_symprfx in "" "_
"; do
7541 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7542 symxfrm="\\1 $ac_symprfx\\2 \\2"
7544 # Write the raw and C identifiers.
7545 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7546 # Fake it for dumpbin and say T for any non-static function
7547 # and D for any global variable.
7548 # Also find C++ and __fastcall symbols from MSVC++,
7549 # which start with @ or ?.
7550 lt_cv_sys_global_symbol_pipe="$AWK '"\
7551 " {last_section=section; section=\$ 3};"\
7552 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7553 " \$ 0!~/External *\|/{next};"\
7554 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7555 " {if(hide[section]) next};"\
7556 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7557 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7558 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7559 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7560 " ' prfx
=^
$ac_symprfx"
7562 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7565 # Check to see that the pipe works correctly.
7569 cat > conftest.$ac_ext <<_LT_EOF
7574 void nm_test_func(void);
7575 void nm_test_func(void){}
7579 int main(){nm_test_var='a';nm_test_func();return(0);}
7582 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7583 (eval $ac_compile) 2>&5
7585 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7586 test $ac_status = 0; }; then
7587 # Now try to grab the symbols.
7589 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7590 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7592 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7593 test $ac_status = 0; } && test -s "$nlist"; then
7594 # Try sorting and uniquifying the output.
7595 if sort "$nlist" | uniq > "$nlist"T; then
7596 mv -f "$nlist"T "$nlist"
7601 # Make sure that we snagged all the symbols we need.
7602 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7603 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7604 cat <<_LT_EOF > conftest.$ac_ext
7610 # Now generate the symbol file.
7611 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7613 cat <<_LT_EOF >> conftest.$ac_ext
7615 /* The mapping between symbol names and symbols. */
7620 lt__PROGRAM__LTX_preloaded_symbols[] =
7622 { "@PROGRAM@
", (void *) 0 },
7624 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7625 cat <<\_LT_EOF >> conftest.$ac_ext
7629 /* This works around a problem in FreeBSD linker */
7630 #ifdef FREEBSD_WORKAROUND
7631 static const void *lt_preloaded_setup() {
7632 return lt__PROGRAM__LTX_preloaded_symbols;
7640 # Now try linking the two files.
7641 mv conftest.$ac_objext conftstm.$ac_objext
7642 lt_save_LIBS="$LIBS"
7643 lt_save_CFLAGS="$CFLAGS"
7644 LIBS="conftstm.
$ac_objext"
7645 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7646 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7647 (eval $ac_link) 2>&5
7649 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7650 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7653 LIBS="$lt_save_LIBS"
7654 CFLAGS="$lt_save_CFLAGS"
7656 echo "cannot
find nm_test_func
in $nlist" >&5
7659 echo "cannot
find nm_test_var
in $nlist" >&5
7662 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7665 echo "$progname: failed program was
:" >&5
7666 cat conftest.$ac_ext >&5
7668 rm -rf conftest* conftst*
7670 # Do not use the global_symbol_pipe unless it works.
7671 if test "$pipe_works" = yes; then
7674 lt_cv_sys_global_symbol_pipe=
7680 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7681 lt_cv_sys_global_symbol_to_cdecl=
7683 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7685 $as_echo "failed
" >&6; }
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7688 $as_echo "ok
" >&6; }
7712 # Check whether --enable-libtool-lock was given.
7713 if test "${enable_libtool_lock+set}" = set; then :
7714 enableval=$enable_libtool_lock;
7717 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7719 # Some flags need to be propagated to the compiler or linker for good
7723 # Find out which ABI we are using.
7724 echo 'int i;' > conftest.$ac_ext
7725 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7726 (eval $ac_compile) 2>&5
7728 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7729 test $ac_status = 0; }; then
7730 case `/usr/bin/file conftest.$ac_objext` in
7742 # Find out which ABI we are using.
7743 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7744 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7745 (eval $ac_compile) 2>&5
7747 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7748 test $ac_status = 0; }; then
7749 if test "$lt_cv_prog_gnu_ld" = yes; then
7750 case `/usr/bin/file conftest.$ac_objext` in
7752 LD="${LD-ld} -melf32bsmip"
7755 LD="${LD-ld} -melf32bmipn32"
7758 LD="${LD-ld} -melf64bmip"
7762 case `/usr/bin/file conftest.$ac_objext` in
7778 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7779 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7780 # Find out which ABI we are using.
7781 echo 'int i;' > conftest.$ac_ext
7782 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7783 (eval $ac_compile) 2>&5
7785 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7786 test $ac_status = 0; }; then
7787 case `/usr/bin/file conftest.o` in
7790 x86_64-*kfreebsd*-gnu)
7791 LD="${LD-ld} -m elf_i386_fbsd
"
7794 case `/usr/bin/file conftest.o` in
7796 LD="${LD-ld} -m elf32_x86_64
"
7799 LD="${LD-ld} -m elf_i386
"
7803 powerpc64le-*linux*)
7804 LD="${LD-ld} -m elf32lppclinux
"
7807 LD="${LD-ld} -m elf32ppclinux
"
7810 LD="${LD-ld} -m elf_s390
"
7813 LD="${LD-ld} -m elf32_sparc
"
7819 x86_64-*kfreebsd*-gnu)
7820 LD="${LD-ld} -m elf_x86_64_fbsd
"
7823 LD="${LD-ld} -m elf_x86_64
"
7826 LD="${LD-ld} -m elf64lppc
"
7829 LD="${LD-ld} -m elf64ppc
"
7831 s390*-*linux*|s390*-*tpf*)
7832 LD="${LD-ld} -m elf64_s390
"
7835 LD="${LD-ld} -m elf64_sparc
"
7845 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7846 SAVE_CFLAGS="$CFLAGS"
7847 CFLAGS="$CFLAGS -belf"
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7849 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7850 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7851 $as_echo_n "(cached
) " >&6
7854 ac_cpp='$CPP $CPPFLAGS'
7855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7870 if ac_fn_c_try_link "$LINENO"; then :
7871 lt_cv_cc_needs_belf=yes
7873 lt_cv_cc_needs_belf=no
7875 rm -f core conftest.err conftest.$ac_objext \
7876 conftest$ac_exeext conftest.$ac_ext
7878 ac_cpp='$CPP $CPPFLAGS'
7879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7885 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7886 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7887 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7888 CFLAGS="$SAVE_CFLAGS"
7892 # Find out which ABI we are using.
7893 echo 'int i;' > conftest.$ac_ext
7894 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7895 (eval $ac_compile) 2>&5
7897 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7898 test $ac_status = 0; }; then
7899 case `/usr/bin/file conftest.o` in
7901 case $lt_cv_prog_gnu_ld in
7902 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7904 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7916 need_locks="$enable_libtool_lock"
7920 rhapsody* | darwin*)
7921 if test -n "$ac_tool_prefix"; then
7922 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7923 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7925 $as_echo_n "checking
for $ac_word...
" >&6; }
7926 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7927 $as_echo_n "(cached
) " >&6
7929 if test -n "$DSYMUTIL"; then
7930 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936 test -z "$as_dir" && as_dir=.
7937 for ac_exec_ext in '' $ac_executable_extensions; do
7938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7939 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7940 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7949 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7950 if test -n "$DSYMUTIL"; then
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7952 $as_echo "$DSYMUTIL" >&6; }
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7955 $as_echo "no
" >&6; }
7960 if test -z "$ac_cv_prog_DSYMUTIL"; then
7961 ac_ct_DSYMUTIL=$DSYMUTIL
7962 # Extract the first word of "dsymutil
", so it can be a program name with args.
7963 set dummy dsymutil; ac_word=$2
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7965 $as_echo_n "checking
for $ac_word...
" >&6; }
7966 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7967 $as_echo_n "(cached
) " >&6
7969 if test -n "$ac_ct_DSYMUTIL"; then
7970 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7976 test -z "$as_dir" && as_dir=.
7977 for ac_exec_ext in '' $ac_executable_extensions; do
7978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7979 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7989 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7990 if test -n "$ac_ct_DSYMUTIL"; then
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7992 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7995 $as_echo "no
" >&6; }
7998 if test "x
$ac_ct_DSYMUTIL" = x; then
8001 case $cross_compiling:$ac_tool_warned in
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8004 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8005 ac_tool_warned=yes ;;
8007 DSYMUTIL=$ac_ct_DSYMUTIL
8010 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8013 if test -n "$ac_tool_prefix"; then
8014 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8015 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8017 $as_echo_n "checking
for $ac_word...
" >&6; }
8018 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8019 $as_echo_n "(cached
) " >&6
8021 if test -n "$NMEDIT"; then
8022 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8028 test -z "$as_dir" && as_dir=.
8029 for ac_exec_ext in '' $ac_executable_extensions; do
8030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8031 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8032 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8041 NMEDIT=$ac_cv_prog_NMEDIT
8042 if test -n "$NMEDIT"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8044 $as_echo "$NMEDIT" >&6; }
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8047 $as_echo "no
" >&6; }
8052 if test -z "$ac_cv_prog_NMEDIT"; then
8053 ac_ct_NMEDIT=$NMEDIT
8054 # Extract the first word of "nmedit
", so it can be a program name with args.
8055 set dummy nmedit; ac_word=$2
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8057 $as_echo_n "checking
for $ac_word...
" >&6; }
8058 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8059 $as_echo_n "(cached
) " >&6
8061 if test -n "$ac_ct_NMEDIT"; then
8062 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8068 test -z "$as_dir" && as_dir=.
8069 for ac_exec_ext in '' $ac_executable_extensions; do
8070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8071 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8081 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8082 if test -n "$ac_ct_NMEDIT"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8084 $as_echo "$ac_ct_NMEDIT" >&6; }
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8087 $as_echo "no
" >&6; }
8090 if test "x
$ac_ct_NMEDIT" = x; then
8093 case $cross_compiling:$ac_tool_warned in
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8096 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8097 ac_tool_warned=yes ;;
8099 NMEDIT=$ac_ct_NMEDIT
8102 NMEDIT="$ac_cv_prog_NMEDIT"
8105 if test -n "$ac_tool_prefix"; then
8106 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8107 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8109 $as_echo_n "checking
for $ac_word...
" >&6; }
8110 if test "${ac_cv_prog_LIPO+set}" = set; then :
8111 $as_echo_n "(cached
) " >&6
8113 if test -n "$LIPO"; then
8114 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8123 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8133 LIPO=$ac_cv_prog_LIPO
8134 if test -n "$LIPO"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8136 $as_echo "$LIPO" >&6; }
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8139 $as_echo "no
" >&6; }
8144 if test -z "$ac_cv_prog_LIPO"; then
8146 # Extract the first word of "lipo
", so it can be a program name with args.
8147 set dummy lipo; ac_word=$2
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8149 $as_echo_n "checking
for $ac_word...
" >&6; }
8150 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8151 $as_echo_n "(cached
) " >&6
8153 if test -n "$ac_ct_LIPO"; then
8154 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8160 test -z "$as_dir" && as_dir=.
8161 for ac_exec_ext in '' $ac_executable_extensions; do
8162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8163 ac_cv_prog_ac_ct_LIPO="lipo
"
8164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8173 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8174 if test -n "$ac_ct_LIPO"; then
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8176 $as_echo "$ac_ct_LIPO" >&6; }
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8179 $as_echo "no
" >&6; }
8182 if test "x
$ac_ct_LIPO" = x; then
8185 case $cross_compiling:$ac_tool_warned in
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8188 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8189 ac_tool_warned=yes ;;
8194 LIPO="$ac_cv_prog_LIPO"
8197 if test -n "$ac_tool_prefix"; then
8198 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8199 set dummy ${ac_tool_prefix}otool; ac_word=$2
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8201 $as_echo_n "checking
for $ac_word...
" >&6; }
8202 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8203 $as_echo_n "(cached
) " >&6
8205 if test -n "$OTOOL"; then
8206 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8215 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8225 OTOOL=$ac_cv_prog_OTOOL
8226 if test -n "$OTOOL"; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8228 $as_echo "$OTOOL" >&6; }
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8231 $as_echo "no
" >&6; }
8236 if test -z "$ac_cv_prog_OTOOL"; then
8238 # Extract the first word of "otool
", so it can be a program name with args.
8239 set dummy otool; ac_word=$2
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8241 $as_echo_n "checking
for $ac_word...
" >&6; }
8242 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8243 $as_echo_n "(cached
) " >&6
8245 if test -n "$ac_ct_OTOOL"; then
8246 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8252 test -z "$as_dir" && as_dir=.
8253 for ac_exec_ext in '' $ac_executable_extensions; do
8254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8255 ac_cv_prog_ac_ct_OTOOL="otool
"
8256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8265 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8266 if test -n "$ac_ct_OTOOL"; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8268 $as_echo "$ac_ct_OTOOL" >&6; }
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8271 $as_echo "no
" >&6; }
8274 if test "x
$ac_ct_OTOOL" = x; then
8277 case $cross_compiling:$ac_tool_warned in
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8280 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8281 ac_tool_warned=yes ;;
8286 OTOOL="$ac_cv_prog_OTOOL"
8289 if test -n "$ac_tool_prefix"; then
8290 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8291 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8293 $as_echo_n "checking
for $ac_word...
" >&6; }
8294 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8295 $as_echo_n "(cached
) " >&6
8297 if test -n "$OTOOL64"; then
8298 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8304 test -z "$as_dir" && as_dir=.
8305 for ac_exec_ext in '' $ac_executable_extensions; do
8306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8307 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8317 OTOOL64=$ac_cv_prog_OTOOL64
8318 if test -n "$OTOOL64"; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8320 $as_echo "$OTOOL64" >&6; }
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8323 $as_echo "no
" >&6; }
8328 if test -z "$ac_cv_prog_OTOOL64"; then
8329 ac_ct_OTOOL64=$OTOOL64
8330 # Extract the first word of "otool64
", so it can be a program name with args.
8331 set dummy otool64; ac_word=$2
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8333 $as_echo_n "checking
for $ac_word...
" >&6; }
8334 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8335 $as_echo_n "(cached
) " >&6
8337 if test -n "$ac_ct_OTOOL64"; then
8338 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8344 test -z "$as_dir" && as_dir=.
8345 for ac_exec_ext in '' $ac_executable_extensions; do
8346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8347 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8357 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8358 if test -n "$ac_ct_OTOOL64"; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8360 $as_echo "$ac_ct_OTOOL64" >&6; }
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8363 $as_echo "no
" >&6; }
8366 if test "x
$ac_ct_OTOOL64" = x; then
8369 case $cross_compiling:$ac_tool_warned in
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8372 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8373 ac_tool_warned=yes ;;
8375 OTOOL64=$ac_ct_OTOOL64
8378 OTOOL64="$ac_cv_prog_OTOOL64"
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8408 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8409 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8410 $as_echo_n "(cached
) " >&6
8412 lt_cv_apple_cc_single_mod=no
8413 if test -z "${LT_MULTI_MODULE}"; then
8414 # By default we will add the -single_module flag. You can override
8415 # by either setting the environment variable LT_MULTI_MODULE
8416 # non-empty at configure time, or by adding -multi_module to the
8418 rm -rf libconftest.dylib*
8419 echo "int foo
(void
){return 1;}" > conftest.c
8420 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8421 -dynamiclib -Wl,-single_module conftest.c
" >&5
8422 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8423 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8425 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8426 lt_cv_apple_cc_single_mod=yes
8428 cat conftest.err >&5
8430 rm -rf libconftest.dylib*
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8435 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8437 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8438 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8439 $as_echo_n "(cached
) " >&6
8441 lt_cv_ld_exported_symbols_list=no
8442 save_LDFLAGS=$LDFLAGS
8443 echo "_main
" > conftest.sym
8444 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8456 if ac_fn_c_try_link "$LINENO"; then :
8457 lt_cv_ld_exported_symbols_list=yes
8459 lt_cv_ld_exported_symbols_list=no
8461 rm -f core conftest.err conftest.$ac_objext \
8462 conftest$ac_exeext conftest.$ac_ext
8463 LDFLAGS="$save_LDFLAGS"
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8467 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8469 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8470 if test "${lt_cv_ld_force_load+set}" = set; then :
8471 $as_echo_n "(cached
) " >&6
8473 lt_cv_ld_force_load=no
8474 cat > conftest.c << _LT_EOF
8475 int forced_loaded() { return 2;}
8477 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8478 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8479 echo "$AR cru libconftest.a conftest.o
" >&5
8480 $AR cru libconftest.a conftest.o 2>&5
8481 cat > conftest.c << _LT_EOF
8482 int main() { return 0;}
8484 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8485 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8487 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8488 lt_cv_ld_force_load=yes
8490 cat conftest.err >&5
8492 rm -f conftest.err libconftest.a conftest conftest.c
8493 rm -rf conftest.dSYM
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8497 $as_echo "$lt_cv_ld_force_load" >&6; }
8499 rhapsody* | darwin1.[012])
8500 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8502 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8503 darwin*) # darwin 5.x on
8504 # if running on 10.5 or later, the deployment target defaults
8505 # to the OS version, if on x86, and 10.4, the deployment
8506 # target defaults to 10.4. Don't you love it?
8507 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8508 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8509 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8511 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8513 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8517 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8518 _lt_dar_single_mod='$single_module'
8520 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8521 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8523 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8525 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8526 _lt_dsymutil='~$DSYMUTIL $lib || :'
8533 for ac_header in dlfcn.h
8535 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8537 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8538 cat >>confdefs.h <<_ACEOF
8539 #define HAVE_DLFCN_H 1
8559 # Check whether --enable-shared was given.
8560 if test "${enable_shared+set}" = set; then :
8561 enableval=$enable_shared; p=${PACKAGE-default}
8563 yes) enable_shared=yes ;;
8564 no) enable_shared=no ;;
8567 # Look at the argument we got. We use all the common list separators.
8568 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8569 for pkg in $enableval; do
8571 if test "X
$pkg" = "X
$p"; then
8590 # Check whether --enable-static was given.
8591 if test "${enable_static+set}" = set; then :
8592 enableval=$enable_static; p=${PACKAGE-default}
8594 yes) enable_static=yes ;;
8595 no) enable_static=no ;;
8598 # Look at the argument we got. We use all the common list separators.
8599 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8600 for pkg in $enableval; do
8602 if test "X
$pkg" = "X
$p"; then
8622 # Check whether --with-pic was given.
8623 if test "${with_pic+set}" = set; then :
8624 withval=$with_pic; pic_mode="$withval"
8630 test -z "$pic_mode" && pic_mode=default
8638 # Check whether --enable-fast-install was given.
8639 if test "${enable_fast_install+set}" = set; then :
8640 enableval=$enable_fast_install; p=${PACKAGE-default}
8642 yes) enable_fast_install=yes ;;
8643 no) enable_fast_install=no ;;
8645 enable_fast_install=no
8646 # Look at the argument we got. We use all the common list separators.
8647 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8648 for pkg in $enableval; do
8650 if test "X
$pkg" = "X
$p"; then
8651 enable_fast_install=yes
8658 enable_fast_install=yes
8671 # This can be used to rebuild libtool when needed
8672 LIBTOOL_DEPS="$ltmain"
8674 # Always use our own libtool.
8675 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8702 test -z "$LN_S" && LN_S="ln -s"
8717 if test -n "${ZSH_VERSION+set}" ; then
8718 setopt NO_GLOB_SUBST
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8722 $as_echo_n "checking
for objdir...
" >&6; }
8723 if test "${lt_cv_objdir+set}" = set; then :
8724 $as_echo_n "(cached
) " >&6
8726 rm -f .libs 2>/dev/null
8727 mkdir .libs 2>/dev/null
8728 if test -d .libs; then
8731 # MS-DOS does not allow filenames that begin with a dot.
8734 rmdir .libs 2>/dev/null
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8737 $as_echo "$lt_cv_objdir" >&6; }
8738 objdir=$lt_cv_objdir
8744 cat >>confdefs.h <<_ACEOF
8745 #define LT_OBJDIR "$lt_cv_objdir/"
8753 # AIX sometimes has problems with the GCC collect2 program. For some
8754 # reason, if we set the COLLECT_NAMES environment variable, the problems
8755 # vanish in a puff of smoke.
8756 if test "X
${COLLECT_NAMES+set}" != Xset; then
8758 export COLLECT_NAMES
8765 can_build_shared=yes
8767 # All known linkers require a `.a' archive for static linking (except MSVC,
8768 # which needs '.lib').
8771 with_gnu_ld="$lt_cv_prog_gnu_ld"
8774 old_CFLAGS="$CFLAGS"
8776 # Set sane defaults for various variables
8777 test -z "$CC" && CC=cc
8778 test -z "$LTCC" && LTCC=$CC
8779 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8780 test -z "$LD" && LD=ld
8781 test -z "$ac_objext" && ac_objext=o
8783 for cc_temp in $compiler""; do
8785 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8786 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8791 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8794 # Only perform the check for file, if the check method requires it
8795 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8796 case $deplibs_check_method in
8798 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8800 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8801 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8802 $as_echo_n "(cached
) " >&6
8806 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8809 lt_save_MAGIC_CMD="$MAGIC_CMD"
8810 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8811 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8812 for ac_dir in $ac_dummy; do
8814 test -z "$ac_dir" && ac_dir=.
8815 if test -f $ac_dir/${ac_tool_prefix}file; then
8816 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8817 if test -n "$file_magic_test_file"; then
8818 case $deplibs_check_method in
8820 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8821 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8822 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8823 $EGREP "$file_magic_regex" > /dev/null; then
8828 *** Warning: the command libtool uses to detect shared libraries,
8829 *** $file_magic_cmd, produces output that libtool cannot recognize.
8830 *** The result is that libtool may fail to recognize shared libraries
8831 *** as such. This will affect the creation of libtool libraries that
8832 *** depend on shared libraries, but programs linked with such libtool
8833 *** libraries will work regardless of this problem. Nevertheless, you
8834 *** may want to report the problem to your system manager and/or to
8835 *** bug-libtool@gnu.org
8845 MAGIC_CMD="$lt_save_MAGIC_CMD"
8850 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8851 if test -n "$MAGIC_CMD"; then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8853 $as_echo "$MAGIC_CMD" >&6; }
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8856 $as_echo "no
" >&6; }
8863 if test -z "$lt_cv_path_MAGIC_CMD"; then
8864 if test -n "$ac_tool_prefix"; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8866 $as_echo_n "checking
for file...
" >&6; }
8867 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8868 $as_echo_n "(cached
) " >&6
8872 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8875 lt_save_MAGIC_CMD="$MAGIC_CMD"
8876 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8877 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8878 for ac_dir in $ac_dummy; do
8880 test -z "$ac_dir" && ac_dir=.
8881 if test -f $ac_dir/file; then
8882 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8883 if test -n "$file_magic_test_file"; then
8884 case $deplibs_check_method in
8886 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8887 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8888 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8889 $EGREP "$file_magic_regex" > /dev/null; then
8894 *** Warning: the command libtool uses to detect shared libraries,
8895 *** $file_magic_cmd, produces output that libtool cannot recognize.
8896 *** The result is that libtool may fail to recognize shared libraries
8897 *** as such. This will affect the creation of libtool libraries that
8898 *** depend on shared libraries, but programs linked with such libtool
8899 *** libraries will work regardless of this problem. Nevertheless, you
8900 *** may want to report the problem to your system manager and/or to
8901 *** bug-libtool@gnu.org
8911 MAGIC_CMD="$lt_save_MAGIC_CMD"
8916 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8917 if test -n "$MAGIC_CMD"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8919 $as_echo "$MAGIC_CMD" >&6; }
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8922 $as_echo "no
" >&6; }
8935 # Use C for the default configuration in the libtool script
8939 ac_cpp='$CPP $CPPFLAGS'
8940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8945 # Source file extension for C test sources.
8948 # Object file extension for compiled C test sources.
8952 # Code to be used in simple compile tests
8953 lt_simple_compile_test_code="int some_variable
= 0;"
8955 # Code to be used in simple link tests
8956 lt_simple_link_test_code='int main(){return(0);}'
8964 # If no C compiler was specified, use CC.
8967 # If no C compiler flags were specified, use CFLAGS.
8968 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8970 # Allow CC to be a program name with arguments.
8973 # Save the default compiler, since it gets overwritten when the other
8974 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8975 compiler_DEFAULT=$CC
8977 # save warnings/boilerplate of simple test code
8978 ac_outfile=conftest.$ac_objext
8979 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8980 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8981 _lt_compiler_boilerplate=`cat conftest.err`
8984 ac_outfile=conftest.$ac_objext
8985 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8986 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8987 _lt_linker_boilerplate=`cat conftest.err`
8992 ## There is no encapsulation within the following macros, do not change
8993 ## the running order or otherwise move them around unless you know exactly
8994 ## what you are doing...
8995 if test -n "$compiler"; then
8997 lt_prog_compiler_no_builtin_flag=
8999 if test "$GCC" = yes; then
9000 case $cc_basename in
9002 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9004 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9008 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9009 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9010 $as_echo_n "(cached
) " >&6
9012 lt_cv_prog_compiler_rtti_exceptions=no
9013 ac_outfile=conftest.$ac_objext
9014 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9015 lt_compiler_flag="-fno-rtti -fno-exceptions"
9016 # Insert the option either (1) after the last *FLAGS variable, or
9017 # (2) before a word containing "conftest.
", or (3) at the end.
9018 # Note that $ac_compile itself does not contain backslashes and begins
9019 # with a dollar sign (not a hyphen), so the echo should work correctly.
9020 # The option is referenced via a variable to avoid confusing sed.
9021 lt_compile=`echo "$ac_compile" | $SED \
9022 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9023 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9024 -e 's:$: $lt_compiler_flag:'`
9025 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9026 (eval "$lt_compile" 2>conftest.err)
9028 cat conftest.err >&5
9029 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9030 if (exit $ac_status) && test -s "$ac_outfile"; then
9031 # The compiler can only warn and ignore the option if not recognized
9032 # So say no if there are warnings other than the usual output.
9033 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9034 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9035 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9036 lt_cv_prog_compiler_rtti_exceptions=yes
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9043 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9045 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9046 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9058 lt_prog_compiler_wl=
9059 lt_prog_compiler_pic=
9060 lt_prog_compiler_static=
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9063 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9065 if test "$GCC" = yes; then
9066 lt_prog_compiler_wl='-Wl,'
9067 lt_prog_compiler_static='-static'
9071 # All AIX code is PIC.
9072 if test "$host_cpu" = ia64; then
9073 # AIX 5 now supports IA64 processor
9074 lt_prog_compiler_static='-Bstatic'
9076 lt_prog_compiler_pic='-fPIC'
9082 # see comment about AmigaOS4 .so support
9083 lt_prog_compiler_pic='-fPIC'
9086 # FIXME: we need at least 68020 code to build shared libraries, but
9087 # adding the `-m68020' flag to GCC prevents building anything better,
9089 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9094 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9095 # PIC is the default for these OSes.
9098 mingw* | cygwin* | pw32* | os2* | cegcc*)
9099 # This hack is so that the source file can tell whether it is being
9100 # built for inclusion in a dll (and should export symbols for example).
9101 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9102 # (--disable-auto-import) libraries
9103 lt_prog_compiler_pic='-DDLL_EXPORT'
9106 darwin* | rhapsody*)
9107 # PIC is the default on this platform
9108 # Common symbols not allowed in MH_DYLIB files
9109 lt_prog_compiler_pic='-fno-common'
9113 # PIC is the default for Haiku.
9114 # The "-static" flag exists, but is broken.
9115 lt_prog_compiler_static=
9119 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9120 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9121 # sets the default TLS model and affects inlining.
9127 lt_prog_compiler_pic='-fPIC'
9133 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9134 # Instead, we relocate shared libraries at runtime.
9138 # Just because we use GCC doesn't mean we suddenly get shared libraries
9139 # on systems that don't support them.
9140 lt_prog_compiler_can_build_shared=no
9145 # QNX uses GNU C++, but need to define -shared option too, otherwise
9147 lt_prog_compiler_pic='-fPIC -shared'
9151 if test -d /usr/nec; then
9152 lt_prog_compiler_pic=-Kconform_pic
9157 lt_prog_compiler_pic='-fPIC'
9161 case $cc_basename in
9162 nvcc*) # Cuda Compiler Driver 2.2
9163 lt_prog_compiler_wl='-Xlinker '
9164 lt_prog_compiler_pic='-Xcompiler -fPIC'
9168 # PORTME Check for flag to pass linker flags through the system compiler.
9171 lt_prog_compiler_wl='-Wl,'
9172 if test "$host_cpu" = ia64; then
9173 # AIX 5 now supports IA64 processor
9174 lt_prog_compiler_static='-Bstatic'
9176 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9180 mingw* | cygwin* | pw32* | os2* | cegcc*)
9181 # This hack is so that the source file can tell whether it is being
9182 # built for inclusion in a dll (and should export symbols for example).
9183 lt_prog_compiler_pic='-DDLL_EXPORT'
9186 hpux9* | hpux10* | hpux11*)
9187 lt_prog_compiler_wl='-Wl,'
9188 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9195 lt_prog_compiler_pic='+Z'
9198 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9199 lt_prog_compiler_static='${wl}-a ${wl}archive'
9202 irix5* | irix6* | nonstopux*)
9203 lt_prog_compiler_wl='-Wl,'
9204 # PIC (with -KPIC) is the default.
9205 lt_prog_compiler_static='-non_shared'
9208 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9209 case $cc_basename in
9210 # old Intel for x86_64 which still supported -KPIC.
9212 lt_prog_compiler_wl='-Wl,'
9213 lt_prog_compiler_pic='-KPIC'
9214 lt_prog_compiler_static='-static'
9216 # icc used to be incompatible with GCC.
9217 # ICC 10 doesn't accept -KPIC any more.
9219 lt_prog_compiler_wl='-Wl,'
9220 lt_prog_compiler_pic='-fPIC'
9221 lt_prog_compiler_static='-static'
9223 # Lahey Fortran 8.1.
9225 lt_prog_compiler_wl='-Wl,'
9226 lt_prog_compiler_pic='--shared'
9227 lt_prog_compiler_static='--static'
9229 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9230 # Portland Group compilers (*not* the Pentium gcc compiler,
9231 # which looks to be a dead project)
9232 lt_prog_compiler_wl='-Wl,'
9233 lt_prog_compiler_pic='-fpic'
9234 lt_prog_compiler_static='-Bstatic'
9237 lt_prog_compiler_wl='-Wl,'
9238 # All Alpha code is PIC.
9239 lt_prog_compiler_static='-non_shared'
9241 xl* | bgxl* | bgf* | mpixl*)
9242 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9243 lt_prog_compiler_wl='-Wl,'
9244 lt_prog_compiler_pic='-qpic'
9245 lt_prog_compiler_static='-qstaticlink'
9248 case `$CC -V 2>&1 | sed 5q` in
9249 *Sun\ F* | *Sun*Fortran*)
9250 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9251 lt_prog_compiler_pic='-KPIC'
9252 lt_prog_compiler_static='-Bstatic'
9253 lt_prog_compiler_wl=''
9257 lt_prog_compiler_pic='-KPIC'
9258 lt_prog_compiler_static='-Bstatic'
9259 lt_prog_compiler_wl='-Wl,'
9267 lt_prog_compiler_pic='-KPIC'
9268 lt_prog_compiler_static='-Bstatic'
9272 # QNX uses GNU C++, but need to define -shared option too, otherwise
9274 lt_prog_compiler_pic='-fPIC -shared'
9277 osf3* | osf4* | osf5*)
9278 lt_prog_compiler_wl='-Wl,'
9279 # All OSF/1 code is PIC.
9280 lt_prog_compiler_static='-non_shared'
9284 lt_prog_compiler_static='-non_shared'
9288 lt_prog_compiler_pic='-KPIC'
9289 lt_prog_compiler_static='-Bstatic'
9290 case $cc_basename in
9292 lt_prog_compiler_wl='-Qoption ld ';;
9294 lt_prog_compiler_wl='-Wl,';;
9299 lt_prog_compiler_wl='-Qoption ld '
9300 lt_prog_compiler_pic='-PIC'
9301 lt_prog_compiler_static='-Bstatic'
9304 sysv4 | sysv4.2uw2* | sysv4.3*)
9305 lt_prog_compiler_wl='-Wl,'
9306 lt_prog_compiler_pic='-KPIC'
9307 lt_prog_compiler_static='-Bstatic'
9311 if test -d /usr/nec ;then
9312 lt_prog_compiler_pic='-Kconform_pic'
9313 lt_prog_compiler_static='-Bstatic'
9317 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9318 lt_prog_compiler_wl='-Wl,'
9319 lt_prog_compiler_pic='-KPIC'
9320 lt_prog_compiler_static='-Bstatic'
9324 lt_prog_compiler_wl='-Wl,'
9325 lt_prog_compiler_can_build_shared=no
9329 lt_prog_compiler_pic='-pic'
9330 lt_prog_compiler_static='-Bstatic'
9334 lt_prog_compiler_can_build_shared=no
9340 # For platforms which do not support PIC, -DPIC is meaningless:
9342 lt_prog_compiler_pic=
9345 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9349 $as_echo "$lt_prog_compiler_pic" >&6; }
9357 # Check to make sure the PIC flag actually works.
9359 if test -n "$lt_prog_compiler_pic"; then
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9361 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9362 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9363 $as_echo_n "(cached
) " >&6
9365 lt_cv_prog_compiler_pic_works=no
9366 ac_outfile=conftest.$ac_objext
9367 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9368 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9369 # Insert the option either (1) after the last *FLAGS variable, or
9370 # (2) before a word containing "conftest.
", or (3) at the end.
9371 # Note that $ac_compile itself does not contain backslashes and begins
9372 # with a dollar sign (not a hyphen), so the echo should work correctly.
9373 # The option is referenced via a variable to avoid confusing sed.
9374 lt_compile=`echo "$ac_compile" | $SED \
9375 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9376 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9377 -e 's:$: $lt_compiler_flag:'`
9378 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9379 (eval "$lt_compile" 2>conftest.err)
9381 cat conftest.err >&5
9382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9383 if (exit $ac_status) && test -s "$ac_outfile"; then
9384 # The compiler can only warn and ignore the option if not recognized
9385 # So say no if there are warnings other than the usual output.
9386 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9387 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9388 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9389 lt_cv_prog_compiler_pic_works=yes
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9396 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9398 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9399 case $lt_prog_compiler_pic in
9401 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9404 lt_prog_compiler_pic=
9405 lt_prog_compiler_can_build_shared=no
9416 # Check to make sure the static flag actually works.
9418 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9420 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9421 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9422 $as_echo_n "(cached
) " >&6
9424 lt_cv_prog_compiler_static_works=no
9425 save_LDFLAGS="$LDFLAGS"
9426 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9427 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9428 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9429 # The linker can only warn and ignore the option if not recognized
9430 # So say no if there are warnings
9431 if test -s conftest.err; then
9432 # Append any errors to the config.log.
9433 cat conftest.err 1>&5
9434 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9435 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9436 if diff conftest.exp conftest.er2 >/dev/null; then
9437 lt_cv_prog_compiler_static_works=yes
9440 lt_cv_prog_compiler_static_works=yes
9444 LDFLAGS="$save_LDFLAGS"
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9448 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9450 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9453 lt_prog_compiler_static=
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9463 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9464 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9465 $as_echo_n "(cached
) " >&6
9467 lt_cv_prog_compiler_c_o=no
9468 $RM -r conftest 2>/dev/null
9472 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9474 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9475 # Insert the option either (1) after the last *FLAGS variable, or
9476 # (2) before a word containing "conftest.
", or (3) at the end.
9477 # Note that $ac_compile itself does not contain backslashes and begins
9478 # with a dollar sign (not a hyphen), so the echo should work correctly.
9479 lt_compile=`echo "$ac_compile" | $SED \
9480 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9481 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9482 -e 's:$: $lt_compiler_flag:'`
9483 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9484 (eval "$lt_compile" 2>out/conftest.err)
9486 cat out/conftest.err >&5
9487 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9488 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9490 # The compiler can only warn and ignore the option if not recognized
9491 # So say no if there are warnings
9492 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9493 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9494 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9495 lt_cv_prog_compiler_c_o=yes
9500 # SGI C++ compiler will create directory out/ii_files/ for
9501 # template instantiation
9502 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9503 $RM out/* && rmdir out
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9510 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9518 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9519 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9520 $as_echo_n "(cached
) " >&6
9522 lt_cv_prog_compiler_c_o=no
9523 $RM -r conftest 2>/dev/null
9527 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9529 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9530 # Insert the option either (1) after the last *FLAGS variable, or
9531 # (2) before a word containing "conftest.
", or (3) at the end.
9532 # Note that $ac_compile itself does not contain backslashes and begins
9533 # with a dollar sign (not a hyphen), so the echo should work correctly.
9534 lt_compile=`echo "$ac_compile" | $SED \
9535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9537 -e 's:$: $lt_compiler_flag:'`
9538 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9539 (eval "$lt_compile" 2>out/conftest.err)
9541 cat out/conftest.err >&5
9542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9543 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9545 # The compiler can only warn and ignore the option if not recognized
9546 # So say no if there are warnings
9547 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9548 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9549 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9550 lt_cv_prog_compiler_c_o=yes
9555 # SGI C++ compiler will create directory out/ii_files/ for
9556 # template instantiation
9557 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9558 $RM out/* && rmdir out
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9565 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9570 hard_links="nottested
"
9571 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9572 # do not overwrite the value of need_locks provided by the user
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9574 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9577 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9579 ln conftest.a conftest.b 2>&5 || hard_links=no
9580 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9582 $as_echo "$hard_links" >&6; }
9583 if test "$hard_links" = no; then
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9585 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9598 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9601 allow_undefined_flag=
9602 always_export_symbols=no
9604 archive_expsym_cmds=
9605 compiler_needs_object=no
9606 enable_shared_with_static_runtimes=no
9607 export_dynamic_flag_spec=
9608 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9609 hardcode_automatic=no
9611 hardcode_direct_absolute=no
9612 hardcode_libdir_flag_spec=
9613 hardcode_libdir_flag_spec_ld=
9614 hardcode_libdir_separator=
9616 hardcode_shlibpath_var=unsupported
9618 link_all_deplibs=unknown
9621 old_archive_from_new_cmds=
9622 old_archive_from_expsyms_cmds=
9623 thread_safe_flag_spec=
9624 whole_archive_flag_spec=
9625 # include_expsyms should be a list of space-separated symbols to be *always*
9626 # included in the symbol list
9628 # exclude_expsyms can be an extended regexp of symbols to exclude
9629 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9630 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9631 # as well as any symbol that contains `d'.
9632 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9633 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9634 # platforms (ab)use it in PIC code, but their linkers get confused if
9635 # the symbol is explicitly referenced. Since portable code cannot
9636 # rely on this symbol name, it's probably fine to never include it in
9637 # preloaded symbol tables.
9638 # Exclude shared library initialization/finalization symbols.
9639 extract_expsyms_cmds=
9642 cygwin* | mingw* | pw32* | cegcc*)
9643 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9644 # When not using gcc, we currently assume that we are using
9645 # Microsoft Visual C++.
9646 if test "$GCC" != yes; then
9651 # we just hope/assume this is gcc and not c89 (= MSVC++)
9661 # On some targets, GNU ld is compatible enough with the native linker
9662 # that we're better off using the native interface for both.
9663 lt_use_gnu_ld_interface=no
9664 if test "$with_gnu_ld" = yes; then
9667 # The AIX port of GNU ld has always aspired to compatibility
9668 # with the native linker. However, as the warning in the GNU ld
9669 # block says, versions before 2.19.5* couldn't really create working
9670 # shared libraries, regardless of the interface used.
9671 case `$LD -v 2>&1` in
9672 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9673 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9674 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9676 lt_use_gnu_ld_interface=yes
9681 lt_use_gnu_ld_interface=yes
9686 if test "$lt_use_gnu_ld_interface" = yes; then
9687 # If archive_cmds runs LD, not CC, wlarc should be empty
9690 # Set some defaults for GNU ld with shared library support. These
9691 # are reset later if shared libraries are not supported. Putting them
9692 # here allows them to be overridden if necessary.
9693 runpath_var=LD_RUN_PATH
9694 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9695 export_dynamic_flag_spec='${wl}--export-dynamic'
9696 # ancient GNU ld didn't support --whole-archive et. al.
9697 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9698 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9700 whole_archive_flag_spec=
9702 supports_anon_versioning=no
9703 case `$LD -v 2>&1` in
9704 *GNU\ gold*) supports_anon_versioning=yes ;;
9705 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9706 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9707 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9708 *\ 2.11.*) ;; # other 2.11 versions
9709 *) supports_anon_versioning=yes ;;
9712 # See if GNU ld supports shared libraries.
9715 # On AIX/PPC, the GNU linker is very broken
9716 if test "$host_cpu" != ia64; then
9720 *** Warning: the GNU linker, at least up to release 2.19, is reported
9721 *** to be unable to reliably create shared libraries on AIX.
9722 *** Therefore, libtool is disabling shared libraries support. If you
9723 *** really care for shared libraries, you may want to install binutils
9724 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9725 *** You will then need to restart the configuration process.
9734 # see comment about AmigaOS4 .so support
9735 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9736 archive_expsym_cmds=''
9739 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)'
9740 hardcode_libdir_flag_spec
='-L$libdir'
9741 hardcode_minus_L
=yes
9747 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9748 allow_undefined_flag
=unsupported
9749 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9750 # support --undefined. This deserves some investigation. FIXME
9751 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9757 cygwin
* | mingw
* | pw32
* | cegcc
*)
9758 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9759 # as there is no search path for DLLs.
9760 hardcode_libdir_flag_spec
='-L$libdir'
9761 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9762 allow_undefined_flag
=unsupported
9763 always_export_symbols
=no
9764 enable_shared_with_static_runtimes
=yes
9765 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9767 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9768 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9769 # If the export-symbols file already is a .def file (1st line
9770 # is EXPORTS), use it as is; otherwise, prepend...
9771 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9772 cp $export_symbols $output_objdir/$soname.def;
9774 echo EXPORTS > $output_objdir/$soname.def;
9775 cat $export_symbols >> $output_objdir/$soname.def;
9777 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9784 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9785 link_all_deplibs
=yes
9790 hardcode_shlibpath_var
=no
9791 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9792 export_dynamic_flag_spec
='${wl}-E'
9793 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9794 # Instead, shared libraries are loaded at an image base (0x10000000 by
9795 # default) and relocated if they conflict, which is a slow very memory
9796 # consuming and fragmenting process. To avoid this, we pick a random,
9797 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9798 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9799 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9800 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'
9803 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9805 if test "$host_os" = linux-dietlibc
; then
9806 case $cc_basename in
9807 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9810 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9811 && test "$tmp_diet" = no
9814 tmp_sharedflag
='-shared'
9815 case $cc_basename,$host_cpu in
9816 pgcc
*) # Portland Group C compiler
9817 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'
9818 tmp_addflag
=' $pic_flag'
9820 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9821 # Portland Group f77 and f90 compilers
9822 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'
9823 tmp_addflag
=' $pic_flag -Mnomain' ;;
9824 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9825 tmp_addflag
=' -i_dynamic' ;;
9826 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9827 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9828 ifc
* | ifort
*) # Intel Fortran compiler
9829 tmp_addflag
=' -nofor_main' ;;
9830 lf95
*) # Lahey Fortran 8.1
9831 whole_archive_flag_spec
=
9832 tmp_sharedflag
='--shared' ;;
9833 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9834 tmp_sharedflag
='-qmkshrobj'
9836 nvcc
*) # Cuda Compiler Driver 2.2
9837 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'
9838 compiler_needs_object
=yes
9841 case `$CC -V 2>&1 | sed 5q` in
9842 *Sun\ C
*) # Sun C 5.9
9843 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'
9844 compiler_needs_object
=yes
9845 tmp_sharedflag
='-G' ;;
9846 *Sun\ F
*) # Sun Fortran 8.3
9847 tmp_sharedflag
='-G' ;;
9849 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9851 if test "x$supports_anon_versioning" = xyes
; then
9852 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9853 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9854 echo "local: *; };" >> $output_objdir/$libname.ver~
9855 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9858 case $cc_basename in
9859 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9860 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9861 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9862 hardcode_libdir_flag_spec
=
9863 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9864 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9865 if test "x$supports_anon_versioning" = xyes
; then
9866 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9867 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9868 echo "local: *; };" >> $output_objdir/$libname.ver~
9869 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9879 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9880 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9883 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9884 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9889 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9893 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9894 *** create shared libraries on Solaris systems. Therefore, libtool
9895 *** is disabling shared libraries support. We urge you to upgrade GNU
9896 *** binutils to release 2.9.1 or newer. Another option is to modify
9897 *** your PATH or compiler configuration so that the native linker is
9898 *** used, and then restart.
9901 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9902 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9903 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9909 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9910 case `$LD -v 2>&1` in
9911 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9915 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9916 *** reliably create shared libraries on SCO systems. Therefore, libtool
9917 *** is disabling shared libraries support. We urge you to upgrade GNU
9918 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9919 *** your PATH or compiler configuration so that the native linker is
9920 *** used, and then restart.
9925 # For security reasons, it is highly recommended that you always
9926 # use absolute paths for naming shared libraries, and exclude the
9927 # DT_RUNPATH tag from executables and libraries. But doing so
9928 # requires that you compile everything twice, which is a pain.
9929 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9930 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9931 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9932 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9941 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9944 hardcode_shlibpath_var
=no
9948 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9949 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9950 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9957 if test "$ld_shlibs" = no
; then
9959 hardcode_libdir_flag_spec
=
9960 export_dynamic_flag_spec
=
9961 whole_archive_flag_spec
=
9964 # PORTME fill in a description of your system's linker (not GNU ld)
9967 allow_undefined_flag
=unsupported
9968 always_export_symbols
=yes
9969 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'
9970 # Note: this linker hardcodes the directories in LIBPATH if there
9971 # are no directories specified by -L.
9972 hardcode_minus_L
=yes
9973 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9974 # Neither direct hardcoding nor static linking is supported with a
9976 hardcode_direct
=unsupported
9981 if test "$host_cpu" = ia64
; then
9982 # On IA64, the linker does run time linking by default, so we don't
9983 # have to do anything special.
9984 aix_use_runtimelinking
=no
9985 exp_sym_flag
='-Bexport'
9988 # If we're using GNU nm, then we don't want the "-C" option.
9989 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9990 # Also, AIX nm treats weak defined symbols like other global
9991 # defined symbols, whereas GNU nm marks them as "W".
9992 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9993 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'
9995 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9997 aix_use_runtimelinking
=no
9999 # Test if we are trying to use run time linking or normal
10000 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10001 # need to do runtime linking.
10002 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10003 for ld_flag
in $LDFLAGS; do
10004 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10005 aix_use_runtimelinking
=yes
10012 exp_sym_flag
='-bexport'
10013 no_entry_flag
='-bnoentry'
10016 # When large executables or shared objects are built, AIX ld can
10017 # have problems creating the table of contents. If linking a library
10018 # or program results in "error TOC overflow" add -mminimal-toc to
10019 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10020 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10023 hardcode_direct
=yes
10024 hardcode_direct_absolute
=yes
10025 hardcode_libdir_separator
=':'
10026 link_all_deplibs
=yes
10027 file_list_spec
='${wl}-f,'
10029 if test "$GCC" = yes; then
10030 case $host_os in aix4.
[012]|aix4.
[012].
*)
10031 # We only want to do this on AIX 4.2 and lower, the check
10032 # below for broken collect2 doesn't work under 4.3+
10033 collect2name
=`${CC} -print-prog-name=collect2`
10034 if test -f "$collect2name" &&
10035 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10037 # We have reworked collect2
10040 # We have old collect2
10041 hardcode_direct
=unsupported
10042 # It fails to find uninstalled libraries when the uninstalled
10043 # path is not listed in the libpath. Setting hardcode_minus_L
10044 # to unsupported forces relinking
10045 hardcode_minus_L
=yes
10046 hardcode_libdir_flag_spec
='-L$libdir'
10047 hardcode_libdir_separator
=
10051 shared_flag
='-shared'
10052 if test "$aix_use_runtimelinking" = yes; then
10053 shared_flag
="$shared_flag "'${wl}-G'
10057 if test "$host_cpu" = ia64
; then
10058 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10059 # chokes on -Wl,-G. The following line is correct:
10062 if test "$aix_use_runtimelinking" = yes; then
10063 shared_flag
='${wl}-G'
10065 shared_flag
='${wl}-bM:SRE'
10070 export_dynamic_flag_spec
='${wl}-bexpall'
10071 # It seems that -bexpall does not export symbols beginning with
10072 # underscore (_), so it is better to generate a list of symbols to export.
10073 always_export_symbols
=yes
10074 if test "$aix_use_runtimelinking" = yes; then
10075 # Warning - without using the other runtime loading flags (-brtl),
10076 # -berok will link without error, but may produce a broken library.
10077 allow_undefined_flag
='-berok'
10078 # Determine the default libpath from the value encoded in an
10079 # empty executable.
10080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10091 if ac_fn_c_try_link
"$LINENO"; then :
10093 lt_aix_libpath_sed
='
10094 /Import File Strings/,/^$/ {
10100 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10101 # Check for a 64-bit object if we didn't find anything.
10102 if test -z "$aix_libpath"; then
10103 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10106 rm -f core conftest.err conftest.
$ac_objext \
10107 conftest
$ac_exeext conftest.
$ac_ext
10108 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10110 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10111 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"
10113 if test "$host_cpu" = ia64
; then
10114 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10115 allow_undefined_flag
="-z nodefs"
10116 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"
10118 # Determine the default libpath from the value encoded in an
10119 # empty executable.
10120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10131 if ac_fn_c_try_link
"$LINENO"; then :
10133 lt_aix_libpath_sed
='
10134 /Import File Strings/,/^$/ {
10140 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10141 # Check for a 64-bit object if we didn't find anything.
10142 if test -z "$aix_libpath"; then
10143 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10146 rm -f core conftest.err conftest.
$ac_objext \
10147 conftest
$ac_exeext conftest.
$ac_ext
10148 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10150 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10151 # Warning - without using the other run time loading flags,
10152 # -berok will link without error, but may produce a broken library.
10153 no_undefined_flag
=' ${wl}-bernotok'
10154 allow_undefined_flag
=' ${wl}-berok'
10155 if test "$with_gnu_ld" = yes; then
10156 # We only use this code for GNU lds that support --whole-archive.
10157 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10159 # Exported symbols can be pulled into shared objects from archives
10160 whole_archive_flag_spec
='$convenience'
10162 archive_cmds_need_lc
=yes
10163 # This is similar to how AIX traditionally builds its shared libraries.
10164 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'
10172 # see comment about AmigaOS4 .so support
10173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10174 archive_expsym_cmds
=''
10177 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)'
10178 hardcode_libdir_flag_spec
='-L$libdir'
10179 hardcode_minus_L
=yes
10185 export_dynamic_flag_spec
=-rdynamic
10188 cygwin
* | mingw
* | pw32
* | cegcc
*)
10189 # When not using gcc, we currently assume that we are using
10190 # Microsoft Visual C++.
10191 # hardcode_libdir_flag_spec is actually meaningless, as there is
10192 # no search path for DLLs.
10193 hardcode_libdir_flag_spec
=' '
10194 allow_undefined_flag
=unsupported
10195 # Tell ltmain to make .lib files, not .a files.
10197 # Tell ltmain to make .dll files, not .so files.
10199 # FIXME: Setting linknames here is a bad hack.
10200 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10201 # The linker will automatically build a .lib file if we build a DLL.
10202 old_archive_from_new_cmds
='true'
10203 # FIXME: Should let the user specify the lib program.
10204 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10205 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10206 enable_shared_with_static_runtimes
=yes
10209 darwin
* | rhapsody
*)
10212 archive_cmds_need_lc
=no
10214 hardcode_automatic
=yes
10215 hardcode_shlibpath_var
=unsupported
10216 if test "$lt_cv_ld_force_load" = "yes"; then
10217 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\"`'
10219 whole_archive_flag_spec
=''
10221 link_all_deplibs
=yes
10222 allow_undefined_flag
="$_lt_dar_allow_undefined"
10223 case $cc_basename in
10224 ifort
*) _lt_dar_can_shared
=yes ;;
10225 *) _lt_dar_can_shared
=$GCC ;;
10227 if test "$_lt_dar_can_shared" = "yes"; then
10228 output_verbose_link_cmd
=func_echo_all
10229 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10230 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10231 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}"
10232 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}"
10241 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10242 hardcode_libdir_flag_spec
='-L$libdir'
10243 hardcode_shlibpath_var
=no
10246 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10247 # support. Future versions do this automatically, but an explicit c++rt0.o
10248 # does not break anything, and helps significantly (at the cost of a little
10251 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10252 hardcode_libdir_flag_spec
='-R$libdir'
10253 hardcode_direct
=yes
10254 hardcode_shlibpath_var
=no
10257 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10259 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10260 hardcode_direct
=yes
10261 hardcode_minus_L
=yes
10262 hardcode_shlibpath_var
=no
10265 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10266 freebsd
* | dragonfly
*)
10267 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10268 hardcode_libdir_flag_spec
='-R$libdir'
10269 hardcode_direct
=yes
10270 hardcode_shlibpath_var
=no
10274 if test "$GCC" = yes; then
10275 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'
10277 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'
10279 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10280 hardcode_libdir_separator
=:
10281 hardcode_direct
=yes
10283 # hardcode_minus_L: Not really in the search PATH,
10284 # but as the default location of the library.
10285 hardcode_minus_L
=yes
10286 export_dynamic_flag_spec
='${wl}-E'
10290 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10291 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10293 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10295 if test "$with_gnu_ld" = no
; then
10296 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10297 hardcode_libdir_flag_spec_ld
='+b $libdir'
10298 hardcode_libdir_separator
=:
10299 hardcode_direct
=yes
10300 hardcode_direct_absolute
=yes
10301 export_dynamic_flag_spec
='${wl}-E'
10302 # hardcode_minus_L: Not really in the search PATH,
10303 # but as the default location of the library.
10304 hardcode_minus_L
=yes
10309 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10312 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10315 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10318 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10324 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10327 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10331 # Older versions of the 11.00 compiler do not understand -b yet
10332 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10334 $as_echo_n "checking if $CC understands -b... " >&6; }
10335 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10336 $as_echo_n "(cached) " >&6
10338 lt_cv_prog_compiler__b
=no
10339 save_LDFLAGS
="$LDFLAGS"
10340 LDFLAGS
="$LDFLAGS -b"
10341 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10342 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10343 # The linker can only warn and ignore the option if not recognized
10344 # So say no if there are warnings
10345 if test -s conftest.err
; then
10346 # Append any errors to the config.log.
10347 cat conftest.err
1>&5
10348 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10349 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10350 if diff conftest.exp conftest.er2
>/dev
/null
; then
10351 lt_cv_prog_compiler__b
=yes
10354 lt_cv_prog_compiler__b
=yes
10358 LDFLAGS
="$save_LDFLAGS"
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10362 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10364 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10365 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10367 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10373 if test "$with_gnu_ld" = no
; then
10374 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10375 hardcode_libdir_separator
=:
10380 hardcode_shlibpath_var
=no
10383 hardcode_direct
=yes
10384 hardcode_direct_absolute
=yes
10385 export_dynamic_flag_spec
='${wl}-E'
10387 # hardcode_minus_L: Not really in the search PATH,
10388 # but as the default location of the library.
10389 hardcode_minus_L
=yes
10395 irix5
* | irix6
* | nonstopux
*)
10396 if test "$GCC" = yes; then
10397 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'
10398 # Try to use the -exported_symbol ld option, if it does not
10399 # work, assume that -exports_file does not work either and
10400 # implicitly export all symbols.
10401 save_LDFLAGS
="$LDFLAGS"
10402 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10407 if ac_fn_c_try_link
"$LINENO"; then :
10408 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'
10411 rm -f core conftest.err conftest.
$ac_objext \
10412 conftest
$ac_exeext conftest.
$ac_ext
10413 LDFLAGS
="$save_LDFLAGS"
10415 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'
10416 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'
10418 archive_cmds_need_lc
='no'
10419 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10420 hardcode_libdir_separator
=:
10422 link_all_deplibs
=yes
10426 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10427 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10429 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10431 hardcode_libdir_flag_spec
='-R$libdir'
10432 hardcode_direct
=yes
10433 hardcode_shlibpath_var
=no
10437 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10438 hardcode_direct
=yes
10439 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10440 hardcode_libdir_separator
=:
10441 hardcode_shlibpath_var
=no
10448 if test -f /usr
/libexec
/ld.so
; then
10449 hardcode_direct
=yes
10450 hardcode_shlibpath_var
=no
10451 hardcode_direct_absolute
=yes
10452 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10453 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10454 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10455 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10456 export_dynamic_flag_spec
='${wl}-E'
10459 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10460 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10461 hardcode_libdir_flag_spec
='-R$libdir'
10464 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10465 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10475 hardcode_libdir_flag_spec
='-L$libdir'
10476 hardcode_minus_L
=yes
10477 allow_undefined_flag
=unsupported
10478 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'
10479 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10483 if test "$GCC" = yes; then
10484 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10485 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'
10487 allow_undefined_flag
=' -expect_unresolved \*'
10488 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'
10490 archive_cmds_need_lc
='no'
10491 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10492 hardcode_libdir_separator
=:
10495 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10496 if test "$GCC" = yes; then
10497 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10498 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'
10499 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10501 allow_undefined_flag
=' -expect_unresolved \*'
10502 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'
10503 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~
10504 $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'
10506 # Both c and cxx compiler support -rpath directly
10507 hardcode_libdir_flag_spec
='-rpath $libdir'
10509 archive_cmds_need_lc
='no'
10510 hardcode_libdir_separator
=:
10514 no_undefined_flag
=' -z defs'
10515 if test "$GCC" = yes; then
10517 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10518 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10519 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10521 case `$CC -V 2>&1` in
10524 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10525 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10526 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10530 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10531 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10532 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10536 hardcode_libdir_flag_spec
='-R$libdir'
10537 hardcode_shlibpath_var
=no
10539 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10541 # The compiler driver will combine and reorder linker options,
10542 # but understands `-z linker_flag'. GCC discards it without `$wl',
10543 # but is careful enough not to reorder.
10544 # Supported since Solaris 2.6 (maybe 2.5.1?)
10545 if test "$GCC" = yes; then
10546 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10548 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10552 link_all_deplibs
=yes
10556 if test "x$host_vendor" = xsequent
; then
10557 # Use $CC to link under sequent, because it throws in some extra .o
10558 # files that make .init and .fini sections work.
10559 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10561 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10563 hardcode_libdir_flag_spec
='-L$libdir'
10564 hardcode_direct
=yes
10565 hardcode_minus_L
=yes
10566 hardcode_shlibpath_var
=no
10570 case $host_vendor in
10572 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10573 hardcode_direct
=yes # is this really true???
10576 ## LD is ld it makes a PLAMLIB
10577 ## CC just makes a GrossModule.
10578 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10579 reload_cmds
='$CC -r -o $output$reload_objs'
10583 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10584 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10587 runpath_var
='LD_RUN_PATH'
10588 hardcode_shlibpath_var
=no
10592 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10593 hardcode_shlibpath_var
=no
10594 export_dynamic_flag_spec
='-Bexport'
10598 if test -d /usr
/nec
; then
10599 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10600 hardcode_shlibpath_var
=no
10601 runpath_var
=LD_RUN_PATH
10602 hardcode_runpath_var
=yes
10607 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10608 no_undefined_flag
='${wl}-z,text'
10609 archive_cmds_need_lc
=no
10610 hardcode_shlibpath_var
=no
10611 runpath_var
='LD_RUN_PATH'
10613 if test "$GCC" = yes; then
10614 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10615 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10617 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10618 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10622 sysv5
* | sco3.2v5
* | sco5v6
*)
10623 # Note: We can NOT use -z defs as we might desire, because we do not
10624 # link with -lc, and that would cause any symbols used from libc to
10625 # always be unresolved, which means just about no library would
10626 # ever link correctly. If we're not using GNU ld we use -z text
10627 # though, which does catch some bad symbols but isn't as heavy-handed
10629 no_undefined_flag
='${wl}-z,text'
10630 allow_undefined_flag
='${wl}-z,nodefs'
10631 archive_cmds_need_lc
=no
10632 hardcode_shlibpath_var
=no
10633 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10634 hardcode_libdir_separator
=':'
10635 link_all_deplibs
=yes
10636 export_dynamic_flag_spec
='${wl}-Bexport'
10637 runpath_var
='LD_RUN_PATH'
10639 if test "$GCC" = yes; then
10640 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10641 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10644 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10649 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10650 hardcode_libdir_flag_spec
='-L$libdir'
10651 hardcode_shlibpath_var
=no
10659 if test x
$host_vendor = xsni
; then
10661 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10662 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10669 $as_echo "$ld_shlibs" >&6; }
10670 test "$ld_shlibs" = no
&& can_build_shared
=no
10672 with_gnu_ld
=$with_gnu_ld
10689 # Do we need to explicitly link libc?
10691 case "x$archive_cmds_need_lc" in
10693 # Assume -lc should be added
10694 archive_cmds_need_lc
=yes
10696 if test "$enable_shared" = yes && test "$GCC" = yes; then
10697 case $archive_cmds in
10699 # FIXME: we may have to deal with multi-command sequences.
10702 # Test whether the compiler implicitly links with -lc since on some
10703 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10704 # to ld, don't add -lc before -lgcc.
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10706 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10707 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10708 $as_echo_n "(cached) " >&6
10711 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10714 (eval $ac_compile) 2>&5
10716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10717 test $ac_status = 0; } 2>conftest.err
; then
10720 libobjs
=conftest.
$ac_objext
10722 wl
=$lt_prog_compiler_wl
10723 pic_flag
=$lt_prog_compiler_pic
10729 lt_save_allow_undefined_flag
=$allow_undefined_flag
10730 allow_undefined_flag
=
10731 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10732 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10735 test $ac_status = 0; }
10737 lt_cv_archive_cmds_need_lc
=no
10739 lt_cv_archive_cmds_need_lc
=yes
10741 allow_undefined_flag
=$lt_save_allow_undefined_flag
10743 cat conftest.err
1>&5
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10749 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10750 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10914 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10916 if test "$GCC" = yes; then
10918 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10919 *) lt_awk_arg
="/^libraries:/" ;;
10922 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10923 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10925 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10926 case $lt_search_path_spec in
10928 # if the path contains ";" then we assume it to be the separator
10929 # otherwise default to the standard path separator (i.e. ":") - it is
10930 # assumed that no part of a normal pathname contains ";" but that should
10931 # okay in the real world where ";" in dirpaths is itself problematic.
10932 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10935 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10938 # Ok, now we have the path, separated by spaces, we can step through it
10939 # and add multilib dir if necessary.
10940 lt_tmp_lt_search_path_spec
=
10941 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10942 for lt_sys_path
in $lt_search_path_spec; do
10943 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10944 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10946 test -d "$lt_sys_path" && \
10947 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10950 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10951 BEGIN {RS=" "; FS="/|\n";} {
10954 for (lt_i = NF; lt_i > 0; lt_i--) {
10955 if ($lt_i != "" && $lt_i != ".") {
10956 if ($lt_i == "..") {
10959 if (lt_count == 0) {
10960 lt_foo="/" $lt_i lt_foo;
10967 if (lt_foo != "") { lt_freq[lt_foo]++; }
10968 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10970 # AWK program above erroneously prepends '/' to C:/dos/paths
10973 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10974 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10976 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10978 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10980 library_names_spec
=
10981 libname_spec
='lib$name'
10985 postuninstall_cmds
=
10989 shlibpath_overrides_runpath
=unknown
10991 dynamic_linker
="$host_os ld.so"
10992 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10993 need_lib_prefix
=unknown
10994 hardcode_into_libs
=no
10996 # when you set need_version to no, make sure it does not cause -set_version
10997 # flags to be left without arguments
10998 need_version
=unknown
11003 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11004 shlibpath_var
=LIBPATH
11006 # AIX 3 has no versioning support, so we append a major version to the name.
11007 soname_spec
='${libname}${release}${shared_ext}$major'
11014 hardcode_into_libs
=yes
11015 if test "$host_cpu" = ia64
; then
11016 # AIX 5 supports IA64
11017 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11018 shlibpath_var
=LD_LIBRARY_PATH
11020 # With GCC up to 2.95.x, collect2 would create an import file
11021 # for dependence libraries. The import file would start with
11022 # the line `#! .'. This would cause the generated library to
11023 # depend on `.', always an invalid library. This was fixed in
11024 # development snapshots of GCC prior to 3.0.
11026 aix4 | aix4.
[01] | aix4.
[01].
*)
11027 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11029 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11032 can_build_shared
=no
11036 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11037 # soname into executable. Probably we can add versioning support to
11038 # collect2, so additional links can be useful in future.
11039 if test "$aix_use_runtimelinking" = yes; then
11040 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11041 # instead of lib<name>.a to let people know that these are not
11042 # typical AIX shared libraries.
11043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11045 # We preserve .a as extension for shared libraries through AIX4.2
11046 # and later when we are not doing run time linking.
11047 library_names_spec
='${libname}${release}.a $libname.a'
11048 soname_spec
='${libname}${release}${shared_ext}$major'
11050 shlibpath_var
=LIBPATH
11057 # Since July 2007 AmigaOS4 officially supports .so libraries.
11058 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 library_names_spec
='$libname.ixlibrary $libname.a'
11063 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11064 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'
11070 library_names_spec
='${libname}${shared_ext}'
11071 dynamic_linker
="$host_os ld.so"
11072 shlibpath_var
=LIBRARY_PATH
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11079 soname_spec
='${libname}${release}${shared_ext}$major'
11080 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11081 shlibpath_var
=LD_LIBRARY_PATH
11082 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11083 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11084 # the default ld.so.conf also contains /usr/contrib/lib and
11085 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11086 # libtool to hard-code these into programs
11089 cygwin
* | mingw
* | pw32
* | cegcc
*)
11090 version_type
=windows
11095 case $GCC,$host_os in
11096 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11097 library_names_spec
='$libname.dll.a'
11098 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11099 postinstall_cmds
='base_file=`basename \${file}`~
11100 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11101 dldir=$destdir/`dirname \$dlpath`~
11102 test -d \$dldir || mkdir -p \$dldir~
11103 $install_prog $dir/$dlname \$dldir/$dlname~
11104 chmod a+x \$dldir/$dlname~
11105 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11106 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11108 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11109 dlpath=$dir/\$dldll~
11111 shlibpath_overrides_runpath
=yes
11115 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11116 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11118 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11121 # MinGW DLLs use traditional 'lib' prefix
11122 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11125 # pw32 DLLs use 'pw' prefix rather than 'lib'
11126 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11132 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11135 dynamic_linker
='Win32 ld.exe'
11136 # FIXME: first we should search . and the directory the executable is in
11140 darwin
* | rhapsody
*)
11141 dynamic_linker
="$host_os dyld"
11142 version_type
=darwin
11145 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11146 soname_spec
='${libname}${release}${major}$shared_ext'
11147 shlibpath_overrides_runpath
=yes
11148 shlibpath_var
=DYLD_LIBRARY_PATH
11149 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11151 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11152 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11160 soname_spec
='${libname}${release}${shared_ext}$major'
11161 shlibpath_var
=LD_LIBRARY_PATH
11164 freebsd
* | dragonfly
*)
11165 # DragonFly does not have aout. When/if they implement a new
11166 # versioning mechanism, adjust this.
11167 if test -x /usr
/bin
/objformat
; then
11168 objformat
=`/usr/bin/objformat`
11171 freebsd
[23].
*) objformat
=aout
;;
11172 *) objformat
=elf
;;
11175 version_type
=freebsd-
$objformat
11176 case $version_type in
11178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11183 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11187 shlibpath_var
=LD_LIBRARY_PATH
11190 shlibpath_overrides_runpath
=yes
11192 freebsd3.
[01]* | freebsdelf3.
[01]*)
11193 shlibpath_overrides_runpath
=yes
11194 hardcode_into_libs
=yes
11196 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11197 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11198 shlibpath_overrides_runpath
=no
11199 hardcode_into_libs
=yes
11201 *) # from 4.6 on, and DragonFly
11202 shlibpath_overrides_runpath
=yes
11203 hardcode_into_libs
=yes
11212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11213 soname_spec
='${libname}${release}${shared_ext}$major'
11214 shlibpath_var
=LD_LIBRARY_PATH
11215 hardcode_into_libs
=yes
11222 dynamic_linker
="$host_os runtime_loader"
11223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11224 soname_spec
='${libname}${release}${shared_ext}$major'
11225 shlibpath_var
=LIBRARY_PATH
11226 shlibpath_overrides_runpath
=yes
11227 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11228 hardcode_into_libs
=yes
11231 hpux9
* | hpux10
* | hpux11
*)
11232 # Give a soname corresponding to the major version so that dld.sl refuses to
11233 # link against other versions.
11240 hardcode_into_libs
=yes
11241 dynamic_linker
="$host_os dld.so"
11242 shlibpath_var
=LD_LIBRARY_PATH
11243 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11245 soname_spec
='${libname}${release}${shared_ext}$major'
11246 if test "X$HPUX_IA64_MODE" = X32
; then
11247 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11249 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11251 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11255 hardcode_into_libs
=yes
11256 dynamic_linker
="$host_os dld.sl"
11257 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11258 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11260 soname_spec
='${libname}${release}${shared_ext}$major'
11261 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11262 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11266 dynamic_linker
="$host_os dld.sl"
11267 shlibpath_var
=SHLIB_PATH
11268 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11270 soname_spec
='${libname}${release}${shared_ext}$major'
11273 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11274 postinstall_cmds
='chmod 555 $lib'
11275 # or fails outright, so override atomically:
11276 install_override_mode
=555
11283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11284 soname_spec
='${libname}${release}${shared_ext}$major'
11285 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11286 shlibpath_var
=LD_LIBRARY_PATH
11287 shlibpath_overrides_runpath
=no
11288 hardcode_into_libs
=yes
11291 irix5
* | irix6
* | nonstopux
*)
11293 nonstopux
*) version_type
=nonstopux
;;
11295 if test "$lt_cv_prog_gnu_ld" = yes; then
11303 soname_spec
='${libname}${release}${shared_ext}$major'
11304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11306 irix5
* | nonstopux
*)
11307 libsuff
= shlibsuff
=
11310 case $LD in # libtool.m4 will add one of these switches to LD
11311 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11312 libsuff
= shlibsuff
= libmagic
=32-bit;;
11313 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11314 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11315 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11316 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11317 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11321 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11322 shlibpath_overrides_runpath
=no
11323 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11324 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11325 hardcode_into_libs
=yes
11328 # No shared lib support for Linux oldld, aout, or coff.
11329 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11333 # This must be Linux ELF.
11334 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11339 soname_spec
='${libname}${release}${shared_ext}$major'
11340 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11341 shlibpath_var
=LD_LIBRARY_PATH
11342 shlibpath_overrides_runpath
=no
11344 # Some binutils ld are patched to set DT_RUNPATH
11345 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11348 lt_cv_shlibpath_overrides_runpath
=no
11349 save_LDFLAGS
=$LDFLAGS
11350 save_libdir
=$libdir
11351 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11352 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11364 if ac_fn_c_try_link
"$LINENO"; then :
11365 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11366 lt_cv_shlibpath_overrides_runpath
=yes
11369 rm -f core conftest.err conftest.
$ac_objext \
11370 conftest
$ac_exeext conftest.
$ac_ext
11371 LDFLAGS
=$save_LDFLAGS
11372 libdir
=$save_libdir
11376 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11378 # This implies no fast_install, which is unacceptable.
11379 # Some rework will be needed to allow for fast_install
11380 # before this can be enabled.
11381 hardcode_into_libs
=yes
11383 # Append ld.so.conf contents to the search path
11384 if test -f /etc
/ld.so.conf
; then
11385 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' ' '`
11386 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11389 # We used to test for /lib/ld.so.1 and disable shared libraries on
11390 # powerpc, because MkLinux only supported shared libraries with the
11391 # GNU dynamic linker. Since this was broken with cross compilers,
11392 # most powerpc-linux boxes support dynamic linking these days and
11393 # people can always --disable-shared, the test was removed, and we
11394 # assume the GNU/Linux dynamic linker is in use.
11395 dynamic_linker
='GNU/Linux ld.so'
11402 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11404 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11405 dynamic_linker
='NetBSD (a.out) ld.so'
11407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11408 soname_spec
='${libname}${release}${shared_ext}$major'
11409 dynamic_linker
='NetBSD ld.elf_so'
11411 shlibpath_var
=LD_LIBRARY_PATH
11412 shlibpath_overrides_runpath
=yes
11413 hardcode_into_libs
=yes
11418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11419 shlibpath_var
=LD_LIBRARY_PATH
11420 shlibpath_overrides_runpath
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
11430 shlibpath_overrides_runpath
=no
11431 hardcode_into_libs
=yes
11432 dynamic_linker
='ldqnx.so'
11437 sys_lib_dlsearch_path_spec
="/usr/lib"
11439 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11441 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11442 *) need_version
=no
;;
11444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11445 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11446 shlibpath_var
=LD_LIBRARY_PATH
11447 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11449 openbsd2.
[89] | openbsd2.
[89].
*)
11450 shlibpath_overrides_runpath
=no
11453 shlibpath_overrides_runpath
=yes
11457 shlibpath_overrides_runpath
=yes
11462 libname_spec
='$name'
11465 library_names_spec
='$libname${shared_ext} $libname.a'
11466 dynamic_linker
='OS/2 ld.exe'
11467 shlibpath_var
=LIBPATH
11470 osf3
* | osf4
* | osf5
*)
11474 soname_spec
='${libname}${release}${shared_ext}$major'
11475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11476 shlibpath_var
=LD_LIBRARY_PATH
11477 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11478 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11490 soname_spec
='${libname}${release}${shared_ext}$major'
11491 shlibpath_var
=LD_LIBRARY_PATH
11492 shlibpath_overrides_runpath
=yes
11493 hardcode_into_libs
=yes
11494 # ldd complains unless libraries are executable
11495 postinstall_cmds
='chmod +x $lib'
11500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11501 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11502 shlibpath_var
=LD_LIBRARY_PATH
11503 shlibpath_overrides_runpath
=yes
11504 if test "$with_gnu_ld" = yes; then
11512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11513 soname_spec
='${libname}${release}${shared_ext}$major'
11514 shlibpath_var
=LD_LIBRARY_PATH
11515 case $host_vendor in
11517 shlibpath_overrides_runpath
=no
11519 runpath_var
=LD_RUN_PATH
11527 shlibpath_overrides_runpath
=no
11528 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11534 if test -d /usr
/nec
;then
11536 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11537 soname_spec
='$libname${shared_ext}.$major'
11538 shlibpath_var
=LD_LIBRARY_PATH
11542 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11543 version_type
=freebsd-elf
11546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11547 soname_spec
='${libname}${release}${shared_ext}$major'
11548 shlibpath_var
=LD_LIBRARY_PATH
11549 shlibpath_overrides_runpath
=yes
11550 hardcode_into_libs
=yes
11551 if test "$with_gnu_ld" = yes; then
11552 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11554 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11557 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11561 sys_lib_dlsearch_path_spec
='/usr/lib'
11565 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11570 shlibpath_var
=LD_LIBRARY_PATH
11571 shlibpath_overrides_runpath
=no
11572 hardcode_into_libs
=yes
11577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11578 soname_spec
='${libname}${release}${shared_ext}$major'
11579 shlibpath_var
=LD_LIBRARY_PATH
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11587 $as_echo "$dynamic_linker" >&6; }
11588 test "$dynamic_linker" = no
&& can_build_shared
=no
11590 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11591 if test "$GCC" = yes; then
11592 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11595 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11596 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11598 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11599 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11694 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11696 if test -n "$hardcode_libdir_flag_spec" ||
11697 test -n "$runpath_var" ||
11698 test "X$hardcode_automatic" = "Xyes" ; then
11700 # We can hardcode non-existent directories.
11701 if test "$hardcode_direct" != no
&&
11702 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11703 # have to relink, otherwise we might link with an installed library
11704 # when we should be linking with a yet-to-be-installed one
11705 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11706 test "$hardcode_minus_L" != no
; then
11707 # Linking always hardcodes the temporary library directory.
11708 hardcode_action
=relink
11710 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11711 hardcode_action
=immediate
11714 # We cannot hardcode anything, or else we can only hardcode existing
11716 hardcode_action
=unsupported
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11719 $as_echo "$hardcode_action" >&6; }
11721 if test "$hardcode_action" = relink ||
11722 test "$inherit_rpath" = yes; then
11723 # Fast installation is not supported
11724 enable_fast_install
=no
11725 elif test "$shlibpath_overrides_runpath" = yes ||
11726 test "$enable_shared" = no
; then
11727 # Fast installation is not necessary
11728 enable_fast_install
=needless
11736 if test "x$enable_dlopen" != xyes
; then
11737 enable_dlopen
=unknown
11738 enable_dlopen_self
=unknown
11739 enable_dlopen_self_static
=unknown
11746 lt_cv_dlopen
="load_add_on"
11748 lt_cv_dlopen_self
=yes
11751 mingw
* | pw32
* | cegcc
*)
11752 lt_cv_dlopen
="LoadLibrary"
11757 lt_cv_dlopen
="dlopen"
11762 # if libdl is installed we need to link against it
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11764 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11765 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11766 $as_echo_n "(cached) " >&6
11768 ac_check_lib_save_LIBS
=$LIBS
11770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11773 /* Override any GCC internal prototype to avoid an error.
11774 Use char because int might match the return type of a GCC
11775 builtin and then its argument prototype would still apply. */
11788 if ac_fn_c_try_link
"$LINENO"; then :
11789 ac_cv_lib_dl_dlopen
=yes
11791 ac_cv_lib_dl_dlopen
=no
11793 rm -f core conftest.err conftest.
$ac_objext \
11794 conftest
$ac_exeext conftest.
$ac_ext
11795 LIBS
=$ac_check_lib_save_LIBS
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11798 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11799 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11800 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11803 lt_cv_dlopen
="dyld"
11805 lt_cv_dlopen_self
=yes
11812 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11813 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11814 lt_cv_dlopen
="shl_load"
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11817 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11818 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11819 $as_echo_n "(cached) " >&6
11821 ac_check_lib_save_LIBS
=$LIBS
11823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11826 /* Override any GCC internal prototype to avoid an error.
11827 Use char because int might match the return type of a GCC
11828 builtin and then its argument prototype would still apply. */
11836 return shl_load ();
11841 if ac_fn_c_try_link
"$LINENO"; then :
11842 ac_cv_lib_dld_shl_load
=yes
11844 ac_cv_lib_dld_shl_load
=no
11846 rm -f core conftest.err conftest.
$ac_objext \
11847 conftest
$ac_exeext conftest.
$ac_ext
11848 LIBS
=$ac_check_lib_save_LIBS
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11851 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11852 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11853 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11855 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11856 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11857 lt_cv_dlopen
="dlopen"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11860 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11861 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11862 $as_echo_n "(cached) " >&6
11864 ac_check_lib_save_LIBS
=$LIBS
11866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11869 /* Override any GCC internal prototype to avoid an error.
11870 Use char because int might match the return type of a GCC
11871 builtin and then its argument prototype would still apply. */
11884 if ac_fn_c_try_link
"$LINENO"; then :
11885 ac_cv_lib_dl_dlopen
=yes
11887 ac_cv_lib_dl_dlopen
=no
11889 rm -f core conftest.err conftest.
$ac_objext \
11890 conftest
$ac_exeext conftest.
$ac_ext
11891 LIBS
=$ac_check_lib_save_LIBS
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11894 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11895 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11896 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11899 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11900 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11901 $as_echo_n "(cached) " >&6
11903 ac_check_lib_save_LIBS
=$LIBS
11904 LIBS
="-lsvld $LIBS"
11905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11906 /* end confdefs.h. */
11908 /* Override any GCC internal prototype to avoid an error.
11909 Use char because int might match the return type of a GCC
11910 builtin and then its argument prototype would still apply. */
11923 if ac_fn_c_try_link
"$LINENO"; then :
11924 ac_cv_lib_svld_dlopen
=yes
11926 ac_cv_lib_svld_dlopen
=no
11928 rm -f core conftest.err conftest.
$ac_objext \
11929 conftest
$ac_exeext conftest.
$ac_ext
11930 LIBS
=$ac_check_lib_save_LIBS
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11933 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11934 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11935 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11938 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11939 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11940 $as_echo_n "(cached) " >&6
11942 ac_check_lib_save_LIBS
=$LIBS
11944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11957 return dld_link ();
11962 if ac_fn_c_try_link
"$LINENO"; then :
11963 ac_cv_lib_dld_dld_link
=yes
11965 ac_cv_lib_dld_dld_link
=no
11967 rm -f core conftest.err conftest.
$ac_objext \
11968 conftest
$ac_exeext conftest.
$ac_ext
11969 LIBS
=$ac_check_lib_save_LIBS
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11972 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11973 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11974 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11995 if test "x$lt_cv_dlopen" != xno
; then
12001 case $lt_cv_dlopen in
12003 save_CPPFLAGS
="$CPPFLAGS"
12004 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12006 save_LDFLAGS
="$LDFLAGS"
12007 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12010 LIBS
="$lt_cv_dlopen_libs $LIBS"
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12013 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12014 if test "${lt_cv_dlopen_self+set}" = set; then :
12015 $as_echo_n "(cached) " >&6
12017 if test "$cross_compiling" = yes; then :
12018 lt_cv_dlopen_self
=cross
12020 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12021 lt_status
=$lt_dlunknown
12022 cat > conftest.
$ac_ext <<_LT_EOF
12023 #line 12023 "configure"
12024 #include "confdefs.h"
12033 # define LT_DLGLOBAL RTLD_GLOBAL
12036 # define LT_DLGLOBAL DL_GLOBAL
12038 # define LT_DLGLOBAL 0
12042 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12043 find out it does not work in some platform. */
12044 #ifndef LT_DLLAZY_OR_NOW
12046 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12049 # define LT_DLLAZY_OR_NOW DL_LAZY
12052 # define LT_DLLAZY_OR_NOW RTLD_NOW
12055 # define LT_DLLAZY_OR_NOW DL_NOW
12057 # define LT_DLLAZY_OR_NOW 0
12064 /* When -fvisbility=hidden is used, assume the code has been annotated
12065 correspondingly for the symbols needed. */
12066 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12067 void fnord () __attribute__((visibility("default")));
12070 void fnord () { int i=42; }
12073 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12074 int status = $lt_dlunknown;
12078 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12081 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12082 else puts (dlerror ());
12084 /* dlclose (self); */
12092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12093 (eval $ac_link) 2>&5
12095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12096 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12097 (.
/conftest
; exit; ) >&5 2>/dev
/null
12099 case x
$lt_status in
12100 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12101 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12102 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12105 # compilation failed
12106 lt_cv_dlopen_self
=no
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12114 $as_echo "$lt_cv_dlopen_self" >&6; }
12116 if test "x$lt_cv_dlopen_self" = xyes
; then
12117 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12119 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12120 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12121 $as_echo_n "(cached) " >&6
12123 if test "$cross_compiling" = yes; then :
12124 lt_cv_dlopen_self_static
=cross
12126 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12127 lt_status
=$lt_dlunknown
12128 cat > conftest.
$ac_ext <<_LT_EOF
12129 #line 12129 "configure"
12130 #include "confdefs.h"
12139 # define LT_DLGLOBAL RTLD_GLOBAL
12142 # define LT_DLGLOBAL DL_GLOBAL
12144 # define LT_DLGLOBAL 0
12148 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12149 find out it does not work in some platform. */
12150 #ifndef LT_DLLAZY_OR_NOW
12152 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12155 # define LT_DLLAZY_OR_NOW DL_LAZY
12158 # define LT_DLLAZY_OR_NOW RTLD_NOW
12161 # define LT_DLLAZY_OR_NOW DL_NOW
12163 # define LT_DLLAZY_OR_NOW 0
12170 /* When -fvisbility=hidden is used, assume the code has been annotated
12171 correspondingly for the symbols needed. */
12172 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12173 void fnord () __attribute__((visibility("default")));
12176 void fnord () { int i=42; }
12179 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12180 int status = $lt_dlunknown;
12184 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12187 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12188 else puts (dlerror ());
12190 /* dlclose (self); */
12198 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12199 (eval $ac_link) 2>&5
12201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12202 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12203 (.
/conftest
; exit; ) >&5 2>/dev
/null
12205 case x
$lt_status in
12206 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12207 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12208 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12211 # compilation failed
12212 lt_cv_dlopen_self_static
=no
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12220 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12223 CPPFLAGS
="$save_CPPFLAGS"
12224 LDFLAGS
="$save_LDFLAGS"
12229 case $lt_cv_dlopen_self in
12230 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12231 *) enable_dlopen_self
=unknown
;;
12234 case $lt_cv_dlopen_self_static in
12235 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12236 *) enable_dlopen_self_static
=unknown
;;
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12259 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12260 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12261 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12262 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12264 $as_echo "yes" >&6; }
12266 # FIXME - insert some real tests, host_os isn't really good enough
12269 if test -n "$STRIP" ; then
12270 striplib
="$STRIP -x"
12271 old_striplib
="$STRIP -S"
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12273 $as_echo "yes" >&6; }
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12276 $as_echo "no" >&6; }
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12281 $as_echo "no" >&6; }
12297 # Report which library types will actually be built
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12299 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12301 $as_echo "$can_build_shared" >&6; }
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12304 $as_echo_n "checking whether to build shared libraries... " >&6; }
12305 test "$can_build_shared" = "no" && enable_shared
=no
12307 # On AIX, shared libraries and static libraries use the same namespace, and
12308 # are all built from PIC.
12311 test "$enable_shared" = yes && enable_static
=no
12312 if test -n "$RANLIB"; then
12313 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12314 postinstall_cmds
='$RANLIB $lib'
12319 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12320 test "$enable_shared" = yes && enable_static
=no
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12325 $as_echo "$enable_shared" >&6; }
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12328 $as_echo_n "checking whether to build static libraries... " >&6; }
12329 # Make sure either enable_shared or enable_static is yes.
12330 test "$enable_shared" = yes || enable_static
=yes
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12332 $as_echo "$enable_static" >&6; }
12339 ac_cpp
='$CPP $CPPFLAGS'
12340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12346 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12347 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12348 (test "X$CXX" != "Xg++"))) ; then
12350 ac_cpp
='$CXXCPP $CPPFLAGS'
12351 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12352 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12353 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12355 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12356 if test -z "$CXXCPP"; then
12357 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12358 $as_echo_n "(cached) " >&6
12360 # Double quotes because CXXCPP needs to be expanded
12361 for CXXCPP
in "$CXX -E" "/lib/cpp"
12363 ac_preproc_ok
=false
12364 for ac_cxx_preproc_warn_flag
in '' yes
12366 # Use a header file that comes with gcc, so configuring glibc
12367 # with a fresh cross-compiler works.
12368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12369 # <limits.h> exists even on freestanding compilers.
12370 # On the NeXT, cc -E runs the code through the compiler's parser,
12371 # not just through cpp. "Syntax error" is here to catch this case.
12372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12375 # include <limits.h>
12377 # include <assert.h>
12381 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12384 # Broken: fails on valid input.
12387 rm -f conftest.err conftest.
$ac_ext
12389 # OK, works on sane cases. Now check whether nonexistent headers
12390 # can be detected and how.
12391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12393 #include <ac_nonexistent.h>
12395 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12396 # Broken: success on invalid input.
12399 # Passes both tests.
12403 rm -f conftest.err conftest.
$ac_ext
12406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12407 rm -f conftest.err conftest.
$ac_ext
12408 if $ac_preproc_ok; then :
12413 ac_cv_prog_CXXCPP
=$CXXCPP
12416 CXXCPP
=$ac_cv_prog_CXXCPP
12418 ac_cv_prog_CXXCPP
=$CXXCPP
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12421 $as_echo "$CXXCPP" >&6; }
12422 ac_preproc_ok
=false
12423 for ac_cxx_preproc_warn_flag
in '' yes
12425 # Use a header file that comes with gcc, so configuring glibc
12426 # with a fresh cross-compiler works.
12427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12428 # <limits.h> exists even on freestanding compilers.
12429 # On the NeXT, cc -E runs the code through the compiler's parser,
12430 # not just through cpp. "Syntax error" is here to catch this case.
12431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 # include <limits.h>
12436 # include <assert.h>
12440 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12443 # Broken: fails on valid input.
12446 rm -f conftest.err conftest.
$ac_ext
12448 # OK, works on sane cases. Now check whether nonexistent headers
12449 # can be detected and how.
12450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12452 #include <ac_nonexistent.h>
12454 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12455 # Broken: success on invalid input.
12458 # Passes both tests.
12462 rm -f conftest.err conftest.
$ac_ext
12465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12466 rm -f conftest.err conftest.
$ac_ext
12467 if $ac_preproc_ok; then :
12470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12472 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12473 See \`config.log' for more details." "$LINENO" 5; }
12477 ac_cpp
='$CPP $CPPFLAGS'
12478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12483 _lt_caught_CXX_error
=yes
12487 ac_cpp
='$CXXCPP $CPPFLAGS'
12488 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12489 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12490 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12492 archive_cmds_need_lc_CXX
=no
12493 allow_undefined_flag_CXX
=
12494 always_export_symbols_CXX
=no
12495 archive_expsym_cmds_CXX
=
12496 compiler_needs_object_CXX
=no
12497 export_dynamic_flag_spec_CXX
=
12498 hardcode_direct_CXX
=no
12499 hardcode_direct_absolute_CXX
=no
12500 hardcode_libdir_flag_spec_CXX
=
12501 hardcode_libdir_flag_spec_ld_CXX
=
12502 hardcode_libdir_separator_CXX
=
12503 hardcode_minus_L_CXX
=no
12504 hardcode_shlibpath_var_CXX
=unsupported
12505 hardcode_automatic_CXX
=no
12506 inherit_rpath_CXX
=no
12508 module_expsym_cmds_CXX
=
12509 link_all_deplibs_CXX
=unknown
12510 old_archive_cmds_CXX
=$old_archive_cmds
12511 reload_flag_CXX
=$reload_flag
12512 reload_cmds_CXX
=$reload_cmds
12513 no_undefined_flag_CXX
=
12514 whole_archive_flag_spec_CXX
=
12515 enable_shared_with_static_runtimes_CXX
=no
12517 # Source file extension for C++ test sources.
12520 # Object file extension for compiled C++ test sources.
12524 # No sense in running all these tests if we already determined that
12525 # the CXX compiler isn't working. Some variables (like enable_shared)
12526 # are currently assumed to apply to all compilers on this platform,
12527 # and will be corrupted by setting them based on a non-working compiler.
12528 if test "$_lt_caught_CXX_error" != yes; then
12529 # Code to be used in simple compile tests
12530 lt_simple_compile_test_code
="int some_variable = 0;"
12532 # Code to be used in simple link tests
12533 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12535 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12542 # If no C compiler was specified, use CC.
12545 # If no C compiler flags were specified, use CFLAGS.
12546 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12548 # Allow CC to be a program name with arguments.
12552 # save warnings/boilerplate of simple test code
12553 ac_outfile
=conftest.
$ac_objext
12554 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12555 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12556 _lt_compiler_boilerplate
=`cat conftest.err`
12559 ac_outfile
=conftest.
$ac_objext
12560 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12561 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12562 _lt_linker_boilerplate
=`cat conftest.err`
12566 # Allow CC to be a program name with arguments.
12571 lt_save_with_gnu_ld
=$with_gnu_ld
12572 lt_save_path_LD
=$lt_cv_path_LD
12573 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12574 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12576 $as_unset lt_cv_prog_gnu_ld
12578 if test -n "${lt_cv_path_LDCXX+set}"; then
12579 lt_cv_path_LD
=$lt_cv_path_LDCXX
12581 $as_unset lt_cv_path_LD
12583 test -z "${LDCXX+set}" || LD
=$LDCXX
12587 for cc_temp
in $compiler""; do
12589 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12590 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12595 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12598 if test -n "$compiler"; then
12599 # We don't want -fno-exception when compiling C++ code, so set the
12600 # no_builtin_flag separately
12601 if test "$GXX" = yes; then
12602 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12604 lt_prog_compiler_no_builtin_flag_CXX
=
12607 if test "$GXX" = yes; then
12608 # Set up default GNU C++ configuration
12612 # Check whether --with-gnu-ld was given.
12613 if test "${with_gnu_ld+set}" = set; then :
12614 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12620 if test "$GCC" = yes; then
12621 # Check if gcc -print-prog-name=ld gives a path.
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12623 $as_echo_n "checking for ld used by $CC... " >&6; }
12626 # gcc leaves a trailing carriage return which upsets mingw
12627 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12629 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12632 # Accept absolute paths.
12634 re_direlt
='/[^/][^/]*/\.\./'
12635 # Canonicalize the pathname of ld
12636 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12637 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12638 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12640 test -z "$LD" && LD
="$ac_prog"
12643 # If it fails, then pretend we aren't using GCC.
12647 # If it is relative, then search for the first ld in PATH.
12648 with_gnu_ld
=unknown
12651 elif test "$with_gnu_ld" = yes; then
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12653 $as_echo_n "checking for GNU ld... " >&6; }
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12656 $as_echo_n "checking for non-GNU ld... " >&6; }
12658 if test "${lt_cv_path_LD+set}" = set; then :
12659 $as_echo_n "(cached) " >&6
12661 if test -z "$LD"; then
12662 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12663 for ac_dir
in $PATH; do
12665 test -z "$ac_dir" && ac_dir
=.
12666 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12667 lt_cv_path_LD
="$ac_dir/$ac_prog"
12668 # Check to see if the program is GNU ld. I'd rather use --version,
12669 # but apparently some variants of GNU ld only accept -v.
12670 # Break only if it was the GNU/non-GNU ld that we prefer.
12671 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12672 *GNU
* |
*'with BFD'*)
12673 test "$with_gnu_ld" != no
&& break
12676 test "$with_gnu_ld" != yes && break
12683 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12687 LD
="$lt_cv_path_LD"
12688 if test -n "$LD"; then
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12690 $as_echo "$LD" >&6; }
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12693 $as_echo "no" >&6; }
12695 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12697 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12698 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12699 $as_echo_n "(cached) " >&6
12701 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12702 case `$LD -v 2>&1 </dev/null` in
12703 *GNU
* |
*'with BFD'*)
12704 lt_cv_prog_gnu_ld
=yes
12707 lt_cv_prog_gnu_ld
=no
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12712 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12713 with_gnu_ld
=$lt_cv_prog_gnu_ld
12721 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12722 # archiving commands below assume that GNU ld is being used.
12723 if test "$with_gnu_ld" = yes; then
12724 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12725 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12727 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12728 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12730 # If archive_cmds runs LD, not CC, wlarc should be empty
12731 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12732 # investigate it a little bit more. (MM)
12735 # ancient GNU ld didn't support --whole-archive et. al.
12736 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12737 $GREP 'no-whole-archive' > /dev
/null
; then
12738 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12740 whole_archive_flag_spec_CXX
=
12746 # A generic and very simple default shared library creation
12747 # command for GNU C++ for the case where it uses the native
12748 # linker, instead of GNU ld. If possible, this setting should
12749 # overridden to take advantage of the native linker features on
12750 # the platform it is being used on.
12751 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12754 # Commands to make compiler produce verbose output that lists
12755 # what "hidden" libraries, object files and flags are used when
12756 # linking a shared library.
12757 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12765 # PORTME: fill in a description of your system's C++ link characteristics
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12767 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12771 # FIXME: insert proper C++ library support
12775 if test "$host_cpu" = ia64
; then
12776 # On IA64, the linker does run time linking by default, so we don't
12777 # have to do anything special.
12778 aix_use_runtimelinking
=no
12779 exp_sym_flag
='-Bexport'
12782 aix_use_runtimelinking
=no
12784 # Test if we are trying to use run time linking or normal
12785 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12786 # need to do runtime linking.
12787 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12788 for ld_flag
in $LDFLAGS; do
12791 aix_use_runtimelinking
=yes
12799 exp_sym_flag
='-bexport'
12800 no_entry_flag
='-bnoentry'
12803 # When large executables or shared objects are built, AIX ld can
12804 # have problems creating the table of contents. If linking a library
12805 # or program results in "error TOC overflow" add -mminimal-toc to
12806 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12807 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12809 archive_cmds_CXX
=''
12810 hardcode_direct_CXX
=yes
12811 hardcode_direct_absolute_CXX
=yes
12812 hardcode_libdir_separator_CXX
=':'
12813 link_all_deplibs_CXX
=yes
12814 file_list_spec_CXX
='${wl}-f,'
12816 if test "$GXX" = yes; then
12817 case $host_os in aix4.
[012]|aix4.
[012].
*)
12818 # We only want to do this on AIX 4.2 and lower, the check
12819 # below for broken collect2 doesn't work under 4.3+
12820 collect2name
=`${CC} -print-prog-name=collect2`
12821 if test -f "$collect2name" &&
12822 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12824 # We have reworked collect2
12827 # We have old collect2
12828 hardcode_direct_CXX
=unsupported
12829 # It fails to find uninstalled libraries when the uninstalled
12830 # path is not listed in the libpath. Setting hardcode_minus_L
12831 # to unsupported forces relinking
12832 hardcode_minus_L_CXX
=yes
12833 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12834 hardcode_libdir_separator_CXX
=
12837 shared_flag
='-shared'
12838 if test "$aix_use_runtimelinking" = yes; then
12839 shared_flag
="$shared_flag "'${wl}-G'
12843 if test "$host_cpu" = ia64
; then
12844 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12845 # chokes on -Wl,-G. The following line is correct:
12848 if test "$aix_use_runtimelinking" = yes; then
12849 shared_flag
='${wl}-G'
12851 shared_flag
='${wl}-bM:SRE'
12856 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12857 # It seems that -bexpall does not export symbols beginning with
12858 # underscore (_), so it is better to generate a list of symbols to
12860 always_export_symbols_CXX
=yes
12861 if test "$aix_use_runtimelinking" = yes; then
12862 # Warning - without using the other runtime loading flags (-brtl),
12863 # -berok will link without error, but may produce a broken library.
12864 allow_undefined_flag_CXX
='-berok'
12865 # Determine the default libpath from the value encoded in an empty
12867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12878 if ac_fn_cxx_try_link
"$LINENO"; then :
12880 lt_aix_libpath_sed
='
12881 /Import File Strings/,/^$/ {
12887 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12888 # Check for a 64-bit object if we didn't find anything.
12889 if test -z "$aix_libpath"; then
12890 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12893 rm -f core conftest.err conftest.
$ac_objext \
12894 conftest
$ac_exeext conftest.
$ac_ext
12895 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12897 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12899 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"
12901 if test "$host_cpu" = ia64
; then
12902 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12903 allow_undefined_flag_CXX
="-z nodefs"
12904 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"
12906 # Determine the default libpath from the value encoded in an
12907 # empty executable.
12908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12919 if ac_fn_cxx_try_link
"$LINENO"; then :
12921 lt_aix_libpath_sed
='
12922 /Import File Strings/,/^$/ {
12928 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12929 # Check for a 64-bit object if we didn't find anything.
12930 if test -z "$aix_libpath"; then
12931 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12934 rm -f core conftest.err conftest.
$ac_objext \
12935 conftest
$ac_exeext conftest.
$ac_ext
12936 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12938 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12939 # Warning - without using the other run time loading flags,
12940 # -berok will link without error, but may produce a broken library.
12941 no_undefined_flag_CXX
=' ${wl}-bernotok'
12942 allow_undefined_flag_CXX
=' ${wl}-berok'
12943 if test "$with_gnu_ld" = yes; then
12944 # We only use this code for GNU lds that support --whole-archive.
12945 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12947 # Exported symbols can be pulled into shared objects from archives
12948 whole_archive_flag_spec_CXX
='$convenience'
12950 archive_cmds_need_lc_CXX
=yes
12951 # This is similar to how AIX traditionally builds its shared
12953 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'
12959 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12960 allow_undefined_flag_CXX
=unsupported
12961 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12962 # support --undefined. This deserves some investigation. FIXME
12963 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12970 case $cc_basename in
12972 # FIXME: insert proper C++ library support
12978 cygwin
* | mingw
* | pw32
* | cegcc
*)
12979 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12980 # as there is no search path for DLLs.
12981 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12982 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12983 allow_undefined_flag_CXX
=unsupported
12984 always_export_symbols_CXX
=no
12985 enable_shared_with_static_runtimes_CXX
=yes
12987 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12988 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'
12989 # If the export-symbols file already is a .def file (1st line
12990 # is EXPORTS), use it as is; otherwise, prepend...
12991 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12992 cp $export_symbols $output_objdir/$soname.def;
12994 echo EXPORTS > $output_objdir/$soname.def;
12995 cat $export_symbols >> $output_objdir/$soname.def;
12997 $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'
13002 darwin
* | rhapsody
*)
13005 archive_cmds_need_lc_CXX
=no
13006 hardcode_direct_CXX
=no
13007 hardcode_automatic_CXX
=yes
13008 hardcode_shlibpath_var_CXX
=unsupported
13009 if test "$lt_cv_ld_force_load" = "yes"; then
13010 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\"`'
13012 whole_archive_flag_spec_CXX
=''
13014 link_all_deplibs_CXX
=yes
13015 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13016 case $cc_basename in
13017 ifort
*) _lt_dar_can_shared
=yes ;;
13018 *) _lt_dar_can_shared
=$GCC ;;
13020 if test "$_lt_dar_can_shared" = "yes"; then
13021 output_verbose_link_cmd
=func_echo_all
13022 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}"
13023 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13024 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}"
13025 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}"
13026 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13027 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}"
13028 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}"
13038 case $cc_basename in
13040 # FIXME: insert proper C++ library support
13044 # Green Hills C++ Compiler
13045 # FIXME: insert proper C++ library support
13049 # FIXME: insert proper C++ library support
13056 # C++ shared libraries reported to be fairly broken before
13062 archive_cmds_need_lc_CXX
=no
13065 freebsd
* | dragonfly
*)
13066 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13075 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13076 link_all_deplibs_CXX
=yes
13080 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13081 hardcode_libdir_separator_CXX
=:
13082 export_dynamic_flag_spec_CXX
='${wl}-E'
13083 hardcode_direct_CXX
=yes
13084 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13085 # but as the default
13086 # location of the library.
13088 case $cc_basename in
13090 # FIXME: insert proper C++ library support
13094 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'
13095 # Commands to make compiler produce verbose output that lists
13096 # what "hidden" libraries, object files and flags are used when
13097 # linking a shared library.
13099 # There doesn't appear to be a way to prevent this compiler from
13100 # explicitly linking system object files so we need to strip them
13101 # from the output so that they don't get included in the library
13103 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"'
13106 if test "$GXX" = yes; then
13107 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'
13109 # FIXME: insert proper C++ library support
13117 if test $with_gnu_ld = no
; then
13118 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13119 hardcode_libdir_separator_CXX
=:
13125 export_dynamic_flag_spec_CXX
='${wl}-E'
13131 hardcode_direct_CXX
=no
13132 hardcode_shlibpath_var_CXX
=no
13135 hardcode_direct_CXX
=yes
13136 hardcode_direct_absolute_CXX
=yes
13137 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13138 # but as the default
13139 # location of the library.
13143 case $cc_basename in
13145 # FIXME: insert proper C++ library support
13151 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13154 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13157 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13160 # Commands to make compiler produce verbose output that lists
13161 # what "hidden" libraries, object files and flags are used when
13162 # linking a shared library.
13164 # There doesn't appear to be a way to prevent this compiler from
13165 # explicitly linking system object files so we need to strip them
13166 # from the output so that they don't get included in the library
13168 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"'
13171 if test "$GXX" = yes; then
13172 if test $with_gnu_ld = no
; then
13175 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13178 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13181 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'
13186 # FIXME: insert proper C++ library support
13194 hardcode_direct_CXX
=no
13195 hardcode_shlibpath_var_CXX
=no
13196 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13197 export_dynamic_flag_spec_CXX
='${wl}-E'
13198 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13199 # Instead, shared libraries are loaded at an image base (0x10000000 by
13200 # default) and relocated if they conflict, which is a slow very memory
13201 # consuming and fragmenting process. To avoid this, we pick a random,
13202 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13203 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13204 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'
13205 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'
13208 case $cc_basename in
13211 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'
13213 # Archives containing C++ object files must be created using
13214 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13215 # necessary to make sure instantiated templates are included
13217 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13220 if test "$GXX" = yes; then
13221 if test "$with_gnu_ld" = no
; then
13222 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'
13224 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'
13227 link_all_deplibs_CXX
=yes
13230 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13231 hardcode_libdir_separator_CXX
=:
13232 inherit_rpath_CXX
=yes
13235 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13236 case $cc_basename in
13238 # Kuck and Associates, Inc. (KAI) C++ Compiler
13240 # KCC will only create a shared library if the output file
13241 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13242 # to its proper name (with version) after linking.
13243 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'
13244 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'
13245 # Commands to make compiler produce verbose output that lists
13246 # what "hidden" libraries, object files and flags are used when
13247 # linking a shared library.
13249 # There doesn't appear to be a way to prevent this compiler from
13250 # explicitly linking system object files so we need to strip them
13251 # from the output so that they don't get included in the library
13253 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"'
13255 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13256 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13258 # Archives containing C++ object files must be created using
13259 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13260 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13265 # version 8.0 and above of icpc choke on multiply defined symbols
13266 # if we add $predep_objects and $postdep_objects, however 7.1 and
13267 # earlier do not add the objects themselves.
13268 case `$CC -V 2>&1` in
13270 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13271 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'
13273 *) # Version 8.0 or newer
13276 ia64
*) tmp_idyn
=' -i_dynamic';;
13278 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13279 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'
13282 archive_cmds_need_lc_CXX
=no
13283 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13284 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13285 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13288 # Portland Group C++ compiler
13290 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13291 prelink_cmds_CXX
='tpldir=Template.dir~
13293 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13294 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13295 old_archive_cmds_CXX
='tpldir=Template.dir~
13297 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13298 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13300 archive_cmds_CXX
='tpldir=Template.dir~
13302 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13303 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13304 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13306 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13307 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13309 *) # Version 6 and above use weak symbols
13310 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13311 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'
13315 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13316 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13317 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'
13321 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13322 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'
13324 runpath_var
=LD_RUN_PATH
13325 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13326 hardcode_libdir_separator_CXX
=:
13328 # Commands to make compiler produce verbose output that lists
13329 # what "hidden" libraries, object files and flags are used when
13330 # linking a shared library.
13332 # There doesn't appear to be a way to prevent this compiler from
13333 # explicitly linking system object files so we need to strip them
13334 # from the output so that they don't get included in the library
13336 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'
13338 xl
* | mpixl
* | bgxl
*)
13339 # IBM XL 8.0 on PPC, with GNU ld
13340 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13341 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13342 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13343 if test "x$supports_anon_versioning" = xyes
; then
13344 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13345 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13346 echo "local: *; };" >> $output_objdir/$libname.ver~
13347 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13351 case `$CC -V 2>&1 | sed 5q` in
13354 no_undefined_flag_CXX
=' -zdefs'
13355 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13356 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'
13357 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13358 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'
13359 compiler_needs_object_CXX
=yes
13361 # Not sure whether something based on
13362 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13364 output_verbose_link_cmd
='func_echo_all'
13366 # Archives containing C++ object files must be created using
13367 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13368 # necessary to make sure instantiated templates are included
13370 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13378 # FIXME: insert proper C++ library support
13383 # FIXME: insert proper C++ library support
13388 case $cc_basename in
13390 # FIXME: insert proper C++ library support
13394 # FIXME: insert proper C++ library support
13401 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13402 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13404 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13405 hardcode_direct_CXX
=yes
13406 hardcode_shlibpath_var_CXX
=no
13408 # Workaround some broken pre-1.5 toolchains
13409 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13417 # C++ shared libraries are fairly broken
13422 if test -f /usr
/libexec
/ld.so
; then
13423 hardcode_direct_CXX
=yes
13424 hardcode_shlibpath_var_CXX
=no
13425 hardcode_direct_absolute_CXX
=yes
13426 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13427 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13428 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13429 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13430 export_dynamic_flag_spec_CXX
='${wl}-E'
13431 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13433 output_verbose_link_cmd
=func_echo_all
13439 osf3
* | osf4
* | osf5
*)
13440 case $cc_basename in
13442 # Kuck and Associates, Inc. (KAI) C++ Compiler
13444 # KCC will only create a shared library if the output file
13445 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13446 # to its proper name (with version) after linking.
13447 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'
13449 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13450 hardcode_libdir_separator_CXX
=:
13452 # Archives containing C++ object files must be created using
13453 # the KAI C++ compiler.
13455 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13456 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13460 # Rational C++ 2.4.1
13461 # FIXME: insert proper C++ library support
13467 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13468 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'
13469 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13472 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13473 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'
13474 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13475 echo "-hidden">> $lib.exp~
13476 $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~
13478 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13482 hardcode_libdir_separator_CXX
=:
13484 # Commands to make compiler produce verbose output that lists
13485 # what "hidden" libraries, object files and flags are used when
13486 # linking a shared library.
13488 # There doesn't appear to be a way to prevent this compiler from
13489 # explicitly linking system object files so we need to strip them
13490 # from the output so that they don't get included in the library
13492 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"'
13495 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13496 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13499 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'
13502 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'
13506 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13507 hardcode_libdir_separator_CXX
=:
13509 # Commands to make compiler produce verbose output that lists
13510 # what "hidden" libraries, object files and flags are used when
13511 # linking a shared library.
13512 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13515 # FIXME: insert proper C++ library support
13523 # FIXME: insert proper C++ library support
13528 case $cc_basename in
13531 # FIXME: insert proper C++ library support
13536 # FIXME: insert proper C++ library support
13540 # FIXME: insert proper C++ library support
13547 case $cc_basename in
13549 # Sun C++ 4.2, 5.x and Centerline C++
13550 archive_cmds_need_lc_CXX
=yes
13551 no_undefined_flag_CXX
=' -zdefs'
13552 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13553 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13554 $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'
13556 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13557 hardcode_shlibpath_var_CXX
=no
13559 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13561 # The compiler driver will combine and reorder linker options,
13562 # but understands `-z linker_flag'.
13563 # Supported since Solaris 2.6 (maybe 2.5.1?)
13564 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13567 link_all_deplibs_CXX
=yes
13569 output_verbose_link_cmd
='func_echo_all'
13571 # Archives containing C++ object files must be created using
13572 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13573 # necessary to make sure instantiated templates are included
13575 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13578 # Green Hills C++ Compiler
13579 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13581 # The C++ compiler must be used to create the archive.
13582 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13585 # GNU C++ compiler with Solaris linker
13586 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13587 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13588 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13589 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13590 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13591 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13593 # Commands to make compiler produce verbose output that lists
13594 # what "hidden" libraries, object files and flags are used when
13595 # linking a shared library.
13596 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13598 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13600 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13601 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13602 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13604 # Commands to make compiler produce verbose output that lists
13605 # what "hidden" libraries, object files and flags are used when
13606 # linking a shared library.
13607 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13610 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13612 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13614 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13622 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13623 no_undefined_flag_CXX
='${wl}-z,text'
13624 archive_cmds_need_lc_CXX
=no
13625 hardcode_shlibpath_var_CXX
=no
13626 runpath_var
='LD_RUN_PATH'
13628 case $cc_basename in
13630 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13631 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13634 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13635 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13640 sysv5
* | sco3.2v5
* | sco5v6
*)
13641 # Note: We can NOT use -z defs as we might desire, because we do not
13642 # link with -lc, and that would cause any symbols used from libc to
13643 # always be unresolved, which means just about no library would
13644 # ever link correctly. If we're not using GNU ld we use -z text
13645 # though, which does catch some bad symbols but isn't as heavy-handed
13647 no_undefined_flag_CXX
='${wl}-z,text'
13648 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13649 archive_cmds_need_lc_CXX
=no
13650 hardcode_shlibpath_var_CXX
=no
13651 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13652 hardcode_libdir_separator_CXX
=':'
13653 link_all_deplibs_CXX
=yes
13654 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13655 runpath_var
='LD_RUN_PATH'
13657 case $cc_basename in
13659 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13660 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13661 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13662 '"$old_archive_cmds_CXX"
13663 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13664 '"$reload_cmds_CXX"
13667 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13668 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13674 case $cc_basename in
13676 # NonStop-UX NCC 3.20
13677 # FIXME: insert proper C++ library support
13681 # FIXME: insert proper C++ library support
13688 # FIXME: insert proper C++ library support
13693 # FIXME: insert proper C++ library support
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13699 $as_echo "$ld_shlibs_CXX" >&6; }
13700 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13706 ## There is no encapsulation within the following macros, do not change
13707 ## the running order or otherwise move them around unless you know exactly
13708 ## what you are doing...
13709 # Dependencies to place before and after the object being linked:
13710 predep_objects_CXX
=
13711 postdep_objects_CXX
=
13714 compiler_lib_search_path_CXX
=
13716 cat > conftest.
$ac_ext <<_LT_EOF
13720 Foo (void) { a = 0; }
13726 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13727 (eval $ac_compile) 2>&5
13729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13730 test $ac_status = 0; }; then
13731 # Parse the compiler output and extract the necessary
13732 # objects, libraries and library flags.
13734 # Sentinel used to keep track of whether or not we are before
13735 # the conftest object file.
13736 pre_test_object_deps_done
=no
13738 for p
in `eval "$output_verbose_link_cmd"`; do
13742 # Some compilers place space between "-{L,R}" and the path.
13743 # Remove the space.
13744 if test $p = "-L" ||
13745 test $p = "-R"; then
13752 if test "$pre_test_object_deps_done" = no
; then
13755 # Internal compiler library paths should come after those
13756 # provided the user. The postdeps already come after the
13757 # user supplied libs so there is no need to process them.
13758 if test -z "$compiler_lib_search_path_CXX"; then
13759 compiler_lib_search_path_CXX
="${prev}${p}"
13761 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13764 # The "-l" case would never come before the object being
13765 # linked, so don't bother handling this case.
13768 if test -z "$postdeps_CXX"; then
13769 postdeps_CXX
="${prev}${p}"
13771 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13777 # This assumes that the test object file only shows up
13778 # once in the compiler output.
13779 if test "$p" = "conftest.$objext"; then
13780 pre_test_object_deps_done
=yes
13784 if test "$pre_test_object_deps_done" = no
; then
13785 if test -z "$predep_objects_CXX"; then
13786 predep_objects_CXX
="$p"
13788 predep_objects_CXX
="$predep_objects_CXX $p"
13791 if test -z "$postdep_objects_CXX"; then
13792 postdep_objects_CXX
="$p"
13794 postdep_objects_CXX
="$postdep_objects_CXX $p"
13799 *) ;; # Ignore the rest.
13807 echo "libtool.m4: error: problem compiling CXX test program"
13810 $RM -f confest.
$objext
13812 # PORTME: override above test on systems where it is broken
13815 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13816 # hack all around it, let's just trust "g++" to DTRT.
13817 predep_objects_CXX
=
13818 postdep_objects_CXX
=
13823 case `$CC -V 2>&1 | sed 5q` in
13827 # The more standards-conforming stlport4 library is
13828 # incompatible with the Cstd library. Avoid specifying
13829 # it if it's in CXXFLAGS. Ignore libCrun as
13830 # -library=stlport4 depends on it.
13831 case " $CXX $CXXFLAGS " in
13832 *" -library=stlport4 "*)
13833 solaris_use_stlport4
=yes
13837 if test "$solaris_use_stlport4" != yes; then
13838 postdeps_CXX
='-library=Cstd -library=Crun'
13845 case $cc_basename in
13847 # The more standards-conforming stlport4 library is
13848 # incompatible with the Cstd library. Avoid specifying
13849 # it if it's in CXXFLAGS. Ignore libCrun as
13850 # -library=stlport4 depends on it.
13851 case " $CXX $CXXFLAGS " in
13852 *" -library=stlport4 "*)
13853 solaris_use_stlport4
=yes
13857 # Adding this requires a known-good setup of shared libraries for
13858 # Sun compiler versions before 5.6, else PIC objects from an old
13859 # archive will be linked into the output, leading to subtle bugs.
13860 if test "$solaris_use_stlport4" != yes; then
13861 postdeps_CXX
='-library=Cstd -library=Crun'
13869 case " $postdeps_CXX " in
13870 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13872 compiler_lib_search_dirs_CXX
=
13873 if test -n "${compiler_lib_search_path_CXX}"; then
13874 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13907 lt_prog_compiler_wl_CXX
=
13908 lt_prog_compiler_pic_CXX
=
13909 lt_prog_compiler_static_CXX
=
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13912 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13914 # C++ specific cases for pic, static, wl, etc.
13915 if test "$GXX" = yes; then
13916 lt_prog_compiler_wl_CXX
='-Wl,'
13917 lt_prog_compiler_static_CXX
='-static'
13921 # All AIX code is PIC.
13922 if test "$host_cpu" = ia64
; then
13923 # AIX 5 now supports IA64 processor
13924 lt_prog_compiler_static_CXX
='-Bstatic'
13926 lt_prog_compiler_pic_CXX
='-fPIC'
13932 # see comment about AmigaOS4 .so support
13933 lt_prog_compiler_pic_CXX
='-fPIC'
13936 # FIXME: we need at least 68020 code to build shared libraries, but
13937 # adding the `-m68020' flag to GCC prevents building anything better,
13939 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13944 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13945 # PIC is the default for these OSes.
13947 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13948 # This hack is so that the source file can tell whether it is being
13949 # built for inclusion in a dll (and should export symbols for example).
13950 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13951 # (--disable-auto-import) libraries
13952 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13954 darwin
* | rhapsody
*)
13955 # PIC is the default on this platform
13956 # Common symbols not allowed in MH_DYLIB files
13957 lt_prog_compiler_pic_CXX
='-fno-common'
13960 # DJGPP does not support shared libraries at all
13961 lt_prog_compiler_pic_CXX
=
13964 # PIC is the default for Haiku.
13965 # The "-static" flag exists, but is broken.
13966 lt_prog_compiler_static_CXX
=
13969 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13970 # Instead, we relocate shared libraries at runtime.
13973 if test -d /usr
/nec
; then
13974 lt_prog_compiler_pic_CXX
=-Kconform_pic
13978 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13979 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13980 # sets the default TLS model and affects inlining.
13985 lt_prog_compiler_pic_CXX
='-fPIC'
13990 # QNX uses GNU C++, but need to define -shared option too, otherwise
13991 # it will coredump.
13992 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13995 lt_prog_compiler_pic_CXX
='-fPIC'
14001 # All AIX code is PIC.
14002 if test "$host_cpu" = ia64
; then
14003 # AIX 5 now supports IA64 processor
14004 lt_prog_compiler_static_CXX
='-Bstatic'
14006 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14010 case $cc_basename in
14012 # Green Hills C++ Compiler
14013 # _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"
14018 case $cc_basename in
14020 lt_prog_compiler_pic_CXX
='-KPIC'
14023 # Green Hills C++ Compiler
14024 lt_prog_compiler_pic_CXX
='-pic'
14030 freebsd
* | dragonfly
*)
14031 # FreeBSD uses GNU C++
14033 hpux9
* | hpux10
* | hpux11
*)
14034 case $cc_basename in
14036 lt_prog_compiler_wl_CXX
='-Wl,'
14037 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14038 if test "$host_cpu" != ia64
; then
14039 lt_prog_compiler_pic_CXX
='+Z'
14043 lt_prog_compiler_wl_CXX
='-Wl,'
14044 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14050 lt_prog_compiler_pic_CXX
='+Z'
14059 # This is c89, which is MS Visual C++ (no shared libs)
14060 # Anyone wants to do a port?
14062 irix5
* | irix6
* | nonstopux
*)
14063 case $cc_basename in
14065 lt_prog_compiler_wl_CXX
='-Wl,'
14066 lt_prog_compiler_static_CXX
='-non_shared'
14067 # CC pic flag -KPIC is the default.
14073 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14074 case $cc_basename in
14077 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14078 lt_prog_compiler_pic_CXX
='-fPIC'
14081 # old Intel C++ for x86_64 which still supported -KPIC.
14082 lt_prog_compiler_wl_CXX
='-Wl,'
14083 lt_prog_compiler_pic_CXX
='-KPIC'
14084 lt_prog_compiler_static_CXX
='-static'
14087 # Intel C++, used to be incompatible with GCC.
14088 # ICC 10 doesn't accept -KPIC any more.
14089 lt_prog_compiler_wl_CXX
='-Wl,'
14090 lt_prog_compiler_pic_CXX
='-fPIC'
14091 lt_prog_compiler_static_CXX
='-static'
14094 # Portland Group C++ compiler
14095 lt_prog_compiler_wl_CXX
='-Wl,'
14096 lt_prog_compiler_pic_CXX
='-fpic'
14097 lt_prog_compiler_static_CXX
='-Bstatic'
14101 # Make sure the PIC flag is empty. It appears that all Alpha
14102 # Linux and Compaq Tru64 Unix objects are PIC.
14103 lt_prog_compiler_pic_CXX
=
14104 lt_prog_compiler_static_CXX
='-non_shared'
14106 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14107 # IBM XL 8.0, 9.0 on PPC and BlueGene
14108 lt_prog_compiler_wl_CXX
='-Wl,'
14109 lt_prog_compiler_pic_CXX
='-qpic'
14110 lt_prog_compiler_static_CXX
='-qstaticlink'
14113 case `$CC -V 2>&1 | sed 5q` in
14116 lt_prog_compiler_pic_CXX
='-KPIC'
14117 lt_prog_compiler_static_CXX
='-Bstatic'
14118 lt_prog_compiler_wl_CXX
='-Qoption ld '
14129 case $cc_basename in
14131 lt_prog_compiler_pic_CXX
='-W c,exportall'
14140 # QNX uses GNU C++, but need to define -shared option too, otherwise
14141 # it will coredump.
14142 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14144 osf3
* | osf4
* | osf5
*)
14145 case $cc_basename in
14147 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14150 # Rational C++ 2.4.1
14151 lt_prog_compiler_pic_CXX
='-pic'
14154 # Digital/Compaq C++
14155 lt_prog_compiler_wl_CXX
='-Wl,'
14156 # Make sure the PIC flag is empty. It appears that all Alpha
14157 # Linux and Compaq Tru64 Unix objects are PIC.
14158 lt_prog_compiler_pic_CXX
=
14159 lt_prog_compiler_static_CXX
='-non_shared'
14168 case $cc_basename in
14170 # Sun C++ 4.2, 5.x and Centerline C++
14171 lt_prog_compiler_pic_CXX
='-KPIC'
14172 lt_prog_compiler_static_CXX
='-Bstatic'
14173 lt_prog_compiler_wl_CXX
='-Qoption ld '
14176 # Green Hills C++ Compiler
14177 lt_prog_compiler_pic_CXX
='-PIC'
14184 case $cc_basename in
14187 lt_prog_compiler_pic_CXX
='-pic'
14188 lt_prog_compiler_static_CXX
='-Bstatic'
14192 lt_prog_compiler_pic_CXX
='-pic'
14198 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14199 case $cc_basename in
14201 lt_prog_compiler_wl_CXX
='-Wl,'
14202 lt_prog_compiler_pic_CXX
='-KPIC'
14203 lt_prog_compiler_static_CXX
='-Bstatic'
14208 case $cc_basename in
14210 # NonStop-UX NCC 3.20
14211 lt_prog_compiler_pic_CXX
='-KPIC'
14220 lt_prog_compiler_can_build_shared_CXX
=no
14226 # For platforms which do not support PIC, -DPIC is meaningless:
14228 lt_prog_compiler_pic_CXX
=
14231 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14235 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14240 # Check to make sure the PIC flag actually works.
14242 if test -n "$lt_prog_compiler_pic_CXX"; then
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14244 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14245 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14246 $as_echo_n "(cached) " >&6
14248 lt_cv_prog_compiler_pic_works_CXX
=no
14249 ac_outfile
=conftest.
$ac_objext
14250 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14251 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14252 # Insert the option either (1) after the last *FLAGS variable, or
14253 # (2) before a word containing "conftest.", or (3) at the end.
14254 # Note that $ac_compile itself does not contain backslashes and begins
14255 # with a dollar sign (not a hyphen), so the echo should work correctly.
14256 # The option is referenced via a variable to avoid confusing sed.
14257 lt_compile
=`echo "$ac_compile" | $SED \
14258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14260 -e 's:$: $lt_compiler_flag:'`
14261 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14262 (eval "$lt_compile" 2>conftest.err
)
14264 cat conftest.err
>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 if (exit $ac_status) && test -s "$ac_outfile"; then
14267 # The compiler can only warn and ignore the option if not recognized
14268 # So say no if there are warnings other than the usual output.
14269 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14270 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14271 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14272 lt_cv_prog_compiler_pic_works_CXX
=yes
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14279 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14281 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14282 case $lt_prog_compiler_pic_CXX in
14284 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14287 lt_prog_compiler_pic_CXX
=
14288 lt_prog_compiler_can_build_shared_CXX
=no
14296 # Check to make sure the static flag actually works.
14298 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14300 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14301 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14302 $as_echo_n "(cached) " >&6
14304 lt_cv_prog_compiler_static_works_CXX
=no
14305 save_LDFLAGS
="$LDFLAGS"
14306 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14307 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14308 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14309 # The linker can only warn and ignore the option if not recognized
14310 # So say no if there are warnings
14311 if test -s conftest.err
; then
14312 # Append any errors to the config.log.
14313 cat conftest.err
1>&5
14314 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14315 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14316 if diff conftest.exp conftest.er2
>/dev
/null
; then
14317 lt_cv_prog_compiler_static_works_CXX
=yes
14320 lt_cv_prog_compiler_static_works_CXX
=yes
14324 LDFLAGS
="$save_LDFLAGS"
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14328 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14330 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14333 lt_prog_compiler_static_CXX
=
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14340 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14341 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14342 $as_echo_n "(cached) " >&6
14344 lt_cv_prog_compiler_c_o_CXX
=no
14345 $RM -r conftest
2>/dev
/null
14349 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14351 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14352 # Insert the option either (1) after the last *FLAGS variable, or
14353 # (2) before a word containing "conftest.", or (3) at the end.
14354 # Note that $ac_compile itself does not contain backslashes and begins
14355 # with a dollar sign (not a hyphen), so the echo should work correctly.
14356 lt_compile
=`echo "$ac_compile" | $SED \
14357 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14358 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14359 -e 's:$: $lt_compiler_flag:'`
14360 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14361 (eval "$lt_compile" 2>out
/conftest.err
)
14363 cat out
/conftest.err
>&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14367 # The compiler can only warn and ignore the option if not recognized
14368 # So say no if there are warnings
14369 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14370 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14371 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14372 lt_cv_prog_compiler_c_o_CXX
=yes
14377 # SGI C++ compiler will create directory out/ii_files/ for
14378 # template instantiation
14379 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14380 $RM out
/* && rmdir out
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14387 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14392 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14393 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14394 $as_echo_n "(cached) " >&6
14396 lt_cv_prog_compiler_c_o_CXX
=no
14397 $RM -r conftest
2>/dev
/null
14401 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14403 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14404 # Insert the option either (1) after the last *FLAGS variable, or
14405 # (2) before a word containing "conftest.", or (3) at the end.
14406 # Note that $ac_compile itself does not contain backslashes and begins
14407 # with a dollar sign (not a hyphen), so the echo should work correctly.
14408 lt_compile
=`echo "$ac_compile" | $SED \
14409 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14410 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14411 -e 's:$: $lt_compiler_flag:'`
14412 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14413 (eval "$lt_compile" 2>out
/conftest.err
)
14415 cat out
/conftest.err
>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14419 # The compiler can only warn and ignore the option if not recognized
14420 # So say no if there are warnings
14421 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14422 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14423 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14424 lt_cv_prog_compiler_c_o_CXX
=yes
14429 # SGI C++ compiler will create directory out/ii_files/ for
14430 # template instantiation
14431 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14432 $RM out
/* && rmdir out
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14439 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14444 hard_links
="nottested"
14445 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14446 # do not overwrite the value of need_locks provided by the user
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14448 $as_echo_n "checking if we can lock with hard links... " >&6; }
14451 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14453 ln conftest.a conftest.b
2>&5 || hard_links
=no
14454 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14456 $as_echo "$hard_links" >&6; }
14457 if test "$hard_links" = no
; then
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14459 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14469 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14471 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14474 # If we're using GNU nm, then we don't want the "-C" option.
14475 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14476 # Also, AIX nm treats weak defined symbols like other global defined
14477 # symbols, whereas GNU nm marks them as "W".
14478 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14479 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'
14481 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14485 export_symbols_cmds_CXX
="$ltdll_cmds"
14487 cygwin
* | mingw
* | cegcc
*)
14488 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'
14491 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14494 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14497 $as_echo "$ld_shlibs_CXX" >&6; }
14498 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14500 with_gnu_ld_CXX
=$with_gnu_ld
14508 # Do we need to explicitly link libc?
14510 case "x$archive_cmds_need_lc_CXX" in
14512 # Assume -lc should be added
14513 archive_cmds_need_lc_CXX
=yes
14515 if test "$enable_shared" = yes && test "$GCC" = yes; then
14516 case $archive_cmds_CXX in
14518 # FIXME: we may have to deal with multi-command sequences.
14521 # Test whether the compiler implicitly links with -lc since on some
14522 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14523 # to ld, don't add -lc before -lgcc.
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14525 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14526 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14527 $as_echo_n "(cached) " >&6
14530 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14533 (eval $ac_compile) 2>&5
14535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14536 test $ac_status = 0; } 2>conftest.err
; then
14539 libobjs
=conftest.
$ac_objext
14541 wl
=$lt_prog_compiler_wl_CXX
14542 pic_flag
=$lt_prog_compiler_pic_CXX
14548 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14549 allow_undefined_flag_CXX
=
14550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14551 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14554 test $ac_status = 0; }
14556 lt_cv_archive_cmds_need_lc_CXX
=no
14558 lt_cv_archive_cmds_need_lc_CXX
=yes
14560 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14562 cat conftest.err
1>&5
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14568 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14569 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14640 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14642 library_names_spec
=
14643 libname_spec
='lib$name'
14647 postuninstall_cmds
=
14651 shlibpath_overrides_runpath
=unknown
14653 dynamic_linker
="$host_os ld.so"
14654 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14655 need_lib_prefix
=unknown
14656 hardcode_into_libs
=no
14658 # when you set need_version to no, make sure it does not cause -set_version
14659 # flags to be left without arguments
14660 need_version
=unknown
14665 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14666 shlibpath_var
=LIBPATH
14668 # AIX 3 has no versioning support, so we append a major version to the name.
14669 soname_spec
='${libname}${release}${shared_ext}$major'
14676 hardcode_into_libs
=yes
14677 if test "$host_cpu" = ia64
; then
14678 # AIX 5 supports IA64
14679 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14680 shlibpath_var
=LD_LIBRARY_PATH
14682 # With GCC up to 2.95.x, collect2 would create an import file
14683 # for dependence libraries. The import file would start with
14684 # the line `#! .'. This would cause the generated library to
14685 # depend on `.', always an invalid library. This was fixed in
14686 # development snapshots of GCC prior to 3.0.
14688 aix4 | aix4.
[01] | aix4.
[01].
*)
14689 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14691 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14694 can_build_shared
=no
14698 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14699 # soname into executable. Probably we can add versioning support to
14700 # collect2, so additional links can be useful in future.
14701 if test "$aix_use_runtimelinking" = yes; then
14702 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14703 # instead of lib<name>.a to let people know that these are not
14704 # typical AIX shared libraries.
14705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14707 # We preserve .a as extension for shared libraries through AIX4.2
14708 # and later when we are not doing run time linking.
14709 library_names_spec
='${libname}${release}.a $libname.a'
14710 soname_spec
='${libname}${release}${shared_ext}$major'
14712 shlibpath_var
=LIBPATH
14719 # Since July 2007 AmigaOS4 officially supports .so libraries.
14720 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14724 library_names_spec
='$libname.ixlibrary $libname.a'
14725 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14726 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'
14732 library_names_spec
='${libname}${shared_ext}'
14733 dynamic_linker
="$host_os ld.so"
14734 shlibpath_var
=LIBRARY_PATH
14740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14741 soname_spec
='${libname}${release}${shared_ext}$major'
14742 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14743 shlibpath_var
=LD_LIBRARY_PATH
14744 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14745 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14746 # the default ld.so.conf also contains /usr/contrib/lib and
14747 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14748 # libtool to hard-code these into programs
14751 cygwin
* | mingw
* | pw32
* | cegcc
*)
14752 version_type
=windows
14757 case $GCC,$host_os in
14758 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14759 library_names_spec
='$libname.dll.a'
14760 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14761 postinstall_cmds
='base_file=`basename \${file}`~
14762 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14763 dldir=$destdir/`dirname \$dlpath`~
14764 test -d \$dldir || mkdir -p \$dldir~
14765 $install_prog $dir/$dlname \$dldir/$dlname~
14766 chmod a+x \$dldir/$dlname~
14767 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14768 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14770 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14771 dlpath=$dir/\$dldll~
14773 shlibpath_overrides_runpath
=yes
14777 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14778 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14782 # MinGW DLLs use traditional 'lib' prefix
14783 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14786 # pw32 DLLs use 'pw' prefix rather than 'lib'
14787 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14793 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14796 dynamic_linker
='Win32 ld.exe'
14797 # FIXME: first we should search . and the directory the executable is in
14801 darwin
* | rhapsody
*)
14802 dynamic_linker
="$host_os dyld"
14803 version_type
=darwin
14806 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14807 soname_spec
='${libname}${release}${major}$shared_ext'
14808 shlibpath_overrides_runpath
=yes
14809 shlibpath_var
=DYLD_LIBRARY_PATH
14810 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14812 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14820 soname_spec
='${libname}${release}${shared_ext}$major'
14821 shlibpath_var
=LD_LIBRARY_PATH
14824 freebsd
* | dragonfly
*)
14825 # DragonFly does not have aout. When/if they implement a new
14826 # versioning mechanism, adjust this.
14827 if test -x /usr
/bin
/objformat
; then
14828 objformat
=`/usr/bin/objformat`
14831 freebsd
[23].
*) objformat
=aout
;;
14832 *) objformat
=elf
;;
14835 version_type
=freebsd-
$objformat
14836 case $version_type in
14838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14843 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14847 shlibpath_var
=LD_LIBRARY_PATH
14850 shlibpath_overrides_runpath
=yes
14852 freebsd3.
[01]* | freebsdelf3.
[01]*)
14853 shlibpath_overrides_runpath
=yes
14854 hardcode_into_libs
=yes
14856 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14857 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14858 shlibpath_overrides_runpath
=no
14859 hardcode_into_libs
=yes
14861 *) # from 4.6 on, and DragonFly
14862 shlibpath_overrides_runpath
=yes
14863 hardcode_into_libs
=yes
14872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14873 soname_spec
='${libname}${release}${shared_ext}$major'
14874 shlibpath_var
=LD_LIBRARY_PATH
14875 hardcode_into_libs
=yes
14882 dynamic_linker
="$host_os runtime_loader"
14883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14884 soname_spec
='${libname}${release}${shared_ext}$major'
14885 shlibpath_var
=LIBRARY_PATH
14886 shlibpath_overrides_runpath
=yes
14887 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14888 hardcode_into_libs
=yes
14891 hpux9
* | hpux10
* | hpux11
*)
14892 # Give a soname corresponding to the major version so that dld.sl refuses to
14893 # link against other versions.
14900 hardcode_into_libs
=yes
14901 dynamic_linker
="$host_os dld.so"
14902 shlibpath_var
=LD_LIBRARY_PATH
14903 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14905 soname_spec
='${libname}${release}${shared_ext}$major'
14906 if test "X$HPUX_IA64_MODE" = X32
; then
14907 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14909 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14911 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14915 hardcode_into_libs
=yes
14916 dynamic_linker
="$host_os dld.sl"
14917 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14918 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14920 soname_spec
='${libname}${release}${shared_ext}$major'
14921 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14922 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14926 dynamic_linker
="$host_os dld.sl"
14927 shlibpath_var
=SHLIB_PATH
14928 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14930 soname_spec
='${libname}${release}${shared_ext}$major'
14933 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14934 postinstall_cmds
='chmod 555 $lib'
14935 # or fails outright, so override atomically:
14936 install_override_mode
=555
14943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14944 soname_spec
='${libname}${release}${shared_ext}$major'
14945 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14946 shlibpath_var
=LD_LIBRARY_PATH
14947 shlibpath_overrides_runpath
=no
14948 hardcode_into_libs
=yes
14951 irix5
* | irix6
* | nonstopux
*)
14953 nonstopux
*) version_type
=nonstopux
;;
14955 if test "$lt_cv_prog_gnu_ld" = yes; then
14963 soname_spec
='${libname}${release}${shared_ext}$major'
14964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14966 irix5
* | nonstopux
*)
14967 libsuff
= shlibsuff
=
14970 case $LD in # libtool.m4 will add one of these switches to LD
14971 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14972 libsuff
= shlibsuff
= libmagic
=32-bit;;
14973 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14974 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14975 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14976 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14977 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14981 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14982 shlibpath_overrides_runpath
=no
14983 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14984 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14985 hardcode_into_libs
=yes
14988 # No shared lib support for Linux oldld, aout, or coff.
14989 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14993 # This must be Linux ELF.
14994 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14999 soname_spec
='${libname}${release}${shared_ext}$major'
15000 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15001 shlibpath_var
=LD_LIBRARY_PATH
15002 shlibpath_overrides_runpath
=no
15004 # Some binutils ld are patched to set DT_RUNPATH
15005 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15006 $as_echo_n "(cached) " >&6
15008 lt_cv_shlibpath_overrides_runpath
=no
15009 save_LDFLAGS
=$LDFLAGS
15010 save_libdir
=$libdir
15011 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15012 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15024 if ac_fn_cxx_try_link
"$LINENO"; then :
15025 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15026 lt_cv_shlibpath_overrides_runpath
=yes
15029 rm -f core conftest.err conftest.
$ac_objext \
15030 conftest
$ac_exeext conftest.
$ac_ext
15031 LDFLAGS
=$save_LDFLAGS
15032 libdir
=$save_libdir
15036 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15038 # This implies no fast_install, which is unacceptable.
15039 # Some rework will be needed to allow for fast_install
15040 # before this can be enabled.
15041 hardcode_into_libs
=yes
15043 # Append ld.so.conf contents to the search path
15044 if test -f /etc
/ld.so.conf
; then
15045 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' ' '`
15046 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15049 # We used to test for /lib/ld.so.1 and disable shared libraries on
15050 # powerpc, because MkLinux only supported shared libraries with the
15051 # GNU dynamic linker. Since this was broken with cross compilers,
15052 # most powerpc-linux boxes support dynamic linking these days and
15053 # people can always --disable-shared, the test was removed, and we
15054 # assume the GNU/Linux dynamic linker is in use.
15055 dynamic_linker
='GNU/Linux ld.so'
15062 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15064 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15065 dynamic_linker
='NetBSD (a.out) ld.so'
15067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15068 soname_spec
='${libname}${release}${shared_ext}$major'
15069 dynamic_linker
='NetBSD ld.elf_so'
15071 shlibpath_var
=LD_LIBRARY_PATH
15072 shlibpath_overrides_runpath
=yes
15073 hardcode_into_libs
=yes
15078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15079 shlibpath_var
=LD_LIBRARY_PATH
15080 shlibpath_overrides_runpath
=yes
15087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15088 soname_spec
='${libname}${release}${shared_ext}$major'
15089 shlibpath_var
=LD_LIBRARY_PATH
15090 shlibpath_overrides_runpath
=no
15091 hardcode_into_libs
=yes
15092 dynamic_linker
='ldqnx.so'
15097 sys_lib_dlsearch_path_spec
="/usr/lib"
15099 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15101 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15102 *) need_version
=no
;;
15104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15105 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15106 shlibpath_var
=LD_LIBRARY_PATH
15107 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15109 openbsd2.
[89] | openbsd2.
[89].
*)
15110 shlibpath_overrides_runpath
=no
15113 shlibpath_overrides_runpath
=yes
15117 shlibpath_overrides_runpath
=yes
15122 libname_spec
='$name'
15125 library_names_spec
='$libname${shared_ext} $libname.a'
15126 dynamic_linker
='OS/2 ld.exe'
15127 shlibpath_var
=LIBPATH
15130 osf3
* | osf4
* | osf5
*)
15134 soname_spec
='${libname}${release}${shared_ext}$major'
15135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15136 shlibpath_var
=LD_LIBRARY_PATH
15137 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15138 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15150 soname_spec
='${libname}${release}${shared_ext}$major'
15151 shlibpath_var
=LD_LIBRARY_PATH
15152 shlibpath_overrides_runpath
=yes
15153 hardcode_into_libs
=yes
15154 # ldd complains unless libraries are executable
15155 postinstall_cmds
='chmod +x $lib'
15160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15161 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15162 shlibpath_var
=LD_LIBRARY_PATH
15163 shlibpath_overrides_runpath
=yes
15164 if test "$with_gnu_ld" = yes; then
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15173 soname_spec
='${libname}${release}${shared_ext}$major'
15174 shlibpath_var
=LD_LIBRARY_PATH
15175 case $host_vendor in
15177 shlibpath_overrides_runpath
=no
15179 runpath_var
=LD_RUN_PATH
15187 shlibpath_overrides_runpath
=no
15188 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15194 if test -d /usr
/nec
;then
15196 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15197 soname_spec
='$libname${shared_ext}.$major'
15198 shlibpath_var
=LD_LIBRARY_PATH
15202 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15203 version_type
=freebsd-elf
15206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15207 soname_spec
='${libname}${release}${shared_ext}$major'
15208 shlibpath_var
=LD_LIBRARY_PATH
15209 shlibpath_overrides_runpath
=yes
15210 hardcode_into_libs
=yes
15211 if test "$with_gnu_ld" = yes; then
15212 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15214 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15217 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15221 sys_lib_dlsearch_path_spec
='/usr/lib'
15225 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15230 shlibpath_var
=LD_LIBRARY_PATH
15231 shlibpath_overrides_runpath
=no
15232 hardcode_into_libs
=yes
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
=LD_LIBRARY_PATH
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15247 $as_echo "$dynamic_linker" >&6; }
15248 test "$dynamic_linker" = no
&& can_build_shared
=no
15250 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15251 if test "$GCC" = yes; then
15252 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15255 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15256 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15258 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15259 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15300 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15301 hardcode_action_CXX
=
15302 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15303 test -n "$runpath_var_CXX" ||
15304 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15306 # We can hardcode non-existent directories.
15307 if test "$hardcode_direct_CXX" != no
&&
15308 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15309 # have to relink, otherwise we might link with an installed library
15310 # when we should be linking with a yet-to-be-installed one
15311 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15312 test "$hardcode_minus_L_CXX" != no
; then
15313 # Linking always hardcodes the temporary library directory.
15314 hardcode_action_CXX
=relink
15316 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15317 hardcode_action_CXX
=immediate
15320 # We cannot hardcode anything, or else we can only hardcode existing
15322 hardcode_action_CXX
=unsupported
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15325 $as_echo "$hardcode_action_CXX" >&6; }
15327 if test "$hardcode_action_CXX" = relink ||
15328 test "$inherit_rpath_CXX" = yes; then
15329 # Fast installation is not supported
15330 enable_fast_install
=no
15331 elif test "$shlibpath_overrides_runpath" = yes ||
15332 test "$enable_shared" = no
; then
15333 # Fast installation is not necessary
15334 enable_fast_install
=needless
15343 fi # test -n "$compiler"
15349 with_gnu_ld
=$lt_save_with_gnu_ld
15350 lt_cv_path_LDCXX
=$lt_cv_path_LD
15351 lt_cv_path_LD
=$lt_save_path_LD
15352 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15353 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15354 fi # test "$_lt_caught_CXX_error" != yes
15357 ac_cpp
='$CPP $CPPFLAGS'
15358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15374 ac_config_commands
="$ac_config_commands libtool"
15379 # Only expand once:
15383 for ac_prog
in gawk mawk nawk
awk
15385 # Extract the first word of "$ac_prog", so it can be a program name with args.
15386 set dummy
$ac_prog; ac_word
=$2
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15388 $as_echo_n "checking for $ac_word... " >&6; }
15389 if test "${ac_cv_prog_AWK+set}" = set; then :
15390 $as_echo_n "(cached) " >&6
15392 if test -n "$AWK"; then
15393 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
15395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15396 for as_dir
in $PATH
15399 test -z "$as_dir" && as_dir
=.
15400 for ac_exec_ext
in '' $ac_executable_extensions; do
15401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15402 ac_cv_prog_AWK
="$ac_prog"
15403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15412 AWK
=$ac_cv_prog_AWK
15413 if test -n "$AWK"; then
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
15415 $as_echo "$AWK" >&6; }
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15418 $as_echo "no" >&6; }
15422 test -n "$AWK" && break
15426 "") as_fn_error
"can't build without awk" "$LINENO" 5 ;;
15432 # The cast to long int works around a bug in the HP C Compiler
15433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15435 # This bug is HP SR number 8606223364.
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15437 $as_echo_n "checking size of void *... " >&6; }
15438 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15439 $as_echo_n "(cached) " >&6
15441 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15444 if test "$ac_cv_type_void_p" = yes; then
15445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15447 { as_fn_set_status
77
15448 as_fn_error
"cannot compute sizeof (void *)
15449 See \`config.log' for more details." "$LINENO" 5; }; }
15451 ac_cv_sizeof_void_p
=0
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15457 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15461 cat >>confdefs.h
<<_ACEOF
15462 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15467 if test "${multilib}" = "yes"; then
15468 multilib_arg
="--enable-multilib"
15473 # Get target configury.
15474 unset TSAN_SUPPORTED
15475 unset LSAN_SUPPORTED
15476 .
${srcdir}/configure.tgt
15477 if test "x$TSAN_SUPPORTED" = "xyes"; then
15478 TSAN_SUPPORTED_TRUE
=
15479 TSAN_SUPPORTED_FALSE
='#'
15481 TSAN_SUPPORTED_TRUE
='#'
15482 TSAN_SUPPORTED_FALSE
=
15485 if test "x$LSAN_SUPPORTED" = "xyes"; then
15486 LSAN_SUPPORTED_TRUE
=
15487 LSAN_SUPPORTED_FALSE
='#'
15489 LSAN_SUPPORTED_TRUE
='#'
15490 LSAN_SUPPORTED_FALSE
=
15494 # Check for functions needed.
15495 for ac_func
in clock_getres clock_gettime clock_settime
15497 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15498 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15499 eval as_val
=\$
$as_ac_var
15500 if test "x$as_val" = x
""yes; then :
15501 cat >>confdefs.h
<<_ACEOF
15502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15509 # Common libraries that we need to link against for all sanitizer libs.
15510 link_sanitizer_common
='-lpthread -ldl -lm'
15512 # Set up the set of additional libraries that we need to link against for libasan.
15513 link_libasan
=$link_sanitizer_common
15516 # Set up the set of additional libraries that we need to link against for libtsan.
15517 link_libtsan
=$link_sanitizer_common
15520 # Set up the set of additional libraries that we need to link against for libubsan.
15521 link_libubsan
=$link_sanitizer_common
15524 # Set up the set of additional libraries that we need to link against for liblsan.
15525 link_liblsan
=$link_sanitizer_common
15528 # At least for glibc, clock_gettime is in librt. But don't pull that
15529 # in if it still doesn't give us the function we want. This
15530 # test is copied from libgomp.
15531 if test $ac_cv_func_clock_gettime = no
; then
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
15533 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15534 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
15535 $as_echo_n "(cached) " >&6
15537 ac_check_lib_save_LIBS
=$LIBS
15539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15542 /* Override any GCC internal prototype to avoid an error.
15543 Use char because int might match the return type of a GCC
15544 builtin and then its argument prototype would still apply. */
15548 char clock_gettime ();
15552 return clock_gettime ();
15557 if ac_fn_c_try_link
"$LINENO"; then :
15558 ac_cv_lib_rt_clock_gettime
=yes
15560 ac_cv_lib_rt_clock_gettime
=no
15562 rm -f core conftest.err conftest.
$ac_objext \
15563 conftest
$ac_exeext conftest.
$ac_ext
15564 LIBS
=$ac_check_lib_save_LIBS
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
15567 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15568 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
15569 link_libasan
="-lrt $link_libasan"
15570 link_libtsan
="-lrt $link_libtsan"
15571 # Other sanitizers do not override clock_* API
15578 *-*-darwin*) MAC_INTERPOSE
=true
; enable_static
=no
;;
15579 *) MAC_INTERPOSE
=false
;;
15581 if $MAC_INTERPOSE; then
15582 USING_MAC_INTERPOSE_TRUE
=
15583 USING_MAC_INTERPOSE_FALSE
='#'
15585 USING_MAC_INTERPOSE_TRUE
='#'
15586 USING_MAC_INTERPOSE_FALSE
=
15590 backtrace_supported
=yes
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for necessary platform features" >&5
15593 $as_echo_n "checking for necessary platform features... " >&6; }
15596 # Some old Linux distributions miss required syscalls.
15597 sanitizer_supported
=no
15598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15599 /* end confdefs.h. */
15600 #include <sys/syscall.h>
15605 syscall (__NR_gettid);
15606 syscall (__NR_futex);
15607 syscall (__NR_exit_group);
15613 if ac_fn_c_try_compile
"$LINENO"; then :
15614 sanitizer_supported
=yes
15616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15619 sanitizer_supported
=yes
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sanitizer_supported" >&5
15623 $as_echo "$sanitizer_supported" >&6; }
15624 if test "$sanitizer_supported" = yes; then
15625 SANITIZER_SUPPORTED_TRUE
=
15626 SANITIZER_SUPPORTED_FALSE
='#'
15628 SANITIZER_SUPPORTED_TRUE
='#'
15629 SANITIZER_SUPPORTED_FALSE
=
15633 # Test for __sync support.
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
15635 $as_echo_n "checking __sync extensions... " >&6; }
15636 if test "${libsanitizer_cv_sys_sync+set}" = set; then :
15637 $as_echo_n "(cached) " >&6
15639 if test -n "${with_target_subdir}"; then
15640 libsanitizer_cv_sys_sync
=yes
15642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15643 /* end confdefs.h. */
15648 __sync_bool_compare_and_swap (&i, i, i);
15649 __sync_lock_test_and_set (&i, 1);
15650 __sync_lock_release (&i);
15655 if ac_fn_c_try_link
"$LINENO"; then :
15656 libsanitizer_cv_sys_sync
=yes
15658 libsanitizer_cv_sys_sync
=no
15660 rm -f core conftest.err conftest.
$ac_objext \
15661 conftest
$ac_exeext conftest.
$ac_ext
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_sync" >&5
15665 $as_echo "$libsanitizer_cv_sys_sync" >&6; }
15666 if test "$libsanitizer_cv_sys_sync" = "yes"; then
15668 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
15672 # Test for __atomic support.
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
15674 $as_echo_n "checking __atomic extensions... " >&6; }
15675 if test "${libsanitizer_cv_sys_atomic+set}" = set; then :
15676 $as_echo_n "(cached) " >&6
15678 if test -n "${with_target_subdir}"; then
15679 libsanitizer_cv_sys_atomic
=yes
15681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15687 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
15688 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
15693 if ac_fn_c_try_link
"$LINENO"; then :
15694 libsanitizer_cv_sys_atomic
=yes
15696 libsanitizer_cv_sys_atomic
=no
15698 rm -f core conftest.err conftest.
$ac_objext \
15699 conftest
$ac_exeext conftest.
$ac_ext
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_atomic" >&5
15703 $as_echo "$libsanitizer_cv_sys_atomic" >&6; }
15704 if test "$libsanitizer_cv_sys_atomic" = "yes"; then
15706 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
15710 # The library needs to be able to read the executable itself. Compile
15711 # a file to determine the executable format. The awk script
15712 # filetype.awk prints out the file type.
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
15714 $as_echo_n "checking output filetype... " >&6; }
15715 if test "${libsanitizer_cv_sys_filetype+set}" = set; then :
15716 $as_echo_n "(cached) " >&6
15719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15730 if ac_fn_c_try_compile
"$LINENO"; then :
15731 filetype
=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
15733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15735 as_fn_error
"compiler failed
15736 See \`config.log' for more details." "$LINENO" 5; }
15738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15739 libsanitizer_cv_sys_filetype
=$filetype
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_filetype" >&5
15742 $as_echo "$libsanitizer_cv_sys_filetype" >&6; }
15744 # Match the file type to decide what files to compile.
15746 case "$libsanitizer_cv_sys_filetype" in
15747 elf
*) FORMAT_FILE
="elf.lo" ;;
15748 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
15749 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
15750 FORMAT_FILE
="unknown.lo"
15751 backtrace_supported
=no
15758 case "$libsanitizer_cv_sys_filetype" in
15759 elf32
) elfsize
=32 ;;
15760 elf64
) elfsize
=64 ;;
15763 cat >>confdefs.h
<<_ACEOF
15764 #define BACKTRACE_ELF_SIZE $elfsize
15768 BACKTRACE_SUPPORTED
=0
15769 if test "$backtrace_supported" = "yes"; then
15770 BACKTRACE_SUPPORTED
=1
15776 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15778 acx_cv_header_stdint
=stddef.h
15779 acx_cv_header_stdint_kind
="(already complete)"
15780 for i
in stdint.h
$inttype_headers; do
15781 unset ac_cv_type_uintptr_t
15782 unset ac_cv_type_uintmax_t
15783 unset ac_cv_type_int_least32_t
15784 unset ac_cv_type_int_fast32_t
15785 unset ac_cv_type_uint64_t
15786 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15787 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15790 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
15791 acx_cv_header_stdint
=$i
15796 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15799 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15802 acx_cv_header_stdint_kind
="(mostly complete)"
15805 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15808 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
15811 acx_cv_header_stdint_kind
="(mostly complete)"
15814 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15817 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
15820 acx_cv_header_stdint_kind
="(mostly complete)"
15823 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15826 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15829 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15834 if test "$acx_cv_header_stdint" = stddef.h
; then
15835 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15836 for i
in stdint.h
$inttype_headers; do
15837 unset ac_cv_type_uintptr_t
15838 unset ac_cv_type_uint32_t
15839 unset ac_cv_type_uint64_t
15840 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15841 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15844 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
15845 acx_cv_header_stdint
=$i
15850 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15853 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15857 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15860 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15867 if test "$acx_cv_header_stdint" = stddef.h
; then
15868 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15869 for i
in sys
/types.h
$inttype_headers; do
15870 unset ac_cv_type_u_int32_t
15871 unset ac_cv_type_u_int64_t
15872 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15873 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15876 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
15877 acx_cv_header_stdint
=$i
15882 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15885 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
15892 if test "$acx_cv_header_stdint" = stddef.h
; then
15893 acx_cv_header_stdint_kind
="(using manual detection)"
15896 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15897 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15898 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15899 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15900 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15902 # ----------------- Summarize what we found so far
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15905 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15907 case `$as_basename -- gstdint.h ||
15908 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15909 Xgstdint.h : 'X\(//\)$' \| \
15910 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15911 $as_echo X/gstdint.h |
15912 sed '/^.*\/\([^/][^/]*\)\/*$/{
15925 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15926 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15927 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15928 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15933 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15935 # ----------------- done included file, check C basic types --------
15937 # Lacking an uintptr_t? Test size of void *
15938 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15939 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15940 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15941 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15942 # This bug is HP SR number 8606223364.
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15944 $as_echo_n "checking size of void *... " >&6; }
15945 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15946 $as_echo_n "(cached) " >&6
15948 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15951 if test "$ac_cv_type_void_p" = yes; then
15952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15954 { as_fn_set_status
77
15955 as_fn_error
"cannot compute sizeof (void *)
15956 See \`config.log' for more details." "$LINENO" 5; }; }
15958 ac_cv_sizeof_void_p
=0
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15964 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15968 cat >>confdefs.h
<<_ACEOF
15969 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15975 # Lacking an uint64_t? Test size of long
15976 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15977 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15978 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15979 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15980 # This bug is HP SR number 8606223364.
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15982 $as_echo_n "checking size of long... " >&6; }
15983 if test "${ac_cv_sizeof_long+set}" = set; then :
15984 $as_echo_n "(cached) " >&6
15986 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15989 if test "$ac_cv_type_long" = yes; then
15990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15992 { as_fn_set_status
77
15993 as_fn_error
"cannot compute sizeof (long)
15994 See \`config.log' for more details." "$LINENO" 5; }; }
15996 ac_cv_sizeof_long
=0
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16002 $as_echo "$ac_cv_sizeof_long" >&6; }
16006 cat >>confdefs.h
<<_ACEOF
16007 #define SIZEOF_LONG $ac_cv_sizeof_long
16013 if test $acx_cv_header_stdint = stddef.h
; then
16014 # Lacking a good header? Test size of everything and deduce all types.
16015 # The cast to long int works around a bug in the HP C Compiler
16016 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16017 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16018 # This bug is HP SR number 8606223364.
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16020 $as_echo_n "checking size of int... " >&6; }
16021 if test "${ac_cv_sizeof_int+set}" = set; then :
16022 $as_echo_n "(cached) " >&6
16024 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16027 if test "$ac_cv_type_int" = yes; then
16028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16030 { as_fn_set_status
77
16031 as_fn_error
"cannot compute sizeof (int)
16032 See \`config.log' for more details." "$LINENO" 5; }; }
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16040 $as_echo "$ac_cv_sizeof_int" >&6; }
16044 cat >>confdefs.h
<<_ACEOF
16045 #define SIZEOF_INT $ac_cv_sizeof_int
16049 # The cast to long int works around a bug in the HP C Compiler
16050 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16051 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16052 # This bug is HP SR number 8606223364.
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16054 $as_echo_n "checking size of short... " >&6; }
16055 if test "${ac_cv_sizeof_short+set}" = set; then :
16056 $as_echo_n "(cached) " >&6
16058 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16061 if test "$ac_cv_type_short" = yes; then
16062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16064 { as_fn_set_status
77
16065 as_fn_error
"cannot compute sizeof (short)
16066 See \`config.log' for more details." "$LINENO" 5; }; }
16068 ac_cv_sizeof_short
=0
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16074 $as_echo "$ac_cv_sizeof_short" >&6; }
16078 cat >>confdefs.h
<<_ACEOF
16079 #define SIZEOF_SHORT $ac_cv_sizeof_short
16083 # The cast to long int works around a bug in the HP C Compiler
16084 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16085 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16086 # This bug is HP SR number 8606223364.
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16088 $as_echo_n "checking size of char... " >&6; }
16089 if test "${ac_cv_sizeof_char+set}" = set; then :
16090 $as_echo_n "(cached) " >&6
16092 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16095 if test "$ac_cv_type_char" = yes; then
16096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16098 { as_fn_set_status
77
16099 as_fn_error
"cannot compute sizeof (char)
16100 See \`config.log' for more details." "$LINENO" 5; }; }
16102 ac_cv_sizeof_char
=0
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16108 $as_echo "$ac_cv_sizeof_char" >&6; }
16112 cat >>confdefs.h
<<_ACEOF
16113 #define SIZEOF_CHAR $ac_cv_sizeof_char
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16119 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16120 case "$ac_cv_sizeof_char" in
16121 1) acx_cv_type_int8_t
=char
;;
16122 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16125 $as_echo "$acx_cv_type_int8_t" >&6; }
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16128 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16129 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16130 2:*) acx_cv_type_int16_t
=int
;;
16131 *:2) acx_cv_type_int16_t
=short
;;
16132 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16135 $as_echo "$acx_cv_type_int16_t" >&6; }
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16138 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16139 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16140 4:*) acx_cv_type_int32_t
=int
;;
16141 *:4) acx_cv_type_int32_t
=long
;;
16142 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16145 $as_echo "$acx_cv_type_int32_t" >&6; }
16148 # These tests are here to make the output prettier
16150 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16151 case "$ac_cv_sizeof_long" in
16152 8) acx_cv_type_int64_t
=long
;;
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16155 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16157 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16160 # Now we can use the above types
16162 if test "$ac_cv_type_uintptr_t" != yes; then
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16164 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16165 case $ac_cv_sizeof_void_p in
16166 2) acx_cv_type_intptr_t
=int16_t
;;
16167 4) acx_cv_type_intptr_t
=int32_t
;;
16168 8) acx_cv_type_intptr_t
=int64_t
;;
16169 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16172 $as_echo "$acx_cv_type_intptr_t" >&6; }
16175 # ----------------- done all checks, emit header -------------
16176 ac_config_commands
="$ac_config_commands gstdint.h"
16181 for ac_header
in sys
/mman.h alloca.h
16183 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16184 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16185 eval as_val
=\$
$as_ac_Header
16186 if test "x$as_val" = x
""yes; then :
16187 cat >>confdefs.h
<<_ACEOF
16188 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16195 if test "$ac_cv_header_sys_mman_h" = "no"; then
16198 if test -n "${with_target_subdir}"; then
16199 # When built as a GCC target library, we can't do a link test. We
16200 # simply assume that if we have mman.h, we have mmap.
16203 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
16204 if test "x$ac_cv_func_mmap" = x
""yes; then :
16212 if test "$have_mmap" = "no"; then
16214 ALLOC_FILE
=alloc.lo
16216 VIEW_FILE
=mmapio.lo
16217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16220 #include <sys/mman.h>
16221 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
16222 #error no MAP_ANONYMOUS
16226 if ac_fn_c_try_cpp
"$LINENO"; then :
16229 ALLOC_FILE
=alloc.lo
16231 rm -f conftest.err conftest.
$ac_ext
16236 BACKTRACE_USES_MALLOC
=0
16237 if test "$ALLOC_FILE" = "alloc.lo"; then
16238 BACKTRACE_USES_MALLOC
=1
16242 # Don't care about thread support
16243 BACKTRACE_SUPPORTS_THREADS
=0
16246 # Check for dl_iterate_phdr.
16247 for ac_header
in link.h
16249 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
16250 if test "x$ac_cv_header_link_h" = x
""yes; then :
16251 cat >>confdefs.h
<<_ACEOF
16252 #define HAVE_LINK_H 1
16259 if test "$ac_cv_header_link_h" = "no"; then
16260 have_dl_iterate_phdr
=no
16262 # When built as a GCC target library, we can't do a link test.
16263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16264 /* end confdefs.h. */
16268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16269 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
16270 have_dl_iterate_phdr
=yes
16272 have_dl_iterate_phdr
=no
16278 # Avoid dl_iterate_phdr on Solaris 10, where it is in the
16279 # header file but is only in -ldl.
16280 have_dl_iterate_phdr
=no
;;
16283 if test "$have_dl_iterate_phdr" = "yes"; then
16285 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
16289 # Check for the fcntl function.
16290 if test -n "${with_target_subdir}"; then
16292 *-*-mingw*) have_fcntl
=no
;;
16293 *) have_fcntl
=yes ;;
16296 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
16297 if test "x$ac_cv_func_fcntl" = x
""yes; then :
16304 if test "$have_fcntl" = "yes"; then
16306 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
16310 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
16311 if test "x$ac_cv_have_decl_strnlen" = x
""yes; then :
16317 cat >>confdefs.h
<<_ACEOF
16318 #define HAVE_DECL_STRNLEN $ac_have_decl
16322 # Check for getexecname function.
16323 if test -n "${with_target_subdir}"; then
16325 *-*-solaris2*) have_getexecname
=yes ;;
16326 *) have_getexecname
=no
;;
16329 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
16330 if test "x$ac_cv_func_getexecname" = x
""yes; then :
16331 have_getexecname
=yes
16333 have_getexecname
=no
16337 if test "$have_getexecname" = "yes"; then
16339 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
16343 if test "x${BACKTRACE_SUPPORTED}x${BACKTRACE_USES_MALLOC}" = "x1x0"; then
16344 LIBBACKTRACE_SUPPORTED_TRUE
=
16345 LIBBACKTRACE_SUPPORTED_FALSE
='#'
16347 LIBBACKTRACE_SUPPORTED_TRUE
='#'
16348 LIBBACKTRACE_SUPPORTED_FALSE
=
16353 ac_config_files
="$ac_config_files Makefile libsanitizer.spec libbacktrace/backtrace-supported.h"
16355 ac_config_headers
="$ac_config_headers config.h"
16358 ac_config_files
="$ac_config_files interception/Makefile sanitizer_common/Makefile libbacktrace/Makefile lsan/Makefile asan/Makefile ubsan/Makefile"
16361 if test "x$TSAN_SUPPORTED" = "xyes"; then
16362 ac_config_files
="$ac_config_files tsan/Makefile"
16366 cat >confcache
<<\_ACEOF
16367 # This file is a shell script that caches the results of configure
16368 # tests run on this system so they can be shared between configure
16369 # scripts and configure runs, see configure's option --config-cache.
16370 # It is not useful on other systems. If it contains results you don't
16371 # want to keep, you may remove or edit it.
16373 # config.status only pays attention to the cache file if you give it
16374 # the --recheck option to rerun configure.
16376 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16378 # following values.
16382 # The following way of writing the cache mishandles newlines in values,
16383 # but we know of no workaround that is simple, portable, and efficient.
16384 # So, we kill variables containing newlines.
16385 # Ultrix sh set writes to stderr and can't be redirected directly,
16386 # and sets the high bit in the cache file unless we assign to the vars.
16388 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16389 eval ac_val
=\$
$ac_var
16393 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16394 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16397 _ | IFS | as_nl
) ;; #(
16398 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16399 *) { eval $ac_var=; unset $ac_var;} ;;
16405 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16406 *${as_nl}ac_space
=\
*)
16407 # `set' does not quote correctly, so add quotes: double-quote
16408 # substitution turns \\\\ into \\, and sed turns \\ into \.
16411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16414 # `set' quotes correctly as required by POSIX, so do not add quotes.
16415 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16424 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16426 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16428 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16429 if test -w "$cache_file"; then
16430 test "x$cache_file" != "x/dev/null" &&
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16432 $as_echo "$as_me: updating cache $cache_file" >&6;}
16433 cat confcache
>$cache_file
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16436 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16441 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16442 # Let make expand exec_prefix.
16443 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16445 DEFS
=-DHAVE_CONFIG_H
16449 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16450 # 1. Remove the extension, and $U if already installed.
16451 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16452 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16453 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16454 # will be set to the directory where LIBOBJS objects are built.
16455 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16456 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16458 LIBOBJS
=$ac_libobjs
16460 LTLIBOBJS
=$ac_ltlibobjs
16463 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16464 as_fn_error
"conditional \"AMDEP\" was never defined.
16465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16467 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16468 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16471 if test -n "$EXEEXT"; then
16473 am__EXEEXT_FALSE
='#'
16475 am__EXEEXT_TRUE
='#'
16479 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16480 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16483 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16484 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
16485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16487 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16488 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
16489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16491 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
16492 as_fn_error
"conditional \"TSAN_SUPPORTED\" was never defined.
16493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16495 if test -z "${LSAN_SUPPORTED_TRUE}" && test -z "${LSAN_SUPPORTED_FALSE}"; then
16496 as_fn_error
"conditional \"LSAN_SUPPORTED\" was never defined.
16497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16499 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
16500 as_fn_error
"conditional \"USING_MAC_INTERPOSE\" was never defined.
16501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16503 if test -z "${SANITIZER_SUPPORTED_TRUE}" && test -z "${SANITIZER_SUPPORTED_FALSE}"; then
16504 as_fn_error
"conditional \"SANITIZER_SUPPORTED\" was never defined.
16505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16507 if test -z "${LIBBACKTRACE_SUPPORTED_TRUE}" && test -z "${LIBBACKTRACE_SUPPORTED_FALSE}"; then
16508 as_fn_error
"conditional \"LIBBACKTRACE_SUPPORTED\" was never defined.
16509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16512 : ${CONFIG_STATUS=./config.status}
16514 ac_clean_files_save
=$ac_clean_files
16515 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16517 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16519 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16521 # Generated by $as_me.
16522 # Run this file to recreate the current configuration.
16523 # Compiler output produced by configure, useful for debugging
16524 # configure, is in config.log if it exists.
16527 ac_cs_recheck=false
16530 SHELL=\${CONFIG_SHELL-$SHELL}
16533 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16534 ## -------------------- ##
16535 ## M4sh Initialization. ##
16536 ## -------------------- ##
16538 # Be more Bourne compatible
16539 DUALCASE
=1; export DUALCASE
# for MKS sh
16540 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16543 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16544 # is contrary to our usage. Disable this feature.
16545 alias -g '${1+"$@"}'='"$@"'
16546 setopt NO_GLOB_SUBST
16548 case `(set -o) 2>/dev/null` in #(
16560 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16561 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16563 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16564 # Prefer a ksh shell builtin over an external printf program on Solaris,
16565 # but without wasting forks for bash or zsh.
16566 if test -z "$BASH_VERSION$ZSH_VERSION" \
16567 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16568 as_echo='print
-r --'
16569 as_echo_n='print
-rn --'
16570 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16571 as_echo='printf %s
\n'
16572 as_echo_n='printf %s
'
16574 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16575 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16576 as_echo_n='/usr
/ucb
/echo -n'
16578 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16579 as_echo_n_body='eval
16583 expr "X$arg" : "X\\(.*\\)$as_nl";
16584 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16586 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16588 export as_echo_n_body
16589 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16591 export as_echo_body
16592 as_echo='sh
-c $as_echo_body as_echo
'
16595 # The user is always right.
16596 if test "${PATH_SEPARATOR+set}" != set; then
16598 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16599 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16606 # We need space, tab and new line, in precisely that order. Quoting is
16607 # there to prevent editors from complaining about space-tab.
16608 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16609 # splitting by setting IFS to empty value.)
16612 # Find who we are. Look in the path if we contain no directory separator.
16614 *[\\/]* ) as_myself=$0 ;;
16615 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16616 for as_dir in $PATH
16619 test -z "$as_dir" && as_dir=.
16620 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16626 # We did not find ourselves, most probably we were run as `sh COMMAND'
16627 # in which case we are not to be found in the path.
16628 if test "x$as_myself" = x
; then
16631 if test ! -f "$as_myself"; then
16632 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16636 # Unset variables that we do not need and which cause bugs (e.g. in
16637 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16638 # suppresses any "Segmentation fault" message there. '((' could
16639 # trigger a bug in pdksh 5.2.14.
16640 for as_var
in BASH_ENV ENV MAIL MAILPATH
16641 do eval test x\
${$as_var+set} = xset \
16642 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16655 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16658 # as_fn_error ERROR [LINENO LOG_FD]
16659 # ---------------------------------
16660 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16661 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16662 # script with status $?, using 1 if that was 0.
16665 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16667 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16668 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16670 $as_echo "$as_me: error: $1" >&2
16671 as_fn_exit
$as_status
16675 # as_fn_set_status STATUS
16676 # -----------------------
16677 # Set $? to STATUS, without forking.
16678 as_fn_set_status
()
16681 } # as_fn_set_status
16683 # as_fn_exit STATUS
16684 # -----------------
16685 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16689 as_fn_set_status
$1
16695 # Portably unset VAR.
16698 { eval $1=; unset $1;}
16700 as_unset
=as_fn_unset
16701 # as_fn_append VAR VALUE
16702 # ----------------------
16703 # Append the text in VALUE to the end of the definition contained in VAR. Take
16704 # advantage of any shell optimizations that allow amortized linear growth over
16705 # repeated appends, instead of the typical quadratic growth present in naive
16707 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16708 eval 'as_fn_append ()
16719 # as_fn_arith ARG...
16720 # ------------------
16721 # Perform arithmetic evaluation on the ARGs, and store the result in the
16722 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16723 # must be portable across $(()) and expr.
16724 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16725 eval 'as_fn_arith ()
16732 as_val
=`expr "$@" || test $? -eq 1`
16737 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16738 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16744 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16745 as_basename
=basename
16750 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16756 as_me
=`$as_basename -- "$0" ||
16757 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16758 X"$0" : 'X\(//\)$' \| \
16759 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16761 sed '/^.*\/\([^/][^/]*\)\/*$/{
16775 # Avoid depending upon Character Ranges.
16776 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16777 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16778 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16779 as_cr_digits
='0123456789'
16780 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16782 ECHO_C
= ECHO_N
= ECHO_T
=
16783 case `echo -n x` in #(((((
16785 case `echo 'xy\c'` in
16786 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16788 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16795 rm -f conf$$ conf$$.exe conf$$.
file
16796 if test -d conf$$.dir
; then
16797 rm -f conf$$.dir
/conf$$.
file
16800 mkdir conf$$.dir
2>/dev
/null
16802 if (echo >conf$$.
file) 2>/dev
/null
; then
16803 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16805 # ... but there are two gotchas:
16806 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16807 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16808 # In both cases, we have to default to `cp -p'.
16809 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16811 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16819 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16820 rmdir conf$$.dir
2>/dev
/null
16825 # Create "$as_dir" as a directory, including parents if necessary.
16830 -*) as_dir
=.
/$as_dir;;
16832 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16836 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16837 *) as_qdir
=$as_dir;;
16839 as_dirs
="'$as_qdir' $as_dirs"
16840 as_dir
=`$as_dirname -- "$as_dir" ||
16841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16842 X"$as_dir" : 'X\(//\)[^/]' \| \
16843 X"$as_dir" : 'X\(//\)$' \| \
16844 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16845 $as_echo X"$as_dir" |
16846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16850 /^X\(\/\/\)[^/].*/{
16863 test -d "$as_dir" && break
16865 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16866 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16870 if mkdir
-p .
2>/dev
/null
; then
16871 as_mkdir_p
='mkdir -p "$as_dir"'
16873 test -d .
/-p && rmdir .
/-p
16877 if test -x / >/dev
/null
2>&1; then
16878 as_test_x
='test -x'
16880 if ls -dL / >/dev
/null
2>&1; then
16887 if test -d "$1"; then
16893 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16894 ???[sx]*):;;*)false;;esac;fi
16898 as_executable_p
=$as_test_x
16900 # Sed expression to map a string onto a valid CPP name.
16901 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16903 # Sed expression to map a string onto a valid variable name.
16904 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16908 ## ----------------------------------- ##
16909 ## Main body of $CONFIG_STATUS script. ##
16910 ## ----------------------------------- ##
16912 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16915 # Save the log message, to keep $0 and so on meaningful, and to
16916 # report actual input values of CONFIG_FILES etc. instead of their
16917 # values after options handling.
16919 This file was extended by package-unused $as_me version-unused, which was
16920 generated by GNU Autoconf 2.64. Invocation command line was
16922 CONFIG_FILES = $CONFIG_FILES
16923 CONFIG_HEADERS = $CONFIG_HEADERS
16924 CONFIG_LINKS = $CONFIG_LINKS
16925 CONFIG_COMMANDS = $CONFIG_COMMANDS
16928 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16933 case $ac_config_files in *"
16934 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16937 case $ac_config_headers in *"
16938 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16943 # Files that config.status was made for.
16944 config_files="$ac_config_files"
16945 config_headers="$ac_config_headers"
16946 config_commands="$ac_config_commands"
16950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16952 \`$as_me' instantiates files and other configuration actions
16953 from templates according to the current configuration. Unless the files
16954 and actions are specified as TAGs, all are instantiated by default.
16956 Usage: $0 [OPTION]... [TAG]...
16958 -h, --help print this help, then exit
16959 -V, --version print version number and configuration settings, then exit
16960 -q, --quiet, --silent
16961 do not print progress messages
16962 -d, --debug don't remove temporary files
16963 --recheck update $as_me by reconfiguring in the same conditions
16964 --file=FILE[:TEMPLATE]
16965 instantiate the configuration file FILE
16966 --header=FILE[:TEMPLATE]
16967 instantiate the configuration header FILE
16969 Configuration files:
16972 Configuration headers:
16975 Configuration commands:
16978 Report bugs to <libsanitizer>."
16981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16983 package-unused config.status version-unused
16984 configured by $0, generated by GNU Autoconf 2.64,
16985 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16987 Copyright (C) 2009 Free Software Foundation, Inc.
16988 This config.status script is free software; the Free Software Foundation
16989 gives unlimited permission to copy, distribute and modify it."
16996 test -n "\$AWK" || AWK=awk
16999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17000 # The default lists apply if the user does not specify any file.
17006 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17007 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17018 # Handling of the options.
17019 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17021 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17022 $as_echo "$ac_cs_version"; exit ;;
17023 --debug |
--debu |
--deb |
--de |
--d |
-d )
17025 --file |
--fil |
--fi |
--f )
17028 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17030 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17031 ac_need_defaults
=false
;;
17032 --header |
--heade |
--head |
--hea )
17035 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17037 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17038 ac_need_defaults
=false
;;
17040 # Conflict between --help and --header
17041 as_fn_error
"ambiguous option: \`$1'
17042 Try \`$0 --help' for more information.";;
17043 --help |
--hel |
-h )
17044 $as_echo "$ac_cs_usage"; exit ;;
17045 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17046 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17049 # This is an error.
17050 -*) as_fn_error
"unrecognized option: \`$1'
17051 Try \`$0 --help' for more information." ;;
17053 *) as_fn_append ac_config_targets
" $1"
17054 ac_need_defaults
=false
;;
17060 ac_configure_extra_args
=
17062 if $ac_cs_silent; then
17064 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17069 if \$ac_cs_recheck; then
17070 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17072 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17073 CONFIG_SHELL='$SHELL'
17074 export CONFIG_SHELL
17079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17083 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17084 ## Running $as_me. ##
17090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17098 with_multisubdir="$with_multisubdir"
17099 with_multisrctop="$with_multisrctop"
17100 with_target_subdir="$with_target_subdir"
17101 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17102 multi_basedir="$multi_basedir"
17103 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17106 GFORTRAN="$GFORTRAN"
17108 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17111 # The HP-UX ksh and POSIX shell print the target directory to stdout
17112 # if CDPATH is set.
17113 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17115 sed_quote_subst='$sed_quote_subst'
17116 double_quote_subst='$double_quote_subst'
17117 delay_variable_subst='$delay_variable_subst'
17118 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17119 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17120 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17121 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17122 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17123 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17124 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17125 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17126 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17127 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17128 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17129 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17130 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17131 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17132 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17133 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17134 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17135 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17136 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17137 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17138 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17139 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17140 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17141 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17142 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17143 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17144 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17145 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17146 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17147 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17148 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17149 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17150 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17151 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17152 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17153 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17154 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17155 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17156 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17157 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17158 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17159 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17160 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17161 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17162 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17163 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17164 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17165 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17166 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"`'
17167 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17168 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17169 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17170 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17171 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17172 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17173 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17174 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17175 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17176 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17177 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17178 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17179 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17180 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17181 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17182 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17183 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17184 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17185 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17186 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17187 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17188 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17189 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17190 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17191 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17192 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17193 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17194 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17195 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17196 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17197 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17198 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17199 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17200 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17201 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17202 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17203 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17204 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17205 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17206 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17207 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17208 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17209 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17210 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17211 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17212 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17213 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17214 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17215 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17216 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17217 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17218 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17219 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17220 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17221 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17222 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17223 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17224 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17225 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17226 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17227 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17228 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17229 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17230 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17231 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17232 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17233 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17234 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17235 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17236 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17237 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17238 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17239 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17240 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17241 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17242 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17243 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17244 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17245 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17246 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17247 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17248 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17249 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17250 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17251 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17252 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17253 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17254 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17255 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17256 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17257 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17258 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17259 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17260 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17261 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17262 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17263 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17264 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17265 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17266 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17267 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17268 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17269 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17270 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17271 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17272 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17273 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17274 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17275 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17276 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17277 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17278 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17279 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
17280 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17281 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17282 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17283 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17284 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17285 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17286 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17287 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17288 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17289 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17290 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17291 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17292 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17295 LTCFLAGS='$LTCFLAGS'
17296 compiler='$compiler_DEFAULT'
17298 # A function that is used when there is no print builtin or printf.
17299 func_fallback_echo ()
17301 eval 'cat <<_LTECHO_EOF
17306 # Quote evaled strings.
17320 deplibs_check_method \
17329 lt_cv_sys_global_symbol_pipe \
17330 lt_cv_sys_global_symbol_to_cdecl \
17331 lt_cv_sys_global_symbol_to_c_name_address \
17332 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17333 lt_prog_compiler_no_builtin_flag \
17334 lt_prog_compiler_wl \
17335 lt_prog_compiler_pic \
17336 lt_prog_compiler_static \
17337 lt_cv_prog_compiler_c_o \
17345 export_dynamic_flag_spec \
17346 whole_archive_flag_spec \
17347 compiler_needs_object \
17349 allow_undefined_flag \
17350 no_undefined_flag \
17351 hardcode_libdir_flag_spec \
17352 hardcode_libdir_flag_spec_ld \
17353 hardcode_libdir_separator \
17358 variables_saved_for_relink \
17360 library_names_spec \
17362 install_override_mode \
17366 compiler_lib_search_dirs \
17371 compiler_lib_search_path \
17375 lt_prog_compiler_no_builtin_flag_CXX \
17376 lt_prog_compiler_wl_CXX \
17377 lt_prog_compiler_pic_CXX \
17378 lt_prog_compiler_static_CXX \
17379 lt_cv_prog_compiler_c_o_CXX \
17380 export_dynamic_flag_spec_CXX \
17381 whole_archive_flag_spec_CXX \
17382 compiler_needs_object_CXX \
17384 allow_undefined_flag_CXX \
17385 no_undefined_flag_CXX \
17386 hardcode_libdir_flag_spec_CXX \
17387 hardcode_libdir_flag_spec_ld_CXX \
17388 hardcode_libdir_separator_CXX \
17389 fix_srcfile_path_CXX \
17390 exclude_expsyms_CXX \
17391 include_expsyms_CXX \
17392 file_list_spec_CXX \
17393 compiler_lib_search_dirs_CXX \
17394 predep_objects_CXX \
17395 postdep_objects_CXX \
17398 compiler_lib_search_path_CXX; do
17399 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17400 *[\\\\\\\`\\"\\\$]*)
17401 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17404 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17409 # Double-quote double-evaled strings.
17410 for var in reload_cmds \
17411 old_postinstall_cmds \
17412 old_postuninstall_cmds \
17414 extract_expsyms_cmds \
17415 old_archive_from_new_cmds \
17416 old_archive_from_expsyms_cmds \
17418 archive_expsym_cmds \
17420 module_expsym_cmds \
17421 export_symbols_cmds \
17424 postuninstall_cmds \
17426 sys_lib_search_path_spec \
17427 sys_lib_dlsearch_path_spec \
17429 old_archive_cmds_CXX \
17430 old_archive_from_new_cmds_CXX \
17431 old_archive_from_expsyms_cmds_CXX \
17433 archive_expsym_cmds_CXX \
17435 module_expsym_cmds_CXX \
17436 export_symbols_cmds_CXX \
17437 prelink_cmds_CXX; do
17438 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17439 *[\\\\\\\`\\"\\\$]*)
17440 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17443 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17448 ac_aux_dir='$ac_aux_dir'
17449 xsi_shell='$xsi_shell'
17450 lt_shell_append='$lt_shell_append'
17452 # See if we are running on zsh, and set the options which allow our
17453 # commands through without removal of \ escapes INIT.
17454 if test -n "\${ZSH_VERSION+set}" ; then
17455 setopt NO_GLOB_SUBST
17461 TIMESTAMP='$TIMESTAMP'
17472 acx_cv_header_stdint="$acx_cv_header_stdint"
17473 acx_cv_type_int8_t="$acx_cv_type_int8_t"
17474 acx_cv_type_int16_t="$acx_cv_type_int16_t"
17475 acx_cv_type_int32_t="$acx_cv_type_int32_t"
17476 acx_cv_type_int64_t="$acx_cv_type_int64_t"
17477 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
17478 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
17479 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
17480 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17481 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17482 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
17483 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17484 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17485 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
17490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17492 # Handling of arguments.
17493 for ac_config_target
in $ac_config_targets
17495 case $ac_config_target in
17496 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17497 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17498 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17499 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
17500 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17501 "libsanitizer.spec") CONFIG_FILES
="$CONFIG_FILES libsanitizer.spec" ;;
17502 "libbacktrace/backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES libbacktrace/backtrace-supported.h" ;;
17503 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17504 "interception/Makefile") CONFIG_FILES
="$CONFIG_FILES interception/Makefile" ;;
17505 "sanitizer_common/Makefile") CONFIG_FILES
="$CONFIG_FILES sanitizer_common/Makefile" ;;
17506 "libbacktrace/Makefile") CONFIG_FILES
="$CONFIG_FILES libbacktrace/Makefile" ;;
17507 "lsan/Makefile") CONFIG_FILES
="$CONFIG_FILES lsan/Makefile" ;;
17508 "asan/Makefile") CONFIG_FILES
="$CONFIG_FILES asan/Makefile" ;;
17509 "ubsan/Makefile") CONFIG_FILES
="$CONFIG_FILES ubsan/Makefile" ;;
17510 "tsan/Makefile") CONFIG_FILES
="$CONFIG_FILES tsan/Makefile" ;;
17512 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17517 # If the user did not use the arguments to specify the items to instantiate,
17518 # then the envvar interface is used. Set only those that are not.
17519 # We use the long form for the default assignment because of an extremely
17520 # bizarre bug on SunOS 4.1.3.
17521 if $ac_need_defaults; then
17522 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17523 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17524 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17527 # Have a temporary directory for convenience. Make it in the build tree
17528 # simply because there is no reason against having it here, and in addition,
17529 # creating and moving files from /tmp can sometimes cause problems.
17530 # Hook for its removal unless debugging.
17531 # Note that there is a small window in which the directory will not be cleaned:
17532 # after its creation but before its name has been assigned to `$tmp'.
17536 trap 'exit_status=$?
17537 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17539 trap 'as_fn_exit 1' 1 2 13 15
17541 # Create a (secure) tmp directory for tmp files.
17544 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17545 test -n "$tmp" && test -d "$tmp"
17548 tmp
=.
/conf$$
-$RANDOM
17549 (umask 077 && mkdir
"$tmp")
17550 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17552 # Set up the scripts for CONFIG_FILES section.
17553 # No need to generate them if there are no CONFIG_FILES.
17554 # This happens for instance with `./config.status config.h'.
17555 if test -n "$CONFIG_FILES"; then
17558 ac_cr
=`echo X | tr X '\015'`
17559 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17560 # But we know of no other shell where ac_cr would be empty at this
17561 # point, so we can use a bashism as a fallback.
17562 if test "x$ac_cr" = x
; then
17563 eval ac_cr
=\$
\'\\r
\'
17565 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17566 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17569 ac_cs_awk_cr
=$ac_cr
17572 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17577 echo "cat >conf$$subs.awk <<_ACEOF" &&
17578 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17580 } >conf$$subs.sh ||
17581 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17582 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17584 for ac_last_try in false false false false false :; do
17585 . ./conf$$subs.sh ||
17586 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17588 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17589 if test $ac_delim_n = $ac_delim_num; then
17591 elif $ac_last_try; then
17592 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17594 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17597 rm -f conf$$subs.sh
17599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17600 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17604 s/^/S["/; s
/!.
*/"]=/
17614 s/\(.\{148\}\).*/\1/
17616 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17621 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17628 s/\(.\{148\}\).*/\1/
17630 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17634 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17639 ' <conf$$subs.awk | sed '
17644 ' >>$CONFIG_STATUS || ac_write_fail=1
17645 rm -f conf$$subs.awk
17646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17648 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17649 for (key in S) S_is_set[key] = 1
17655 nfields = split(line, field, "@
")
17657 len = length(field[1])
17658 for (i = 2; i < nfields; i++) {
17660 keylen = length(key)
17661 if (S_is_set[key]) {
17663 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17664 len += length(value) + length(field[++i])
17675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17676 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17677 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17680 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17681 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17684 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17685 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17686 # trailing colons and then remove the whole line if VPATH becomes empty
17687 # (actually we leave an empty line to preserve line numbers).
17688 if test "x
$srcdir" = x.; then
17689 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17690 s/:*\$(srcdir):*/:/
17691 s/:*\${srcdir}:*/:/
17693 s/^\([^=]*=[ ]*\):*/\1/
17699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17700 fi # test -n "$CONFIG_FILES"
17702 # Set up the scripts for CONFIG_HEADERS section.
17703 # No need to generate them if there are no CONFIG_HEADERS.
17704 # This happens for instance with `./config.status Makefile'.
17705 if test -n "$CONFIG_HEADERS"; then
17706 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17710 # Transform confdefs.h into an awk script `defines.awk', embedded as
17711 # here-document in config.status, that substitutes the proper values into
17712 # config.h.in to produce config.h.
17714 # Create a delimiter string that does not exist in confdefs.h, to ease
17715 # handling of long lines.
17717 for ac_last_try in false false :; do
17718 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17719 if test -z "$ac_t"; then
17721 elif $ac_last_try; then
17722 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17724 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17728 # For the awk script, D is an array of macro values keyed by name,
17729 # likewise P contains macro parameters if any. Preserve backslash
17730 # newline sequences.
17732 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17734 s/.\{148\}/&'"$ac_delim"'/g
17737 s/^[ ]*#[ ]*define[ ][ ]*/ /
17744 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17746 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17750 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17751 D["\
1"]=" \
3\\\\\\n
"\\/p
17753 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17758 s/.\{148\}/&'"$ac_delim"'/g
17763 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17766 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17768 ' <confdefs.h | sed '
17769 s/'"$ac_delim"'/"\\\
17770 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17773 for (key in D) D_is_set[key] = 1
17776 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17778 split(line, arg, " ")
17779 if (arg[1] == "#") {
17783 defundef
= substr
(arg
[1], 2)
17786 split(mac1
, mac2
, "(") #)
17788 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17789 if (D_is_set
[macro
]) {
17790 # Preserve the white space surrounding the "#".
17791 print prefix
"define", macro P
[macro
] D
[macro
]
17794 # Replace #undef with comments. This is necessary, for example,
17795 # in the case of _POSIX_SOURCE, which is predefined and required
17796 # on some systems where configure will not decide to define it.
17797 if (defundef
== "undef") {
17798 print
"/*", prefix defundef
, macro
, "*/"
17806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17807 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17808 fi # test -n "$CONFIG_HEADERS"
17811 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17816 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17818 case $ac_mode$ac_tag in
17820 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17821 :[FH
]-) ac_tag
=-:-;;
17822 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17839 -) ac_f
="$tmp/stdin";;
17840 *) # Look for the file first in the build tree, then in the source tree
17841 # (if the path is not absolute). The absolute path cannot be DOS-style,
17842 # because $ac_f cannot contain `:'.
17846 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17848 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17850 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17851 as_fn_append ac_file_inputs
" '$ac_f'"
17854 # Let's still pretend it is `configure' which instantiates (i.e., don't
17855 # use $as_me), people would be surprised to read:
17856 # /* config.h. Generated by config.status. */
17857 configure_input
='Generated from '`
17858 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17860 if test x
"$ac_file" != x-
; then
17861 configure_input
="$ac_file. $configure_input"
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17863 $as_echo "$as_me: creating $ac_file" >&6;}
17865 # Neutralize special characters interpreted by sed in replacement strings.
17866 case $configure_input in #(
17867 *\
&* |
*\|
* |
*\\* )
17868 ac_sed_conf_input
=`$as_echo "$configure_input" |
17869 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17870 *) ac_sed_conf_input
=$configure_input;;
17874 *:-:* |
*:-) cat >"$tmp/stdin" \
17875 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17880 ac_dir
=`$as_dirname -- "$ac_file" ||
17881 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17882 X"$ac_file" : 'X\(//\)[^/]' \| \
17883 X"$ac_file" : 'X\(//\)$' \| \
17884 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17885 $as_echo X"$ac_file" |
17886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17890 /^X\(\/\/\)[^/].*/{
17903 as_dir
="$ac_dir"; as_fn_mkdir_p
17907 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17909 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17910 # A ".." for each directory in $ac_dir_suffix.
17911 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17912 case $ac_top_builddir_sub in
17913 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17914 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17917 ac_abs_top_builddir
=$ac_pwd
17918 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17919 # for backward compatibility:
17920 ac_top_builddir
=$ac_top_build_prefix
17923 .
) # We are building in place.
17925 ac_top_srcdir
=$ac_top_builddir_sub
17926 ac_abs_top_srcdir
=$ac_pwd ;;
17927 [\\/]* | ?
:[\\/]* ) # Absolute name.
17928 ac_srcdir
=$srcdir$ac_dir_suffix;
17929 ac_top_srcdir
=$srcdir
17930 ac_abs_top_srcdir
=$srcdir ;;
17931 *) # Relative name.
17932 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17933 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17934 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17936 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17946 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17947 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17949 ac_MKDIR_P
=$MKDIR_P
17951 [\\/$
]* | ?
:[\\/]* ) ;;
17952 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17957 # If the template does not know about datarootdir, expand it.
17958 # FIXME: This hack should be removed a few years after 2.60.
17959 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17970 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17971 *datarootdir
*) ac_datarootdir_seen
=yes;;
17972 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17974 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17977 ac_datarootdir_hack='
17978 s&@datadir@&$datadir&g
17979 s&@docdir@&$docdir&g
17980 s&@infodir@&$infodir&g
17981 s&@localedir@&$localedir&g
17982 s&@mandir@&$mandir&g
17983 s&\\\${datarootdir}&$datarootdir&g' ;;
17987 # Neutralize VPATH when `$srcdir' = `.'.
17988 # Shell code in configure.ac might set extrasub.
17989 # FIXME: do we really want to maintain this feature?
17990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17991 ac_sed_extra="$ac_vpsub
17994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17996 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17997 s|@configure_input@|
$ac_sed_conf_input|
;t t
17998 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17999 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18000 s
&@srcdir@
&$ac_srcdir&;t t
18001 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18002 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18003 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18004 s
&@builddir@
&$ac_builddir&;t t
18005 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18006 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18007 s
&@INSTALL@
&$ac_INSTALL&;t t
18008 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18009 $ac_datarootdir_hack
18011 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18012 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18014 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18015 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18016 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18018 which seems to be undefined. Please make sure it is defined." >&5
18019 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18020 which seems to be undefined. Please make sure it is defined." >&2;}
18024 -) cat "$tmp/out" && rm -f "$tmp/out";;
18025 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18027 || as_fn_error "could not create $ac_file" "$LINENO" 5
18033 if test x"$ac_file" != x-; then
18035 $as_echo "/* $configure_input */" \
18036 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18037 } >"$tmp/config.h" \
18038 || as_fn_error "could not create $ac_file" "$LINENO" 5
18039 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18041 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18044 mv "$tmp/config.h" "$ac_file" \
18045 || as_fn_error "could not create $ac_file" "$LINENO" 5
18048 $as_echo "/* $configure_input */" \
18049 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18050 || as_fn_error "could not create -" "$LINENO" 5
18052 # Compute "$ac_file"'s index
in $config_headers.
18055 for _am_header
in $config_headers :; do
18056 case $_am_header in
18057 $_am_arg |
$_am_arg:* )
18060 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18063 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18064 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18065 X"$_am_arg" : 'X\(//\)[^/]' \| \
18066 X"$_am_arg" : 'X\(//\)$' \| \
18067 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18068 $as_echo X"$_am_arg" |
18069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18073 /^X\(\/\/\)[^/].*/{
18085 s/.*/./; q'`/stamp-h
$_am_stamp_count
18088 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18089 $as_echo "$as_me: executing $ac_file commands" >&6;}
18094 case $ac_file$ac_mode in
18096 # Only add multilib support code if we just rebuilt the top-level
18098 case " $CONFIG_FILES " in
18100 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18103 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18104 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18105 # are listed without --file. Let's play safe and only enable the eval
18106 # if we detect the quoting.
18107 case $CONFIG_FILES in
18108 *\'*) eval set x
"$CONFIG_FILES" ;;
18109 *) set x
$CONFIG_FILES ;;
18114 # Strip MF so we end up with the name of the file.
18115 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18116 # Check whether this is an Automake generated Makefile or not.
18117 # We used to match only the files named `Makefile.in', but
18118 # some people rename them; so instead we look at the file content.
18119 # Grep'ing the first line is not enough: some people post-process
18120 # each Makefile.in and add a new line on top of each file to say so.
18121 # Grep'ing the whole file is not good either: AIX grep has a line
18122 # limit of 2048, but all sed's we know have understand at least 4000.
18123 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18124 dirpart
=`$as_dirname -- "$mf" ||
18125 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18126 X"$mf" : 'X\(//\)[^/]' \| \
18127 X"$mf" : 'X\(//\)$' \| \
18128 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18134 /^X\(\/\/\)[^/].*/{
18150 # Extract the definition of DEPDIR, am__include, and am__quote
18151 # from the Makefile without running `make'.
18152 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18153 test -z "$DEPDIR" && continue
18154 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18155 test -z "am__include" && continue
18156 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18157 # When using ansi2knr, U may be empty or an underscore; expand it
18158 U
=`sed -n 's/^U = //p' < "$mf"`
18159 # Find all dependency output files, they are included files with
18160 # $(DEPDIR) in their names. We invoke sed twice because it is the
18161 # simplest approach to changing $(DEPDIR) to its actual value in the
18163 for file in `sed -n "
18164 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18165 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18166 # Make sure the directory exists.
18167 test -f "$dirpart/$file" && continue
18168 fdir
=`$as_dirname -- "$file" ||
18169 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18170 X"$file" : 'X\(//\)[^/]' \| \
18171 X"$file" : 'X\(//\)$' \| \
18172 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18173 $as_echo X"$file" |
18174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18178 /^X\(\/\/\)[^/].*/{
18191 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18192 # echo "creating $dirpart/$file"
18193 echo '# dummy' > "$dirpart/$file"
18200 # See if we are running on zsh, and set the options which allow our
18201 # commands through without removal of \ escapes.
18202 if test -n "${ZSH_VERSION+set}" ; then
18203 setopt NO_GLOB_SUBST
18206 cfgfile
="${ofile}T"
18207 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18210 cat <<_LT_EOF >> "$cfgfile"
18213 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18214 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18215 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18216 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18218 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18219 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18220 # Written by Gordon Matzigkeit, 1996
18222 # This file is part of GNU Libtool.
18224 # GNU Libtool is free software; you can redistribute it and/or
18225 # modify it under the terms of the GNU General Public License as
18226 # published by the Free Software Foundation; either version 2 of
18227 # the License, or (at your option) any later version.
18229 # As a special exception to the GNU General Public License,
18230 # if you distribute this file as part of a program or library that
18231 # is built using GNU Libtool, you may include this file under the
18232 # same distribution terms that you use for the rest of that program.
18234 # GNU Libtool is distributed in the hope that it will be useful,
18235 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18236 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18237 # GNU General Public License for more details.
18239 # You should have received a copy of the GNU General Public License
18240 # along with GNU Libtool; see the file COPYING. If not, a copy
18241 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18242 # obtained by writing to the Free Software Foundation, Inc.,
18243 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18246 # The names of the tagged configurations supported by this script.
18247 available_tags="CXX "
18249 # ### BEGIN LIBTOOL CONFIG
18251 # Which release of libtool.m4 was used?
18252 macro_version=$macro_version
18253 macro_revision=$macro_revision
18255 # Whether or not to build shared libraries.
18256 build_libtool_libs=$enable_shared
18258 # Whether or not to build static libraries.
18259 build_old_libs=$enable_static
18261 # What type of objects to build.
18264 # Whether or not to optimize for fast installation.
18265 fast_install=$enable_fast_install
18267 # Shell to use when invoking shell scripts.
18270 # An echo program that protects backslashes.
18274 host_alias=$host_alias
18278 # The build system.
18279 build_alias=$build_alias
18283 # A sed program that does not truncate output.
18286 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18287 Xsed="\$SED -e 1s/^X//"
18289 # A grep program that handles long lines.
18295 # A literal string matcher.
18298 # A BSD- or MS-compatible name lister.
18301 # Whether we need soft or hard links.
18304 # What is the maximum length of a command?
18305 max_cmd_len=$max_cmd_len
18307 # Object file suffix (normally "o").
18310 # Executable file suffix (normally "").
18313 # whether the shell understands "unset".
18316 # turn spaces into newlines.
18319 # turn newlines into spaces.
18322 # An object symbol dumper.
18323 OBJDUMP=$lt_OBJDUMP
18325 # Method to check whether dependent libraries are shared objects.
18326 deplibs_check_method=$lt_deplibs_check_method
18328 # Command to use when deplibs_check_method == "file_magic".
18329 file_magic_cmd=$lt_file_magic_cmd
18333 AR_FLAGS=$lt_AR_FLAGS
18335 # A symbol stripping program.
18338 # Commands used to install an old-style archive.
18340 old_postinstall_cmds=$lt_old_postinstall_cmds
18341 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18343 # Whether to use a lock for old archive extraction.
18344 lock_old_archive_extraction=$lock_old_archive_extraction
18349 # LTCC compiler flags.
18350 LTCFLAGS=$lt_CFLAGS
18352 # Take the output of nm and produce a listing of raw symbols and C names.
18353 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18355 # Transform the output of nm in a proper C declaration.
18356 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18358 # Transform the output of nm in a C name address pair.
18359 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18361 # Transform the output of nm in a C name address pair when lib prefix is needed.
18362 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18364 # The name of the directory that contains temporary libtool files.
18367 # Used to examine libraries when file_magic_cmd begins with "file".
18368 MAGIC_CMD=$MAGIC_CMD
18370 # Must we lock files when doing compilation?
18371 need_locks=$lt_need_locks
18373 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18374 DSYMUTIL=$lt_DSYMUTIL
18376 # Tool to change global to local symbols on Mac OS X.
18379 # Tool to manipulate fat objects and archives on Mac OS X.
18382 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18385 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18386 OTOOL64=$lt_OTOOL64
18388 # Old archive suffix (normally "a").
18391 # Shared library suffix (normally ".so").
18392 shrext_cmds=$lt_shrext_cmds
18394 # The commands to extract the exported symbol list from a shared archive.
18395 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18397 # Variables whose values should be saved in libtool wrapper scripts and
18398 # restored at link time.
18399 variables_saved_for_relink=$lt_variables_saved_for_relink
18401 # Do we need the "lib" prefix for modules?
18402 need_lib_prefix=$need_lib_prefix
18404 # Do we need a version for libraries?
18405 need_version=$need_version
18407 # Library versioning type.
18408 version_type=$version_type
18410 # Shared library runtime path variable.
18411 runpath_var=$runpath_var
18413 # Shared library path variable.
18414 shlibpath_var=$shlibpath_var
18416 # Is shlibpath searched before the hard-coded library search path?
18417 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18419 # Format of library name prefix.
18420 libname_spec=$lt_libname_spec
18422 # List of archive names. First name is the real one, the rest are links.
18423 # The last name is the one that the linker finds with -lNAME
18424 library_names_spec=$lt_library_names_spec
18426 # The coded name of the library, if different from the real name.
18427 soname_spec=$lt_soname_spec
18429 # Permission mode override for installation of shared libraries.
18430 install_override_mode=$lt_install_override_mode
18432 # Command to use after installation of a shared archive.
18433 postinstall_cmds=$lt_postinstall_cmds
18435 # Command to use after uninstallation of a shared archive.
18436 postuninstall_cmds=$lt_postuninstall_cmds
18438 # Commands used to finish a libtool library installation in a directory.
18439 finish_cmds=$lt_finish_cmds
18441 # As "finish_cmds", except a single script fragment to be evaled but
18443 finish_eval=$lt_finish_eval
18445 # Whether we should hardcode library paths into libraries.
18446 hardcode_into_libs=$hardcode_into_libs
18448 # Compile-time system search path for libraries.
18449 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18451 # Run-time system search path for libraries.
18452 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18454 # Whether dlopen is supported.
18455 dlopen_support=$enable_dlopen
18457 # Whether dlopen of programs is supported.
18458 dlopen_self=$enable_dlopen_self
18460 # Whether dlopen of statically linked programs is supported.
18461 dlopen_self_static=$enable_dlopen_self_static
18463 # Commands to strip libraries.
18464 old_striplib=$lt_old_striplib
18465 striplib=$lt_striplib
18468 # The linker used to build libraries.
18471 # How to create reloadable object files.
18472 reload_flag=$lt_reload_flag
18473 reload_cmds=$lt_reload_cmds
18475 # Commands used to build an old-style archive.
18476 old_archive_cmds=$lt_old_archive_cmds
18478 # A language specific compiler.
18481 # Is the compiler the GNU compiler?
18484 # Compiler flag to turn off builtin functions.
18485 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18487 # How to pass a linker flag through the compiler.
18488 wl=$lt_lt_prog_compiler_wl
18490 # Additional compiler flags for building library objects.
18491 pic_flag=$lt_lt_prog_compiler_pic
18493 # Compiler flag to prevent dynamic linking.
18494 link_static_flag=$lt_lt_prog_compiler_static
18496 # Does compiler simultaneously support -c and -o options?
18497 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18499 # Whether or not to add -lc for building shared libraries.
18500 build_libtool_need_lc=$archive_cmds_need_lc
18502 # Whether or not to disallow shared libs when runtime libs are static.
18503 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18505 # Compiler flag to allow reflexive dlopens.
18506 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18508 # Compiler flag to generate shared objects directly from archives.
18509 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18511 # Whether the compiler copes with passing no objects directly.
18512 compiler_needs_object=$lt_compiler_needs_object
18514 # Create an old-style archive from a shared archive.
18515 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18517 # Create a temporary old-style archive to link instead of a shared archive.
18518 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18520 # Commands used to build a shared archive.
18521 archive_cmds=$lt_archive_cmds
18522 archive_expsym_cmds=$lt_archive_expsym_cmds
18524 # Commands used to build a loadable module if different from building
18525 # a shared archive.
18526 module_cmds=$lt_module_cmds
18527 module_expsym_cmds=$lt_module_expsym_cmds
18529 # Whether we are building with GNU ld or not.
18530 with_gnu_ld=$lt_with_gnu_ld
18532 # Flag that allows shared libraries with undefined symbols to be built.
18533 allow_undefined_flag=$lt_allow_undefined_flag
18535 # Flag that enforces no undefined symbols.
18536 no_undefined_flag=$lt_no_undefined_flag
18538 # Flag to hardcode \$libdir into a binary during linking.
18539 # This must work even if \$libdir does not exist
18540 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18542 # If ld is used when linking, flag to hardcode \$libdir into a binary
18543 # during linking. This must work even if \$libdir does not exist.
18544 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18546 # Whether we need a single "-rpath" flag with a separated argument.
18547 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18549 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18550 # DIR into the resulting binary.
18551 hardcode_direct=$hardcode_direct
18553 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18554 # DIR into the resulting binary and the resulting library dependency is
18555 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18556 # library is relocated.
18557 hardcode_direct_absolute=$hardcode_direct_absolute
18559 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18560 # into the resulting binary.
18561 hardcode_minus_L=$hardcode_minus_L
18563 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18564 # into the resulting binary.
18565 hardcode_shlibpath_var=$hardcode_shlibpath_var
18567 # Set to "yes" if building a shared library automatically hardcodes DIR
18568 # into the library and all subsequent libraries and executables linked
18570 hardcode_automatic=$hardcode_automatic
18572 # Set to yes if linker adds runtime paths of dependent libraries
18573 # to runtime path list.
18574 inherit_rpath=$inherit_rpath
18576 # Whether libtool must link a program against all its dependency libraries.
18577 link_all_deplibs=$link_all_deplibs
18579 # Fix the shell variable \$srcfile for the compiler.
18580 fix_srcfile_path=$lt_fix_srcfile_path
18582 # Set to "yes" if exported symbols are required.
18583 always_export_symbols=$always_export_symbols
18585 # The commands to list exported symbols.
18586 export_symbols_cmds=$lt_export_symbols_cmds
18588 # Symbols that should not be listed in the preloaded symbols.
18589 exclude_expsyms=$lt_exclude_expsyms
18591 # Symbols that must always be exported.
18592 include_expsyms=$lt_include_expsyms
18594 # Commands necessary for linking programs (against libraries) with templates.
18595 prelink_cmds=$lt_prelink_cmds
18597 # Specify filename containing input files.
18598 file_list_spec=$lt_file_list_spec
18600 # How to hardcode a shared library path into an executable.
18601 hardcode_action=$hardcode_action
18603 # The directories searched by this compiler when creating a shared library.
18604 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18606 # Dependencies to place before and after the objects being linked to
18607 # create a shared library.
18608 predep_objects=$lt_predep_objects
18609 postdep_objects=$lt_postdep_objects
18610 predeps=$lt_predeps
18611 postdeps=$lt_postdeps
18613 # The library search path used internally by the compiler when linking
18614 # a shared library.
18615 compiler_lib_search_path=$lt_compiler_lib_search_path
18617 # ### END LIBTOOL CONFIG
18623 cat <<\_LT_EOF
>> "$cfgfile"
18624 # AIX sometimes has problems with the GCC collect2 program. For some
18625 # reason, if we set the COLLECT_NAMES environment variable, the problems
18626 # vanish in a puff of smoke.
18627 if test "X${COLLECT_NAMES+set}" != Xset
; then
18629 export COLLECT_NAMES
18636 ltmain
="$ac_aux_dir/ltmain.sh"
18639 # We use sed instead of cat because bash on DJGPP gets confused if
18640 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18641 # text mode, it properly converts lines to CR/LF. This bash problem
18642 # is reportedly fixed, but why not run on old versions too?
18643 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18644 ||
(rm -f "$cfgfile"; exit 1)
18648 cat << \_LT_EOF
>> "$cfgfile"
18650 # func_dirname file append nondir_replacement
18651 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18652 # otherwise set result to NONDIR_REPLACEMENT.
18656 */*) func_dirname_result
="${1%/*}${2}" ;;
18657 * ) func_dirname_result
="${3}" ;;
18661 # func_basename file
18664 func_basename_result
="${1##*/}"
18667 # func_dirname_and_basename file append nondir_replacement
18668 # perform func_basename and func_dirname in a single function
18670 # dirname: Compute the dirname of FILE. If nonempty,
18671 # add APPEND to the result, otherwise set result
18672 # to NONDIR_REPLACEMENT.
18673 # value returned in "$func_dirname_result"
18674 # basename: Compute filename of FILE.
18675 # value retuned in "$func_basename_result"
18676 # Implementation must be kept synchronized with func_dirname
18677 # and func_basename. For efficiency, we do not delegate to
18678 # those functions but instead duplicate the functionality here.
18679 func_dirname_and_basename
()
18682 */*) func_dirname_result
="${1%/*}${2}" ;;
18683 * ) func_dirname_result
="${3}" ;;
18685 func_basename_result
="${1##*/}"
18688 # func_stripname prefix suffix name
18689 # strip PREFIX and SUFFIX off of NAME.
18690 # PREFIX and SUFFIX must not contain globbing or regex special
18691 # characters, hashes, percent signs, but SUFFIX may contain a leading
18692 # dot (in which case that matches only a dot).
18695 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18696 # positional parameters, so assign one to ordinary parameter first.
18697 func_stripname_result
=${3}
18698 func_stripname_result
=${func_stripname_result#"${1}"}
18699 func_stripname_result
=${func_stripname_result%"${2}"}
18705 func_opt_split_opt
=${1%%=*}
18706 func_opt_split_arg
=${1#*=}
18713 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18714 *) func_lo2o_result
=${1} ;;
18718 # func_xform libobj-or-source
18721 func_xform_result
=${1%.*}.lo
18724 # func_arith arithmetic-term...
18727 func_arith_result
=$
(( $
* ))
18731 # STRING may not start with a hyphen.
18734 func_len_result
=${#1}
18739 *) # Bourne compatible functions.
18740 cat << \_LT_EOF
>> "$cfgfile"
18742 # func_dirname file append nondir_replacement
18743 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18744 # otherwise set result to NONDIR_REPLACEMENT.
18747 # Extract subdirectory from the argument.
18748 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18749 if test "X$func_dirname_result" = "X${1}"; then
18750 func_dirname_result
="${3}"
18752 func_dirname_result
="$func_dirname_result${2}"
18756 # func_basename file
18759 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18763 # func_stripname prefix suffix name
18764 # strip PREFIX and SUFFIX off of NAME.
18765 # PREFIX and SUFFIX must not contain globbing or regex special
18766 # characters, hashes, percent signs, but SUFFIX may contain a leading
18767 # dot (in which case that matches only a dot).
18768 # func_strip_suffix prefix name
18772 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18773 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18778 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18779 my_sed_long_arg
='1s/^-[^=]*=//'
18784 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18785 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18791 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18794 # func_xform libobj-or-source
18797 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18800 # func_arith arithmetic-term...
18803 func_arith_result
=`expr "$@"`
18807 # STRING may not start with a hyphen.
18810 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18816 case $lt_shell_append in
18818 cat << \_LT_EOF
>> "$cfgfile"
18820 # func_append var value
18821 # Append VALUE to the end of shell variable VAR.
18829 cat << \_LT_EOF
>> "$cfgfile"
18831 # func_append var value
18832 # Append VALUE to the end of shell variable VAR.
18843 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18844 ||
(rm -f "$cfgfile"; exit 1)
18846 mv -f "$cfgfile" "$ofile" ||
18847 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18851 cat <<_LT_EOF >> "$ofile"
18853 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18855 # The linker used to build libraries.
18858 # How to create reloadable object files.
18859 reload_flag=$lt_reload_flag_CXX
18860 reload_cmds=$lt_reload_cmds_CXX
18862 # Commands used to build an old-style archive.
18863 old_archive_cmds=$lt_old_archive_cmds_CXX
18865 # A language specific compiler.
18866 CC=$lt_compiler_CXX
18868 # Is the compiler the GNU compiler?
18871 # Compiler flag to turn off builtin functions.
18872 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18874 # How to pass a linker flag through the compiler.
18875 wl=$lt_lt_prog_compiler_wl_CXX
18877 # Additional compiler flags for building library objects.
18878 pic_flag=$lt_lt_prog_compiler_pic_CXX
18880 # Compiler flag to prevent dynamic linking.
18881 link_static_flag=$lt_lt_prog_compiler_static_CXX
18883 # Does compiler simultaneously support -c and -o options?
18884 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18886 # Whether or not to add -lc for building shared libraries.
18887 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18889 # Whether or not to disallow shared libs when runtime libs are static.
18890 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18892 # Compiler flag to allow reflexive dlopens.
18893 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18895 # Compiler flag to generate shared objects directly from archives.
18896 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18898 # Whether the compiler copes with passing no objects directly.
18899 compiler_needs_object=$lt_compiler_needs_object_CXX
18901 # Create an old-style archive from a shared archive.
18902 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18904 # Create a temporary old-style archive to link instead of a shared archive.
18905 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18907 # Commands used to build a shared archive.
18908 archive_cmds=$lt_archive_cmds_CXX
18909 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18911 # Commands used to build a loadable module if different from building
18912 # a shared archive.
18913 module_cmds=$lt_module_cmds_CXX
18914 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18916 # Whether we are building with GNU ld or not.
18917 with_gnu_ld=$lt_with_gnu_ld_CXX
18919 # Flag that allows shared libraries with undefined symbols to be built.
18920 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18922 # Flag that enforces no undefined symbols.
18923 no_undefined_flag=$lt_no_undefined_flag_CXX
18925 # Flag to hardcode \$libdir into a binary during linking.
18926 # This must work even if \$libdir does not exist
18927 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18929 # If ld is used when linking, flag to hardcode \$libdir into a binary
18930 # during linking. This must work even if \$libdir does not exist.
18931 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18933 # Whether we need a single "-rpath" flag with a separated argument.
18934 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18936 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18937 # DIR into the resulting binary.
18938 hardcode_direct=$hardcode_direct_CXX
18940 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18941 # DIR into the resulting binary and the resulting library dependency is
18942 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18943 # library is relocated.
18944 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18946 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18947 # into the resulting binary.
18948 hardcode_minus_L=$hardcode_minus_L_CXX
18950 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18951 # into the resulting binary.
18952 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18954 # Set to "yes" if building a shared library automatically hardcodes DIR
18955 # into the library and all subsequent libraries and executables linked
18957 hardcode_automatic=$hardcode_automatic_CXX
18959 # Set to yes if linker adds runtime paths of dependent libraries
18960 # to runtime path list.
18961 inherit_rpath=$inherit_rpath_CXX
18963 # Whether libtool must link a program against all its dependency libraries.
18964 link_all_deplibs=$link_all_deplibs_CXX
18966 # Fix the shell variable \$srcfile for the compiler.
18967 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18969 # Set to "yes" if exported symbols are required.
18970 always_export_symbols=$always_export_symbols_CXX
18972 # The commands to list exported symbols.
18973 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18975 # Symbols that should not be listed in the preloaded symbols.
18976 exclude_expsyms=$lt_exclude_expsyms_CXX
18978 # Symbols that must always be exported.
18979 include_expsyms=$lt_include_expsyms_CXX
18981 # Commands necessary for linking programs (against libraries) with templates.
18982 prelink_cmds=$lt_prelink_cmds_CXX
18984 # Specify filename containing input files.
18985 file_list_spec=$lt_file_list_spec_CXX
18987 # How to hardcode a shared library path into an executable.
18988 hardcode_action=$hardcode_action_CXX
18990 # The directories searched by this compiler when creating a shared library.
18991 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18993 # Dependencies to place before and after the objects being linked to
18994 # create a shared library.
18995 predep_objects=$lt_predep_objects_CXX
18996 postdep_objects=$lt_postdep_objects_CXX
18997 predeps=$lt_predeps_CXX
18998 postdeps=$lt_postdeps_CXX
19000 # The library search path used internally by the compiler when linking
19001 # a shared library.
19002 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19004 # ### END LIBTOOL TAG CONFIG: CXX
19009 if test "$GCC" = yes; then
19010 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
19012 echo "/* generated for $CC */" > tmp-stdint.h
19015 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19017 #ifndef GCC_GENERATED_STDINT_H
19018 #define GCC_GENERATED_STDINT_H 1
19020 #include <sys/types.h>
19023 if test "$acx_cv_header_stdint" != stdint.h
; then
19024 echo "#include <stddef.h>" >> tmp-stdint.h
19026 if test "$acx_cv_header_stdint" != stddef.h
; then
19027 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
19030 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19031 /* glibc uses these symbols as guards to prevent redefinitions. */
19032 #ifdef __int8_t_defined
19037 #ifdef __uint32_t_defined
19043 # ----------------- done header, emit basic int types -------------
19044 if test "$acx_cv_header_stdint" = stddef.h
; then
19045 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19049 #ifndef __uint8_t_defined
19050 #define __uint8_t_defined
19052 typedef unsigned $acx_cv_type_int8_t uint8_t;
19059 #ifndef __uint16_t_defined
19060 #define __uint16_t_defined
19062 typedef unsigned $acx_cv_type_int16_t uint16_t;
19069 #ifndef __uint32_t_defined
19070 #define __uint32_t_defined
19072 typedef unsigned $acx_cv_type_int32_t uint32_t;
19079 #ifndef __int8_t_defined
19080 #define __int8_t_defined
19082 typedef $acx_cv_type_int8_t int8_t;
19089 #ifndef __int16_t_defined
19090 #define __int16_t_defined
19092 typedef $acx_cv_type_int16_t int16_t;
19099 #ifndef __int32_t_defined
19100 #define __int32_t_defined
19102 typedef $acx_cv_type_int32_t int32_t;
19107 elif test "$ac_cv_type_u_int32_t" = yes; then
19108 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19110 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
19123 #ifndef __uint8_t_defined
19124 #define __uint8_t_defined
19126 typedef u_int8_t uint8_t;
19133 #ifndef __uint16_t_defined
19134 #define __uint16_t_defined
19136 typedef u_int16_t uint16_t;
19143 #ifndef __uint32_t_defined
19144 #define __uint32_t_defined
19146 typedef u_int32_t uint32_t;
19152 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19154 /* Some systems have guard macros to prevent redefinitions, define them. */
19176 # ------------- done basic int types, emit int64_t types ------------
19177 if test "$ac_cv_type_uint64_t" = yes; then
19178 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19180 /* system headers have good uint64_t and int64_t */
19188 elif test "$ac_cv_type_u_int64_t" = yes; then
19189 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19191 /* system headers have an u_int64_t (and int64_t) */
19197 #ifndef __uint64_t_defined
19198 #define __uint64_t_defined
19200 typedef u_int64_t uint64_t;
19205 elif test -n "$acx_cv_type_int64_t"; then
19206 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19208 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
19212 typedef $acx_cv_type_int64_t int64_t;
19217 #ifndef __uint64_t_defined
19218 #define __uint64_t_defined
19220 typedef unsigned $acx_cv_type_int64_t uint64_t;
19226 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19228 /* some common heuristics for int64_t, using compiler-specific tests */
19229 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
19232 #ifndef __int64_t_defined
19234 typedef long long int64_t;
19241 typedef unsigned long long uint64_t;
19245 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
19246 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
19247 does not implement __extension__. But that compiler doesn't define
19249 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
19250 # define __extension__
19256 __extension__ typedef long long int64_t;
19262 __extension__ typedef unsigned long long uint64_t;
19266 #elif !defined __STRICT_ANSI__
19267 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19272 typedef __int64 int64_t;
19278 typedef unsigned __int64 uint64_t;
19281 # endif /* compiler */
19283 #endif /* ANSI version */
19287 # ------------- done int64_t types, emit intptr types ------------
19288 if test "$ac_cv_type_uintptr_t" != yes; then
19289 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19291 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
19292 #ifndef __uintptr_t_defined
19294 typedef u$acx_cv_type_intptr_t uintptr_t;
19297 #ifndef __intptr_t_defined
19299 typedef $acx_cv_type_intptr_t intptr_t;
19305 # ------------- done intptr types, emit int_least types ------------
19306 if test "$ac_cv_type_int_least32_t" != yes; then
19307 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19309 /* Define int_least types */
19310 typedef int8_t int_least8_t;
19311 typedef int16_t int_least16_t;
19312 typedef int32_t int_least32_t;
19314 typedef int64_t int_least64_t;
19317 typedef uint8_t uint_least8_t;
19318 typedef uint16_t uint_least16_t;
19319 typedef uint32_t uint_least32_t;
19321 typedef uint64_t uint_least64_t;
19326 # ------------- done intptr types, emit int_fast types ------------
19327 if test "$ac_cv_type_int_fast32_t" != yes; then
19328 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19330 /* Define int_fast types. short is often slow */
19331 typedef int8_t int_fast8_t;
19332 typedef int int_fast16_t;
19333 typedef int32_t int_fast32_t;
19335 typedef int64_t int_fast64_t;
19338 typedef uint8_t uint_fast8_t;
19339 typedef unsigned int uint_fast16_t;
19340 typedef uint32_t uint_fast32_t;
19342 typedef uint64_t uint_fast64_t;
19347 if test "$ac_cv_type_uintmax_t" != yes; then
19348 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19350 /* Define intmax based on what we found */
19353 typedef int64_t intmax_t;
19355 typedef long intmax_t;
19360 typedef uint64_t uintmax_t;
19362 typedef unsigned long uintmax_t;
19368 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19370 #endif /* GCC_GENERATED_STDINT_H */
19373 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
19376 mv -f tmp-stdint.h gstdint.h
19380 "interception/Makefile":F
) cat > vpsed$$
<< \_EOF
19381 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19383 sed -f vpsed$$
$ac_file > tmp$$
19386 echo 'MULTISUBDIR =' >> $ac_file
19388 .
${multi_basedir}/config-ml.
in
19389 { ml_norecursion
=; unset ml_norecursion
;}
19391 "sanitizer_common/Makefile":F
) cat > vpsed$$
<< \_EOF
19392 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19394 sed -f vpsed$$
$ac_file > tmp$$
19397 echo 'MULTISUBDIR =' >> $ac_file
19399 .
${multi_basedir}/config-ml.
in
19400 { ml_norecursion
=; unset ml_norecursion
;}
19402 "libbacktrace/Makefile":F
) cat > vpsed$$
<< \_EOF
19403 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19405 sed -f vpsed$$
$ac_file > tmp$$
19408 echo 'MULTISUBDIR =' >> $ac_file
19410 .
${multi_basedir}/config-ml.
in
19411 { ml_norecursion
=; unset ml_norecursion
;}
19413 "lsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19414 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19416 sed -f vpsed$$
$ac_file > tmp$$
19419 echo 'MULTISUBDIR =' >> $ac_file
19421 .
${multi_basedir}/config-ml.
in
19422 { ml_norecursion
=; unset ml_norecursion
;}
19424 "asan/Makefile":F
) cat > vpsed$$
<< \_EOF
19425 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19427 sed -f vpsed$$
$ac_file > tmp$$
19430 echo 'MULTISUBDIR =' >> $ac_file
19432 .
${multi_basedir}/config-ml.
in
19433 { ml_norecursion
=; unset ml_norecursion
;}
19435 "ubsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19436 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19438 sed -f vpsed$$
$ac_file > tmp$$
19441 echo 'MULTISUBDIR =' >> $ac_file
19443 .
${multi_basedir}/config-ml.
in
19444 { ml_norecursion
=; unset ml_norecursion
;}
19446 "tsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19447 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19449 sed -f vpsed$$
$ac_file > tmp$$
19452 echo 'MULTISUBDIR =' >> $ac_file
19454 .
${multi_basedir}/config-ml.
in
19455 { ml_norecursion
=; unset ml_norecursion
;}
19464 ac_clean_files
=$ac_clean_files_save
19466 test $ac_write_fail = 0 ||
19467 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19470 # configure is writing to config.log, and then calls config.status.
19471 # config.status does its own redirection, appending to config.log.
19472 # Unfortunately, on DOS this fails, as config.log is still kept open
19473 # by configure, so config.status won't be able to write to it; its
19474 # output is simply discarded. So we exec the FD to /dev/null,
19475 # effectively closing config.log, so it can be properly (re)opened and
19476 # appended to by config.status. When coming back to configure, we
19477 # need to make the FD available again.
19478 if test "$no_create" != yes; then
19480 ac_config_status_args
=
19481 test "$silent" = yes &&
19482 ac_config_status_args
="$ac_config_status_args --quiet"
19484 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19486 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19487 # would make configure fail if this is the last instruction.
19488 $ac_cs_success || as_fn_exit $?
19490 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19492 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}