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 USING_MAC_INTERPOSE_FALSE
616 USING_MAC_INTERPOSE_TRUE
644 am__fastdepCCAS_FALSE
658 MAINTAINER_MODE_FALSE
678 INSTALL_STRIP_PROGRAM
693 LIBSTDCXX_RAW_CXX_LDFLAGS
694 LIBSTDCXX_RAW_CXX_CXXFLAGS
745 program_transform_name
758 enable_option_checking
759 enable_version_specific_runtime_libs
760 enable_dependency_tracking
762 enable_maintainer_mode
770 ac_precious_vars
='build_alias
787 # Initialize some variables set by options.
789 ac_init_version
=false
790 ac_unrecognized_opts
=
792 # The variables have the same names as the options, with
793 # dashes changed to underlines.
801 program_transform_name
=s
,x
,x
,
809 # Installation directory options.
810 # These are left unexpanded so users can "make install exec_prefix=/foo"
811 # and all the variables that are supposed to be based on exec_prefix
812 # by default will actually change.
813 # Use braces instead of parens because sh, perl, etc. also accept them.
814 # (The list follows the same order as the GNU Coding Standards.)
815 bindir
='${exec_prefix}/bin'
816 sbindir
='${exec_prefix}/sbin'
817 libexecdir
='${exec_prefix}/libexec'
818 datarootdir
='${prefix}/share'
819 datadir
='${datarootdir}'
820 sysconfdir
='${prefix}/etc'
821 sharedstatedir
='${prefix}/com'
822 localstatedir
='${prefix}/var'
823 includedir
='${prefix}/include'
824 oldincludedir
='/usr/include'
825 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
826 infodir
='${datarootdir}/info'
831 libdir
='${exec_prefix}/lib'
832 localedir
='${datarootdir}/locale'
833 mandir
='${datarootdir}/man'
839 # If the previous option needs an argument, assign it.
840 if test -n "$ac_prev"; then
841 eval $ac_prev=\
$ac_option
847 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 # Accept the important Cygnus configure options, so we can diagnose typos.
853 case $ac_dashdash$ac_option in
857 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
859 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
862 -build |
--build |
--buil |
--bui |
--bu)
863 ac_prev
=build_alias
;;
864 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
865 build_alias
=$ac_optarg ;;
867 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
868 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
869 ac_prev
=cache_file
;;
870 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
871 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
872 cache_file
=$ac_optarg ;;
875 cache_file
=config.cache
;;
877 -datadir |
--datadir |
--datadi |
--datad)
879 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
880 datadir
=$ac_optarg ;;
882 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
883 |
--dataroo |
--dataro |
--datar)
884 ac_prev
=datarootdir
;;
885 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
886 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
887 datarootdir
=$ac_optarg ;;
889 -disable-* |
--disable-*)
890 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
893 as_fn_error
"invalid feature name: $ac_useropt"
894 ac_useropt_orig
=$ac_useropt
895 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901 ac_unrecognized_sep
=', ';;
903 eval enable_
$ac_useropt=no
;;
905 -docdir |
--docdir |
--docdi |
--doc |
--do)
907 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
910 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
912 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
915 -enable-* |
--enable-*)
916 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
919 as_fn_error
"invalid feature name: $ac_useropt"
920 ac_useropt_orig
=$ac_useropt
921 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922 case $ac_user_opts in
926 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927 ac_unrecognized_sep
=', ';;
929 eval enable_
$ac_useropt=\
$ac_optarg ;;
931 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
932 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
933 |
--exec |
--exe |
--ex)
934 ac_prev
=exec_prefix
;;
935 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
936 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
937 |
--exec=* |
--exe=* |
--ex=*)
938 exec_prefix
=$ac_optarg ;;
940 -gas |
--gas |
--ga |
--g)
941 # Obsolete; use --with-gas.
944 -help |
--help |
--hel |
--he |
-h)
946 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
947 ac_init_help
=recursive
;;
948 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
949 ac_init_help
=short
;;
951 -host |
--host |
--hos |
--ho)
952 ac_prev
=host_alias
;;
953 -host=* |
--host=* |
--hos=* |
--ho=*)
954 host_alias
=$ac_optarg ;;
956 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
958 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
960 htmldir
=$ac_optarg ;;
962 -includedir |
--includedir |
--includedi |
--included |
--include \
963 |
--includ |
--inclu |
--incl |
--inc)
964 ac_prev
=includedir
;;
965 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
966 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
967 includedir
=$ac_optarg ;;
969 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
971 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
972 infodir
=$ac_optarg ;;
974 -libdir |
--libdir |
--libdi |
--libd)
976 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
979 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
980 |
--libexe |
--libex |
--libe)
981 ac_prev
=libexecdir
;;
982 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
983 |
--libexe=* |
--libex=* |
--libe=*)
984 libexecdir
=$ac_optarg ;;
986 -localedir |
--localedir |
--localedi |
--localed |
--locale)
988 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
989 localedir
=$ac_optarg ;;
991 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
992 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
993 ac_prev
=localstatedir
;;
994 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
995 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
996 localstatedir
=$ac_optarg ;;
998 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1000 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 mandir
=$ac_optarg ;;
1003 -nfp |
--nfp |
--nf)
1004 # Obsolete; use --without-fp.
1007 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1008 |
--no-cr |
--no-c |
-n)
1011 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1012 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1015 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1016 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1017 |
--oldin |
--oldi |
--old |
--ol |
--o)
1018 ac_prev
=oldincludedir
;;
1019 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1020 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1021 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1022 oldincludedir
=$ac_optarg ;;
1024 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1026 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1027 prefix
=$ac_optarg ;;
1029 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1030 |
--program-pre |
--program-pr |
--program-p)
1031 ac_prev
=program_prefix
;;
1032 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1033 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1034 program_prefix
=$ac_optarg ;;
1036 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1037 |
--program-suf |
--program-su |
--program-s)
1038 ac_prev
=program_suffix
;;
1039 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1040 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1041 program_suffix
=$ac_optarg ;;
1043 -program-transform-name |
--program-transform-name \
1044 |
--program-transform-nam |
--program-transform-na \
1045 |
--program-transform-n |
--program-transform- \
1046 |
--program-transform |
--program-transfor \
1047 |
--program-transfo |
--program-transf \
1048 |
--program-trans |
--program-tran \
1049 |
--progr-tra |
--program-tr |
--program-t)
1050 ac_prev
=program_transform_name
;;
1051 -program-transform-name=* |
--program-transform-name=* \
1052 |
--program-transform-nam=* |
--program-transform-na=* \
1053 |
--program-transform-n=* |
--program-transform-=* \
1054 |
--program-transform=* |
--program-transfor=* \
1055 |
--program-transfo=* |
--program-transf=* \
1056 |
--program-trans=* |
--program-tran=* \
1057 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1058 program_transform_name
=$ac_optarg ;;
1060 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1062 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1063 pdfdir
=$ac_optarg ;;
1065 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1067 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1071 |
-silent |
--silent |
--silen |
--sile |
--sil)
1074 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1076 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1078 sbindir
=$ac_optarg ;;
1080 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1081 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1082 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1084 ac_prev
=sharedstatedir
;;
1085 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1086 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1087 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1089 sharedstatedir
=$ac_optarg ;;
1091 -site |
--site |
--sit)
1093 -site=* |
--site=* |
--sit=*)
1096 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1098 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1099 srcdir
=$ac_optarg ;;
1101 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1102 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1103 ac_prev
=sysconfdir
;;
1104 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1105 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1106 sysconfdir
=$ac_optarg ;;
1108 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1109 ac_prev
=target_alias
;;
1110 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1111 target_alias
=$ac_optarg ;;
1113 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1116 -version |
--version |
--versio |
--versi |
--vers |
-V)
1117 ac_init_version
=: ;;
1120 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1123 as_fn_error
"invalid package name: $ac_useropt"
1124 ac_useropt_orig
=$ac_useropt
1125 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1130 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131 ac_unrecognized_sep
=', ';;
1133 eval with_
$ac_useropt=\
$ac_optarg ;;
1135 -without-* |
--without-*)
1136 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=no
;;
1152 # Obsolete; use --with-x.
1155 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1156 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1157 ac_prev
=x_includes
;;
1158 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1159 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1160 x_includes
=$ac_optarg ;;
1162 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1163 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1164 ac_prev
=x_libraries
;;
1165 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1166 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1167 x_libraries
=$ac_optarg ;;
1169 -*) as_fn_error
"unrecognized option: \`$ac_option'
1170 Try \`$0 --help' for more information."
1174 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1175 # Reject names that are not valid shell variable names.
1176 case $ac_envvar in #(
1177 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1178 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1180 eval $ac_envvar=\
$ac_optarg
1181 export $ac_envvar ;;
1184 # FIXME: should be removed in autoconf 3.0.
1185 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1187 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1194 if test -n "$ac_prev"; then
1195 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1196 as_fn_error
"missing argument to $ac_option"
1199 if test -n "$ac_unrecognized_opts"; then
1200 case $enable_option_checking in
1202 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1203 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1207 # Check all directory arguments for consistency.
1208 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209 datadir sysconfdir sharedstatedir localstatedir includedir \
1210 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211 libdir localedir mandir
1213 eval ac_val
=\$
$ac_var
1214 # Remove trailing slashes.
1217 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218 eval $ac_var=\
$ac_val;;
1220 # Be sure to have absolute directory names.
1222 [\\/$
]* | ?
:[\\/]* ) continue;;
1223 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1225 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1228 # There might be people who depend on the old broken behavior: `$host'
1229 # used to hold the argument of --host etc.
1230 # FIXME: To remove some day.
1233 target
=$target_alias
1235 # FIXME: To remove some day.
1236 if test "x$host_alias" != x
; then
1237 if test "x$build_alias" = x
; then
1238 cross_compiling
=maybe
1239 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1240 If a cross compiler is detected then cross compile mode will be used." >&2
1241 elif test "x$build_alias" != "x$host_alias"; then
1247 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1249 test "$silent" = yes && exec 6>/dev
/null
1252 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di
=`ls -di .` &&
1254 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1255 as_fn_error
"working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257 as_fn_error
"pwd does not report name of working directory"
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262 ac_srcdir_defaulted
=yes
1263 # Try the directory containing this script, then the parent directory.
1264 ac_confdir
=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266 X"$as_myself" : 'X\(//\)[^/]' \| \
1267 X"$as_myself" : 'X\(//\)$' \| \
1268 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1292 ac_srcdir_defaulted
=no
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1296 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1298 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1300 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1310 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312 for ac_var
in $ac_precious_vars; do
1313 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1315 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1320 # Report the --help message.
1322 if test "$ac_init_help" = "long"; then
1323 # Omit some internal or obsolete options to make the list less imposing.
1324 # This message is too long to be a string in the A/UX 3.1 sh.
1326 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE. See below for descriptions of some of the useful variables.
1333 Defaults for the options are specified in brackets.
1336 -h, --help display this help and exit
1337 --help=short display options specific to this package
1338 --help=recursive display the short help of all the included packages
1339 -V, --version display version information and exit
1340 -q, --quiet, --silent do not print \`checking...' messages
1341 --cache-file=FILE cache test results in FILE [disabled]
1342 -C, --config-cache alias for \`--cache-file=config.cache'
1343 -n, --no-create do not create output files
1344 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1346 Installation directories:
1347 --prefix=PREFIX install architecture-independent files in PREFIX
1348 [$ac_default_prefix]
1349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1357 For better control, use the options below.
1359 Fine tuning of the installation directories:
1360 --bindir=DIR user executables [EPREFIX/bin]
1361 --sbindir=DIR system admin executables [EPREFIX/sbin]
1362 --libexecdir=DIR program executables [EPREFIX/libexec]
1363 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1364 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1365 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1366 --libdir=DIR object code libraries [EPREFIX/lib]
1367 --includedir=DIR C header files [PREFIX/include]
1368 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1369 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1370 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1371 --infodir=DIR info documentation [DATAROOTDIR/info]
1372 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1373 --mandir=DIR man documentation [DATAROOTDIR/man]
1374 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1375 --htmldir=DIR html documentation [DOCDIR]
1376 --dvidir=DIR dvi documentation [DOCDIR]
1377 --pdfdir=DIR pdf documentation [DOCDIR]
1378 --psdir=DIR ps documentation [DOCDIR]
1384 --program-prefix=PREFIX prepend PREFIX to installed program names
1385 --program-suffix=SUFFIX append SUFFIX to installed program names
1386 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1389 --build=BUILD configure
for building on BUILD
[guessed
]
1390 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive
) echo "Configuration of package-unused version-unused:";;
1402 --disable-option-checking ignore unrecognized
--enable/--with options
1403 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1404 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1405 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1406 --disable-dependency-tracking speeds up one-time build
1407 --enable-dependency-tracking do not reject slow dependency extractors
1408 --enable-multilib build many library versions
(default
)
1409 --enable-maintainer-mode enable make rules and dependencies not useful
1410 (and sometimes confusing
) to the casual installer
1411 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1412 --enable-static[=PKGS
] build static libraries
[default
=yes]
1413 --enable-fast-install[=PKGS
]
1414 optimize
for fast installation
[default
=yes]
1415 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1418 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1419 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1420 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1422 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1424 Some influential environment variables
:
1425 CC C compiler
command
1426 CFLAGS C compiler flags
1427 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1428 nonstandard directory
<lib dir
>
1429 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1430 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1431 you have headers
in a nonstandard directory
<include dir
>
1433 CXX C
++ compiler
command
1434 CXXFLAGS C
++ compiler flags
1435 CCAS assembler compiler
command (defaults to CC
)
1436 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1437 CXXCPP C
++ preprocessor
1439 Use these variables to override the choices made by
`configure' or to help
1440 it to find libraries and programs with nonstandard names/locations.
1442 Report bugs to <libsanitizer>.
1447 if test "$ac_init_help" = "recursive"; then
1448 # If there are subdirs, report their specific --help.
1449 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1450 test -d "$ac_dir" ||
1451 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1456 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1459 # A ".." for each directory in $ac_dir_suffix.
1460 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1461 case $ac_top_builddir_sub in
1462 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1463 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1466 ac_abs_top_builddir=$ac_pwd
1467 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1468 # for backward compatibility:
1469 ac_top_builddir=$ac_top_build_prefix
1472 .) # We are building in place.
1474 ac_top_srcdir=$ac_top_builddir_sub
1475 ac_abs_top_srcdir=$ac_pwd ;;
1476 [\\/]* | ?:[\\/]* ) # Absolute name.
1477 ac_srcdir=$srcdir$ac_dir_suffix;
1478 ac_top_srcdir=$srcdir
1479 ac_abs_top_srcdir=$srcdir ;;
1481 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1482 ac_top_srcdir=$ac_top_build_prefix$srcdir
1483 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1485 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1487 cd "$ac_dir" || { ac_status=$?; continue; }
1488 # Check for guested configure.
1489 if test -f "$ac_srcdir/configure.gnu"; then
1491 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1492 elif test -f "$ac_srcdir/configure"; then
1494 $SHELL "$ac_srcdir/configure" --help=recursive
1496 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1498 cd "$ac_pwd" || { ac_status=$?; break; }
1502 test -n "$ac_init_help" && exit $ac_status
1503 if $ac_init_version; then
1505 package-unused configure version-unused
1506 generated by GNU Autoconf 2.64
1508 Copyright (C) 2009 Free Software Foundation, Inc.
1509 This configure script is free software; the Free Software Foundation
1510 gives unlimited permission to copy, distribute and modify it.
1515 ## ------------------------ ##
1516 ## Autoconf initialization. ##
1517 ## ------------------------ ##
1519 # ac_fn_c_try_compile LINENO
1520 # --------------------------
1521 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1522 ac_fn_c_try_compile ()
1524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525 rm -f conftest.$ac_objext
1526 if { { ac_try="$ac_compile"
1528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1529 *) ac_try_echo
=$ac_try;;
1531 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533 (eval "$ac_compile") 2>conftest.err
1535 if test -s conftest.err
; then
1536 grep -v '^ *+' conftest.err
>conftest.er1
1537 cat conftest.er1
>&5
1538 mv -f conftest.er1 conftest.err
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } && {
1542 test -z "$ac_c_werror_flag" ||
1543 test ! -s conftest.err
1544 } && test -s conftest.
$ac_objext; then :
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.
$ac_ext >&5
1552 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1555 } # ac_fn_c_try_compile
1557 # ac_fn_c_try_cpp LINENO
1558 # ----------------------
1559 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1562 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1563 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1566 *) ac_try_echo=$ac_try;;
1568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1572 if test -s conftest.err; then
1573 grep -v '^ *+' conftest.err >conftest.er1
1574 cat conftest.er1 >&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } >/dev/null && {
1579 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1589 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1594 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1595 # -------------------------------------------------------
1596 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1597 # the include files in INCLUDES and setting the cache variable VAR
1599 ac_fn_c_check_header_mongrel ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604 $as_echo_n "checking for $2... " >&6; }
1605 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1606 $as_echo_n "(cached) " >&6
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610 $as_echo "$ac_res" >&6; }
1612 # Is the header compilable?
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1614 $as_echo_n "checking $2 usability... " >&6; }
1615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1616 /* end confdefs.h. */
1620 if ac_fn_c_try_compile "$LINENO"; then :
1621 ac_header_compiler=yes
1623 ac_header_compiler=no
1625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1627 $as_echo "$ac_header_compiler" >&6; }
1629 # Is the header present?
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1631 $as_echo_n "checking $2 presence... " >&6; }
1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h. */
1636 if ac_fn_c_try_cpp "$LINENO"; then :
1637 ac_header_preproc=yes
1639 ac_header_preproc=no
1641 rm -f conftest.err conftest.$ac_ext
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1643 $as_echo "$ac_header_preproc" >&6; }
1645 # So? What about this header?
1646 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1649 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1651 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1655 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1657 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1659 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1661 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1663 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1665 ## --------------------------- ##
1666 ## Report this to libsanitizer ##
1667 ## --------------------------- ##
1669 ) | sed "s/^/$as_me: WARNING: /" >&2
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673 $as_echo_n "checking for $2... " >&6; }
1674 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1675 $as_echo_n "(cached) " >&6
1677 eval "$3=\$ac_header_compiler"
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1681 $as_echo "$ac_res" >&6; }
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1685 } # ac_fn_c_check_header_mongrel
1687 # ac_fn_c_try_run LINENO
1688 # ----------------------
1689 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1690 # that executables *can* be run.
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 if { { ac_try="$ac_link"
1696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1697 *) ac_try_echo
=$ac_try;;
1699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_link") 2>&5
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1705 { { case "(($ac_try" in
1706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1707 *) ac_try_echo=$ac_try;;
1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_try") 2>&5
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; }; }; then :
1717 $as_echo "$as_me: program exited with status $ac_status" >&5
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.$ac_ext >&5
1721 ac_retval=$ac_status
1723 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1730 # -------------------------------------------------------
1731 # Tests whether HEADER exists and can be compiled using the include files in
1732 # INCLUDES, setting the cache variable VAR accordingly.
1733 ac_fn_c_check_header_compile ()
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1737 $as_echo_n "checking for $2... " >&6; }
1738 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1739 $as_echo_n "(cached) " >&6
1741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1742 /* end confdefs.h. */
1746 if ac_fn_c_try_compile "$LINENO"; then :
1751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755 $as_echo "$ac_res" >&6; }
1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758 } # ac_fn_c_check_header_compile
1760 # ac_fn_cxx_try_compile LINENO
1761 # ----------------------------
1762 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_cxx_try_compile ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 rm -f conftest.$ac_objext
1767 if { { ac_try="$ac_compile"
1769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1770 *) ac_try_echo
=$ac_try;;
1772 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_compile") 2>conftest.err
1776 if test -s conftest.err
; then
1777 grep -v '^ *+' conftest.err
>conftest.er1
1778 cat conftest.er1
>&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && {
1783 test -z "$ac_cxx_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest.
$ac_objext; then :
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.
$ac_ext >&5
1793 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1796 } # ac_fn_cxx_try_compile
1798 # ac_fn_c_try_link LINENO
1799 # -----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded.
1803 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1804 rm -f conftest.
$ac_objext conftest
$ac_exeext
1805 if { { ac_try
="$ac_link"
1807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>conftest.err
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && {
1821 test -z "$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 } && test -s conftest$ac_exeext && {
1824 test "$cross_compiling" = yes ||
1825 $as_test_x conftest$ac_exeext
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1834 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1835 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1836 # interfere with the next link command; also delete a directory that is
1837 # left behind by Apple's compiler. We do this before executing the actions.
1838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 } # ac_fn_c_try_link
1844 # ac_fn_c_check_func LINENO FUNC VAR
1845 # ----------------------------------
1846 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1847 ac_fn_c_check_func ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 $as_echo_n "(cached) " >&6
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1857 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1859 #define $2 innocuous_$2
1861 /* System header to define __stub macros and hopefully few prototypes,
1862 which can conflict with char $2 (); below.
1863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1864 <limits.h> exists even on freestanding compilers. */
1867 # include <limits.h>
1869 # include <assert.h>
1874 /* Override any GCC internal prototype to avoid an error.
1875 Use char because int might match the return type of a GCC
1876 builtin and then its argument prototype would still apply. */
1881 /* The GNU C library defines this for functions which it implements
1882 to always fail with ENOSYS. Some functions are actually named
1883 something starting with __ and the normal name is an alias. */
1884 #if defined __stub_$2 || defined __stub___$2
1896 if ac_fn_c_try_link "$LINENO"; then :
1901 rm -f core conftest.err conftest.$ac_objext \
1902 conftest$ac_exeext conftest.$ac_ext
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1909 } # ac_fn_c_check_func
1911 # ac_fn_cxx_try_cpp LINENO
1912 # ------------------------
1913 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1914 ac_fn_cxx_try_cpp ()
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 if { { ac_try="$ac_cpp conftest.$ac_ext"
1919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1920 *) ac_try_echo
=$ac_try;;
1922 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1923 $as_echo "$ac_try_echo"; } >&5
1924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1926 if test -s conftest.err
; then
1927 grep -v '^ *+' conftest.err
>conftest.er1
1928 cat conftest.er1
>&5
1929 mv -f conftest.er1 conftest.err
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; } >/dev
/null
&& {
1933 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1934 test ! -s conftest.err
1938 $as_echo "$as_me: failed program was:" >&5
1939 sed 's/^/| /' conftest.
$ac_ext >&5
1943 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1946 } # ac_fn_cxx_try_cpp
1948 # ac_fn_cxx_try_link LINENO
1949 # -------------------------
1950 # Try to link conftest.$ac_ext, and return whether this succeeded.
1951 ac_fn_cxx_try_link
()
1953 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1954 rm -f conftest.
$ac_objext conftest
$ac_exeext
1955 if { { ac_try
="$ac_link"
1957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1958 *) ac_try_echo=$ac_try;;
1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_link") 2>conftest.err
1964 if test -s conftest.err; then
1965 grep -v '^ *+' conftest.err >conftest.er1
1966 cat conftest.er1 >&5
1967 mv -f conftest.er1 conftest.err
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } && {
1971 test -z "$ac_cxx_werror_flag" ||
1972 test ! -s conftest.err
1973 } && test -s conftest$ac_exeext && {
1974 test "$cross_compiling" = yes ||
1975 $as_test_x conftest$ac_exeext
1979 $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.$ac_ext >&5
1984 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1985 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1986 # interfere with the next link command; also delete a directory that is
1987 # left behind by Apple's compiler. We do this before executing the actions.
1988 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1992 } # ac_fn_cxx_try_link
1994 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1995 # --------------------------------------------
1996 # Tries to find the compile-time value of EXPR in a program that includes
1997 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1999 ac_fn_c_compute_int ()
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 if test "$cross_compiling" = yes; then
2003 # Depending upon the size, compute the lo and hi bounds.
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2010 static int test_array [1 - 2 * !(($2) >= 0)];
2017 if ac_fn_c_try_compile "$LINENO"; then :
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2026 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2033 if ac_fn_c_try_compile "$LINENO"; then :
2034 ac_hi=$ac_mid; break
2036 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2037 if test $ac_lo -le $ac_mid; then
2041 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2052 static int test_array [1 - 2 * !(($2) < 0)];
2059 if ac_fn_c_try_compile "$LINENO"; then :
2062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h. */
2068 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076 ac_lo=$ac_mid; break
2078 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2079 if test $ac_mid -le $ac_hi; then
2083 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2093 # Binary search between lo and hi bounds.
2094 while test "x$ac_lo" != "x$ac_hi"; do
2095 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2102 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2109 if ac_fn_c_try_compile "$LINENO"; then :
2112 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2124 static long int longval () { return $2; }
2125 static unsigned long int ulongval () { return $2; }
2132 FILE *f = fopen ("conftest.val", "w");
2137 long int i = longval ();
2140 fprintf (f, "%ld", i);
2144 unsigned long int i = ulongval ();
2147 fprintf (f, "%lu", i);
2149 /* Do not output a trailing newline, as this causes \r\n confusion
2150 on some platforms. */
2151 return ferror (f) || fclose (f) != 0;
2157 if ac_fn_c_try_run "$LINENO"; then :
2158 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2163 conftest.$ac_objext conftest.beam conftest.$ac_ext
2167 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2170 } # ac_fn_c_compute_int
2172 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2173 # -------------------------------------------
2174 # Tests whether TYPE exists after having included INCLUDES, setting cache
2175 # variable VAR accordingly.
2176 ac_fn_c_check_type ()
2178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2182 $as_echo_n "(cached) " >&6
2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2197 if ac_fn_c_try_compile "$LINENO"; then :
2198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199 /* end confdefs.h. */
2210 if ac_fn_c_try_compile "$LINENO"; then :
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2221 $as_echo "$ac_res" >&6; }
2222 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2224 } # ac_fn_c_check_type
2226 # ac_fn_c_check_decl LINENO SYMBOL VAR
2227 # ------------------------------------
2228 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2229 ac_fn_c_check_decl ()
2231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2232 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2233 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2235 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2236 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2237 $as_echo_n "(cached) " >&6
2239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240 /* end confdefs.h. */
2245 #ifndef $as_decl_name
2247 (void) $as_decl_use;
2249 (void) $as_decl_name;
2257 if ac_fn_c_try_compile "$LINENO"; then :
2262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2266 $as_echo "$ac_res" >&6; }
2267 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2269 } # ac_fn_c_check_decl
2270 cat >config.log <<_ACEOF
2271 This file contains any messages produced by compilers while
2272 running configure, to aid debugging if configure makes a mistake.
2274 It was created by package-unused $as_me version-unused, which was
2275 generated by GNU Autoconf 2.64. Invocation command line was
2287 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2288 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2289 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2290 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2291 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2293 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2294 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2296 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2297 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2298 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2299 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2300 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2301 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2302 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir=.
2311 $as_echo "PATH: $as_dir"
2327 # Keep a trace of the command line.
2328 # Strip out --no-create and --no-recursion so they do not pile up.
2329 # Strip out --silent because we don't want to record it for future runs.
2330 # Also quote any args containing shell meta-characters.
2331 # Make two passes to allow for proper duplicate-argument suppression.
2335 ac_must_keep_next=false
2341 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2342 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2343 | -silent | --silent | --silen | --sile | --sil)
2346 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2349 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2351 as_fn_append ac_configure_args1 " '$ac_arg'"
2352 if test $ac_must_keep_next = true; then
2353 ac_must_keep_next=false # Got value, back to normal.
2356 *=* | --config-cache | -C | -disable-* | --disable-* \
2357 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2358 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2359 | -with-* | --with-* | -without-* | --without-* | --x)
2360 case "$ac_configure_args0 " in
2361 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2364 -* ) ac_must_keep_next=true ;;
2367 as_fn_append ac_configure_args " '$ac_arg'"
2372 { ac_configure_args0=; unset ac_configure_args0;}
2373 { ac_configure_args1=; unset ac_configure_args1;}
2375 # When interrupted or exit'd, cleanup temporary files, and complete
2376 # config.log. We remove comments because anyway the quotes in there
2377 # would cause problems or look ugly.
2378 # WARNING: Use '\'' to represent an apostrophe within the trap.
2379 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2380 trap 'exit_status=$?
2381 # Save into config.log some information that might help in debugging.
2386 ## ---------------- ##
2387 ## Cache variables. ##
2388 ## ---------------- ##
2391 # The following way of writing the cache mishandles newlines in values,
2393 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2394 eval ac_val=\$$ac_var
2398 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2399 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2402 _ | IFS | as_nl) ;; #(
2403 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2404 *) { eval $ac_var=; unset $ac_var;} ;;
2409 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2410 *${as_nl}ac_space=\ *)
2412 "s/'\''/'\''\\\\'\'''\''/g;
2413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2416 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2424 ## ----------------- ##
2425 ## Output variables. ##
2426 ## ----------------- ##
2429 for ac_var in $ac_subst_vars
2431 eval ac_val=\$$ac_var
2433 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2435 $as_echo "$ac_var='\''$ac_val'\''"
2439 if test -n "$ac_subst_files"; then
2441 ## ------------------- ##
2442 ## File substitutions. ##
2443 ## ------------------- ##
2446 for ac_var in $ac_subst_files
2448 eval ac_val=\$$ac_var
2450 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2452 $as_echo "$ac_var='\''$ac_val'\''"
2457 if test -s confdefs.h; then
2467 test "$ac_signal" != 0 &&
2468 $as_echo "$as_me: caught signal $ac_signal"
2469 $as_echo "$as_me: exit $exit_status"
2471 rm -f core *.core core.conftest.* &&
2472 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2475 for ac_signal in 1 2 13 15; do
2476 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2480 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2481 rm -f -r conftest* confdefs.h
2483 $as_echo "/* confdefs.h */" > confdefs.h
2485 # Predefined preprocessor variables.
2487 cat >>confdefs.h <<_ACEOF
2488 #define PACKAGE_NAME "$PACKAGE_NAME"
2491 cat >>confdefs.h <<_ACEOF
2492 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2495 cat >>confdefs.h <<_ACEOF
2496 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2499 cat >>confdefs.h <<_ACEOF
2500 #define PACKAGE_STRING "$PACKAGE_STRING"
2503 cat >>confdefs.h <<_ACEOF
2504 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2507 cat >>confdefs.h <<_ACEOF
2508 #define PACKAGE_URL "$PACKAGE_URL"
2512 # Let the site file select an alternate cache file if it wants to.
2513 # Prefer an explicitly selected file to automatically selected ones.
2516 if test -n "$CONFIG_SITE"; then
2517 ac_site_file1=$CONFIG_SITE
2518 elif test "x$prefix" != xNONE; then
2519 ac_site_file1=$prefix/share/config.site
2520 ac_site_file2=$prefix/etc/config.site
2522 ac_site_file1=$ac_default_prefix/share/config.site
2523 ac_site_file2=$ac_default_prefix/etc/config.site
2525 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2527 test "x$ac_site_file" = xNONE && continue
2528 if test -r "$ac_site_file"; then
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2530 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2531 sed 's/^/| /' "$ac_site_file" >&5
2536 if test -r "$cache_file"; then
2537 # Some versions of bash will fail to source /dev/null (special
2538 # files actually), so we avoid doing that.
2539 if test -f "$cache_file"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2541 $as_echo "$as_me: loading cache $cache_file" >&6;}
2543 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2544 *) . "./$cache_file";;
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2549 $as_echo "$as_me: creating cache $cache_file" >&6;}
2553 # Check that the precious variables saved in the cache have kept the same
2555 ac_cache_corrupted=false
2556 for ac_var in $ac_precious_vars; do
2557 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2558 eval ac_new_set=\$ac_env_${ac_var}_set
2559 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2560 eval ac_new_val=\$ac_env_${ac_var}_value
2561 case $ac_old_set,$ac_new_set in
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2564 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2565 ac_cache_corrupted=: ;;
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2568 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2569 ac_cache_corrupted=: ;;
2572 if test "x$ac_old_val" != "x$ac_new_val"; then
2573 # differences in whitespace do not lead to failure.
2574 ac_old_val_w=`echo x
$ac_old_val`
2575 ac_new_val_w=`echo x
$ac_new_val`
2576 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2578 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2579 ac_cache_corrupted=:
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2582 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2583 eval $ac_var=\$ac_old_val
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2586 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2588 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2591 # Pass precious variables to config.status.
2592 if test "$ac_new_set" = set; then
2594 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2595 *) ac_arg=$ac_var=$ac_new_val ;;
2597 case " $ac_configure_args " in
2598 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2599 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2603 if $ac_cache_corrupted; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2607 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2608 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2610 ## -------------------- ##
2611 ## Main body of script. ##
2612 ## -------------------- ##
2615 ac_cpp='$CPP $CPPFLAGS'
2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2627 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2628 # Check whether --enable-version-specific-runtime-libs was given.
2629 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2630 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2631 yes) version_specific_libs=yes ;;
2632 no) version_specific_libs=no ;;
2633 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2636 version_specific_libs=no
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2640 $as_echo "$version_specific_libs" >&6; }
2643 ac_cpp='$CPP $CPPFLAGS'
2644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2647 if test -n "$ac_tool_prefix"; then
2648 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2649 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if test "${ac_cv_prog_CC+set}" = set; then :
2653 $as_echo_n "(cached) " >&6
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC="$CC" # Let the user override the test.
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2665 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 if test -n "$CC"; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2678 $as_echo "$CC" >&6; }
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681 $as_echo "no" >&6; }
2686 if test -z "$ac_cv_prog_CC"; then
2688 # Extract the first word of "gcc", so it can be a program name with args.
2689 set dummy 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_ac_ct_CC+set}" = set; then :
2693 $as_echo_n "(cached) " >&6
2695 if test -n "$ac_ct_CC"; then
2696 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="gcc"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2716 if test -n "$ac_ct_CC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2718 $as_echo "$ac_ct_CC" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2724 if test "x$ac_ct_CC" = x; then
2727 case $cross_compiling:$ac_tool_warned in
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2731 ac_tool_warned=yes ;;
2739 if test -z "$CC"; then
2740 if test -n "$ac_tool_prefix"; then
2741 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2742 set dummy ${ac_tool_prefix}cc; ac_word=$2
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2744 $as_echo_n "checking for $ac_word... " >&6; }
2745 if test "${ac_cv_prog_CC+set}" = set; then :
2746 $as_echo_n "(cached) " >&6
2748 if test -n "$CC"; then
2749 ac_cv_prog_CC="$CC" # Let the user override the test.
2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir=.
2756 for ac_exec_ext in '' $ac_executable_extensions; do
2757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758 ac_cv_prog_CC="${ac_tool_prefix}cc"
2759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 if test -n "$CC"; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2771 $as_echo "$CC" >&6; }
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2774 $as_echo "no" >&6; }
2780 if test -z "$CC"; then
2781 # Extract the first word of "cc", so it can be a program name with args.
2782 set dummy 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.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2800 ac_prog_rejected=yes
2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 if test $ac_prog_rejected = yes; then
2812 # We found a bogon in the path, so make sure we never use it.
2813 set dummy $ac_cv_prog_CC
2815 if test $# != 0; then
2816 # We chose a different compiler from the bogus one.
2817 # However, it has the same basename, so the bogon will be chosen
2818 # first if we set CC to just the basename; use the full file name.
2820 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2826 if test -n "$CC"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2828 $as_echo "$CC" >&6; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2836 if test -z "$CC"; then
2837 if test -n "$ac_tool_prefix"; then
2838 for ac_prog in cl.exe
2840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2841 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2843 $as_echo_n "checking for $ac_word... " >&6; }
2844 if test "${ac_cv_prog_CC+set}" = set; then :
2845 $as_echo_n "(cached) " >&6
2847 if test -n "$CC"; then
2848 ac_cv_prog_CC="$CC" # Let the user override the test.
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2857 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 if test -n "$CC"; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2870 $as_echo "$CC" >&6; }
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873 $as_echo "no" >&6; }
2877 test -n "$CC" && break
2880 if test -z "$CC"; then
2882 for ac_prog in cl.exe
2884 # Extract the first word of "$ac_prog", so it can be a program name with args.
2885 set dummy $ac_prog; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2889 $as_echo_n "(cached) " >&6
2891 if test -n "$ac_ct_CC"; then
2892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 ac_cv_prog_ac_ct_CC="$ac_prog"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2912 if test -n "$ac_ct_CC"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2914 $as_echo "$ac_ct_CC" >&6; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2921 test -n "$ac_ct_CC" && break
2924 if test "x$ac_ct_CC" = x; then
2927 case $cross_compiling:$ac_tool_warned in
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2931 ac_tool_warned=yes ;;
2940 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2942 as_fn_error "no acceptable C compiler found
in \
$PATH
2943 See \
`config.log' for more details." "$LINENO" 5; }
2945 # Provide some information about the compiler.
2946 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2949 for ac_option in --version -v -V -qversion; do
2950 { { ac_try="$ac_compiler $ac_option >&5"
2952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2953 *) ac_try_echo
=$ac_try;;
2955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2956 $as_echo "$ac_try_echo"; } >&5
2957 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2959 if test -s conftest.err
; then
2961 ... rest of stderr output deleted ...
2962 10q' conftest.err
>conftest.er1
2963 cat conftest.er1
>&5
2964 rm -f conftest.er1 conftest.err
2966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; }
2970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2971 /* end confdefs.h. */
2981 ac_clean_files_save
=$ac_clean_files
2982 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2983 # Try to create an executable without -o first, disregard a.out.
2984 # It will help us diagnose broken compilers, and finding out an intuition
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2987 $as_echo_n "checking for C compiler default output file name... " >&6; }
2988 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2990 # The possible output files:
2991 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2994 for ac_file
in $ac_files
2997 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2998 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3003 if { { ac_try
="$ac_link_default"
3005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_link_default") 2>&5
3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3013 test $ac_status = 0; }; then :
3014 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3015 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3016 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3017 # so that the user can short-circuit this test for compilers unknown to
3019 for ac_file in $ac_files ''
3021 test -f "$ac_file" || continue
3023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3026 # We found the default executable, but exeext='' is most
3030 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3032 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3034 # We set ac_cv_exeext here because the later test for it is not
3035 # safe: cross compilers may not add the suffix if given an `-o'
3036 # argument, so we may need to know it at that point already.
3037 # Even if this section looks crufty: it has the advantage of
3044 test "$ac_cv_exeext" = no && ac_cv_exeext=
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3050 $as_echo "$ac_file" >&6; }
3051 if test -z "$ac_file"; then :
3052 $as_echo "$as_me: failed program was:" >&5
3053 sed 's
/^
/|
/' conftest.$ac_ext >&5
3055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3056 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3057 { as_fn_set_status 77
3058 as_fn_error "C compiler cannot create executables
3059 See \`config.log
' for more details." "$LINENO" 5; }; }
3061 ac_exeext=$ac_cv_exeext
3063 # Check that the compiler produces executables we can run. If not, either
3064 # the compiler is broken, or we cross compile.
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3066 $as_echo_n "checking whether the C compiler works... " >&6; }
3067 # If not cross compiling, check that we can run a simple program.
3068 if test "$cross_compiling" != yes; then
3069 if { ac_try='.
/$ac_file'
3070 { { case "(($ac_try" in
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_try") 2>&5
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; }; }; then
3082 if test "$cross_compiling" = maybe; then
3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3087 as_fn_error "cannot run C compiled programs.
3088 If you meant to cross compile, use \`--host'.
3089 See \`config.log' for more details.
" "$LINENO" 5; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3094 $as_echo "yes" >&6; }
3096 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3097 ac_clean_files=$ac_clean_files_save
3098 # Check that the compiler produces executables we can run. If not, either
3099 # the compiler is broken, or we cross compile.
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3101 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3103 $as_echo "$cross_compiling" >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3106 $as_echo_n "checking
for suffix of executables...
" >&6; }
3107 if { { ac_try="$ac_link"
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_link") 2>&5
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3117 test $ac_status = 0; }; then :
3118 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3119 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3120 # work properly (i.e., refer to `conftest.exe'), while it won't with
3122 for ac_file in conftest.exe conftest conftest.*; do
3123 test -f "$ac_file" || continue
3125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3126 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3134 as_fn_error "cannot compute suffix of executables: cannot compile and link
3135 See \`config.log' for more details.
" "$LINENO" 5; }
3137 rm -f conftest$ac_cv_exeext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3139 $as_echo "$ac_cv_exeext" >&6; }
3141 rm -f conftest.$ac_ext
3142 EXEEXT=$ac_cv_exeext
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3145 $as_echo_n "checking
for suffix of object files...
" >&6; }
3146 if test "${ac_cv_objext+set}" = set; then :
3147 $as_echo_n "(cached
) " >&6
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3160 rm -f conftest.o conftest.obj
3161 if { { ac_try="$ac_compile"
3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_compile") 2>&5
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3171 test $ac_status = 0; }; then :
3172 for ac_file in conftest.o conftest.obj conftest.*; do
3173 test -f "$ac_file" || continue;
3175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3176 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3181 $as_echo "$as_me: failed program was
:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error "cannot compute suffix of object files: cannot compile
3187 See \`config.log' for more details.
" "$LINENO" 5; }
3189 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3192 $as_echo "$ac_cv_objext" >&6; }
3193 OBJEXT=$ac_cv_objext
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3196 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3197 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3198 $as_echo_n "(cached
) " >&6
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3214 if ac_fn_c_try_compile "$LINENO"; then :
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3224 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3225 if test $ac_compiler_gnu = yes; then
3230 ac_test_CFLAGS=${CFLAGS+set}
3231 ac_save_CFLAGS=$CFLAGS
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3233 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3234 if test "${ac_cv_prog_cc_g+set}" = set; then :
3235 $as_echo_n "(cached
) " >&6
3237 ac_save_c_werror_flag=$ac_c_werror_flag
3238 ac_c_werror_flag=yes
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3252 if ac_fn_c_try_compile "$LINENO"; then :
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3267 if ac_fn_c_try_compile "$LINENO"; then :
3270 ac_c_werror_flag=$ac_save_c_werror_flag
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3283 if ac_fn_c_try_compile "$LINENO"; then :
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291 ac_c_werror_flag=$ac_save_c_werror_flag
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3294 $as_echo "$ac_cv_prog_cc_g" >&6; }
3295 if test "$ac_test_CFLAGS" = set; then
3296 CFLAGS=$ac_save_CFLAGS
3297 elif test $ac_cv_prog_cc_g = yes; then
3298 if test "$GCC" = yes; then
3304 if test "$GCC" = yes; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3311 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3312 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3313 $as_echo_n "(cached
) " >&6
3315 ac_cv_prog_cc_c89=no
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3321 #include <sys/types.h>
3322 #include <sys/stat.h>
3323 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3324 struct buf { int x; };
3325 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3326 static char *e (p, i)
3332 static char *f (char * (*g) (char **, int), char **p, ...)
3337 s = g (p, va_arg (v,int));
3342 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3343 function prototypes and stuff, but not '\xHH' hex character constants.
3344 These don't provoke an error unfortunately, instead are silently treated
3345 as 'x'. The following induces an error, until -std is added to get
3346 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3347 array size at least. It's necessary to write '\x00'==0 to get something
3348 that's true only with -std. */
3349 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3351 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3352 inside strings and character constants. */
3354 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3356 int test (int i, double x);
3357 struct s1 {int (*f) (int a);};
3358 struct s2 {int (*f) (double a);};
3359 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3365 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3370 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3371 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3373 CC="$ac_save_CC $ac_arg"
3374 if ac_fn_c_try_compile "$LINENO"; then :
3375 ac_cv_prog_cc_c89=$ac_arg
3377 rm -f core conftest.err conftest.$ac_objext
3378 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3380 rm -f conftest.$ac_ext
3385 case "x
$ac_cv_prog_cc_c89" in
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3388 $as_echo "none needed
" >&6; } ;;
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3391 $as_echo "unsupported
" >&6; } ;;
3393 CC="$CC $ac_cv_prog_cc_c89"
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3395 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3397 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3402 ac_cpp='$CPP $CPPFLAGS'
3403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3409 ac_cpp='$CPP $CPPFLAGS'
3410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3414 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3415 # On Suns, sometimes $CPP names a directory.
3416 if test -n "$CPP" && test -d "$CPP"; then
3419 if test -z "$CPP"; then
3420 if test "${ac_cv_prog_CPP+set}" = set; then :
3421 $as_echo_n "(cached
) " >&6
3423 # Double quotes because CPP needs to be expanded
3424 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3427 for ac_c_preproc_warn_flag in '' yes
3429 # Use a header file that comes with gcc, so configuring glibc
3430 # with a fresh cross-compiler works.
3431 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3432 # <limits.h> exists even on freestanding compilers.
3433 # On the NeXT, cc -E runs the code through the compiler's parser,
3434 # not just through cpp. "Syntax error
" is here to catch this case.
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3438 # include <limits.h>
3440 # include <assert.h>
3444 if ac_fn_c_try_cpp "$LINENO"; then :
3447 # Broken: fails on valid input.
3450 rm -f conftest.err conftest.$ac_ext
3452 # OK, works on sane cases. Now check whether nonexistent headers
3453 # can be detected and how.
3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h. */
3456 #include <ac_nonexistent.h>
3458 if ac_fn_c_try_cpp "$LINENO"; then :
3459 # Broken: success on invalid input.
3462 # Passes both tests.
3466 rm -f conftest.err conftest.$ac_ext
3469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3470 rm -f conftest.err conftest.$ac_ext
3471 if $ac_preproc_ok; then :
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3484 $as_echo "$CPP" >&6; }
3486 for ac_c_preproc_warn_flag in '' yes
3488 # Use a header file that comes with gcc, so configuring glibc
3489 # with a fresh cross-compiler works.
3490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3491 # <limits.h> exists even on freestanding compilers.
3492 # On the NeXT, cc -E runs the code through the compiler's parser,
3493 # not just through cpp. "Syntax error
" is here to catch this case.
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3497 # include <limits.h>
3499 # include <assert.h>
3503 if ac_fn_c_try_cpp "$LINENO"; then :
3506 # Broken: fails on valid input.
3509 rm -f conftest.err conftest.$ac_ext
3511 # OK, works on sane cases. Now check whether nonexistent headers
3512 # can be detected and how.
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3515 #include <ac_nonexistent.h>
3517 if ac_fn_c_try_cpp "$LINENO"; then :
3518 # Broken: success on invalid input.
3521 # Passes both tests.
3525 rm -f conftest.err conftest.$ac_ext
3528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3529 rm -f conftest.err conftest.$ac_ext
3530 if $ac_preproc_ok; then :
3533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3535 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3536 See \`config.log' for more details.
" "$LINENO" 5; }
3540 ac_cpp='$CPP $CPPFLAGS'
3541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3547 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3548 if test "${ac_cv_path_GREP+set}" = set; then :
3549 $as_echo_n "(cached
) " >&6
3551 if test -z "$GREP"; then
3552 ac_path_GREP_found=false
3553 # Loop through the user's path and test for each of PROGNAME-LIST
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3555 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3558 test -z "$as_dir" && as_dir=.
3559 for ac_prog in grep ggrep; do
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3562 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3563 # Check for GNU ac_path_GREP and select it if it is found.
3564 # Check for GNU $ac_path_GREP
3565 case `"$ac_path_GREP" --version 2>&1` in
3567 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3570 $as_echo_n 0123456789 >"conftest.
in"
3573 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3574 mv "conftest.tmp
" "conftest.
in"
3575 cp "conftest.
in" "conftest.
nl"
3576 $as_echo 'GREP' >> "conftest.
nl"
3577 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3578 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3579 as_fn_arith $ac_count + 1 && ac_count=$as_val
3580 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3581 # Best one so far, save it but keep looking for a better one
3582 ac_cv_path_GREP="$ac_path_GREP"
3583 ac_path_GREP_max=$ac_count
3585 # 10*(2^10) chars as input seems more than enough
3586 test $ac_count -gt 10 && break
3588 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3591 $ac_path_GREP_found && break 3
3596 if test -z "$ac_cv_path_GREP"; then
3597 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3600 ac_cv_path_GREP=$GREP
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3605 $as_echo "$ac_cv_path_GREP" >&6; }
3606 GREP="$ac_cv_path_GREP"
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3610 $as_echo_n "checking
for egrep...
" >&6; }
3611 if test "${ac_cv_path_EGREP+set}" = set; then :
3612 $as_echo_n "(cached
) " >&6
3614 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3615 then ac_cv_path_EGREP="$GREP -E"
3617 if test -z "$EGREP"; then
3618 ac_path_EGREP_found=false
3619 # Loop through the user's path and test for each of PROGNAME-LIST
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3624 test -z "$as_dir" && as_dir=.
3625 for ac_prog in egrep; do
3626 for ac_exec_ext in '' $ac_executable_extensions; do
3627 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3628 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3629 # Check for GNU ac_path_EGREP and select it if it is found.
3630 # Check for GNU $ac_path_EGREP
3631 case `"$ac_path_EGREP" --version 2>&1` in
3633 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3636 $as_echo_n 0123456789 >"conftest.
in"
3639 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3640 mv "conftest.tmp
" "conftest.
in"
3641 cp "conftest.
in" "conftest.
nl"
3642 $as_echo 'EGREP' >> "conftest.
nl"
3643 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3644 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3645 as_fn_arith $ac_count + 1 && ac_count=$as_val
3646 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3647 # Best one so far, save it but keep looking for a better one
3648 ac_cv_path_EGREP="$ac_path_EGREP"
3649 ac_path_EGREP_max=$ac_count
3651 # 10*(2^10) chars as input seems more than enough
3652 test $ac_count -gt 10 && break
3654 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3657 $ac_path_EGREP_found && break 3
3662 if test -z "$ac_cv_path_EGREP"; then
3663 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3666 ac_cv_path_EGREP=$EGREP
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3672 $as_echo "$ac_cv_path_EGREP" >&6; }
3673 EGREP="$ac_cv_path_EGREP"
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3677 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3678 if test "${ac_cv_header_stdc+set}" = set; then :
3679 $as_echo_n "(cached
) " >&6
3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3696 if ac_fn_c_try_compile "$LINENO"; then :
3697 ac_cv_header_stdc=yes
3699 ac_cv_header_stdc=no
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703 if test $ac_cv_header_stdc = yes; then
3704 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3710 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3711 $EGREP "memchr
" >/dev/null 2>&1; then :
3714 ac_cv_header_stdc=no
3720 if test $ac_cv_header_stdc = yes; then
3721 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3727 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3728 $EGREP "free
" >/dev/null 2>&1; then :
3731 ac_cv_header_stdc=no
3737 if test $ac_cv_header_stdc = yes; then
3738 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3739 if test "$cross_compiling" = yes; then :
3742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3746 #if ((' ' & 0x0FF) == 0x020)
3747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3750 # define ISLOWER(c) \
3751 (('a' <= (c) && (c) <= 'i') \
3752 || ('j' <= (c) && (c) <= 'r') \
3753 || ('s' <= (c) && (c) <= 'z'))
3754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3762 for (i = 0; i < 256; i++)
3763 if (XOR (islower (i), ISLOWER (i))
3764 || toupper (i) != TOUPPER (i))
3769 if ac_fn_c_try_run "$LINENO"; then :
3772 ac_cv_header_stdc=no
3774 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3775 conftest.$ac_objext conftest.beam conftest.$ac_ext
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3781 $as_echo "$ac_cv_header_stdc" >&6; }
3782 if test $ac_cv_header_stdc = yes; then
3784 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3788 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3789 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3790 inttypes.h stdint.h unistd.h
3792 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3793 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3795 eval as_val
=\$
$as_ac_Header
3796 if test "x$as_val" = x
""yes; then :
3797 cat >>confdefs.h
<<_ACEOF
3798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3807 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3808 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3815 if test "$MINIX" = yes; then
3817 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3820 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3823 $as_echo "#define _MINIX 1" >>confdefs.h
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3829 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3830 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3836 # define __EXTENSIONS__ 1
3837 $ac_includes_default
3846 if ac_fn_c_try_compile
"$LINENO"; then :
3847 ac_cv_safe_to_define___extensions__
=yes
3849 ac_cv_safe_to_define___extensions__
=no
3851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3854 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3855 test $ac_cv_safe_to_define___extensions__ = yes &&
3856 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3858 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3860 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3862 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3864 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3868 # Do not delete or change the following two lines. For why, see
3869 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3871 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3872 for ac_t
in install-sh
install.sh shtool
; do
3873 if test -f "$ac_dir/$ac_t"; then
3875 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3880 if test -z "$ac_aux_dir"; then
3881 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3884 # These three variables are undocumented and unsupported,
3885 # and are intended to be withdrawn in a future Autoconf release.
3886 # They can cause serious problems if a builder's source tree is in a directory
3887 # whose full name contains unusual characters.
3888 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3889 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3890 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3893 # Make sure we can run config.sub.
3894 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3895 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3898 $as_echo_n "checking build system type... " >&6; }
3899 if test "${ac_cv_build+set}" = set; then :
3900 $as_echo_n "(cached) " >&6
3902 ac_build_alias
=$build_alias
3903 test "x$ac_build_alias" = x
&&
3904 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3905 test "x$ac_build_alias" = x
&&
3906 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3907 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3908 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3912 $as_echo "$ac_cv_build" >&6; }
3913 case $ac_cv_build in
3915 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3918 ac_save_IFS
=$IFS; IFS
='-'
3924 # Remember, the first character of IFS is used to create $*,
3925 # except with old shells:
3928 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3932 $as_echo_n "checking host system type... " >&6; }
3933 if test "${ac_cv_host+set}" = set; then :
3934 $as_echo_n "(cached) " >&6
3936 if test "x$host_alias" = x
; then
3937 ac_cv_host
=$ac_cv_build
3939 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3940 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3945 $as_echo "$ac_cv_host" >&6; }
3948 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3951 ac_save_IFS
=$IFS; IFS
='-'
3957 # Remember, the first character of IFS is used to create $*,
3958 # except with old shells:
3961 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3965 $as_echo_n "checking target system type... " >&6; }
3966 if test "${ac_cv_target+set}" = set; then :
3967 $as_echo_n "(cached) " >&6
3969 if test "x$target_alias" = x
; then
3970 ac_cv_target
=$ac_cv_host
3972 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3973 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3978 $as_echo "$ac_cv_target" >&6; }
3979 case $ac_cv_target in
3981 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3983 target
=$ac_cv_target
3984 ac_save_IFS
=$IFS; IFS
='-'
3990 # Remember, the first character of IFS is used to create $*,
3991 # except with old shells:
3994 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3997 # The aliases save the names the user supplied, while $host etc.
3998 # will get canonicalized.
3999 test -n "$target_alias" &&
4000 test "$program_prefix$program_suffix$program_transform_name" = \
4002 program_prefix
=${target_alias}-
4004 target_alias
=${target_alias-$host_alias}
4006 case ${build_alias} in
4007 "") build_noncanonical
=${build} ;;
4008 *) build_noncanonical
=${build_alias} ;;
4011 case ${host_alias} in
4012 "") host_noncanonical
=${build_noncanonical} ;;
4013 *) host_noncanonical
=${host_alias} ;;
4016 case ${target_alias} in
4017 "") target_noncanonical
=${host_noncanonical} ;;
4018 *) target_noncanonical
=${target_alias} ;;
4025 LIBSTDCXX_RAW_CXX_CXXFLAGS
="\
4026 -I\$(top_builddir)/../libstdc++-v3/include \
4027 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
4028 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
4029 LIBSTDCXX_RAW_CXX_LDFLAGS
="\
4030 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
4035 am__api_version
='1.11'
4037 # Find a good install program. We prefer a C program (faster),
4038 # so one script is as good as another. But avoid the broken or
4039 # incompatible versions:
4040 # SysV /etc/install, /usr/sbin/install
4041 # SunOS /usr/etc/install
4042 # IRIX /sbin/install
4044 # AmigaOS /C/install, which installs bootblocks on floppy discs
4045 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4046 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4047 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4048 # OS/2's system install, which has a completely different semantic
4049 # ./install, which can be erroneously created by make from ./install.sh.
4050 # Reject install programs that cannot install multiple files.
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4052 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4053 if test -z "$INSTALL"; then
4054 if test "${ac_cv_path_install+set}" = set; then :
4055 $as_echo_n "(cached) " >&6
4057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4061 test -z "$as_dir" && as_dir
=.
4062 # Account for people who put trailing slashes in PATH elements.
4063 case $as_dir/ in #((
4064 .
/ | .
// |
/[cC
]/* | \
4065 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4066 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4069 # OSF1 and SCO ODT 3.0 have their own names for install.
4070 # Don't use installbsd from OSF since it installs stuff as root
4072 for ac_prog
in ginstall scoinst
install; do
4073 for ac_exec_ext
in '' $ac_executable_extensions; do
4074 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4075 if test $ac_prog = install &&
4076 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4077 # AIX install. It has an incompatible calling convention.
4079 elif test $ac_prog = install &&
4080 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4081 # program-specific install script used by HP pwplus--don't use.
4084 rm -rf conftest.one conftest.two conftest.dir
4085 echo one
> conftest.one
4086 echo two
> conftest.two
4088 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4089 test -s conftest.one
&& test -s conftest.two
&&
4090 test -s conftest.dir
/conftest.one
&&
4091 test -s conftest.dir
/conftest.two
4093 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4106 rm -rf conftest.one conftest.two conftest.dir
4109 if test "${ac_cv_path_install+set}" = set; then
4110 INSTALL
=$ac_cv_path_install
4112 # As a last resort, use the slow shell script. Don't cache a
4113 # value for INSTALL within a source directory, because that will
4114 # break other packages using the cache if that directory is
4115 # removed, or if the value is a relative name.
4116 INSTALL
=$ac_install_sh
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4120 $as_echo "$INSTALL" >&6; }
4122 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4123 # It thinks the first close brace ends the variable substitution.
4124 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4126 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4128 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4131 $as_echo_n "checking whether build environment is sane... " >&6; }
4134 echo timestamp
> conftest.
file
4135 # Reject unsafe characters in $srcdir or the absolute working directory
4136 # name. Accept space and tab only in the latter.
4140 *[\\\"\
#\$\&\'\`$am_lf]*)
4141 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4144 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4145 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4148 # Do `set' in a subshell so we don't clobber the current shell's
4149 # arguments. Must try -L first in case configure is actually a
4150 # symlink; some systems play weird games with the mod time of symlinks
4151 # (eg FreeBSD returns the mod time of the symlink's containing
4154 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4155 if test "$*" = "X"; then
4157 set X
`ls -t "$srcdir/configure" conftest.file`
4160 if test "$*" != "X $srcdir/configure conftest.file" \
4161 && test "$*" != "X conftest.file $srcdir/configure"; then
4163 # If neither matched, then we have a broken ls. This can happen
4164 # if, for instance, CONFIG_SHELL is bash and it inherits a
4165 # broken ls alias from the environment. This has actually
4166 # happened. Such a system could not be considered "sane".
4167 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4168 alias in your environment" "$LINENO" 5
4171 test "$2" = conftest.
file
4177 as_fn_error
"newly created file is older than distributed files!
4178 Check your system clock" "$LINENO" 5
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4181 $as_echo "yes" >&6; }
4182 test "$program_prefix" != NONE
&&
4183 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4184 # Use a double $ so make ignores it.
4185 test "$program_suffix" != NONE
&&
4186 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4187 # Double any \ or $.
4188 # By default was `s,x,x', remove it if useless.
4189 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4190 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4192 # expand $ac_aux_dir to an absolute path
4193 am_aux_dir
=`cd $ac_aux_dir && pwd`
4195 if test x
"${MISSING+set}" != xset
; then
4198 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4200 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4203 # Use eval to expand $SHELL
4204 if eval "$MISSING --run true"; then
4205 am_missing_run
="$MISSING --run "
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4209 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4212 if test x
"${install_sh}" != xset
; then
4215 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4217 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4221 # Installed binaries are usually stripped using `strip' when the user
4222 # run `make install-strip'. However `strip' might not be the right
4223 # tool to use in cross-compilation environments, therefore Automake
4224 # will honor the `STRIP' environment variable to overrule this program.
4225 if test "$cross_compiling" != no
; then
4226 if test -n "$ac_tool_prefix"; then
4227 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4228 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4230 $as_echo_n "checking for $ac_word... " >&6; }
4231 if test "${ac_cv_prog_STRIP+set}" = set; then :
4232 $as_echo_n "(cached) " >&6
4234 if test -n "$STRIP"; then
4235 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4241 test -z "$as_dir" && as_dir
=.
4242 for ac_exec_ext
in '' $ac_executable_extensions; do
4243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4244 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 STRIP
=$ac_cv_prog_STRIP
4255 if test -n "$STRIP"; then
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4257 $as_echo "$STRIP" >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4265 if test -z "$ac_cv_prog_STRIP"; then
4267 # Extract the first word of "strip", so it can be a program name with args.
4268 set dummy 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_ac_ct_STRIP+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 if test -n "$ac_ct_STRIP"; then
4275 ac_cv_prog_ac_ct_STRIP
="$ac_ct_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_ac_ct_STRIP
="strip"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4295 if test -n "$ac_ct_STRIP"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4297 $as_echo "$ac_ct_STRIP" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4303 if test "x$ac_ct_STRIP" = x
; then
4306 case $cross_compiling:$ac_tool_warned in
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4310 ac_tool_warned
=yes ;;
4315 STRIP
="$ac_cv_prog_STRIP"
4319 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4322 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4323 if test -z "$MKDIR_P"; then
4324 if test "${ac_cv_path_mkdir+set}" = set; then :
4325 $as_echo_n "(cached) " >&6
4327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4328 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4331 test -z "$as_dir" && as_dir
=.
4332 for ac_prog
in mkdir gmkdir
; do
4333 for ac_exec_ext
in '' $ac_executable_extensions; do
4334 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4335 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4336 'mkdir (GNU coreutils) '* | \
4337 'mkdir (coreutils) '* | \
4338 'mkdir (fileutils) '4.1*)
4339 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4349 if test "${ac_cv_path_mkdir+set}" = set; then
4350 MKDIR_P
="$ac_cv_path_mkdir -p"
4352 # As a last resort, use the slow shell script. Don't cache a
4353 # value for MKDIR_P within a source directory, because that will
4354 # break other packages using the cache if that directory is
4355 # removed, or if the value is a relative name.
4356 test -d .
/--version && rmdir .
/--version
4357 MKDIR_P
="$ac_install_sh -d"
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4361 $as_echo "$MKDIR_P" >&6; }
4365 [\\/$
]* | ?
:[\\/]*) ;;
4366 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4369 for ac_prog
in gawk mawk nawk
awk
4371 # Extract the first word of "$ac_prog", so it can be a program name with args.
4372 set dummy
$ac_prog; ac_word
=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if test "${ac_cv_prog_AWK+set}" = set; then :
4376 $as_echo_n "(cached) " >&6
4378 if test -n "$AWK"; then
4379 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4385 test -z "$as_dir" && as_dir
=.
4386 for ac_exec_ext
in '' $ac_executable_extensions; do
4387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4388 ac_cv_prog_AWK
="$ac_prog"
4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 if test -n "$AWK"; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4401 $as_echo "$AWK" >&6; }
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4408 test -n "$AWK" && break
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4412 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4414 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4415 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4416 $as_echo_n "(cached) " >&6
4418 cat >conftest.
make <<\_ACEOF
4421 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4423 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4424 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4426 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4428 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4432 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4434 $as_echo "yes" >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4439 SET_MAKE
="MAKE=${MAKE-make}"
4442 rm -rf .tst
2>/dev
/null
4443 mkdir .tst
2>/dev
/null
4444 if test -d .tst
; then
4449 rmdir .tst
2>/dev
/null
4451 DEPDIR
="${am__leading_dot}deps"
4453 ac_config_commands
="$ac_config_commands depfiles"
4456 am_make
=${MAKE-make}
4457 cat > confinc
<< 'END'
4459 @
echo this is the am__doit target
4462 # If we don't find an include directive, just comment out the code.
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4464 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4468 # First try GNU make style include.
4469 echo "include confinc" > confmf
4470 # Ignore all kinds of additional output from `make'.
4471 case `$am_make -s -f confmf 2> /dev/null` in #(
4472 *the\ am__doit\ target
*)
4478 # Now try BSD make style include.
4479 if test "$am__include" = "#"; then
4480 echo '.include "confinc"' > confmf
4481 case `$am_make -s -f confmf 2> /dev/null` in #(
4482 *the\ am__doit\ target
*)
4483 am__include
=.include
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4492 $as_echo "$_am_result" >&6; }
4493 rm -f confinc confmf
4495 # Check whether --enable-dependency-tracking was given.
4496 if test "${enable_dependency_tracking+set}" = set; then :
4497 enableval
=$enable_dependency_tracking;
4500 if test "x$enable_dependency_tracking" != xno
; then
4501 am_depcomp
="$ac_aux_dir/depcomp"
4504 if test "x$enable_dependency_tracking" != xno; then
4513 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4514 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4515 # is not polluted with repeated "-I."
4516 am__isrc
=' -I$(srcdir)'
4517 # test to see if srcdir already configured
4518 if test -f $srcdir/config.status
; then
4519 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4523 # test whether we have cygpath
4524 if test -z "$CYGPATH_W"; then
4525 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4526 CYGPATH_W
='cygpath -w'
4533 # Define the identity of the package.
4534 PACKAGE
='package-unused'
4535 VERSION
='version-unused'
4538 cat >>confdefs.h
<<_ACEOF
4539 #define PACKAGE "$PACKAGE"
4543 cat >>confdefs.h
<<_ACEOF
4544 #define VERSION "$VERSION"
4547 # Some tools Automake needs.
4549 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4552 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4555 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4558 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4561 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4563 # We need awk for the "check" target. The system "awk" is bad on
4565 # Always define AMTAR for backward compatibility.
4567 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4569 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4574 depcc
="$CC" am_compiler_list
=
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4577 $as_echo_n "checking dependency style of $depcc... " >&6; }
4578 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4582 # We make a subdir and do the tests there. Otherwise we can end up
4583 # making bogus files that we don't know about and never remove. For
4584 # instance it was reported that on HP-UX the gcc test will end up
4585 # making a dummy file named `D' -- because `-MD' means `put the output
4588 # Copy depcomp to subdir because otherwise we won't find it if we're
4589 # using a relative directory.
4590 cp "$am_depcomp" conftest.dir
4592 # We will build objects and dependencies in a subdirectory because
4593 # it helps to detect inapplicable dependency modes. For instance
4594 # both Tru64's cc and ICC support -MD to output dependencies as a
4595 # side effect of compilation, but ICC will put the dependencies in
4596 # the current directory while Tru64 will put them in the object
4600 am_cv_CC_dependencies_compiler_type
=none
4601 if test "$am_compiler_list" = ""; then
4602 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4605 case " $depcc " in #(
4606 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4609 for depmode
in $am_compiler_list; do
4610 # Setup a source with many dependencies, because some compilers
4611 # like to wrap large dependency lists on column 80 (with \), and
4612 # we should not choose a depcomp mode which is confused by this.
4614 # We need to recreate these files for each test, as the compiler may
4615 # overwrite some of them when testing with obscure command lines.
4616 # This happens at least with the AIX C compiler.
4618 for i
in 1 2 3 4 5 6; do
4619 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4620 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4621 # Solaris 8's {/usr,}/bin/sh.
4622 touch sub
/conftst
$i.h
4624 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4626 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4627 # mode. It turns out that the SunPro C++ compiler does not properly
4628 # handle `-M -o', and we need to detect this. Also, some Intel
4629 # versions had trouble with output in subdirs
4630 am__obj
=sub
/conftest.
${OBJEXT-o}
4631 am__minus_obj
="-o $am__obj"
4634 # This depmode causes a compiler race in universal mode.
4635 test "$am__universal" = false ||
continue
4638 # after this tag, mechanisms are not by side-effect, so they'll
4639 # only be used when explicitly requested
4640 if test "x$enable_dependency_tracking" = xyes
; then
4646 msvisualcpp | msvcmsys
)
4647 # This compiler won't grok `-c -o', but also, the minuso test has
4648 # not run yet. These depmodes are late enough in the game, and
4649 # so weak that their functioning should not be impacted.
4650 am__obj
=conftest.
${OBJEXT-o}
4655 if depmode
=$depmode \
4656 source=sub
/conftest.c object
=$am__obj \
4657 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4658 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4659 >/dev
/null
2>conftest.err
&&
4660 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4661 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4662 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4663 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4664 # icc doesn't choke on unknown options, it will just issue warnings
4665 # or remarks (even with -Werror). So we grep stderr for any message
4666 # that says an option was ignored or not supported.
4667 # When given -MP, icc 7.0 and 7.1 complain thusly:
4668 # icc: Command line warning: ignoring option '-M'; no argument required
4669 # The diagnosis changed in icc 8.0:
4670 # icc: Command line remark: option '-MP' not supported
4671 if (grep 'ignoring option' conftest.err ||
4672 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4673 am_cv_CC_dependencies_compiler_type
=$depmode
4682 am_cv_CC_dependencies_compiler_type
=none
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4687 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4688 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4691 test "x$enable_dependency_tracking" != xno \
4692 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4694 am__fastdepCC_FALSE
='#'
4696 am__fastdepCC_TRUE
='#'
4697 am__fastdepCC_FALSE
=
4702 # Default to --enable-multilib
4703 # Check whether --enable-multilib was given.
4704 if test "${enable_multilib+set}" = set; then :
4705 enableval
=$enable_multilib; case "$enableval" in
4706 yes) multilib
=yes ;;
4708 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
4715 # We may get other options which we leave undocumented:
4716 # --with-target-subdir, --with-multisrctop, --with-multisubdir
4717 # See config-ml.in if you want the gory details.
4719 if test "$srcdir" = "."; then
4720 if test "$with_target_subdir" != "."; then
4721 multi_basedir
="$srcdir/$with_multisrctop../.."
4723 multi_basedir
="$srcdir/$with_multisrctop.."
4726 multi_basedir
="$srcdir/.."
4730 # Even if the default multilib is not a cross compilation,
4731 # it may be that some of the other multilibs are.
4732 if test $cross_compiling = no
&& test $multilib = yes \
4733 && test "x${with_multisubdir}" != x
; then
4734 cross_compiling
=maybe
4737 ac_config_commands
="$ac_config_commands default-1"
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4741 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4742 # Check whether --enable-maintainer-mode was given.
4743 if test "${enable_maintainer_mode+set}" = set; then :
4744 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4746 USE_MAINTAINER_MODE
=no
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4750 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4751 if test $USE_MAINTAINER_MODE = yes; then
4752 MAINTAINER_MODE_TRUE
=
4753 MAINTAINER_MODE_FALSE
='#'
4755 MAINTAINER_MODE_TRUE
='#'
4756 MAINTAINER_MODE_FALSE
=
4759 MAINT
=$MAINTAINER_MODE_TRUE
4763 # Calculate toolexeclibdir
4764 # Also toolexecdir, though it's only used in toolexeclibdir
4765 case ${version_specific_libs} in
4767 # Need the gcc compiler version to know where to install libraries
4768 # and header files if --enable-version-specific-runtime-libs option
4770 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4771 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4774 if test -n "$with_cross_host" &&
4775 test x
"$with_cross_host" != x
"no"; then
4776 # Install a library built with a cross compiler in tooldir, not libdir.
4777 toolexecdir
='$(exec_prefix)/$(target_alias)'
4778 toolexeclibdir
='$(toolexecdir)/lib'
4780 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4781 toolexeclibdir
='$(libdir)'
4783 multi_os_directory
=`$CC -print-multi-os-directory`
4784 case $multi_os_directory in
4785 .
) ;; # Avoid trailing /.
4786 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4793 # Checks for programs.
4795 ac_cpp
='$CPP $CPPFLAGS'
4796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4799 if test -n "$ac_tool_prefix"; then
4800 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4801 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4803 $as_echo_n "checking for $ac_word... " >&6; }
4804 if test "${ac_cv_prog_CC+set}" = set; then :
4805 $as_echo_n "(cached) " >&6
4807 if test -n "$CC"; then
4808 ac_cv_prog_CC
="$CC" # Let the user override the test.
4810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4814 test -z "$as_dir" && as_dir
=.
4815 for ac_exec_ext
in '' $ac_executable_extensions; do
4816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4817 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4828 if test -n "$CC"; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4830 $as_echo "$CC" >&6; }
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4838 if test -z "$ac_cv_prog_CC"; then
4840 # Extract the first word of "gcc", so it can be a program name with args.
4841 set dummy gcc
; ac_word
=$2
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4845 $as_echo_n "(cached) " >&6
4847 if test -n "$ac_ct_CC"; then
4848 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4854 test -z "$as_dir" && as_dir
=.
4855 for ac_exec_ext
in '' $ac_executable_extensions; do
4856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4857 ac_cv_prog_ac_ct_CC
="gcc"
4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4867 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4868 if test -n "$ac_ct_CC"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4870 $as_echo "$ac_ct_CC" >&6; }
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 $as_echo "no" >&6; }
4876 if test "x$ac_ct_CC" = x
; then
4879 case $cross_compiling:$ac_tool_warned in
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4883 ac_tool_warned
=yes ;;
4891 if test -z "$CC"; then
4892 if test -n "$ac_tool_prefix"; then
4893 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4894 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if test "${ac_cv_prog_CC+set}" = set; then :
4898 $as_echo_n "(cached) " >&6
4900 if test -n "$CC"; then
4901 ac_cv_prog_CC
="$CC" # Let the user override the test.
4903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4907 test -z "$as_dir" && as_dir
=.
4908 for ac_exec_ext
in '' $ac_executable_extensions; do
4909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4910 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 if test -n "$CC"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4923 $as_echo "$CC" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4932 if test -z "$CC"; then
4933 # Extract the first word of "cc", so it can be a program name with args.
4934 set dummy cc
; ac_word
=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if test "${ac_cv_prog_CC+set}" = set; then :
4938 $as_echo_n "(cached) " >&6
4940 if test -n "$CC"; then
4941 ac_cv_prog_CC
="$CC" # Let the user override the test.
4944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4948 test -z "$as_dir" && as_dir
=.
4949 for ac_exec_ext
in '' $ac_executable_extensions; do
4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4951 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4952 ac_prog_rejected
=yes
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 if test $ac_prog_rejected = yes; then
4964 # We found a bogon in the path, so make sure we never use it.
4965 set dummy
$ac_cv_prog_CC
4967 if test $# != 0; then
4968 # We chose a different compiler from the bogus one.
4969 # However, it has the same basename, so the bogon will be chosen
4970 # first if we set CC to just the basename; use the full file name.
4972 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4978 if test -n "$CC"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4980 $as_echo "$CC" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4988 if test -z "$CC"; then
4989 if test -n "$ac_tool_prefix"; then
4990 for ac_prog
in cl.exe
4992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4993 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if test "${ac_cv_prog_CC+set}" = set; then :
4997 $as_echo_n "(cached) " >&6
4999 if test -n "$CC"; then
5000 ac_cv_prog_CC
="$CC" # Let the user override the test.
5002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5006 test -z "$as_dir" && as_dir
=.
5007 for ac_exec_ext
in '' $ac_executable_extensions; do
5008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5009 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 if test -n "$CC"; then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5022 $as_echo "$CC" >&6; }
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5029 test -n "$CC" && break
5032 if test -z "$CC"; then
5034 for ac_prog
in cl.exe
5036 # Extract the first word of "$ac_prog", so it can be a program name with args.
5037 set dummy
$ac_prog; ac_word
=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5041 $as_echo_n "(cached) " >&6
5043 if test -n "$ac_ct_CC"; then
5044 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir
=.
5051 for ac_exec_ext
in '' $ac_executable_extensions; do
5052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5053 ac_cv_prog_ac_ct_CC
="$ac_prog"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5064 if test -n "$ac_ct_CC"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5066 $as_echo "$ac_ct_CC" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 test -n "$ac_ct_CC" && break
5076 if test "x$ac_ct_CC" = x
; then
5079 case $cross_compiling:$ac_tool_warned in
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5083 ac_tool_warned
=yes ;;
5092 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5094 as_fn_error
"no acceptable C compiler found in \$PATH
5095 See \`config.log' for more details." "$LINENO" 5; }
5097 # Provide some information about the compiler.
5098 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5101 for ac_option
in --version -v -V -qversion; do
5102 { { ac_try
="$ac_compiler $ac_option >&5"
5104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5105 *) ac_try_echo=$ac_try;;
5107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5108 $as_echo "$ac_try_echo"; } >&5
5109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5111 if test -s conftest.err; then
5113 ... rest of stderr output deleted ...
5114 10q' conftest.err >conftest.er1
5115 cat conftest.er1 >&5
5116 rm -f conftest.er1 conftest.err
5118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5119 test $ac_status = 0; }
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5123 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5124 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128 /* end confdefs.h. */
5141 if ac_fn_c_try_compile "$LINENO"; then :
5146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5147 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5151 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5152 if test $ac_compiler_gnu = yes; then
5157 ac_test_CFLAGS=${CFLAGS+set}
5158 ac_save_CFLAGS=$CFLAGS
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5160 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5161 if test "${ac_cv_prog_cc_g+set}" = set; then :
5162 $as_echo_n "(cached) " >&6
5164 ac_save_c_werror_flag=$ac_c_werror_flag
5165 ac_c_werror_flag=yes
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5179 if ac_fn_c_try_compile "$LINENO"; then :
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5194 if ac_fn_c_try_compile "$LINENO"; then :
5197 ac_c_werror_flag=$ac_save_c_werror_flag
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5210 if ac_fn_c_try_compile "$LINENO"; then :
5213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5218 ac_c_werror_flag=$ac_save_c_werror_flag
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5221 $as_echo "$ac_cv_prog_cc_g" >&6; }
5222 if test "$ac_test_CFLAGS" = set; then
5223 CFLAGS=$ac_save_CFLAGS
5224 elif test $ac_cv_prog_cc_g = yes; then
5225 if test "$GCC" = yes; then
5231 if test "$GCC" = yes; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5238 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5239 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5242 ac_cv_prog_cc_c89=no
5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5248 #include <sys/types.h>
5249 #include <sys/stat.h>
5250 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5251 struct buf { int x; };
5252 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5253 static char *e (p, i)
5259 static char *f (char * (*g) (char **, int), char **p, ...)
5264 s = g (p, va_arg (v,int));
5269 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5270 function prototypes and stuff, but not '\xHH' hex character constants.
5271 These don't provoke an error unfortunately, instead are silently treated
5272 as 'x'. The following induces an error, until -std is added to get
5273 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5274 array size at least. It's necessary to write '\x00'==0 to get something
5275 that's true only with -std. */
5276 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5278 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5279 inside strings and character constants. */
5281 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5283 int test (int i, double x);
5284 struct s1 {int (*f) (int a);};
5285 struct s2 {int (*f) (double a);};
5286 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5292 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5297 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5298 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5300 CC="$ac_save_CC $ac_arg"
5301 if ac_fn_c_try_compile "$LINENO"; then :
5302 ac_cv_prog_cc_c89=$ac_arg
5304 rm -f core conftest.err conftest.$ac_objext
5305 test "x$ac_cv_prog_cc_c89" != "xno" && break
5307 rm -f conftest.$ac_ext
5312 case "x$ac_cv_prog_cc_c89" in
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5315 $as_echo "none needed" >&6; } ;;
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5318 $as_echo "unsupported" >&6; } ;;
5320 CC="$CC $ac_cv_prog_cc_c89"
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5322 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5324 if test "x$ac_cv_prog_cc_c89" != xno; then :
5329 ac_cpp='$CPP $CPPFLAGS'
5330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5335 ac_cpp='$CXXCPP $CPPFLAGS'
5336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5339 if test -z "$CXX"; then
5340 if test -n "$CCC"; then
5343 if test -n "$ac_tool_prefix"; then
5344 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if test "${ac_cv_prog_CXX+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5353 if test -n "$CXX"; then
5354 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 test -z "$as_dir" && as_dir=.
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5363 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 if test -n "$CXX"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5376 $as_echo "$CXX" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5383 test -n "$CXX" && break
5386 if test -z "$CXX"; then
5388 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5390 # Extract the first word of "$ac_prog", so it can be a program name with args.
5391 set dummy $ac_prog; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5395 $as_echo_n "(cached) " >&6
5397 if test -n "$ac_ct_CXX"; then
5398 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5407 ac_cv_prog_ac_ct_CXX="$ac_prog"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5418 if test -n "$ac_ct_CXX"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5420 $as_echo "$ac_ct_CXX" >&6; }
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5427 test -n "$ac_ct_CXX" && break
5430 if test "x$ac_ct_CXX" = x; then
5433 case $cross_compiling:$ac_tool_warned in
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5437 ac_tool_warned=yes ;;
5445 # Provide some information about the compiler.
5446 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5449 for ac_option in --version -v -V -qversion; do
5450 { { ac_try="$ac_compiler $ac_option >&5"
5452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5453 *) ac_try_echo
=$ac_try;;
5455 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5456 $as_echo "$ac_try_echo"; } >&5
5457 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5459 if test -s conftest.err
; then
5461 ... rest of stderr output deleted ...
5462 10q' conftest.err
>conftest.er1
5463 cat conftest.er1
>&5
5464 rm -f conftest.er1 conftest.err
5466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5467 test $ac_status = 0; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5471 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5472 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5473 $as_echo_n "(cached) " >&6
5475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5476 /* end confdefs.h. */
5489 if ac_fn_cxx_try_compile
"$LINENO"; then :
5494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5495 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5499 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5500 if test $ac_compiler_gnu = yes; then
5505 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5506 ac_save_CXXFLAGS
=$CXXFLAGS
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5508 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5509 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5510 $as_echo_n "(cached) " >&6
5512 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5513 ac_cxx_werror_flag
=yes
5516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5527 if ac_fn_cxx_try_compile
"$LINENO"; then :
5528 ac_cv_prog_cxx_g
=yes
5531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5532 /* end confdefs.h. */
5542 if ac_fn_cxx_try_compile
"$LINENO"; then :
5545 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5548 /* end confdefs.h. */
5558 if ac_fn_cxx_try_compile
"$LINENO"; then :
5559 ac_cv_prog_cxx_g
=yes
5561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5566 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5569 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5570 if test "$ac_test_CXXFLAGS" = set; then
5571 CXXFLAGS
=$ac_save_CXXFLAGS
5572 elif test $ac_cv_prog_cxx_g = yes; then
5573 if test "$GXX" = yes; then
5579 if test "$GXX" = yes; then
5586 ac_cpp
='$CPP $CPPFLAGS'
5587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5591 depcc
="$CXX" am_compiler_list
=
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5594 $as_echo_n "checking dependency style of $depcc... " >&6; }
5595 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5596 $as_echo_n "(cached) " >&6
5598 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5599 # We make a subdir and do the tests there. Otherwise we can end up
5600 # making bogus files that we don't know about and never remove. For
5601 # instance it was reported that on HP-UX the gcc test will end up
5602 # making a dummy file named `D' -- because `-MD' means `put the output
5605 # Copy depcomp to subdir because otherwise we won't find it if we're
5606 # using a relative directory.
5607 cp "$am_depcomp" conftest.dir
5609 # We will build objects and dependencies in a subdirectory because
5610 # it helps to detect inapplicable dependency modes. For instance
5611 # both Tru64's cc and ICC support -MD to output dependencies as a
5612 # side effect of compilation, but ICC will put the dependencies in
5613 # the current directory while Tru64 will put them in the object
5617 am_cv_CXX_dependencies_compiler_type
=none
5618 if test "$am_compiler_list" = ""; then
5619 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5622 case " $depcc " in #(
5623 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5626 for depmode
in $am_compiler_list; do
5627 # Setup a source with many dependencies, because some compilers
5628 # like to wrap large dependency lists on column 80 (with \), and
5629 # we should not choose a depcomp mode which is confused by this.
5631 # We need to recreate these files for each test, as the compiler may
5632 # overwrite some of them when testing with obscure command lines.
5633 # This happens at least with the AIX C compiler.
5635 for i
in 1 2 3 4 5 6; do
5636 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5637 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5638 # Solaris 8's {/usr,}/bin/sh.
5639 touch sub
/conftst
$i.h
5641 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5643 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5644 # mode. It turns out that the SunPro C++ compiler does not properly
5645 # handle `-M -o', and we need to detect this. Also, some Intel
5646 # versions had trouble with output in subdirs
5647 am__obj
=sub
/conftest.
${OBJEXT-o}
5648 am__minus_obj
="-o $am__obj"
5651 # This depmode causes a compiler race in universal mode.
5652 test "$am__universal" = false ||
continue
5655 # after this tag, mechanisms are not by side-effect, so they'll
5656 # only be used when explicitly requested
5657 if test "x$enable_dependency_tracking" = xyes
; then
5663 msvisualcpp | msvcmsys
)
5664 # This compiler won't grok `-c -o', but also, the minuso test has
5665 # not run yet. These depmodes are late enough in the game, and
5666 # so weak that their functioning should not be impacted.
5667 am__obj
=conftest.
${OBJEXT-o}
5672 if depmode
=$depmode \
5673 source=sub
/conftest.c object
=$am__obj \
5674 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5675 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5676 >/dev
/null
2>conftest.err
&&
5677 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5678 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5679 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5680 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5681 # icc doesn't choke on unknown options, it will just issue warnings
5682 # or remarks (even with -Werror). So we grep stderr for any message
5683 # that says an option was ignored or not supported.
5684 # When given -MP, icc 7.0 and 7.1 complain thusly:
5685 # icc: Command line warning: ignoring option '-M'; no argument required
5686 # The diagnosis changed in icc 8.0:
5687 # icc: Command line remark: option '-MP' not supported
5688 if (grep 'ignoring option' conftest.err ||
5689 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5690 am_cv_CXX_dependencies_compiler_type
=$depmode
5699 am_cv_CXX_dependencies_compiler_type
=none
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5704 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5705 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5708 test "x$enable_dependency_tracking" != xno \
5709 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5710 am__fastdepCXX_TRUE
=
5711 am__fastdepCXX_FALSE
='#'
5713 am__fastdepCXX_TRUE
='#'
5714 am__fastdepCXX_FALSE
=
5718 # By default we simply use the C compiler to build assembly code.
5720 test "${CCAS+set}" = set || CCAS
=$CC
5721 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
5725 depcc
="$CCAS" am_compiler_list
=
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5728 $as_echo_n "checking dependency style of $depcc... " >&6; }
5729 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
5730 $as_echo_n "(cached) " >&6
5732 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5733 # We make a subdir and do the tests there. Otherwise we can end up
5734 # making bogus files that we don't know about and never remove. For
5735 # instance it was reported that on HP-UX the gcc test will end up
5736 # making a dummy file named `D' -- because `-MD' means `put the output
5739 # Copy depcomp to subdir because otherwise we won't find it if we're
5740 # using a relative directory.
5741 cp "$am_depcomp" conftest.dir
5743 # We will build objects and dependencies in a subdirectory because
5744 # it helps to detect inapplicable dependency modes. For instance
5745 # both Tru64's cc and ICC support -MD to output dependencies as a
5746 # side effect of compilation, but ICC will put the dependencies in
5747 # the current directory while Tru64 will put them in the object
5751 am_cv_CCAS_dependencies_compiler_type
=none
5752 if test "$am_compiler_list" = ""; then
5753 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5758 for depmode
in $am_compiler_list; do
5759 # Setup a source with many dependencies, because some compilers
5760 # like to wrap large dependency lists on column 80 (with \), and
5761 # we should not choose a depcomp mode which is confused by this.
5763 # We need to recreate these files for each test, as the compiler may
5764 # overwrite some of them when testing with obscure command lines.
5765 # This happens at least with the AIX C compiler.
5767 for i
in 1 2 3 4 5 6; do
5768 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5769 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5770 # Solaris 8's {/usr,}/bin/sh.
5771 touch sub
/conftst
$i.h
5773 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5775 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5776 # mode. It turns out that the SunPro C++ compiler does not properly
5777 # handle `-M -o', and we need to detect this. Also, some Intel
5778 # versions had trouble with output in subdirs
5779 am__obj
=sub
/conftest.
${OBJEXT-o}
5780 am__minus_obj
="-o $am__obj"
5783 # This depmode causes a compiler race in universal mode.
5784 test "$am__universal" = false ||
continue
5787 # after this tag, mechanisms are not by side-effect, so they'll
5788 # only be used when explicitly requested
5789 if test "x$enable_dependency_tracking" = xyes
; then
5795 msvisualcpp | msvcmsys
)
5796 # This compiler won't grok `-c -o', but also, the minuso test has
5797 # not run yet. These depmodes are late enough in the game, and
5798 # so weak that their functioning should not be impacted.
5799 am__obj
=conftest.
${OBJEXT-o}
5804 if depmode
=$depmode \
5805 source=sub
/conftest.c object
=$am__obj \
5806 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5807 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5808 >/dev
/null
2>conftest.err
&&
5809 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5810 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5811 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5812 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5813 # icc doesn't choke on unknown options, it will just issue warnings
5814 # or remarks (even with -Werror). So we grep stderr for any message
5815 # that says an option was ignored or not supported.
5816 # When given -MP, icc 7.0 and 7.1 complain thusly:
5817 # icc: Command line warning: ignoring option '-M'; no argument required
5818 # The diagnosis changed in icc 8.0:
5819 # icc: Command line remark: option '-MP' not supported
5820 if (grep 'ignoring option' conftest.err ||
5821 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5822 am_cv_CCAS_dependencies_compiler_type
=$depmode
5831 am_cv_CCAS_dependencies_compiler_type
=none
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5836 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5837 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
5840 test "x$enable_dependency_tracking" != xno \
5841 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
5842 am__fastdepCCAS_TRUE
=
5843 am__fastdepCCAS_FALSE
='#'
5845 am__fastdepCCAS_TRUE
='#'
5846 am__fastdepCCAS_FALSE
=
5850 if test -n "$ac_tool_prefix"; then
5851 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5852 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5858 if test -n "$RANLIB"; then
5859 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir
=.
5866 for ac_exec_ext
in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 RANLIB
=$ac_cv_prog_RANLIB
5879 if test -n "$RANLIB"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5881 $as_echo "$RANLIB" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5889 if test -z "$ac_cv_prog_RANLIB"; then
5890 ac_ct_RANLIB
=$RANLIB
5891 # Extract the first word of "ranlib", so it can be a program name with args.
5892 set dummy ranlib
; ac_word
=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5896 $as_echo_n "(cached) " >&6
5898 if test -n "$ac_ct_RANLIB"; then
5899 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5919 if test -n "$ac_ct_RANLIB"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5921 $as_echo "$ac_ct_RANLIB" >&6; }
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5927 if test "x$ac_ct_RANLIB" = x
; then
5930 case $cross_compiling:$ac_tool_warned in
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5934 ac_tool_warned
=yes ;;
5936 RANLIB
=$ac_ct_RANLIB
5939 RANLIB
="$ac_cv_prog_RANLIB"
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5950 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5955 macro_version
='2.2.7a'
5956 macro_revision
='1.3134'
5970 ltmain
="$ac_aux_dir/ltmain.sh"
5972 # Backslashify metacharacters that are still active within
5973 # double-quoted strings.
5974 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5976 # Same as above, but do not quote variable references.
5977 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5979 # Sed substitution to delay expansion of an escaped shell variable in a
5980 # double_quote_subst'ed string.
5981 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5983 # Sed substitution to delay expansion of an escaped single quote.
5984 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5986 # Sed substitution to avoid accidental globbing in evaled expressions
5987 no_glob_subst
='s/\*/\\\*/g'
5989 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5990 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5991 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5994 $as_echo_n "checking how to print strings... " >&6; }
5995 # Test print first, because it will be a builtin if present.
5996 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5997 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5999 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6002 # Use this function as a fallback that always works.
6003 func_fallback_echo ()
6005 eval 'cat <<_LTECHO_EOF
6009 ECHO='func_fallback_echo
'
6012 # func_echo_all arg...
6013 # Invoke $ECHO with all args, space-separated.
6020 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6021 $as_echo "printf" >&6; } ;;
6022 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6023 $as_echo "print -r" >&6; } ;;
6024 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6025 $as_echo "cat" >&6; } ;;
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6042 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6043 if test "${ac_cv_path_SED+set}" = set; then :
6044 $as_echo_n "(cached) " >&6
6046 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6047 for ac_i in 1 2 3 4 5 6 7; do
6048 ac_script="$ac_script$as_nl$ac_script"
6050 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6051 { ac_script=; unset ac_script;}
6052 if test -z "$SED"; then
6053 ac_path_SED_found=false
6054 # Loop through the user's path and
test for each of PROGNAME-LIST
6055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir
=.
6060 for ac_prog
in sed gsed
; do
6061 for ac_exec_ext
in '' $ac_executable_extensions; do
6062 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6063 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6064 # Check for GNU ac_path_SED and select it if it is found.
6065 # Check for GNU $ac_path_SED
6066 case `"$ac_path_SED" --version 2>&1` in
6068 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6071 $as_echo_n 0123456789 >"conftest.in"
6074 cat "conftest.in" "conftest.in" >"conftest.tmp"
6075 mv "conftest.tmp" "conftest.in"
6076 cp "conftest.in" "conftest.nl"
6077 $as_echo '' >> "conftest.nl"
6078 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6079 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6080 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6081 if test $ac_count -gt ${ac_path_SED_max-0}; then
6082 # Best one so far, save it but keep looking for a better one
6083 ac_cv_path_SED
="$ac_path_SED"
6084 ac_path_SED_max
=$ac_count
6086 # 10*(2^10) chars as input seems more than enough
6087 test $ac_count -gt 10 && break
6089 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6092 $ac_path_SED_found && break 3
6097 if test -z "$ac_cv_path_SED"; then
6098 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6106 $as_echo "$ac_cv_path_SED" >&6; }
6107 SED
="$ac_cv_path_SED"
6110 test -z "$SED" && SED
=sed
6111 Xsed
="$SED -e 1s/^X//"
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6124 $as_echo_n "checking for fgrep... " >&6; }
6125 if test "${ac_cv_path_FGREP+set}" = set; then :
6126 $as_echo_n "(cached) " >&6
6128 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6129 then ac_cv_path_FGREP
="$GREP -F"
6131 if test -z "$FGREP"; then
6132 ac_path_FGREP_found
=false
6133 # Loop through the user's path and test for each of PROGNAME-LIST
6134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6135 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6138 test -z "$as_dir" && as_dir
=.
6139 for ac_prog
in fgrep
; do
6140 for ac_exec_ext
in '' $ac_executable_extensions; do
6141 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6142 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
6143 # Check for GNU ac_path_FGREP and select it if it is found.
6144 # Check for GNU $ac_path_FGREP
6145 case `"$ac_path_FGREP" --version 2>&1` in
6147 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6150 $as_echo_n 0123456789 >"conftest.in"
6153 cat "conftest.in" "conftest.in" >"conftest.tmp"
6154 mv "conftest.tmp" "conftest.in"
6155 cp "conftest.in" "conftest.nl"
6156 $as_echo 'FGREP' >> "conftest.nl"
6157 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6158 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6159 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6160 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6161 # Best one so far, save it but keep looking for a better one
6162 ac_cv_path_FGREP
="$ac_path_FGREP"
6163 ac_path_FGREP_max
=$ac_count
6165 # 10*(2^10) chars as input seems more than enough
6166 test $ac_count -gt 10 && break
6168 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6171 $ac_path_FGREP_found && break 3
6176 if test -z "$ac_cv_path_FGREP"; then
6177 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6180 ac_cv_path_FGREP
=$FGREP
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6186 $as_echo "$ac_cv_path_FGREP" >&6; }
6187 FGREP
="$ac_cv_path_FGREP"
6190 test -z "$GREP" && GREP
=grep
6210 # Check whether --with-gnu-ld was given.
6211 if test "${with_gnu_ld+set}" = set; then :
6212 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6218 if test "$GCC" = yes; then
6219 # Check if gcc -print-prog-name=ld gives a path.
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6221 $as_echo_n "checking for ld used by $CC... " >&6; }
6224 # gcc leaves a trailing carriage return which upsets mingw
6225 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6227 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6230 # Accept absolute paths.
6232 re_direlt
='/[^/][^/]*/\.\./'
6233 # Canonicalize the pathname of ld
6234 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6235 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6236 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6238 test -z "$LD" && LD
="$ac_prog"
6241 # If it fails, then pretend we aren't using GCC.
6245 # If it is relative, then search for the first ld in PATH.
6249 elif test "$with_gnu_ld" = yes; then
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6251 $as_echo_n "checking for GNU ld... " >&6; }
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6254 $as_echo_n "checking for non-GNU ld... " >&6; }
6256 if test "${lt_cv_path_LD+set}" = set; then :
6257 $as_echo_n "(cached) " >&6
6259 if test -z "$LD"; then
6260 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6261 for ac_dir
in $PATH; do
6263 test -z "$ac_dir" && ac_dir
=.
6264 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6265 lt_cv_path_LD
="$ac_dir/$ac_prog"
6266 # Check to see if the program is GNU ld. I'd rather use --version,
6267 # but apparently some variants of GNU ld only accept -v.
6268 # Break only if it was the GNU/non-GNU ld that we prefer.
6269 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6270 *GNU
* |
*'with BFD'*)
6271 test "$with_gnu_ld" != no
&& break
6274 test "$with_gnu_ld" != yes && break
6281 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6286 if test -n "$LD"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6288 $as_echo "$LD" >&6; }
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291 $as_echo "no" >&6; }
6293 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6295 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6296 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6297 $as_echo_n "(cached) " >&6
6299 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6300 case `$LD -v 2>&1 </dev/null` in
6301 *GNU
* |
*'with BFD'*)
6302 lt_cv_prog_gnu_ld
=yes
6305 lt_cv_prog_gnu_ld
=no
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6310 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6311 with_gnu_ld
=$lt_cv_prog_gnu_ld
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6322 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6323 if test "${lt_cv_path_NM+set}" = set; then :
6324 $as_echo_n "(cached) " >&6
6326 if test -n "$NM"; then
6327 # Let the user override the test.
6330 lt_nm_to_check
="${ac_tool_prefix}nm"
6331 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6332 lt_nm_to_check
="$lt_nm_to_check nm"
6334 for lt_tmp_nm
in $lt_nm_to_check; do
6335 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6336 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6338 test -z "$ac_dir" && ac_dir
=.
6339 tmp_nm
="$ac_dir/$lt_tmp_nm"
6340 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6341 # Check to see if the nm accepts a BSD-compat flag.
6342 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6343 # nm: unknown option "B" ignored
6344 # Tru64's nm complains that /dev/null is an invalid object file
6345 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6346 */dev
/null
* |
*'Invalid file or object type'*)
6347 lt_cv_path_NM
="$tmp_nm -B"
6351 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6353 lt_cv_path_NM
="$tmp_nm -p"
6357 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6358 continue # so that we can try to find one that supports BSD flags
6367 : ${lt_cv_path_NM=no}
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6371 $as_echo "$lt_cv_path_NM" >&6; }
6372 if test "$lt_cv_path_NM" != "no"; then
6375 # Didn't find any BSD compatible name lister, look for dumpbin.
6376 if test -n "$DUMPBIN"; then :
6377 # Let the user override the test.
6379 if test -n "$ac_tool_prefix"; then
6380 for ac_prog
in dumpbin
"link -dump"
6382 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6383 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385 $as_echo_n "checking for $ac_word... " >&6; }
6386 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6387 $as_echo_n "(cached) " >&6
6389 if test -n "$DUMPBIN"; then
6390 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6396 test -z "$as_dir" && as_dir
=.
6397 for ac_exec_ext
in '' $ac_executable_extensions; do
6398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6399 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6409 DUMPBIN
=$ac_cv_prog_DUMPBIN
6410 if test -n "$DUMPBIN"; then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6412 $as_echo "$DUMPBIN" >&6; }
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415 $as_echo "no" >&6; }
6419 test -n "$DUMPBIN" && break
6422 if test -z "$DUMPBIN"; then
6423 ac_ct_DUMPBIN
=$DUMPBIN
6424 for ac_prog
in dumpbin
"link -dump"
6426 # Extract the first word of "$ac_prog", so it can be a program name with args.
6427 set dummy
$ac_prog; ac_word
=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6431 $as_echo_n "(cached) " >&6
6433 if test -n "$ac_ct_DUMPBIN"; then
6434 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6440 test -z "$as_dir" && as_dir
=.
6441 for ac_exec_ext
in '' $ac_executable_extensions; do
6442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6443 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6454 if test -n "$ac_ct_DUMPBIN"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6456 $as_echo "$ac_ct_DUMPBIN" >&6; }
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6463 test -n "$ac_ct_DUMPBIN" && break
6466 if test "x$ac_ct_DUMPBIN" = x
; then
6469 case $cross_compiling:$ac_tool_warned in
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6473 ac_tool_warned
=yes ;;
6475 DUMPBIN
=$ac_ct_DUMPBIN
6479 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6481 DUMPBIN
="$DUMPBIN -symbols"
6489 if test "$DUMPBIN" != ":"; then
6493 test -z "$NM" && NM
=nm
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6501 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6502 if test "${lt_cv_nm_interface+set}" = set; then :
6503 $as_echo_n "(cached) " >&6
6505 lt_cv_nm_interface
="BSD nm"
6506 echo "int some_variable = 0;" > conftest.
$ac_ext
6507 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6508 (eval "$ac_compile" 2>conftest.err
)
6509 cat conftest.err
>&5
6510 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6511 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6512 cat conftest.err
>&5
6513 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6514 cat conftest.out
>&5
6515 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6516 lt_cv_nm_interface
="MS dumpbin"
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6521 $as_echo "$lt_cv_nm_interface" >&6; }
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6524 $as_echo_n "checking whether ln -s works... " >&6; }
6526 if test "$LN_S" = "ln -s"; then
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6528 $as_echo "yes" >&6; }
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6531 $as_echo "no, using $LN_S" >&6; }
6534 # find the maximum length of command line arguments
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6536 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6537 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6538 $as_echo_n "(cached) " >&6
6545 # On DJGPP, this test can blow up pretty badly due to problems in libc
6546 # (any single argument exceeding 2000 bytes causes a buffer overrun
6547 # during glob expansion). Even if it were fixed, the result of this
6548 # check would be larger than it should be.
6549 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6553 # Under GNU Hurd, this test is not required because there is
6554 # no limit to the length of command line arguments.
6555 # Libtool will interpret -1 as no limit whatsoever
6556 lt_cv_sys_max_cmd_len
=-1;
6559 cygwin
* | mingw
* | cegcc
*)
6560 # On Win9x/ME, this test blows up -- it succeeds, but takes
6561 # about 5 minutes as the teststring grows exponentially.
6562 # Worse, since 9x/ME are not pre-emptively multitasking,
6563 # you end up with a "frozen" computer, even though with patience
6564 # the test eventually succeeds (with a max line length of 256k).
6565 # Instead, let's just punt: use the minimum linelength reported by
6566 # all of the supported platforms: 8192 (on NT/2K/XP).
6567 lt_cv_sys_max_cmd_len
=8192;
6571 # On MiNT this can take a long time and run out of memory.
6572 lt_cv_sys_max_cmd_len
=8192;
6576 # On AmigaOS with pdksh, this test takes hours, literally.
6577 # So we just punt and use a minimum line length of 8192.
6578 lt_cv_sys_max_cmd_len
=8192;
6581 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6582 # This has been around since 386BSD, at least. Likely further.
6583 if test -x /sbin
/sysctl
; then
6584 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6585 elif test -x /usr
/sbin
/sysctl
; then
6586 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6588 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6590 # And add a safety zone
6591 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6592 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6596 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6597 lt_cv_sys_max_cmd_len
=196608
6601 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6602 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6603 # nice to cause kernel panics so lets avoid the loop below.
6604 # First set a reasonable default.
6605 lt_cv_sys_max_cmd_len
=16384
6607 if test -x /sbin
/sysconfig
; then
6608 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6609 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6614 lt_cv_sys_max_cmd_len
=102400
6616 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6617 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6618 if test -n "$kargmax"; then
6619 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6621 lt_cv_sys_max_cmd_len
=32768
6625 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6626 if test -n "$lt_cv_sys_max_cmd_len"; then
6627 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6628 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6630 # Make teststring a little bigger before we do anything with it.
6631 # a 1K string should be a reasonable start.
6632 for i
in 1 2 3 4 5 6 7 8 ; do
6633 teststring
=$teststring$teststring
6635 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6636 # If test is not a shell built-in, we'll probably end up computing a
6637 # maximum length that is only half of the actual maximum length, but
6639 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6640 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6641 test $i != 17 # 1/2 MB should be enough
6644 teststring
=$teststring$teststring
6646 # Only check the string length outside the loop.
6647 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6649 # Add a significant safety factor because C++ compilers can tack on
6650 # massive amounts of additional arguments before passing them to the
6651 # linker. It appears as though 1/2 is a usable value.
6652 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6659 if test -n $lt_cv_sys_max_cmd_len ; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6661 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6664 $as_echo "none" >&6; }
6666 max_cmd_len
=$lt_cv_sys_max_cmd_len
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6678 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6679 # Try some XSI features
6682 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6684 && eval 'test $(( 1 + 1 )) -eq 2 \
6685 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6688 $as_echo "$xsi_shell" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6692 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6694 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6696 && lt_shell_append=yes
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6698 $as_echo "$lt_shell_append" >&6; }
6701 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6711 # test EBCDIC or ASCII
6712 case `echo X|tr X '\101'` in
6713 A) # ASCII based system
6714 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6715 lt_SP2NL='tr \040 \012'
6716 lt_NL2SP='tr \015\012 \040\040'
6718 *) # EBCDIC based system
6719 lt_SP2NL='tr \100 \n'
6720 lt_NL2SP='tr \r\n \100\100'
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6733 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6734 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6735 $as_echo_n "(cached
) " >&6
6737 lt_cv_ld_reload_flag='-r'
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6740 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6741 reload_flag=$lt_cv_ld_reload_flag
6742 case $reload_flag in
6744 *) reload_flag=" $reload_flag" ;;
6746 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6749 if test "$GCC" = yes; then
6750 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6752 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6765 if test -n "$ac_tool_prefix"; then
6766 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6767 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6769 $as_echo_n "checking
for $ac_word...
" >&6; }
6770 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6771 $as_echo_n "(cached
) " >&6
6773 if test -n "$OBJDUMP"; then
6774 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6783 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6793 OBJDUMP=$ac_cv_prog_OBJDUMP
6794 if test -n "$OBJDUMP"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6796 $as_echo "$OBJDUMP" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6799 $as_echo "no
" >&6; }
6804 if test -z "$ac_cv_prog_OBJDUMP"; then
6805 ac_ct_OBJDUMP=$OBJDUMP
6806 # Extract the first word of "objdump
", so it can be a program name with args.
6807 set dummy objdump; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6809 $as_echo_n "checking
for $ac_word...
" >&6; }
6810 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6811 $as_echo_n "(cached
) " >&6
6813 if test -n "$ac_ct_OBJDUMP"; then
6814 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6833 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6834 if test -n "$ac_ct_OBJDUMP"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6836 $as_echo "$ac_ct_OBJDUMP" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6839 $as_echo "no
" >&6; }
6842 if test "x
$ac_ct_OBJDUMP" = x; then
6845 case $cross_compiling:$ac_tool_warned in
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6848 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6849 ac_tool_warned=yes ;;
6851 OBJDUMP=$ac_ct_OBJDUMP
6854 OBJDUMP="$ac_cv_prog_OBJDUMP"
6857 test -z "$OBJDUMP" && OBJDUMP=objdump
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6868 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6869 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6870 $as_echo_n "(cached
) " >&6
6872 lt_cv_file_magic_cmd='$MAGIC_CMD'
6873 lt_cv_file_magic_test_file=
6874 lt_cv_deplibs_check_method='unknown'
6875 # Need to set the preceding variable on all platforms that support
6876 # interlibrary dependencies.
6877 # 'none' -- dependencies not supported.
6878 # `unknown' -- same as none, but documents that we really don't know.
6879 # 'pass_all' -- all dependencies passed with no checks.
6880 # 'test_compile' -- check by making test program.
6881 # 'file_magic [[regex]]' -- check by looking for files in library path
6882 # which responds to the $file_magic_cmd with a given extended regex.
6883 # If you have `file' or equivalent on your system and you're not sure
6884 # whether `pass_all' will *always* work, you probably want this one.
6888 lt_cv_deplibs_check_method=pass_all
6892 lt_cv_deplibs_check_method=pass_all
6896 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6897 lt_cv_file_magic_cmd='/usr/bin/file -L'
6898 lt_cv_file_magic_test_file=/shlib/libc.so
6902 # func_win32_libid is a shell function defined in ltmain.sh
6903 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6904 lt_cv_file_magic_cmd='func_win32_libid'
6908 # Base MSYS/MinGW do not provide the 'file' command needed by
6909 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6910 # unless we find 'file', for example because we are cross-compiling.
6911 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6912 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6913 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6914 lt_cv_file_magic_cmd='func_win32_libid'
6916 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6917 lt_cv_file_magic_cmd='$OBJDUMP -f'
6922 # use the weaker test based on 'objdump'. See mingw*.
6923 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6924 lt_cv_file_magic_cmd='$OBJDUMP -f'
6927 darwin* | rhapsody*)
6928 lt_cv_deplibs_check_method=pass_all
6931 freebsd* | dragonfly*)
6932 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6935 # Not sure whether the presence of OpenBSD here was a mistake.
6936 # Let's accept both of them until this is cleared up.
6937 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6938 lt_cv_file_magic_cmd=/usr/bin/file
6939 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6943 lt_cv_deplibs_check_method=pass_all
6948 lt_cv_deplibs_check_method=pass_all
6952 lt_cv_deplibs_check_method=pass_all
6955 hpux10.20* | hpux11*)
6956 lt_cv_file_magic_cmd=/usr/bin/file
6959 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6960 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6963 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]'
6964 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6967 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6968 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6974 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6975 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6978 irix5* | irix6* | nonstopux*)
6980 *-32|*"-32 ") libmagic=32-bit;;
6981 *-n32|*"-n32 ") libmagic=N32;;
6982 *-64|*"-64 ") libmagic=64-bit;;
6983 *) libmagic=never-match;;
6985 lt_cv_deplibs_check_method=pass_all
6988 # This must be Linux ELF.
6989 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6990 lt_cv_deplibs_check_method=pass_all
6994 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6995 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6997 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7002 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7003 lt_cv_file_magic_cmd=/usr/bin/file
7004 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7008 lt_cv_deplibs_check_method=pass_all
7012 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7013 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7015 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7019 osf3* | osf4* | osf5*)
7020 lt_cv_deplibs_check_method=pass_all
7024 lt_cv_deplibs_check_method=pass_all
7028 lt_cv_deplibs_check_method=pass_all
7031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7032 lt_cv_deplibs_check_method=pass_all
7036 case $host_vendor in
7038 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]'
7039 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7042 lt_cv_deplibs_check_method=pass_all
7045 lt_cv_file_magic_cmd='/bin/file'
7046 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7049 lt_cv_file_magic_cmd='/bin/file'
7050 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7051 lt_cv_file_magic_test_file=/lib/libc.so
7054 lt_cv_deplibs_check_method=pass_all
7057 lt_cv_deplibs_check_method=pass_all
7063 lt_cv_deplibs_check_method=pass_all
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7069 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7070 file_magic_cmd=$lt_cv_file_magic_cmd
7071 deplibs_check_method=$lt_cv_deplibs_check_method
7072 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7085 if test -n "$ac_tool_prefix"; then
7086 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7087 set dummy ${ac_tool_prefix}ar; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7089 $as_echo_n "checking
for $ac_word...
" >&6; }
7090 if test "${ac_cv_prog_AR+set}" = set; then :
7091 $as_echo_n "(cached
) " >&6
7093 if test -n "$AR"; then
7094 ac_cv_prog_AR="$AR" # Let the user override the test.
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103 ac_cv_prog_AR="${ac_tool_prefix}ar"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7114 if test -n "$AR"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7116 $as_echo "$AR" >&6; }
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7119 $as_echo "no
" >&6; }
7124 if test -z "$ac_cv_prog_AR"; then
7126 # Extract the first word of "ar", so it can be a program name with args.
7127 set dummy ar; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7129 $as_echo_n "checking
for $ac_word...
" >&6; }
7130 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7131 $as_echo_n "(cached
) " >&6
7133 if test -n "$ac_ct_AR"; then
7134 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7143 ac_cv_prog_ac_ct_AR="ar"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7153 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7154 if test -n "$ac_ct_AR"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7156 $as_echo "$ac_ct_AR" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7159 $as_echo "no
" >&6; }
7162 if test "x
$ac_ct_AR" = x; then
7165 case $cross_compiling:$ac_tool_warned in
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7168 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7169 ac_tool_warned=yes ;;
7177 test -z "$AR" && AR=ar
7178 test -z "$AR_FLAGS" && AR_FLAGS=cru
7190 if test -n "$ac_tool_prefix"; then
7191 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7192 set dummy ${ac_tool_prefix}strip; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7194 $as_echo_n "checking
for $ac_word...
" >&6; }
7195 if test "${ac_cv_prog_STRIP+set}" = set; then :
7196 $as_echo_n "(cached
) " >&6
7198 if test -n "$STRIP"; then
7199 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7208 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7218 STRIP=$ac_cv_prog_STRIP
7219 if test -n "$STRIP"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7221 $as_echo "$STRIP" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7224 $as_echo "no
" >&6; }
7229 if test -z "$ac_cv_prog_STRIP"; then
7231 # Extract the first word of "strip
", so it can be a program name with args.
7232 set dummy strip; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7234 $as_echo_n "checking
for $ac_word...
" >&6; }
7235 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7236 $as_echo_n "(cached
) " >&6
7238 if test -n "$ac_ct_STRIP"; then
7239 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_ac_ct_STRIP="strip
"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7258 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7259 if test -n "$ac_ct_STRIP"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7261 $as_echo "$ac_ct_STRIP" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7264 $as_echo "no
" >&6; }
7267 if test "x
$ac_ct_STRIP" = x; then
7270 case $cross_compiling:$ac_tool_warned in
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7273 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7274 ac_tool_warned=yes ;;
7279 STRIP="$ac_cv_prog_STRIP"
7282 test -z "$STRIP" && STRIP=:
7289 if test -n "$ac_tool_prefix"; then
7290 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7291 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7293 $as_echo_n "checking
for $ac_word...
" >&6; }
7294 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7295 $as_echo_n "(cached
) " >&6
7297 if test -n "$RANLIB"; then
7298 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 test -z "$as_dir" && as_dir=.
7305 for ac_exec_ext in '' $ac_executable_extensions; do
7306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7317 RANLIB=$ac_cv_prog_RANLIB
7318 if test -n "$RANLIB"; then
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7320 $as_echo "$RANLIB" >&6; }
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7323 $as_echo "no
" >&6; }
7328 if test -z "$ac_cv_prog_RANLIB"; then
7329 ac_ct_RANLIB=$RANLIB
7330 # Extract the first word of "ranlib
", so it can be a program name with args.
7331 set dummy ranlib; ac_word=$2
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7333 $as_echo_n "checking
for $ac_word...
" >&6; }
7334 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7335 $as_echo_n "(cached
) " >&6
7337 if test -n "$ac_ct_RANLIB"; then
7338 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7344 test -z "$as_dir" && as_dir=.
7345 for ac_exec_ext in '' $ac_executable_extensions; do
7346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7347 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7357 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7358 if test -n "$ac_ct_RANLIB"; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7360 $as_echo "$ac_ct_RANLIB" >&6; }
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7363 $as_echo "no
" >&6; }
7366 if test "x
$ac_ct_RANLIB" = x; then
7369 case $cross_compiling:$ac_tool_warned in
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7372 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7373 ac_tool_warned=yes ;;
7375 RANLIB=$ac_ct_RANLIB
7378 RANLIB="$ac_cv_prog_RANLIB"
7381 test -z "$RANLIB" && RANLIB=:
7388 # Determine commands to create old-style static archives.
7389 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7390 old_postinstall_cmds='chmod 644 $oldlib'
7391 old_postuninstall_cmds=
7393 if test -n "$RANLIB"; then
7396 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7399 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7402 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7407 lock_old_archive_extraction=yes ;;
7409 lock_old_archive_extraction=no ;;
7450 # If no C compiler was specified, use CC.
7453 # If no C compiler flags were specified, use CFLAGS.
7454 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7456 # Allow CC to be a program name with arguments.
7460 # Check for command to grab the raw symbol name followed by C symbol from nm.
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7462 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7463 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7464 $as_echo_n "(cached
) " >&6
7467 # These are sane defaults that work on at least a few old systems.
7468 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7470 # Character class describing NM global symbol codes.
7471 symcode='[BCDEGRST]'
7473 # Regexp to match symbols that can be accessed directly from C.
7474 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7476 # Define system-specific variables.
7481 cygwin* | mingw* | pw32* | cegcc*)
7482 symcode='[ABCDGISTW]'
7485 if test "$host_cpu" = ia64; then
7486 symcode='[ABCDEGRST]'
7490 symcode='[BCDEGRST]'
7493 symcode='[BCDEGQRST]'
7504 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7512 # If we're using GNU nm, then use its standard symbol codes.
7513 case `$NM -V 2>&1` in
7514 *GNU* | *'with BFD'*)
7515 symcode='[ABCDGIRSTW]' ;;
7518 # Transform an extracted symbol line into a proper C declaration.
7519 # Some systems (esp. on ia64) link data and code symbols differently,
7520 # so use this general approach.
7521 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7523 # Transform an extracted symbol line into symbol name and symbol address
7524 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7525 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'"
7527 # Handle CRLF in mingw tool chain
7531 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7535 # Try without a prefix underscore, then with it.
7536 for ac_symprfx in "" "_
"; do
7538 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7539 symxfrm="\\1 $ac_symprfx\\2 \\2"
7541 # Write the raw and C identifiers.
7542 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7543 # Fake it for dumpbin and say T for any non-static function
7544 # and D for any global variable.
7545 # Also find C++ and __fastcall symbols from MSVC++,
7546 # which start with @ or ?.
7547 lt_cv_sys_global_symbol_pipe="$AWK '"\
7548 " {last_section=section; section=\$ 3};"\
7549 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7550 " \$ 0!~/External *\|/{next};"\
7551 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7552 " {if(hide[section]) next};"\
7553 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7554 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7555 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7556 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7557 " ' prfx
=^
$ac_symprfx"
7559 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7562 # Check to see that the pipe works correctly.
7566 cat > conftest.$ac_ext <<_LT_EOF
7571 void nm_test_func(void);
7572 void nm_test_func(void){}
7576 int main(){nm_test_var='a';nm_test_func();return(0);}
7579 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7580 (eval $ac_compile) 2>&5
7582 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7583 test $ac_status = 0; }; then
7584 # Now try to grab the symbols.
7586 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7587 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7589 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7590 test $ac_status = 0; } && test -s "$nlist"; then
7591 # Try sorting and uniquifying the output.
7592 if sort "$nlist" | uniq > "$nlist"T; then
7593 mv -f "$nlist"T "$nlist"
7598 # Make sure that we snagged all the symbols we need.
7599 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7600 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7601 cat <<_LT_EOF > conftest.$ac_ext
7607 # Now generate the symbol file.
7608 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7610 cat <<_LT_EOF >> conftest.$ac_ext
7612 /* The mapping between symbol names and symbols. */
7617 lt__PROGRAM__LTX_preloaded_symbols[] =
7619 { "@PROGRAM@
", (void *) 0 },
7621 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7622 cat <<\_LT_EOF >> conftest.$ac_ext
7626 /* This works around a problem in FreeBSD linker */
7627 #ifdef FREEBSD_WORKAROUND
7628 static const void *lt_preloaded_setup() {
7629 return lt__PROGRAM__LTX_preloaded_symbols;
7637 # Now try linking the two files.
7638 mv conftest.$ac_objext conftstm.$ac_objext
7639 lt_save_LIBS="$LIBS"
7640 lt_save_CFLAGS="$CFLAGS"
7641 LIBS="conftstm.
$ac_objext"
7642 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7643 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7644 (eval $ac_link) 2>&5
7646 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7647 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7650 LIBS="$lt_save_LIBS"
7651 CFLAGS="$lt_save_CFLAGS"
7653 echo "cannot
find nm_test_func
in $nlist" >&5
7656 echo "cannot
find nm_test_var
in $nlist" >&5
7659 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7662 echo "$progname: failed program was
:" >&5
7663 cat conftest.$ac_ext >&5
7665 rm -rf conftest* conftst*
7667 # Do not use the global_symbol_pipe unless it works.
7668 if test "$pipe_works" = yes; then
7671 lt_cv_sys_global_symbol_pipe=
7677 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7678 lt_cv_sys_global_symbol_to_cdecl=
7680 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7682 $as_echo "failed
" >&6; }
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7685 $as_echo "ok
" >&6; }
7709 # Check whether --enable-libtool-lock was given.
7710 if test "${enable_libtool_lock+set}" = set; then :
7711 enableval=$enable_libtool_lock;
7714 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7716 # Some flags need to be propagated to the compiler or linker for good
7720 # Find out which ABI we are using.
7721 echo 'int i;' > conftest.$ac_ext
7722 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7723 (eval $ac_compile) 2>&5
7725 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7726 test $ac_status = 0; }; then
7727 case `/usr/bin/file conftest.$ac_objext` in
7739 # Find out which ABI we are using.
7740 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7741 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7742 (eval $ac_compile) 2>&5
7744 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7745 test $ac_status = 0; }; then
7746 if test "$lt_cv_prog_gnu_ld" = yes; then
7747 case `/usr/bin/file conftest.$ac_objext` in
7749 LD="${LD-ld} -melf32bsmip"
7752 LD="${LD-ld} -melf32bmipn32"
7755 LD="${LD-ld} -melf64bmip"
7759 case `/usr/bin/file conftest.$ac_objext` in
7775 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7776 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7777 # Find out which ABI we are using.
7778 echo 'int i;' > conftest.$ac_ext
7779 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7780 (eval $ac_compile) 2>&5
7782 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7783 test $ac_status = 0; }; then
7784 case `/usr/bin/file conftest.o` in
7787 x86_64-*kfreebsd*-gnu)
7788 LD="${LD-ld} -m elf_i386_fbsd
"
7791 case `/usr/bin/file conftest.o` in
7793 LD="${LD-ld} -m elf32_x86_64
"
7796 LD="${LD-ld} -m elf_i386
"
7800 powerpc64le-*linux*)
7801 LD="${LD-ld} -m elf32lppclinux
"
7804 LD="${LD-ld} -m elf32ppclinux
"
7807 LD="${LD-ld} -m elf_s390
"
7810 LD="${LD-ld} -m elf32_sparc
"
7816 x86_64-*kfreebsd*-gnu)
7817 LD="${LD-ld} -m elf_x86_64_fbsd
"
7820 LD="${LD-ld} -m elf_x86_64
"
7823 LD="${LD-ld} -m elf64lppc
"
7826 LD="${LD-ld} -m elf64ppc
"
7828 s390*-*linux*|s390*-*tpf*)
7829 LD="${LD-ld} -m elf64_s390
"
7832 LD="${LD-ld} -m elf64_sparc
"
7842 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7843 SAVE_CFLAGS="$CFLAGS"
7844 CFLAGS="$CFLAGS -belf"
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7846 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7847 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7848 $as_echo_n "(cached
) " >&6
7851 ac_cpp='$CPP $CPPFLAGS'
7852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7857 /* end confdefs.h. */
7867 if ac_fn_c_try_link "$LINENO"; then :
7868 lt_cv_cc_needs_belf=yes
7870 lt_cv_cc_needs_belf=no
7872 rm -f core conftest.err conftest.$ac_objext \
7873 conftest$ac_exeext conftest.$ac_ext
7875 ac_cpp='$CPP $CPPFLAGS'
7876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7882 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7883 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7884 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7885 CFLAGS="$SAVE_CFLAGS"
7889 # Find out which ABI we are using.
7890 echo 'int i;' > conftest.$ac_ext
7891 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7892 (eval $ac_compile) 2>&5
7894 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7895 test $ac_status = 0; }; then
7896 case `/usr/bin/file conftest.o` in
7898 case $lt_cv_prog_gnu_ld in
7899 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7901 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7913 need_locks="$enable_libtool_lock"
7917 rhapsody* | darwin*)
7918 if test -n "$ac_tool_prefix"; then
7919 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7920 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7922 $as_echo_n "checking
for $ac_word...
" >&6; }
7923 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7924 $as_echo_n "(cached
) " >&6
7926 if test -n "$DSYMUTIL"; then
7927 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7933 test -z "$as_dir" && as_dir=.
7934 for ac_exec_ext in '' $ac_executable_extensions; do
7935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7936 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7946 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7947 if test -n "$DSYMUTIL"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7949 $as_echo "$DSYMUTIL" >&6; }
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7952 $as_echo "no
" >&6; }
7957 if test -z "$ac_cv_prog_DSYMUTIL"; then
7958 ac_ct_DSYMUTIL=$DSYMUTIL
7959 # Extract the first word of "dsymutil
", so it can be a program name with args.
7960 set dummy dsymutil; ac_word=$2
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7962 $as_echo_n "checking
for $ac_word...
" >&6; }
7963 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7964 $as_echo_n "(cached
) " >&6
7966 if test -n "$ac_ct_DSYMUTIL"; then
7967 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973 test -z "$as_dir" && as_dir=.
7974 for ac_exec_ext in '' $ac_executable_extensions; do
7975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7976 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7977 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7986 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7987 if test -n "$ac_ct_DSYMUTIL"; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7989 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7992 $as_echo "no
" >&6; }
7995 if test "x
$ac_ct_DSYMUTIL" = x; then
7998 case $cross_compiling:$ac_tool_warned in
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8001 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8002 ac_tool_warned=yes ;;
8004 DSYMUTIL=$ac_ct_DSYMUTIL
8007 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8012 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8014 $as_echo_n "checking
for $ac_word...
" >&6; }
8015 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8016 $as_echo_n "(cached
) " >&6
8018 if test -n "$NMEDIT"; then
8019 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8028 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8038 NMEDIT=$ac_cv_prog_NMEDIT
8039 if test -n "$NMEDIT"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8041 $as_echo "$NMEDIT" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8044 $as_echo "no
" >&6; }
8049 if test -z "$ac_cv_prog_NMEDIT"; then
8050 ac_ct_NMEDIT=$NMEDIT
8051 # Extract the first word of "nmedit
", so it can be a program name with args.
8052 set dummy nmedit; ac_word=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8054 $as_echo_n "checking
for $ac_word...
" >&6; }
8055 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8056 $as_echo_n "(cached
) " >&6
8058 if test -n "$ac_ct_NMEDIT"; then
8059 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8068 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8078 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8079 if test -n "$ac_ct_NMEDIT"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8081 $as_echo "$ac_ct_NMEDIT" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8084 $as_echo "no
" >&6; }
8087 if test "x
$ac_ct_NMEDIT" = x; then
8090 case $cross_compiling:$ac_tool_warned in
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8093 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8094 ac_tool_warned=yes ;;
8096 NMEDIT=$ac_ct_NMEDIT
8099 NMEDIT="$ac_cv_prog_NMEDIT"
8102 if test -n "$ac_tool_prefix"; then
8103 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8104 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8106 $as_echo_n "checking
for $ac_word...
" >&6; }
8107 if test "${ac_cv_prog_LIPO+set}" = set; then :
8108 $as_echo_n "(cached
) " >&6
8110 if test -n "$LIPO"; then
8111 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117 test -z "$as_dir" && as_dir=.
8118 for ac_exec_ext in '' $ac_executable_extensions; do
8119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8120 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8130 LIPO=$ac_cv_prog_LIPO
8131 if test -n "$LIPO"; then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8133 $as_echo "$LIPO" >&6; }
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8136 $as_echo "no
" >&6; }
8141 if test -z "$ac_cv_prog_LIPO"; then
8143 # Extract the first word of "lipo
", so it can be a program name with args.
8144 set dummy lipo; ac_word=$2
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8146 $as_echo_n "checking
for $ac_word...
" >&6; }
8147 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8148 $as_echo_n "(cached
) " >&6
8150 if test -n "$ac_ct_LIPO"; then
8151 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 test -z "$as_dir" && as_dir=.
8158 for ac_exec_ext in '' $ac_executable_extensions; do
8159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8160 ac_cv_prog_ac_ct_LIPO="lipo
"
8161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8170 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8171 if test -n "$ac_ct_LIPO"; then
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8173 $as_echo "$ac_ct_LIPO" >&6; }
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8176 $as_echo "no
" >&6; }
8179 if test "x
$ac_ct_LIPO" = x; then
8182 case $cross_compiling:$ac_tool_warned in
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8185 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8186 ac_tool_warned=yes ;;
8191 LIPO="$ac_cv_prog_LIPO"
8194 if test -n "$ac_tool_prefix"; then
8195 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8196 set dummy ${ac_tool_prefix}otool; ac_word=$2
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8198 $as_echo_n "checking
for $ac_word...
" >&6; }
8199 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8200 $as_echo_n "(cached
) " >&6
8202 if test -n "$OTOOL"; then
8203 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 test -z "$as_dir" && as_dir=.
8210 for ac_exec_ext in '' $ac_executable_extensions; do
8211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8212 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8222 OTOOL=$ac_cv_prog_OTOOL
8223 if test -n "$OTOOL"; then
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8225 $as_echo "$OTOOL" >&6; }
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8228 $as_echo "no
" >&6; }
8233 if test -z "$ac_cv_prog_OTOOL"; then
8235 # Extract the first word of "otool
", so it can be a program name with args.
8236 set dummy otool; ac_word=$2
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8238 $as_echo_n "checking
for $ac_word...
" >&6; }
8239 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8240 $as_echo_n "(cached
) " >&6
8242 if test -n "$ac_ct_OTOOL"; then
8243 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249 test -z "$as_dir" && as_dir=.
8250 for ac_exec_ext in '' $ac_executable_extensions; do
8251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8252 ac_cv_prog_ac_ct_OTOOL="otool
"
8253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8262 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8263 if test -n "$ac_ct_OTOOL"; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8265 $as_echo "$ac_ct_OTOOL" >&6; }
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8268 $as_echo "no
" >&6; }
8271 if test "x
$ac_ct_OTOOL" = x; then
8274 case $cross_compiling:$ac_tool_warned in
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8277 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8278 ac_tool_warned=yes ;;
8283 OTOOL="$ac_cv_prog_OTOOL"
8286 if test -n "$ac_tool_prefix"; then
8287 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8288 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8290 $as_echo_n "checking
for $ac_word...
" >&6; }
8291 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8292 $as_echo_n "(cached
) " >&6
8294 if test -n "$OTOOL64"; then
8295 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8301 test -z "$as_dir" && as_dir=.
8302 for ac_exec_ext in '' $ac_executable_extensions; do
8303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8304 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8314 OTOOL64=$ac_cv_prog_OTOOL64
8315 if test -n "$OTOOL64"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8317 $as_echo "$OTOOL64" >&6; }
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8320 $as_echo "no
" >&6; }
8325 if test -z "$ac_cv_prog_OTOOL64"; then
8326 ac_ct_OTOOL64=$OTOOL64
8327 # Extract the first word of "otool64
", so it can be a program name with args.
8328 set dummy otool64; ac_word=$2
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8330 $as_echo_n "checking
for $ac_word...
" >&6; }
8331 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8332 $as_echo_n "(cached
) " >&6
8334 if test -n "$ac_ct_OTOOL64"; then
8335 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8341 test -z "$as_dir" && as_dir=.
8342 for ac_exec_ext in '' $ac_executable_extensions; do
8343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8344 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8354 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8355 if test -n "$ac_ct_OTOOL64"; then
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8357 $as_echo "$ac_ct_OTOOL64" >&6; }
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8360 $as_echo "no
" >&6; }
8363 if test "x
$ac_ct_OTOOL64" = x; then
8366 case $cross_compiling:$ac_tool_warned in
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8369 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8370 ac_tool_warned=yes ;;
8372 OTOOL64=$ac_ct_OTOOL64
8375 OTOOL64="$ac_cv_prog_OTOOL64"
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8405 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8406 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8407 $as_echo_n "(cached
) " >&6
8409 lt_cv_apple_cc_single_mod=no
8410 if test -z "${LT_MULTI_MODULE}"; then
8411 # By default we will add the -single_module flag. You can override
8412 # by either setting the environment variable LT_MULTI_MODULE
8413 # non-empty at configure time, or by adding -multi_module to the
8415 rm -rf libconftest.dylib*
8416 echo "int foo
(void
){return 1;}" > conftest.c
8417 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8418 -dynamiclib -Wl,-single_module conftest.c
" >&5
8419 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8420 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8422 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8423 lt_cv_apple_cc_single_mod=yes
8425 cat conftest.err >&5
8427 rm -rf libconftest.dylib*
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8432 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8434 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8435 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8436 $as_echo_n "(cached
) " >&6
8438 lt_cv_ld_exported_symbols_list=no
8439 save_LDFLAGS=$LDFLAGS
8440 echo "_main
" > conftest.sym
8441 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8443 /* end confdefs.h. */
8453 if ac_fn_c_try_link "$LINENO"; then :
8454 lt_cv_ld_exported_symbols_list=yes
8456 lt_cv_ld_exported_symbols_list=no
8458 rm -f core conftest.err conftest.$ac_objext \
8459 conftest$ac_exeext conftest.$ac_ext
8460 LDFLAGS="$save_LDFLAGS"
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8464 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8466 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8467 if test "${lt_cv_ld_force_load+set}" = set; then :
8468 $as_echo_n "(cached
) " >&6
8470 lt_cv_ld_force_load=no
8471 cat > conftest.c << _LT_EOF
8472 int forced_loaded() { return 2;}
8474 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8475 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8476 echo "$AR cru libconftest.a conftest.o
" >&5
8477 $AR cru libconftest.a conftest.o 2>&5
8478 cat > conftest.c << _LT_EOF
8479 int main() { return 0;}
8481 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8482 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8484 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8485 lt_cv_ld_force_load=yes
8487 cat conftest.err >&5
8489 rm -f conftest.err libconftest.a conftest conftest.c
8490 rm -rf conftest.dSYM
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8494 $as_echo "$lt_cv_ld_force_load" >&6; }
8496 rhapsody* | darwin1.[012])
8497 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8499 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8500 darwin*) # darwin 5.x on
8501 # if running on 10.5 or later, the deployment target defaults
8502 # to the OS version, if on x86, and 10.4, the deployment
8503 # target defaults to 10.4. Don't you love it?
8504 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8505 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8506 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8508 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8510 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8514 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8515 _lt_dar_single_mod='$single_module'
8517 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8518 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8520 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8522 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8523 _lt_dsymutil='~$DSYMUTIL $lib || :'
8530 for ac_header in dlfcn.h
8532 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8534 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8535 cat >>confdefs.h <<_ACEOF
8536 #define HAVE_DLFCN_H 1
8556 # Check whether --enable-shared was given.
8557 if test "${enable_shared+set}" = set; then :
8558 enableval=$enable_shared; p=${PACKAGE-default}
8560 yes) enable_shared=yes ;;
8561 no) enable_shared=no ;;
8564 # Look at the argument we got. We use all the common list separators.
8565 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8566 for pkg in $enableval; do
8568 if test "X
$pkg" = "X
$p"; then
8587 # Check whether --enable-static was given.
8588 if test "${enable_static+set}" = set; then :
8589 enableval=$enable_static; p=${PACKAGE-default}
8591 yes) enable_static=yes ;;
8592 no) enable_static=no ;;
8595 # Look at the argument we got. We use all the common list separators.
8596 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8597 for pkg in $enableval; do
8599 if test "X
$pkg" = "X
$p"; then
8619 # Check whether --with-pic was given.
8620 if test "${with_pic+set}" = set; then :
8621 withval=$with_pic; pic_mode="$withval"
8627 test -z "$pic_mode" && pic_mode=default
8635 # Check whether --enable-fast-install was given.
8636 if test "${enable_fast_install+set}" = set; then :
8637 enableval=$enable_fast_install; p=${PACKAGE-default}
8639 yes) enable_fast_install=yes ;;
8640 no) enable_fast_install=no ;;
8642 enable_fast_install=no
8643 # Look at the argument we got. We use all the common list separators.
8644 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8645 for pkg in $enableval; do
8647 if test "X
$pkg" = "X
$p"; then
8648 enable_fast_install=yes
8655 enable_fast_install=yes
8668 # This can be used to rebuild libtool when needed
8669 LIBTOOL_DEPS="$ltmain"
8671 # Always use our own libtool.
8672 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8699 test -z "$LN_S" && LN_S="ln -s"
8714 if test -n "${ZSH_VERSION+set}" ; then
8715 setopt NO_GLOB_SUBST
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8719 $as_echo_n "checking
for objdir...
" >&6; }
8720 if test "${lt_cv_objdir+set}" = set; then :
8721 $as_echo_n "(cached
) " >&6
8723 rm -f .libs 2>/dev/null
8724 mkdir .libs 2>/dev/null
8725 if test -d .libs; then
8728 # MS-DOS does not allow filenames that begin with a dot.
8731 rmdir .libs 2>/dev/null
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8734 $as_echo "$lt_cv_objdir" >&6; }
8735 objdir=$lt_cv_objdir
8741 cat >>confdefs.h <<_ACEOF
8742 #define LT_OBJDIR "$lt_cv_objdir/"
8750 # AIX sometimes has problems with the GCC collect2 program. For some
8751 # reason, if we set the COLLECT_NAMES environment variable, the problems
8752 # vanish in a puff of smoke.
8753 if test "X
${COLLECT_NAMES+set}" != Xset; then
8755 export COLLECT_NAMES
8762 can_build_shared=yes
8764 # All known linkers require a `.a' archive for static linking (except MSVC,
8765 # which needs '.lib').
8768 with_gnu_ld="$lt_cv_prog_gnu_ld"
8771 old_CFLAGS="$CFLAGS"
8773 # Set sane defaults for various variables
8774 test -z "$CC" && CC=cc
8775 test -z "$LTCC" && LTCC=$CC
8776 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8777 test -z "$LD" && LD=ld
8778 test -z "$ac_objext" && ac_objext=o
8780 for cc_temp in $compiler""; do
8782 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8783 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8788 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8791 # Only perform the check for file, if the check method requires it
8792 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8793 case $deplibs_check_method in
8795 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8797 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8798 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8799 $as_echo_n "(cached
) " >&6
8803 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8806 lt_save_MAGIC_CMD="$MAGIC_CMD"
8807 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8808 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8809 for ac_dir in $ac_dummy; do
8811 test -z "$ac_dir" && ac_dir=.
8812 if test -f $ac_dir/${ac_tool_prefix}file; then
8813 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8814 if test -n "$file_magic_test_file"; then
8815 case $deplibs_check_method in
8817 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8818 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8819 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8820 $EGREP "$file_magic_regex" > /dev/null; then
8825 *** Warning: the command libtool uses to detect shared libraries,
8826 *** $file_magic_cmd, produces output that libtool cannot recognize.
8827 *** The result is that libtool may fail to recognize shared libraries
8828 *** as such. This will affect the creation of libtool libraries that
8829 *** depend on shared libraries, but programs linked with such libtool
8830 *** libraries will work regardless of this problem. Nevertheless, you
8831 *** may want to report the problem to your system manager and/or to
8832 *** bug-libtool@gnu.org
8842 MAGIC_CMD="$lt_save_MAGIC_CMD"
8847 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8848 if test -n "$MAGIC_CMD"; then
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8850 $as_echo "$MAGIC_CMD" >&6; }
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8853 $as_echo "no
" >&6; }
8860 if test -z "$lt_cv_path_MAGIC_CMD"; then
8861 if test -n "$ac_tool_prefix"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8863 $as_echo_n "checking
for file...
" >&6; }
8864 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8865 $as_echo_n "(cached
) " >&6
8869 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8872 lt_save_MAGIC_CMD="$MAGIC_CMD"
8873 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8874 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8875 for ac_dir in $ac_dummy; do
8877 test -z "$ac_dir" && ac_dir=.
8878 if test -f $ac_dir/file; then
8879 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8880 if test -n "$file_magic_test_file"; then
8881 case $deplibs_check_method in
8883 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8884 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8885 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8886 $EGREP "$file_magic_regex" > /dev/null; then
8891 *** Warning: the command libtool uses to detect shared libraries,
8892 *** $file_magic_cmd, produces output that libtool cannot recognize.
8893 *** The result is that libtool may fail to recognize shared libraries
8894 *** as such. This will affect the creation of libtool libraries that
8895 *** depend on shared libraries, but programs linked with such libtool
8896 *** libraries will work regardless of this problem. Nevertheless, you
8897 *** may want to report the problem to your system manager and/or to
8898 *** bug-libtool@gnu.org
8908 MAGIC_CMD="$lt_save_MAGIC_CMD"
8913 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8914 if test -n "$MAGIC_CMD"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8916 $as_echo "$MAGIC_CMD" >&6; }
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8919 $as_echo "no
" >&6; }
8932 # Use C for the default configuration in the libtool script
8936 ac_cpp='$CPP $CPPFLAGS'
8937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8942 # Source file extension for C test sources.
8945 # Object file extension for compiled C test sources.
8949 # Code to be used in simple compile tests
8950 lt_simple_compile_test_code="int some_variable
= 0;"
8952 # Code to be used in simple link tests
8953 lt_simple_link_test_code='int main(){return(0);}'
8961 # If no C compiler was specified, use CC.
8964 # If no C compiler flags were specified, use CFLAGS.
8965 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8967 # Allow CC to be a program name with arguments.
8970 # Save the default compiler, since it gets overwritten when the other
8971 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8972 compiler_DEFAULT=$CC
8974 # save warnings/boilerplate of simple test code
8975 ac_outfile=conftest.$ac_objext
8976 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8977 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8978 _lt_compiler_boilerplate=`cat conftest.err`
8981 ac_outfile=conftest.$ac_objext
8982 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8983 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8984 _lt_linker_boilerplate=`cat conftest.err`
8989 ## There is no encapsulation within the following macros, do not change
8990 ## the running order or otherwise move them around unless you know exactly
8991 ## what you are doing...
8992 if test -n "$compiler"; then
8994 lt_prog_compiler_no_builtin_flag=
8996 if test "$GCC" = yes; then
8997 case $cc_basename in
8999 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9001 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9005 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9006 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9007 $as_echo_n "(cached
) " >&6
9009 lt_cv_prog_compiler_rtti_exceptions=no
9010 ac_outfile=conftest.$ac_objext
9011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9012 lt_compiler_flag="-fno-rtti -fno-exceptions"
9013 # Insert the option either (1) after the last *FLAGS variable, or
9014 # (2) before a word containing "conftest.
", or (3) at the end.
9015 # Note that $ac_compile itself does not contain backslashes and begins
9016 # with a dollar sign (not a hyphen), so the echo should work correctly.
9017 # The option is referenced via a variable to avoid confusing sed.
9018 lt_compile=`echo "$ac_compile" | $SED \
9019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021 -e 's:$: $lt_compiler_flag:'`
9022 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9023 (eval "$lt_compile" 2>conftest.err)
9025 cat conftest.err >&5
9026 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9027 if (exit $ac_status) && test -s "$ac_outfile"; then
9028 # The compiler can only warn and ignore the option if not recognized
9029 # So say no if there are warnings other than the usual output.
9030 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9031 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9032 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9033 lt_cv_prog_compiler_rtti_exceptions=yes
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9040 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9042 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9043 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9055 lt_prog_compiler_wl=
9056 lt_prog_compiler_pic=
9057 lt_prog_compiler_static=
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9060 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9062 if test "$GCC" = yes; then
9063 lt_prog_compiler_wl='-Wl,'
9064 lt_prog_compiler_static='-static'
9068 # All AIX code is PIC.
9069 if test "$host_cpu" = ia64; then
9070 # AIX 5 now supports IA64 processor
9071 lt_prog_compiler_static='-Bstatic'
9073 lt_prog_compiler_pic='-fPIC'
9079 # see comment about AmigaOS4 .so support
9080 lt_prog_compiler_pic='-fPIC'
9083 # FIXME: we need at least 68020 code to build shared libraries, but
9084 # adding the `-m68020' flag to GCC prevents building anything better,
9086 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9091 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9092 # PIC is the default for these OSes.
9095 mingw* | cygwin* | pw32* | os2* | cegcc*)
9096 # This hack is so that the source file can tell whether it is being
9097 # built for inclusion in a dll (and should export symbols for example).
9098 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9099 # (--disable-auto-import) libraries
9100 lt_prog_compiler_pic='-DDLL_EXPORT'
9103 darwin* | rhapsody*)
9104 # PIC is the default on this platform
9105 # Common symbols not allowed in MH_DYLIB files
9106 lt_prog_compiler_pic='-fno-common'
9110 # PIC is the default for Haiku.
9111 # The "-static" flag exists, but is broken.
9112 lt_prog_compiler_static=
9116 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9117 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9118 # sets the default TLS model and affects inlining.
9124 lt_prog_compiler_pic='-fPIC'
9130 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9131 # Instead, we relocate shared libraries at runtime.
9135 # Just because we use GCC doesn't mean we suddenly get shared libraries
9136 # on systems that don't support them.
9137 lt_prog_compiler_can_build_shared=no
9142 # QNX uses GNU C++, but need to define -shared option too, otherwise
9144 lt_prog_compiler_pic='-fPIC -shared'
9148 if test -d /usr/nec; then
9149 lt_prog_compiler_pic=-Kconform_pic
9154 lt_prog_compiler_pic='-fPIC'
9158 case $cc_basename in
9159 nvcc*) # Cuda Compiler Driver 2.2
9160 lt_prog_compiler_wl='-Xlinker '
9161 lt_prog_compiler_pic='-Xcompiler -fPIC'
9165 # PORTME Check for flag to pass linker flags through the system compiler.
9168 lt_prog_compiler_wl='-Wl,'
9169 if test "$host_cpu" = ia64; then
9170 # AIX 5 now supports IA64 processor
9171 lt_prog_compiler_static='-Bstatic'
9173 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9177 mingw* | cygwin* | pw32* | os2* | cegcc*)
9178 # This hack is so that the source file can tell whether it is being
9179 # built for inclusion in a dll (and should export symbols for example).
9180 lt_prog_compiler_pic='-DDLL_EXPORT'
9183 hpux9* | hpux10* | hpux11*)
9184 lt_prog_compiler_wl='-Wl,'
9185 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9192 lt_prog_compiler_pic='+Z'
9195 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9196 lt_prog_compiler_static='${wl}-a ${wl}archive'
9199 irix5* | irix6* | nonstopux*)
9200 lt_prog_compiler_wl='-Wl,'
9201 # PIC (with -KPIC) is the default.
9202 lt_prog_compiler_static='-non_shared'
9205 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9206 case $cc_basename in
9207 # old Intel for x86_64 which still supported -KPIC.
9209 lt_prog_compiler_wl='-Wl,'
9210 lt_prog_compiler_pic='-KPIC'
9211 lt_prog_compiler_static='-static'
9213 # icc used to be incompatible with GCC.
9214 # ICC 10 doesn't accept -KPIC any more.
9216 lt_prog_compiler_wl='-Wl,'
9217 lt_prog_compiler_pic='-fPIC'
9218 lt_prog_compiler_static='-static'
9220 # Lahey Fortran 8.1.
9222 lt_prog_compiler_wl='-Wl,'
9223 lt_prog_compiler_pic='--shared'
9224 lt_prog_compiler_static='--static'
9226 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9227 # Portland Group compilers (*not* the Pentium gcc compiler,
9228 # which looks to be a dead project)
9229 lt_prog_compiler_wl='-Wl,'
9230 lt_prog_compiler_pic='-fpic'
9231 lt_prog_compiler_static='-Bstatic'
9234 lt_prog_compiler_wl='-Wl,'
9235 # All Alpha code is PIC.
9236 lt_prog_compiler_static='-non_shared'
9238 xl* | bgxl* | bgf* | mpixl*)
9239 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9240 lt_prog_compiler_wl='-Wl,'
9241 lt_prog_compiler_pic='-qpic'
9242 lt_prog_compiler_static='-qstaticlink'
9245 case `$CC -V 2>&1 | sed 5q` in
9246 *Sun\ F* | *Sun*Fortran*)
9247 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9248 lt_prog_compiler_pic='-KPIC'
9249 lt_prog_compiler_static='-Bstatic'
9250 lt_prog_compiler_wl=''
9254 lt_prog_compiler_pic='-KPIC'
9255 lt_prog_compiler_static='-Bstatic'
9256 lt_prog_compiler_wl='-Wl,'
9264 lt_prog_compiler_pic='-KPIC'
9265 lt_prog_compiler_static='-Bstatic'
9269 # QNX uses GNU C++, but need to define -shared option too, otherwise
9271 lt_prog_compiler_pic='-fPIC -shared'
9274 osf3* | osf4* | osf5*)
9275 lt_prog_compiler_wl='-Wl,'
9276 # All OSF/1 code is PIC.
9277 lt_prog_compiler_static='-non_shared'
9281 lt_prog_compiler_static='-non_shared'
9285 lt_prog_compiler_pic='-KPIC'
9286 lt_prog_compiler_static='-Bstatic'
9287 case $cc_basename in
9289 lt_prog_compiler_wl='-Qoption ld ';;
9291 lt_prog_compiler_wl='-Wl,';;
9296 lt_prog_compiler_wl='-Qoption ld '
9297 lt_prog_compiler_pic='-PIC'
9298 lt_prog_compiler_static='-Bstatic'
9301 sysv4 | sysv4.2uw2* | sysv4.3*)
9302 lt_prog_compiler_wl='-Wl,'
9303 lt_prog_compiler_pic='-KPIC'
9304 lt_prog_compiler_static='-Bstatic'
9308 if test -d /usr/nec ;then
9309 lt_prog_compiler_pic='-Kconform_pic'
9310 lt_prog_compiler_static='-Bstatic'
9314 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9315 lt_prog_compiler_wl='-Wl,'
9316 lt_prog_compiler_pic='-KPIC'
9317 lt_prog_compiler_static='-Bstatic'
9321 lt_prog_compiler_wl='-Wl,'
9322 lt_prog_compiler_can_build_shared=no
9326 lt_prog_compiler_pic='-pic'
9327 lt_prog_compiler_static='-Bstatic'
9331 lt_prog_compiler_can_build_shared=no
9337 # For platforms which do not support PIC, -DPIC is meaningless:
9339 lt_prog_compiler_pic=
9342 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9346 $as_echo "$lt_prog_compiler_pic" >&6; }
9354 # Check to make sure the PIC flag actually works.
9356 if test -n "$lt_prog_compiler_pic"; then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9358 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9359 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9360 $as_echo_n "(cached
) " >&6
9362 lt_cv_prog_compiler_pic_works=no
9363 ac_outfile=conftest.$ac_objext
9364 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9365 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9366 # Insert the option either (1) after the last *FLAGS variable, or
9367 # (2) before a word containing "conftest.
", or (3) at the end.
9368 # Note that $ac_compile itself does not contain backslashes and begins
9369 # with a dollar sign (not a hyphen), so the echo should work correctly.
9370 # The option is referenced via a variable to avoid confusing sed.
9371 lt_compile=`echo "$ac_compile" | $SED \
9372 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9374 -e 's:$: $lt_compiler_flag:'`
9375 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9376 (eval "$lt_compile" 2>conftest.err)
9378 cat conftest.err >&5
9379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9380 if (exit $ac_status) && test -s "$ac_outfile"; then
9381 # The compiler can only warn and ignore the option if not recognized
9382 # So say no if there are warnings other than the usual output.
9383 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9384 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9385 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9386 lt_cv_prog_compiler_pic_works=yes
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9393 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9395 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9396 case $lt_prog_compiler_pic in
9398 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9401 lt_prog_compiler_pic=
9402 lt_prog_compiler_can_build_shared=no
9413 # Check to make sure the static flag actually works.
9415 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9417 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9418 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9419 $as_echo_n "(cached
) " >&6
9421 lt_cv_prog_compiler_static_works=no
9422 save_LDFLAGS="$LDFLAGS"
9423 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9424 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9425 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9426 # The linker can only warn and ignore the option if not recognized
9427 # So say no if there are warnings
9428 if test -s conftest.err; then
9429 # Append any errors to the config.log.
9430 cat conftest.err 1>&5
9431 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9432 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9433 if diff conftest.exp conftest.er2 >/dev/null; then
9434 lt_cv_prog_compiler_static_works=yes
9437 lt_cv_prog_compiler_static_works=yes
9441 LDFLAGS="$save_LDFLAGS"
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9445 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9447 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9450 lt_prog_compiler_static=
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9460 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9461 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9462 $as_echo_n "(cached
) " >&6
9464 lt_cv_prog_compiler_c_o=no
9465 $RM -r conftest 2>/dev/null
9469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9471 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9472 # Insert the option either (1) after the last *FLAGS variable, or
9473 # (2) before a word containing "conftest.
", or (3) at the end.
9474 # Note that $ac_compile itself does not contain backslashes and begins
9475 # with a dollar sign (not a hyphen), so the echo should work correctly.
9476 lt_compile=`echo "$ac_compile" | $SED \
9477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9479 -e 's:$: $lt_compiler_flag:'`
9480 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9481 (eval "$lt_compile" 2>out/conftest.err)
9483 cat out/conftest.err >&5
9484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9485 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9487 # The compiler can only warn and ignore the option if not recognized
9488 # So say no if there are warnings
9489 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9490 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9491 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9492 lt_cv_prog_compiler_c_o=yes
9497 # SGI C++ compiler will create directory out/ii_files/ for
9498 # template instantiation
9499 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9500 $RM out/* && rmdir out
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9507 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9515 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9516 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9517 $as_echo_n "(cached
) " >&6
9519 lt_cv_prog_compiler_c_o=no
9520 $RM -r conftest 2>/dev/null
9524 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9526 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9527 # Insert the option either (1) after the last *FLAGS variable, or
9528 # (2) before a word containing "conftest.
", or (3) at the end.
9529 # Note that $ac_compile itself does not contain backslashes and begins
9530 # with a dollar sign (not a hyphen), so the echo should work correctly.
9531 lt_compile=`echo "$ac_compile" | $SED \
9532 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9533 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9534 -e 's:$: $lt_compiler_flag:'`
9535 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9536 (eval "$lt_compile" 2>out/conftest.err)
9538 cat out/conftest.err >&5
9539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9540 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9542 # The compiler can only warn and ignore the option if not recognized
9543 # So say no if there are warnings
9544 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9545 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9546 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9547 lt_cv_prog_compiler_c_o=yes
9552 # SGI C++ compiler will create directory out/ii_files/ for
9553 # template instantiation
9554 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9555 $RM out/* && rmdir out
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9562 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9567 hard_links="nottested
"
9568 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9569 # do not overwrite the value of need_locks provided by the user
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9571 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9574 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9576 ln conftest.a conftest.b 2>&5 || hard_links=no
9577 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9579 $as_echo "$hard_links" >&6; }
9580 if test "$hard_links" = no; then
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9582 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9595 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9598 allow_undefined_flag=
9599 always_export_symbols=no
9601 archive_expsym_cmds=
9602 compiler_needs_object=no
9603 enable_shared_with_static_runtimes=no
9604 export_dynamic_flag_spec=
9605 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9606 hardcode_automatic=no
9608 hardcode_direct_absolute=no
9609 hardcode_libdir_flag_spec=
9610 hardcode_libdir_flag_spec_ld=
9611 hardcode_libdir_separator=
9613 hardcode_shlibpath_var=unsupported
9615 link_all_deplibs=unknown
9618 old_archive_from_new_cmds=
9619 old_archive_from_expsyms_cmds=
9620 thread_safe_flag_spec=
9621 whole_archive_flag_spec=
9622 # include_expsyms should be a list of space-separated symbols to be *always*
9623 # included in the symbol list
9625 # exclude_expsyms can be an extended regexp of symbols to exclude
9626 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9627 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9628 # as well as any symbol that contains `d'.
9629 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9630 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9631 # platforms (ab)use it in PIC code, but their linkers get confused if
9632 # the symbol is explicitly referenced. Since portable code cannot
9633 # rely on this symbol name, it's probably fine to never include it in
9634 # preloaded symbol tables.
9635 # Exclude shared library initialization/finalization symbols.
9636 extract_expsyms_cmds=
9639 cygwin* | mingw* | pw32* | cegcc*)
9640 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9641 # When not using gcc, we currently assume that we are using
9642 # Microsoft Visual C++.
9643 if test "$GCC" != yes; then
9648 # we just hope/assume this is gcc and not c89 (= MSVC++)
9658 # On some targets, GNU ld is compatible enough with the native linker
9659 # that we're better off using the native interface for both.
9660 lt_use_gnu_ld_interface=no
9661 if test "$with_gnu_ld" = yes; then
9664 # The AIX port of GNU ld has always aspired to compatibility
9665 # with the native linker. However, as the warning in the GNU ld
9666 # block says, versions before 2.19.5* couldn't really create working
9667 # shared libraries, regardless of the interface used.
9668 case `$LD -v 2>&1` in
9669 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9670 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9671 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9673 lt_use_gnu_ld_interface=yes
9678 lt_use_gnu_ld_interface=yes
9683 if test "$lt_use_gnu_ld_interface" = yes; then
9684 # If archive_cmds runs LD, not CC, wlarc should be empty
9687 # Set some defaults for GNU ld with shared library support. These
9688 # are reset later if shared libraries are not supported. Putting them
9689 # here allows them to be overridden if necessary.
9690 runpath_var=LD_RUN_PATH
9691 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9692 export_dynamic_flag_spec='${wl}--export-dynamic'
9693 # ancient GNU ld didn't support --whole-archive et. al.
9694 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9695 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9697 whole_archive_flag_spec=
9699 supports_anon_versioning=no
9700 case `$LD -v 2>&1` in
9701 *GNU\ gold*) supports_anon_versioning=yes ;;
9702 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9703 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9704 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9705 *\ 2.11.*) ;; # other 2.11 versions
9706 *) supports_anon_versioning=yes ;;
9709 # See if GNU ld supports shared libraries.
9712 # On AIX/PPC, the GNU linker is very broken
9713 if test "$host_cpu" != ia64; then
9717 *** Warning: the GNU linker, at least up to release 2.19, is reported
9718 *** to be unable to reliably create shared libraries on AIX.
9719 *** Therefore, libtool is disabling shared libraries support. If you
9720 *** really care for shared libraries, you may want to install binutils
9721 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9722 *** You will then need to restart the configuration process.
9731 # see comment about AmigaOS4 .so support
9732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9733 archive_expsym_cmds=''
9736 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)'
9737 hardcode_libdir_flag_spec
='-L$libdir'
9738 hardcode_minus_L
=yes
9744 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9745 allow_undefined_flag
=unsupported
9746 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9747 # support --undefined. This deserves some investigation. FIXME
9748 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9754 cygwin
* | mingw
* | pw32
* | cegcc
*)
9755 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9756 # as there is no search path for DLLs.
9757 hardcode_libdir_flag_spec
='-L$libdir'
9758 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9759 allow_undefined_flag
=unsupported
9760 always_export_symbols
=no
9761 enable_shared_with_static_runtimes
=yes
9762 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9764 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9765 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9766 # If the export-symbols file already is a .def file (1st line
9767 # is EXPORTS), use it as is; otherwise, prepend...
9768 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9769 cp $export_symbols $output_objdir/$soname.def;
9771 echo EXPORTS > $output_objdir/$soname.def;
9772 cat $export_symbols >> $output_objdir/$soname.def;
9774 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9781 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9782 link_all_deplibs
=yes
9787 hardcode_shlibpath_var
=no
9788 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9789 export_dynamic_flag_spec
='${wl}-E'
9790 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9791 # Instead, shared libraries are loaded at an image base (0x10000000 by
9792 # default) and relocated if they conflict, which is a slow very memory
9793 # consuming and fragmenting process. To avoid this, we pick a random,
9794 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9795 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9796 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9797 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'
9800 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9802 if test "$host_os" = linux-dietlibc
; then
9803 case $cc_basename in
9804 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9807 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9808 && test "$tmp_diet" = no
9811 tmp_sharedflag
='-shared'
9812 case $cc_basename,$host_cpu in
9813 pgcc
*) # Portland Group C compiler
9814 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'
9815 tmp_addflag
=' $pic_flag'
9817 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9818 # Portland Group f77 and f90 compilers
9819 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'
9820 tmp_addflag
=' $pic_flag -Mnomain' ;;
9821 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9822 tmp_addflag
=' -i_dynamic' ;;
9823 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9824 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9825 ifc
* | ifort
*) # Intel Fortran compiler
9826 tmp_addflag
=' -nofor_main' ;;
9827 lf95
*) # Lahey Fortran 8.1
9828 whole_archive_flag_spec
=
9829 tmp_sharedflag
='--shared' ;;
9830 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9831 tmp_sharedflag
='-qmkshrobj'
9833 nvcc
*) # Cuda Compiler Driver 2.2
9834 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'
9835 compiler_needs_object
=yes
9838 case `$CC -V 2>&1 | sed 5q` in
9839 *Sun\ C
*) # Sun C 5.9
9840 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'
9841 compiler_needs_object
=yes
9842 tmp_sharedflag
='-G' ;;
9843 *Sun\ F
*) # Sun Fortran 8.3
9844 tmp_sharedflag
='-G' ;;
9846 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9848 if test "x$supports_anon_versioning" = xyes
; then
9849 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9850 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9851 echo "local: *; };" >> $output_objdir/$libname.ver~
9852 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9855 case $cc_basename in
9856 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9857 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9858 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9859 hardcode_libdir_flag_spec
=
9860 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9861 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9862 if test "x$supports_anon_versioning" = xyes
; then
9863 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9864 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9865 echo "local: *; };" >> $output_objdir/$libname.ver~
9866 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9876 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9877 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9880 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9881 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9886 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9890 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9891 *** create shared libraries on Solaris systems. Therefore, libtool
9892 *** is disabling shared libraries support. We urge you to upgrade GNU
9893 *** binutils to release 2.9.1 or newer. Another option is to modify
9894 *** your PATH or compiler configuration so that the native linker is
9895 *** used, and then restart.
9898 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9899 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9900 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9906 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9907 case `$LD -v 2>&1` in
9908 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9912 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9913 *** reliably create shared libraries on SCO systems. Therefore, libtool
9914 *** is disabling shared libraries support. We urge you to upgrade GNU
9915 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9916 *** your PATH or compiler configuration so that the native linker is
9917 *** used, and then restart.
9922 # For security reasons, it is highly recommended that you always
9923 # use absolute paths for naming shared libraries, and exclude the
9924 # DT_RUNPATH tag from executables and libraries. But doing so
9925 # requires that you compile everything twice, which is a pain.
9926 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9927 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9928 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9929 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9938 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9941 hardcode_shlibpath_var
=no
9945 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9946 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9947 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9954 if test "$ld_shlibs" = no
; then
9956 hardcode_libdir_flag_spec
=
9957 export_dynamic_flag_spec
=
9958 whole_archive_flag_spec
=
9961 # PORTME fill in a description of your system's linker (not GNU ld)
9964 allow_undefined_flag
=unsupported
9965 always_export_symbols
=yes
9966 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'
9967 # Note: this linker hardcodes the directories in LIBPATH if there
9968 # are no directories specified by -L.
9969 hardcode_minus_L
=yes
9970 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9971 # Neither direct hardcoding nor static linking is supported with a
9973 hardcode_direct
=unsupported
9978 if test "$host_cpu" = ia64
; then
9979 # On IA64, the linker does run time linking by default, so we don't
9980 # have to do anything special.
9981 aix_use_runtimelinking
=no
9982 exp_sym_flag
='-Bexport'
9985 # If we're using GNU nm, then we don't want the "-C" option.
9986 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9987 # Also, AIX nm treats weak defined symbols like other global
9988 # defined symbols, whereas GNU nm marks them as "W".
9989 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9990 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'
9992 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'
9994 aix_use_runtimelinking
=no
9996 # Test if we are trying to use run time linking or normal
9997 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9998 # need to do runtime linking.
9999 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10000 for ld_flag
in $LDFLAGS; do
10001 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10002 aix_use_runtimelinking
=yes
10009 exp_sym_flag
='-bexport'
10010 no_entry_flag
='-bnoentry'
10013 # When large executables or shared objects are built, AIX ld can
10014 # have problems creating the table of contents. If linking a library
10015 # or program results in "error TOC overflow" add -mminimal-toc to
10016 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10017 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10020 hardcode_direct
=yes
10021 hardcode_direct_absolute
=yes
10022 hardcode_libdir_separator
=':'
10023 link_all_deplibs
=yes
10024 file_list_spec
='${wl}-f,'
10026 if test "$GCC" = yes; then
10027 case $host_os in aix4.
[012]|aix4.
[012].
*)
10028 # We only want to do this on AIX 4.2 and lower, the check
10029 # below for broken collect2 doesn't work under 4.3+
10030 collect2name
=`${CC} -print-prog-name=collect2`
10031 if test -f "$collect2name" &&
10032 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10034 # We have reworked collect2
10037 # We have old collect2
10038 hardcode_direct
=unsupported
10039 # It fails to find uninstalled libraries when the uninstalled
10040 # path is not listed in the libpath. Setting hardcode_minus_L
10041 # to unsupported forces relinking
10042 hardcode_minus_L
=yes
10043 hardcode_libdir_flag_spec
='-L$libdir'
10044 hardcode_libdir_separator
=
10048 shared_flag
='-shared'
10049 if test "$aix_use_runtimelinking" = yes; then
10050 shared_flag
="$shared_flag "'${wl}-G'
10054 if test "$host_cpu" = ia64
; then
10055 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10056 # chokes on -Wl,-G. The following line is correct:
10059 if test "$aix_use_runtimelinking" = yes; then
10060 shared_flag
='${wl}-G'
10062 shared_flag
='${wl}-bM:SRE'
10067 export_dynamic_flag_spec
='${wl}-bexpall'
10068 # It seems that -bexpall does not export symbols beginning with
10069 # underscore (_), so it is better to generate a list of symbols to export.
10070 always_export_symbols
=yes
10071 if test "$aix_use_runtimelinking" = yes; then
10072 # Warning - without using the other runtime loading flags (-brtl),
10073 # -berok will link without error, but may produce a broken library.
10074 allow_undefined_flag
='-berok'
10075 # Determine the default libpath from the value encoded in an
10076 # empty executable.
10077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10088 if ac_fn_c_try_link
"$LINENO"; then :
10090 lt_aix_libpath_sed
='
10091 /Import File Strings/,/^$/ {
10097 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10098 # Check for a 64-bit object if we didn't find anything.
10099 if test -z "$aix_libpath"; then
10100 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10103 rm -f core conftest.err conftest.
$ac_objext \
10104 conftest
$ac_exeext conftest.
$ac_ext
10105 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10107 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10108 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"
10110 if test "$host_cpu" = ia64
; then
10111 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10112 allow_undefined_flag
="-z nodefs"
10113 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"
10115 # Determine the default libpath from the value encoded in an
10116 # empty executable.
10117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10118 /* end confdefs.h. */
10128 if ac_fn_c_try_link
"$LINENO"; then :
10130 lt_aix_libpath_sed
='
10131 /Import File Strings/,/^$/ {
10137 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10138 # Check for a 64-bit object if we didn't find anything.
10139 if test -z "$aix_libpath"; then
10140 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10143 rm -f core conftest.err conftest.
$ac_objext \
10144 conftest
$ac_exeext conftest.
$ac_ext
10145 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10147 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10148 # Warning - without using the other run time loading flags,
10149 # -berok will link without error, but may produce a broken library.
10150 no_undefined_flag
=' ${wl}-bernotok'
10151 allow_undefined_flag
=' ${wl}-berok'
10152 if test "$with_gnu_ld" = yes; then
10153 # We only use this code for GNU lds that support --whole-archive.
10154 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10156 # Exported symbols can be pulled into shared objects from archives
10157 whole_archive_flag_spec
='$convenience'
10159 archive_cmds_need_lc
=yes
10160 # This is similar to how AIX traditionally builds its shared libraries.
10161 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'
10169 # see comment about AmigaOS4 .so support
10170 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10171 archive_expsym_cmds
=''
10174 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)'
10175 hardcode_libdir_flag_spec
='-L$libdir'
10176 hardcode_minus_L
=yes
10182 export_dynamic_flag_spec
=-rdynamic
10185 cygwin
* | mingw
* | pw32
* | cegcc
*)
10186 # When not using gcc, we currently assume that we are using
10187 # Microsoft Visual C++.
10188 # hardcode_libdir_flag_spec is actually meaningless, as there is
10189 # no search path for DLLs.
10190 hardcode_libdir_flag_spec
=' '
10191 allow_undefined_flag
=unsupported
10192 # Tell ltmain to make .lib files, not .a files.
10194 # Tell ltmain to make .dll files, not .so files.
10196 # FIXME: Setting linknames here is a bad hack.
10197 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10198 # The linker will automatically build a .lib file if we build a DLL.
10199 old_archive_from_new_cmds
='true'
10200 # FIXME: Should let the user specify the lib program.
10201 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10202 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10203 enable_shared_with_static_runtimes
=yes
10206 darwin
* | rhapsody
*)
10209 archive_cmds_need_lc
=no
10211 hardcode_automatic
=yes
10212 hardcode_shlibpath_var
=unsupported
10213 if test "$lt_cv_ld_force_load" = "yes"; then
10214 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\"`'
10216 whole_archive_flag_spec
=''
10218 link_all_deplibs
=yes
10219 allow_undefined_flag
="$_lt_dar_allow_undefined"
10220 case $cc_basename in
10221 ifort
*) _lt_dar_can_shared
=yes ;;
10222 *) _lt_dar_can_shared
=$GCC ;;
10224 if test "$_lt_dar_can_shared" = "yes"; then
10225 output_verbose_link_cmd
=func_echo_all
10226 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10227 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10228 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}"
10229 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}"
10238 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10239 hardcode_libdir_flag_spec
='-L$libdir'
10240 hardcode_shlibpath_var
=no
10243 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10244 # support. Future versions do this automatically, but an explicit c++rt0.o
10245 # does not break anything, and helps significantly (at the cost of a little
10248 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10249 hardcode_libdir_flag_spec
='-R$libdir'
10250 hardcode_direct
=yes
10251 hardcode_shlibpath_var
=no
10254 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10256 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10257 hardcode_direct
=yes
10258 hardcode_minus_L
=yes
10259 hardcode_shlibpath_var
=no
10262 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10263 freebsd
* | dragonfly
*)
10264 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10265 hardcode_libdir_flag_spec
='-R$libdir'
10266 hardcode_direct
=yes
10267 hardcode_shlibpath_var
=no
10271 if test "$GCC" = yes; then
10272 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'
10274 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'
10276 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10277 hardcode_libdir_separator
=:
10278 hardcode_direct
=yes
10280 # hardcode_minus_L: Not really in the search PATH,
10281 # but as the default location of the library.
10282 hardcode_minus_L
=yes
10283 export_dynamic_flag_spec
='${wl}-E'
10287 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10288 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10290 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10292 if test "$with_gnu_ld" = no
; then
10293 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10294 hardcode_libdir_flag_spec_ld
='+b $libdir'
10295 hardcode_libdir_separator
=:
10296 hardcode_direct
=yes
10297 hardcode_direct_absolute
=yes
10298 export_dynamic_flag_spec
='${wl}-E'
10299 # hardcode_minus_L: Not really in the search PATH,
10300 # but as the default location of the library.
10301 hardcode_minus_L
=yes
10306 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10309 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10312 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10315 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10321 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10324 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10328 # Older versions of the 11.00 compiler do not understand -b yet
10329 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10331 $as_echo_n "checking if $CC understands -b... " >&6; }
10332 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10333 $as_echo_n "(cached) " >&6
10335 lt_cv_prog_compiler__b
=no
10336 save_LDFLAGS
="$LDFLAGS"
10337 LDFLAGS
="$LDFLAGS -b"
10338 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10339 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10340 # The linker can only warn and ignore the option if not recognized
10341 # So say no if there are warnings
10342 if test -s conftest.err
; then
10343 # Append any errors to the config.log.
10344 cat conftest.err
1>&5
10345 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10346 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10347 if diff conftest.exp conftest.er2
>/dev
/null
; then
10348 lt_cv_prog_compiler__b
=yes
10351 lt_cv_prog_compiler__b
=yes
10355 LDFLAGS
="$save_LDFLAGS"
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10359 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10361 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10362 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10364 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10370 if test "$with_gnu_ld" = no
; then
10371 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10372 hardcode_libdir_separator
=:
10377 hardcode_shlibpath_var
=no
10380 hardcode_direct
=yes
10381 hardcode_direct_absolute
=yes
10382 export_dynamic_flag_spec
='${wl}-E'
10384 # hardcode_minus_L: Not really in the search PATH,
10385 # but as the default location of the library.
10386 hardcode_minus_L
=yes
10392 irix5
* | irix6
* | nonstopux
*)
10393 if test "$GCC" = yes; then
10394 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'
10395 # Try to use the -exported_symbol ld option, if it does not
10396 # work, assume that -exports_file does not work either and
10397 # implicitly export all symbols.
10398 save_LDFLAGS
="$LDFLAGS"
10399 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10404 if ac_fn_c_try_link
"$LINENO"; then :
10405 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'
10408 rm -f core conftest.err conftest.
$ac_objext \
10409 conftest
$ac_exeext conftest.
$ac_ext
10410 LDFLAGS
="$save_LDFLAGS"
10412 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'
10413 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'
10415 archive_cmds_need_lc
='no'
10416 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10417 hardcode_libdir_separator
=:
10419 link_all_deplibs
=yes
10423 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10424 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10426 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10428 hardcode_libdir_flag_spec
='-R$libdir'
10429 hardcode_direct
=yes
10430 hardcode_shlibpath_var
=no
10434 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10435 hardcode_direct
=yes
10436 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10437 hardcode_libdir_separator
=:
10438 hardcode_shlibpath_var
=no
10445 if test -f /usr
/libexec
/ld.so
; then
10446 hardcode_direct
=yes
10447 hardcode_shlibpath_var
=no
10448 hardcode_direct_absolute
=yes
10449 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10450 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10451 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10452 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10453 export_dynamic_flag_spec
='${wl}-E'
10456 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10457 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10458 hardcode_libdir_flag_spec
='-R$libdir'
10461 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10462 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10472 hardcode_libdir_flag_spec
='-L$libdir'
10473 hardcode_minus_L
=yes
10474 allow_undefined_flag
=unsupported
10475 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'
10476 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10480 if test "$GCC" = yes; then
10481 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10482 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'
10484 allow_undefined_flag
=' -expect_unresolved \*'
10485 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'
10487 archive_cmds_need_lc
='no'
10488 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10489 hardcode_libdir_separator
=:
10492 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10493 if test "$GCC" = yes; then
10494 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10495 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'
10496 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10498 allow_undefined_flag
=' -expect_unresolved \*'
10499 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'
10500 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~
10501 $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'
10503 # Both c and cxx compiler support -rpath directly
10504 hardcode_libdir_flag_spec
='-rpath $libdir'
10506 archive_cmds_need_lc
='no'
10507 hardcode_libdir_separator
=:
10511 no_undefined_flag
=' -z defs'
10512 if test "$GCC" = yes; then
10514 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10515 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10516 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10518 case `$CC -V 2>&1` in
10521 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10522 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10523 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10527 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10528 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10529 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10533 hardcode_libdir_flag_spec
='-R$libdir'
10534 hardcode_shlibpath_var
=no
10536 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10538 # The compiler driver will combine and reorder linker options,
10539 # but understands `-z linker_flag'. GCC discards it without `$wl',
10540 # but is careful enough not to reorder.
10541 # Supported since Solaris 2.6 (maybe 2.5.1?)
10542 if test "$GCC" = yes; then
10543 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10545 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10549 link_all_deplibs
=yes
10553 if test "x$host_vendor" = xsequent
; then
10554 # Use $CC to link under sequent, because it throws in some extra .o
10555 # files that make .init and .fini sections work.
10556 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10558 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10560 hardcode_libdir_flag_spec
='-L$libdir'
10561 hardcode_direct
=yes
10562 hardcode_minus_L
=yes
10563 hardcode_shlibpath_var
=no
10567 case $host_vendor in
10569 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10570 hardcode_direct
=yes # is this really true???
10573 ## LD is ld it makes a PLAMLIB
10574 ## CC just makes a GrossModule.
10575 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10576 reload_cmds
='$CC -r -o $output$reload_objs'
10580 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10581 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10584 runpath_var
='LD_RUN_PATH'
10585 hardcode_shlibpath_var
=no
10589 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10590 hardcode_shlibpath_var
=no
10591 export_dynamic_flag_spec
='-Bexport'
10595 if test -d /usr
/nec
; then
10596 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10597 hardcode_shlibpath_var
=no
10598 runpath_var
=LD_RUN_PATH
10599 hardcode_runpath_var
=yes
10604 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10605 no_undefined_flag
='${wl}-z,text'
10606 archive_cmds_need_lc
=no
10607 hardcode_shlibpath_var
=no
10608 runpath_var
='LD_RUN_PATH'
10610 if test "$GCC" = yes; then
10611 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10612 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10614 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10615 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10619 sysv5
* | sco3.2v5
* | sco5v6
*)
10620 # Note: We can NOT use -z defs as we might desire, because we do not
10621 # link with -lc, and that would cause any symbols used from libc to
10622 # always be unresolved, which means just about no library would
10623 # ever link correctly. If we're not using GNU ld we use -z text
10624 # though, which does catch some bad symbols but isn't as heavy-handed
10626 no_undefined_flag
='${wl}-z,text'
10627 allow_undefined_flag
='${wl}-z,nodefs'
10628 archive_cmds_need_lc
=no
10629 hardcode_shlibpath_var
=no
10630 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10631 hardcode_libdir_separator
=':'
10632 link_all_deplibs
=yes
10633 export_dynamic_flag_spec
='${wl}-Bexport'
10634 runpath_var
='LD_RUN_PATH'
10636 if test "$GCC" = yes; then
10637 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10638 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10640 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10641 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10647 hardcode_libdir_flag_spec
='-L$libdir'
10648 hardcode_shlibpath_var
=no
10656 if test x
$host_vendor = xsni
; then
10658 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10659 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10666 $as_echo "$ld_shlibs" >&6; }
10667 test "$ld_shlibs" = no
&& can_build_shared
=no
10669 with_gnu_ld
=$with_gnu_ld
10686 # Do we need to explicitly link libc?
10688 case "x$archive_cmds_need_lc" in
10690 # Assume -lc should be added
10691 archive_cmds_need_lc
=yes
10693 if test "$enable_shared" = yes && test "$GCC" = yes; then
10694 case $archive_cmds in
10696 # FIXME: we may have to deal with multi-command sequences.
10699 # Test whether the compiler implicitly links with -lc since on some
10700 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10701 # to ld, don't add -lc before -lgcc.
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10703 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10704 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10705 $as_echo_n "(cached) " >&6
10708 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10711 (eval $ac_compile) 2>&5
10713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10714 test $ac_status = 0; } 2>conftest.err
; then
10717 libobjs
=conftest.
$ac_objext
10719 wl
=$lt_prog_compiler_wl
10720 pic_flag
=$lt_prog_compiler_pic
10726 lt_save_allow_undefined_flag
=$allow_undefined_flag
10727 allow_undefined_flag
=
10728 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10729 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10732 test $ac_status = 0; }
10734 lt_cv_archive_cmds_need_lc
=no
10736 lt_cv_archive_cmds_need_lc
=yes
10738 allow_undefined_flag
=$lt_save_allow_undefined_flag
10740 cat conftest.err
1>&5
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10746 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10747 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10911 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10913 if test "$GCC" = yes; then
10915 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10916 *) lt_awk_arg
="/^libraries:/" ;;
10919 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10920 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10922 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10923 case $lt_search_path_spec in
10925 # if the path contains ";" then we assume it to be the separator
10926 # otherwise default to the standard path separator (i.e. ":") - it is
10927 # assumed that no part of a normal pathname contains ";" but that should
10928 # okay in the real world where ";" in dirpaths is itself problematic.
10929 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10932 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10935 # Ok, now we have the path, separated by spaces, we can step through it
10936 # and add multilib dir if necessary.
10937 lt_tmp_lt_search_path_spec
=
10938 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10939 for lt_sys_path
in $lt_search_path_spec; do
10940 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10941 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10943 test -d "$lt_sys_path" && \
10944 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10947 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10948 BEGIN {RS=" "; FS="/|\n";} {
10951 for (lt_i = NF; lt_i > 0; lt_i--) {
10952 if ($lt_i != "" && $lt_i != ".") {
10953 if ($lt_i == "..") {
10956 if (lt_count == 0) {
10957 lt_foo="/" $lt_i lt_foo;
10964 if (lt_foo != "") { lt_freq[lt_foo]++; }
10965 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10967 # AWK program above erroneously prepends '/' to C:/dos/paths
10970 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10971 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10973 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10975 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10977 library_names_spec
=
10978 libname_spec
='lib$name'
10982 postuninstall_cmds
=
10986 shlibpath_overrides_runpath
=unknown
10988 dynamic_linker
="$host_os ld.so"
10989 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10990 need_lib_prefix
=unknown
10991 hardcode_into_libs
=no
10993 # when you set need_version to no, make sure it does not cause -set_version
10994 # flags to be left without arguments
10995 need_version
=unknown
11000 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11001 shlibpath_var
=LIBPATH
11003 # AIX 3 has no versioning support, so we append a major version to the name.
11004 soname_spec
='${libname}${release}${shared_ext}$major'
11011 hardcode_into_libs
=yes
11012 if test "$host_cpu" = ia64
; then
11013 # AIX 5 supports IA64
11014 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11015 shlibpath_var
=LD_LIBRARY_PATH
11017 # With GCC up to 2.95.x, collect2 would create an import file
11018 # for dependence libraries. The import file would start with
11019 # the line `#! .'. This would cause the generated library to
11020 # depend on `.', always an invalid library. This was fixed in
11021 # development snapshots of GCC prior to 3.0.
11023 aix4 | aix4.
[01] | aix4.
[01].
*)
11024 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11026 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11029 can_build_shared
=no
11033 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11034 # soname into executable. Probably we can add versioning support to
11035 # collect2, so additional links can be useful in future.
11036 if test "$aix_use_runtimelinking" = yes; then
11037 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11038 # instead of lib<name>.a to let people know that these are not
11039 # typical AIX shared libraries.
11040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11042 # We preserve .a as extension for shared libraries through AIX4.2
11043 # and later when we are not doing run time linking.
11044 library_names_spec
='${libname}${release}.a $libname.a'
11045 soname_spec
='${libname}${release}${shared_ext}$major'
11047 shlibpath_var
=LIBPATH
11054 # Since July 2007 AmigaOS4 officially supports .so libraries.
11055 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11059 library_names_spec
='$libname.ixlibrary $libname.a'
11060 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11061 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'
11067 library_names_spec
='${libname}${shared_ext}'
11068 dynamic_linker
="$host_os ld.so"
11069 shlibpath_var
=LIBRARY_PATH
11075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076 soname_spec
='${libname}${release}${shared_ext}$major'
11077 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11078 shlibpath_var
=LD_LIBRARY_PATH
11079 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11080 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11081 # the default ld.so.conf also contains /usr/contrib/lib and
11082 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11083 # libtool to hard-code these into programs
11086 cygwin
* | mingw
* | pw32
* | cegcc
*)
11087 version_type
=windows
11092 case $GCC,$host_os in
11093 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11094 library_names_spec
='$libname.dll.a'
11095 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11096 postinstall_cmds
='base_file=`basename \${file}`~
11097 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11098 dldir=$destdir/`dirname \$dlpath`~
11099 test -d \$dldir || mkdir -p \$dldir~
11100 $install_prog $dir/$dlname \$dldir/$dlname~
11101 chmod a+x \$dldir/$dlname~
11102 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11103 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11105 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11106 dlpath=$dir/\$dldll~
11108 shlibpath_overrides_runpath
=yes
11112 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11113 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11115 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11118 # MinGW DLLs use traditional 'lib' prefix
11119 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11122 # pw32 DLLs use 'pw' prefix rather than 'lib'
11123 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11129 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11132 dynamic_linker
='Win32 ld.exe'
11133 # FIXME: first we should search . and the directory the executable is in
11137 darwin
* | rhapsody
*)
11138 dynamic_linker
="$host_os dyld"
11139 version_type
=darwin
11142 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11143 soname_spec
='${libname}${release}${major}$shared_ext'
11144 shlibpath_overrides_runpath
=yes
11145 shlibpath_var
=DYLD_LIBRARY_PATH
11146 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11148 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11149 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11157 soname_spec
='${libname}${release}${shared_ext}$major'
11158 shlibpath_var
=LD_LIBRARY_PATH
11161 freebsd
* | dragonfly
*)
11162 # DragonFly does not have aout. When/if they implement a new
11163 # versioning mechanism, adjust this.
11164 if test -x /usr
/bin
/objformat
; then
11165 objformat
=`/usr/bin/objformat`
11168 freebsd
[23].
*) objformat
=aout
;;
11169 *) objformat
=elf
;;
11172 version_type
=freebsd-
$objformat
11173 case $version_type in
11175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11180 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11184 shlibpath_var
=LD_LIBRARY_PATH
11187 shlibpath_overrides_runpath
=yes
11189 freebsd3.
[01]* | freebsdelf3.
[01]*)
11190 shlibpath_overrides_runpath
=yes
11191 hardcode_into_libs
=yes
11193 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11194 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11195 shlibpath_overrides_runpath
=no
11196 hardcode_into_libs
=yes
11198 *) # from 4.6 on, and DragonFly
11199 shlibpath_overrides_runpath
=yes
11200 hardcode_into_libs
=yes
11209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11210 soname_spec
='${libname}${release}${shared_ext}$major'
11211 shlibpath_var
=LD_LIBRARY_PATH
11212 hardcode_into_libs
=yes
11219 dynamic_linker
="$host_os runtime_loader"
11220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11221 soname_spec
='${libname}${release}${shared_ext}$major'
11222 shlibpath_var
=LIBRARY_PATH
11223 shlibpath_overrides_runpath
=yes
11224 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11225 hardcode_into_libs
=yes
11228 hpux9
* | hpux10
* | hpux11
*)
11229 # Give a soname corresponding to the major version so that dld.sl refuses to
11230 # link against other versions.
11237 hardcode_into_libs
=yes
11238 dynamic_linker
="$host_os dld.so"
11239 shlibpath_var
=LD_LIBRARY_PATH
11240 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11242 soname_spec
='${libname}${release}${shared_ext}$major'
11243 if test "X$HPUX_IA64_MODE" = X32
; then
11244 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11246 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11248 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11252 hardcode_into_libs
=yes
11253 dynamic_linker
="$host_os dld.sl"
11254 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11255 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11257 soname_spec
='${libname}${release}${shared_ext}$major'
11258 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11259 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11263 dynamic_linker
="$host_os dld.sl"
11264 shlibpath_var
=SHLIB_PATH
11265 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11267 soname_spec
='${libname}${release}${shared_ext}$major'
11270 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11271 postinstall_cmds
='chmod 555 $lib'
11272 # or fails outright, so override atomically:
11273 install_override_mode
=555
11280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11281 soname_spec
='${libname}${release}${shared_ext}$major'
11282 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11283 shlibpath_var
=LD_LIBRARY_PATH
11284 shlibpath_overrides_runpath
=no
11285 hardcode_into_libs
=yes
11288 irix5
* | irix6
* | nonstopux
*)
11290 nonstopux
*) version_type
=nonstopux
;;
11292 if test "$lt_cv_prog_gnu_ld" = yes; then
11300 soname_spec
='${libname}${release}${shared_ext}$major'
11301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11303 irix5
* | nonstopux
*)
11304 libsuff
= shlibsuff
=
11307 case $LD in # libtool.m4 will add one of these switches to LD
11308 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11309 libsuff
= shlibsuff
= libmagic
=32-bit;;
11310 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11311 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11312 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11313 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11314 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11318 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11319 shlibpath_overrides_runpath
=no
11320 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11321 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11322 hardcode_into_libs
=yes
11325 # No shared lib support for Linux oldld, aout, or coff.
11326 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11330 # This must be Linux ELF.
11331 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11336 soname_spec
='${libname}${release}${shared_ext}$major'
11337 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11338 shlibpath_var
=LD_LIBRARY_PATH
11339 shlibpath_overrides_runpath
=no
11341 # Some binutils ld are patched to set DT_RUNPATH
11342 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11343 $as_echo_n "(cached) " >&6
11345 lt_cv_shlibpath_overrides_runpath
=no
11346 save_LDFLAGS
=$LDFLAGS
11347 save_libdir
=$libdir
11348 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11349 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11361 if ac_fn_c_try_link
"$LINENO"; then :
11362 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11363 lt_cv_shlibpath_overrides_runpath
=yes
11366 rm -f core conftest.err conftest.
$ac_objext \
11367 conftest
$ac_exeext conftest.
$ac_ext
11368 LDFLAGS
=$save_LDFLAGS
11369 libdir
=$save_libdir
11373 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11375 # This implies no fast_install, which is unacceptable.
11376 # Some rework will be needed to allow for fast_install
11377 # before this can be enabled.
11378 hardcode_into_libs
=yes
11380 # Append ld.so.conf contents to the search path
11381 if test -f /etc
/ld.so.conf
; then
11382 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' ' '`
11383 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11386 # We used to test for /lib/ld.so.1 and disable shared libraries on
11387 # powerpc, because MkLinux only supported shared libraries with the
11388 # GNU dynamic linker. Since this was broken with cross compilers,
11389 # most powerpc-linux boxes support dynamic linking these days and
11390 # people can always --disable-shared, the test was removed, and we
11391 # assume the GNU/Linux dynamic linker is in use.
11392 dynamic_linker
='GNU/Linux ld.so'
11399 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11401 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11402 dynamic_linker
='NetBSD (a.out) ld.so'
11404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11405 soname_spec
='${libname}${release}${shared_ext}$major'
11406 dynamic_linker
='NetBSD ld.elf_so'
11408 shlibpath_var
=LD_LIBRARY_PATH
11409 shlibpath_overrides_runpath
=yes
11410 hardcode_into_libs
=yes
11415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11416 shlibpath_var
=LD_LIBRARY_PATH
11417 shlibpath_overrides_runpath
=yes
11424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11425 soname_spec
='${libname}${release}${shared_ext}$major'
11426 shlibpath_var
=LD_LIBRARY_PATH
11427 shlibpath_overrides_runpath
=no
11428 hardcode_into_libs
=yes
11429 dynamic_linker
='ldqnx.so'
11434 sys_lib_dlsearch_path_spec
="/usr/lib"
11436 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11438 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11439 *) need_version
=no
;;
11441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11442 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11443 shlibpath_var
=LD_LIBRARY_PATH
11444 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11446 openbsd2.
[89] | openbsd2.
[89].
*)
11447 shlibpath_overrides_runpath
=no
11450 shlibpath_overrides_runpath
=yes
11454 shlibpath_overrides_runpath
=yes
11459 libname_spec
='$name'
11462 library_names_spec
='$libname${shared_ext} $libname.a'
11463 dynamic_linker
='OS/2 ld.exe'
11464 shlibpath_var
=LIBPATH
11467 osf3
* | osf4
* | osf5
*)
11471 soname_spec
='${libname}${release}${shared_ext}$major'
11472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11473 shlibpath_var
=LD_LIBRARY_PATH
11474 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11475 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11487 soname_spec
='${libname}${release}${shared_ext}$major'
11488 shlibpath_var
=LD_LIBRARY_PATH
11489 shlibpath_overrides_runpath
=yes
11490 hardcode_into_libs
=yes
11491 # ldd complains unless libraries are executable
11492 postinstall_cmds
='chmod +x $lib'
11497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11498 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11499 shlibpath_var
=LD_LIBRARY_PATH
11500 shlibpath_overrides_runpath
=yes
11501 if test "$with_gnu_ld" = yes; then
11509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11510 soname_spec
='${libname}${release}${shared_ext}$major'
11511 shlibpath_var
=LD_LIBRARY_PATH
11512 case $host_vendor in
11514 shlibpath_overrides_runpath
=no
11516 runpath_var
=LD_RUN_PATH
11524 shlibpath_overrides_runpath
=no
11525 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11531 if test -d /usr
/nec
;then
11533 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11534 soname_spec
='$libname${shared_ext}.$major'
11535 shlibpath_var
=LD_LIBRARY_PATH
11539 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11540 version_type
=freebsd-elf
11543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11544 soname_spec
='${libname}${release}${shared_ext}$major'
11545 shlibpath_var
=LD_LIBRARY_PATH
11546 shlibpath_overrides_runpath
=yes
11547 hardcode_into_libs
=yes
11548 if test "$with_gnu_ld" = yes; then
11549 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11551 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11554 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11558 sys_lib_dlsearch_path_spec
='/usr/lib'
11562 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567 shlibpath_var
=LD_LIBRARY_PATH
11568 shlibpath_overrides_runpath
=no
11569 hardcode_into_libs
=yes
11574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11575 soname_spec
='${libname}${release}${shared_ext}$major'
11576 shlibpath_var
=LD_LIBRARY_PATH
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11584 $as_echo "$dynamic_linker" >&6; }
11585 test "$dynamic_linker" = no
&& can_build_shared
=no
11587 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11588 if test "$GCC" = yes; then
11589 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11592 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11593 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11595 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11596 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11691 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11693 if test -n "$hardcode_libdir_flag_spec" ||
11694 test -n "$runpath_var" ||
11695 test "X$hardcode_automatic" = "Xyes" ; then
11697 # We can hardcode non-existent directories.
11698 if test "$hardcode_direct" != no
&&
11699 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11700 # have to relink, otherwise we might link with an installed library
11701 # when we should be linking with a yet-to-be-installed one
11702 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11703 test "$hardcode_minus_L" != no
; then
11704 # Linking always hardcodes the temporary library directory.
11705 hardcode_action
=relink
11707 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11708 hardcode_action
=immediate
11711 # We cannot hardcode anything, or else we can only hardcode existing
11713 hardcode_action
=unsupported
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11716 $as_echo "$hardcode_action" >&6; }
11718 if test "$hardcode_action" = relink ||
11719 test "$inherit_rpath" = yes; then
11720 # Fast installation is not supported
11721 enable_fast_install
=no
11722 elif test "$shlibpath_overrides_runpath" = yes ||
11723 test "$enable_shared" = no
; then
11724 # Fast installation is not necessary
11725 enable_fast_install
=needless
11733 if test "x$enable_dlopen" != xyes
; then
11734 enable_dlopen
=unknown
11735 enable_dlopen_self
=unknown
11736 enable_dlopen_self_static
=unknown
11743 lt_cv_dlopen
="load_add_on"
11745 lt_cv_dlopen_self
=yes
11748 mingw
* | pw32
* | cegcc
*)
11749 lt_cv_dlopen
="LoadLibrary"
11754 lt_cv_dlopen
="dlopen"
11759 # if libdl is installed we need to link against it
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11761 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11762 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11763 $as_echo_n "(cached) " >&6
11765 ac_check_lib_save_LIBS
=$LIBS
11767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11785 if ac_fn_c_try_link
"$LINENO"; then :
11786 ac_cv_lib_dl_dlopen
=yes
11788 ac_cv_lib_dl_dlopen
=no
11790 rm -f core conftest.err conftest.
$ac_objext \
11791 conftest
$ac_exeext conftest.
$ac_ext
11792 LIBS
=$ac_check_lib_save_LIBS
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11795 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11796 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11797 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11800 lt_cv_dlopen
="dyld"
11802 lt_cv_dlopen_self
=yes
11809 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11810 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11811 lt_cv_dlopen
="shl_load"
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11814 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11815 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11816 $as_echo_n "(cached) " >&6
11818 ac_check_lib_save_LIBS
=$LIBS
11820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11833 return shl_load ();
11838 if ac_fn_c_try_link
"$LINENO"; then :
11839 ac_cv_lib_dld_shl_load
=yes
11841 ac_cv_lib_dld_shl_load
=no
11843 rm -f core conftest.err conftest.
$ac_objext \
11844 conftest
$ac_exeext conftest.
$ac_ext
11845 LIBS
=$ac_check_lib_save_LIBS
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11848 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11849 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11850 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11852 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11853 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11854 lt_cv_dlopen
="dlopen"
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11857 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11858 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11859 $as_echo_n "(cached) " >&6
11861 ac_check_lib_save_LIBS
=$LIBS
11863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11864 /* end confdefs.h. */
11866 /* Override any GCC internal prototype to avoid an error.
11867 Use char because int might match the return type of a GCC
11868 builtin and then its argument prototype would still apply. */
11881 if ac_fn_c_try_link
"$LINENO"; then :
11882 ac_cv_lib_dl_dlopen
=yes
11884 ac_cv_lib_dl_dlopen
=no
11886 rm -f core conftest.err conftest.
$ac_objext \
11887 conftest
$ac_exeext conftest.
$ac_ext
11888 LIBS
=$ac_check_lib_save_LIBS
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11891 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11892 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11893 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11896 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11897 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11898 $as_echo_n "(cached) " >&6
11900 ac_check_lib_save_LIBS
=$LIBS
11901 LIBS
="-lsvld $LIBS"
11902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11905 /* Override any GCC internal prototype to avoid an error.
11906 Use char because int might match the return type of a GCC
11907 builtin and then its argument prototype would still apply. */
11920 if ac_fn_c_try_link
"$LINENO"; then :
11921 ac_cv_lib_svld_dlopen
=yes
11923 ac_cv_lib_svld_dlopen
=no
11925 rm -f core conftest.err conftest.
$ac_objext \
11926 conftest
$ac_exeext conftest.
$ac_ext
11927 LIBS
=$ac_check_lib_save_LIBS
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11930 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11931 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11932 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11935 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11936 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11937 $as_echo_n "(cached) " >&6
11939 ac_check_lib_save_LIBS
=$LIBS
11941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11954 return dld_link ();
11959 if ac_fn_c_try_link
"$LINENO"; then :
11960 ac_cv_lib_dld_dld_link
=yes
11962 ac_cv_lib_dld_dld_link
=no
11964 rm -f core conftest.err conftest.
$ac_objext \
11965 conftest
$ac_exeext conftest.
$ac_ext
11966 LIBS
=$ac_check_lib_save_LIBS
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11969 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11970 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11971 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11992 if test "x$lt_cv_dlopen" != xno
; then
11998 case $lt_cv_dlopen in
12000 save_CPPFLAGS
="$CPPFLAGS"
12001 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12003 save_LDFLAGS
="$LDFLAGS"
12004 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12007 LIBS
="$lt_cv_dlopen_libs $LIBS"
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12010 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12011 if test "${lt_cv_dlopen_self+set}" = set; then :
12012 $as_echo_n "(cached) " >&6
12014 if test "$cross_compiling" = yes; then :
12015 lt_cv_dlopen_self
=cross
12017 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12018 lt_status
=$lt_dlunknown
12019 cat > conftest.
$ac_ext <<_LT_EOF
12020 #line 12020 "configure"
12021 #include "confdefs.h"
12030 # define LT_DLGLOBAL RTLD_GLOBAL
12033 # define LT_DLGLOBAL DL_GLOBAL
12035 # define LT_DLGLOBAL 0
12039 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12040 find out it does not work in some platform. */
12041 #ifndef LT_DLLAZY_OR_NOW
12043 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12046 # define LT_DLLAZY_OR_NOW DL_LAZY
12049 # define LT_DLLAZY_OR_NOW RTLD_NOW
12052 # define LT_DLLAZY_OR_NOW DL_NOW
12054 # define LT_DLLAZY_OR_NOW 0
12061 /* When -fvisbility=hidden is used, assume the code has been annotated
12062 correspondingly for the symbols needed. */
12063 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12064 void fnord () __attribute__((visibility("default")));
12067 void fnord () { int i=42; }
12070 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12071 int status = $lt_dlunknown;
12075 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12078 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12079 else puts (dlerror ());
12081 /* dlclose (self); */
12089 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12090 (eval $ac_link) 2>&5
12092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12093 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12094 (.
/conftest
; exit; ) >&5 2>/dev
/null
12096 case x
$lt_status in
12097 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12098 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12099 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12102 # compilation failed
12103 lt_cv_dlopen_self
=no
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12111 $as_echo "$lt_cv_dlopen_self" >&6; }
12113 if test "x$lt_cv_dlopen_self" = xyes
; then
12114 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12116 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12117 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12118 $as_echo_n "(cached) " >&6
12120 if test "$cross_compiling" = yes; then :
12121 lt_cv_dlopen_self_static
=cross
12123 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12124 lt_status
=$lt_dlunknown
12125 cat > conftest.
$ac_ext <<_LT_EOF
12126 #line 12126 "configure"
12127 #include "confdefs.h"
12136 # define LT_DLGLOBAL RTLD_GLOBAL
12139 # define LT_DLGLOBAL DL_GLOBAL
12141 # define LT_DLGLOBAL 0
12145 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12146 find out it does not work in some platform. */
12147 #ifndef LT_DLLAZY_OR_NOW
12149 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12152 # define LT_DLLAZY_OR_NOW DL_LAZY
12155 # define LT_DLLAZY_OR_NOW RTLD_NOW
12158 # define LT_DLLAZY_OR_NOW DL_NOW
12160 # define LT_DLLAZY_OR_NOW 0
12167 /* When -fvisbility=hidden is used, assume the code has been annotated
12168 correspondingly for the symbols needed. */
12169 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12170 void fnord () __attribute__((visibility("default")));
12173 void fnord () { int i=42; }
12176 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12177 int status = $lt_dlunknown;
12181 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12184 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12185 else puts (dlerror ());
12187 /* dlclose (self); */
12195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12196 (eval $ac_link) 2>&5
12198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12199 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12200 (.
/conftest
; exit; ) >&5 2>/dev
/null
12202 case x
$lt_status in
12203 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12204 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12205 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12208 # compilation failed
12209 lt_cv_dlopen_self_static
=no
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12217 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12220 CPPFLAGS
="$save_CPPFLAGS"
12221 LDFLAGS
="$save_LDFLAGS"
12226 case $lt_cv_dlopen_self in
12227 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12228 *) enable_dlopen_self
=unknown
;;
12231 case $lt_cv_dlopen_self_static in
12232 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12233 *) enable_dlopen_self_static
=unknown
;;
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12256 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12257 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12258 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12259 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12261 $as_echo "yes" >&6; }
12263 # FIXME - insert some real tests, host_os isn't really good enough
12266 if test -n "$STRIP" ; then
12267 striplib
="$STRIP -x"
12268 old_striplib
="$STRIP -S"
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12270 $as_echo "yes" >&6; }
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12273 $as_echo "no" >&6; }
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278 $as_echo "no" >&6; }
12294 # Report which library types will actually be built
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12296 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12298 $as_echo "$can_build_shared" >&6; }
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12301 $as_echo_n "checking whether to build shared libraries... " >&6; }
12302 test "$can_build_shared" = "no" && enable_shared
=no
12304 # On AIX, shared libraries and static libraries use the same namespace, and
12305 # are all built from PIC.
12308 test "$enable_shared" = yes && enable_static
=no
12309 if test -n "$RANLIB"; then
12310 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12311 postinstall_cmds
='$RANLIB $lib'
12316 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12317 test "$enable_shared" = yes && enable_static
=no
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12322 $as_echo "$enable_shared" >&6; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12325 $as_echo_n "checking whether to build static libraries... " >&6; }
12326 # Make sure either enable_shared or enable_static is yes.
12327 test "$enable_shared" = yes || enable_static
=yes
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12329 $as_echo "$enable_static" >&6; }
12336 ac_cpp
='$CPP $CPPFLAGS'
12337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12343 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12344 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12345 (test "X$CXX" != "Xg++"))) ; then
12347 ac_cpp
='$CXXCPP $CPPFLAGS'
12348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12352 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12353 if test -z "$CXXCPP"; then
12354 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12355 $as_echo_n "(cached) " >&6
12357 # Double quotes because CXXCPP needs to be expanded
12358 for CXXCPP
in "$CXX -E" "/lib/cpp"
12360 ac_preproc_ok
=false
12361 for ac_cxx_preproc_warn_flag
in '' yes
12363 # Use a header file that comes with gcc, so configuring glibc
12364 # with a fresh cross-compiler works.
12365 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12366 # <limits.h> exists even on freestanding compilers.
12367 # On the NeXT, cc -E runs the code through the compiler's parser,
12368 # not just through cpp. "Syntax error" is here to catch this case.
12369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12372 # include <limits.h>
12374 # include <assert.h>
12378 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12381 # Broken: fails on valid input.
12384 rm -f conftest.err conftest.
$ac_ext
12386 # OK, works on sane cases. Now check whether nonexistent headers
12387 # can be detected and how.
12388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12390 #include <ac_nonexistent.h>
12392 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12393 # Broken: success on invalid input.
12396 # Passes both tests.
12400 rm -f conftest.err conftest.
$ac_ext
12403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12404 rm -f conftest.err conftest.
$ac_ext
12405 if $ac_preproc_ok; then :
12410 ac_cv_prog_CXXCPP
=$CXXCPP
12413 CXXCPP
=$ac_cv_prog_CXXCPP
12415 ac_cv_prog_CXXCPP
=$CXXCPP
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12418 $as_echo "$CXXCPP" >&6; }
12419 ac_preproc_ok
=false
12420 for ac_cxx_preproc_warn_flag
in '' yes
12422 # Use a header file that comes with gcc, so configuring glibc
12423 # with a fresh cross-compiler works.
12424 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12425 # <limits.h> exists even on freestanding compilers.
12426 # On the NeXT, cc -E runs the code through the compiler's parser,
12427 # not just through cpp. "Syntax error" is here to catch this case.
12428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h. */
12431 # include <limits.h>
12433 # include <assert.h>
12437 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12440 # Broken: fails on valid input.
12443 rm -f conftest.err conftest.
$ac_ext
12445 # OK, works on sane cases. Now check whether nonexistent headers
12446 # can be detected and how.
12447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12449 #include <ac_nonexistent.h>
12451 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12452 # Broken: success on invalid input.
12455 # Passes both tests.
12459 rm -f conftest.err conftest.
$ac_ext
12462 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12463 rm -f conftest.err conftest.
$ac_ext
12464 if $ac_preproc_ok; then :
12467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12469 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12470 See \`config.log' for more details." "$LINENO" 5; }
12474 ac_cpp
='$CPP $CPPFLAGS'
12475 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12476 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12477 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12480 _lt_caught_CXX_error
=yes
12484 ac_cpp
='$CXXCPP $CPPFLAGS'
12485 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12486 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12487 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12489 archive_cmds_need_lc_CXX
=no
12490 allow_undefined_flag_CXX
=
12491 always_export_symbols_CXX
=no
12492 archive_expsym_cmds_CXX
=
12493 compiler_needs_object_CXX
=no
12494 export_dynamic_flag_spec_CXX
=
12495 hardcode_direct_CXX
=no
12496 hardcode_direct_absolute_CXX
=no
12497 hardcode_libdir_flag_spec_CXX
=
12498 hardcode_libdir_flag_spec_ld_CXX
=
12499 hardcode_libdir_separator_CXX
=
12500 hardcode_minus_L_CXX
=no
12501 hardcode_shlibpath_var_CXX
=unsupported
12502 hardcode_automatic_CXX
=no
12503 inherit_rpath_CXX
=no
12505 module_expsym_cmds_CXX
=
12506 link_all_deplibs_CXX
=unknown
12507 old_archive_cmds_CXX
=$old_archive_cmds
12508 reload_flag_CXX
=$reload_flag
12509 reload_cmds_CXX
=$reload_cmds
12510 no_undefined_flag_CXX
=
12511 whole_archive_flag_spec_CXX
=
12512 enable_shared_with_static_runtimes_CXX
=no
12514 # Source file extension for C++ test sources.
12517 # Object file extension for compiled C++ test sources.
12521 # No sense in running all these tests if we already determined that
12522 # the CXX compiler isn't working. Some variables (like enable_shared)
12523 # are currently assumed to apply to all compilers on this platform,
12524 # and will be corrupted by setting them based on a non-working compiler.
12525 if test "$_lt_caught_CXX_error" != yes; then
12526 # Code to be used in simple compile tests
12527 lt_simple_compile_test_code
="int some_variable = 0;"
12529 # Code to be used in simple link tests
12530 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12532 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12539 # If no C compiler was specified, use CC.
12542 # If no C compiler flags were specified, use CFLAGS.
12543 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12545 # Allow CC to be a program name with arguments.
12549 # save warnings/boilerplate of simple test code
12550 ac_outfile
=conftest.
$ac_objext
12551 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12552 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12553 _lt_compiler_boilerplate
=`cat conftest.err`
12556 ac_outfile
=conftest.
$ac_objext
12557 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12558 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12559 _lt_linker_boilerplate
=`cat conftest.err`
12563 # Allow CC to be a program name with arguments.
12568 lt_save_with_gnu_ld
=$with_gnu_ld
12569 lt_save_path_LD
=$lt_cv_path_LD
12570 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12571 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12573 $as_unset lt_cv_prog_gnu_ld
12575 if test -n "${lt_cv_path_LDCXX+set}"; then
12576 lt_cv_path_LD
=$lt_cv_path_LDCXX
12578 $as_unset lt_cv_path_LD
12580 test -z "${LDCXX+set}" || LD
=$LDCXX
12584 for cc_temp
in $compiler""; do
12586 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12587 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12592 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12595 if test -n "$compiler"; then
12596 # We don't want -fno-exception when compiling C++ code, so set the
12597 # no_builtin_flag separately
12598 if test "$GXX" = yes; then
12599 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12601 lt_prog_compiler_no_builtin_flag_CXX
=
12604 if test "$GXX" = yes; then
12605 # Set up default GNU C++ configuration
12609 # Check whether --with-gnu-ld was given.
12610 if test "${with_gnu_ld+set}" = set; then :
12611 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12617 if test "$GCC" = yes; then
12618 # Check if gcc -print-prog-name=ld gives a path.
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12620 $as_echo_n "checking for ld used by $CC... " >&6; }
12623 # gcc leaves a trailing carriage return which upsets mingw
12624 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12626 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12629 # Accept absolute paths.
12631 re_direlt
='/[^/][^/]*/\.\./'
12632 # Canonicalize the pathname of ld
12633 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12634 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12635 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12637 test -z "$LD" && LD
="$ac_prog"
12640 # If it fails, then pretend we aren't using GCC.
12644 # If it is relative, then search for the first ld in PATH.
12645 with_gnu_ld
=unknown
12648 elif test "$with_gnu_ld" = yes; then
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12650 $as_echo_n "checking for GNU ld... " >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12653 $as_echo_n "checking for non-GNU ld... " >&6; }
12655 if test "${lt_cv_path_LD+set}" = set; then :
12656 $as_echo_n "(cached) " >&6
12658 if test -z "$LD"; then
12659 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12660 for ac_dir
in $PATH; do
12662 test -z "$ac_dir" && ac_dir
=.
12663 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12664 lt_cv_path_LD
="$ac_dir/$ac_prog"
12665 # Check to see if the program is GNU ld. I'd rather use --version,
12666 # but apparently some variants of GNU ld only accept -v.
12667 # Break only if it was the GNU/non-GNU ld that we prefer.
12668 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12669 *GNU
* |
*'with BFD'*)
12670 test "$with_gnu_ld" != no
&& break
12673 test "$with_gnu_ld" != yes && break
12680 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12684 LD
="$lt_cv_path_LD"
12685 if test -n "$LD"; then
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12687 $as_echo "$LD" >&6; }
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12690 $as_echo "no" >&6; }
12692 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12694 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12695 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12696 $as_echo_n "(cached) " >&6
12698 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12699 case `$LD -v 2>&1 </dev/null` in
12700 *GNU
* |
*'with BFD'*)
12701 lt_cv_prog_gnu_ld
=yes
12704 lt_cv_prog_gnu_ld
=no
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12709 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12710 with_gnu_ld
=$lt_cv_prog_gnu_ld
12718 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12719 # archiving commands below assume that GNU ld is being used.
12720 if test "$with_gnu_ld" = yes; then
12721 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12722 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'
12724 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12725 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12727 # If archive_cmds runs LD, not CC, wlarc should be empty
12728 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12729 # investigate it a little bit more. (MM)
12732 # ancient GNU ld didn't support --whole-archive et. al.
12733 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12734 $GREP 'no-whole-archive' > /dev
/null
; then
12735 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12737 whole_archive_flag_spec_CXX
=
12743 # A generic and very simple default shared library creation
12744 # command for GNU C++ for the case where it uses the native
12745 # linker, instead of GNU ld. If possible, this setting should
12746 # overridden to take advantage of the native linker features on
12747 # the platform it is being used on.
12748 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12751 # Commands to make compiler produce verbose output that lists
12752 # what "hidden" libraries, object files and flags are used when
12753 # linking a shared library.
12754 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12762 # PORTME: fill in a description of your system's C++ link characteristics
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12764 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12768 # FIXME: insert proper C++ library support
12772 if test "$host_cpu" = ia64
; then
12773 # On IA64, the linker does run time linking by default, so we don't
12774 # have to do anything special.
12775 aix_use_runtimelinking
=no
12776 exp_sym_flag
='-Bexport'
12779 aix_use_runtimelinking
=no
12781 # Test if we are trying to use run time linking or normal
12782 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12783 # need to do runtime linking.
12784 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12785 for ld_flag
in $LDFLAGS; do
12788 aix_use_runtimelinking
=yes
12796 exp_sym_flag
='-bexport'
12797 no_entry_flag
='-bnoentry'
12800 # When large executables or shared objects are built, AIX ld can
12801 # have problems creating the table of contents. If linking a library
12802 # or program results in "error TOC overflow" add -mminimal-toc to
12803 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12804 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12806 archive_cmds_CXX
=''
12807 hardcode_direct_CXX
=yes
12808 hardcode_direct_absolute_CXX
=yes
12809 hardcode_libdir_separator_CXX
=':'
12810 link_all_deplibs_CXX
=yes
12811 file_list_spec_CXX
='${wl}-f,'
12813 if test "$GXX" = yes; then
12814 case $host_os in aix4.
[012]|aix4.
[012].
*)
12815 # We only want to do this on AIX 4.2 and lower, the check
12816 # below for broken collect2 doesn't work under 4.3+
12817 collect2name
=`${CC} -print-prog-name=collect2`
12818 if test -f "$collect2name" &&
12819 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12821 # We have reworked collect2
12824 # We have old collect2
12825 hardcode_direct_CXX
=unsupported
12826 # It fails to find uninstalled libraries when the uninstalled
12827 # path is not listed in the libpath. Setting hardcode_minus_L
12828 # to unsupported forces relinking
12829 hardcode_minus_L_CXX
=yes
12830 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12831 hardcode_libdir_separator_CXX
=
12834 shared_flag
='-shared'
12835 if test "$aix_use_runtimelinking" = yes; then
12836 shared_flag
="$shared_flag "'${wl}-G'
12840 if test "$host_cpu" = ia64
; then
12841 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12842 # chokes on -Wl,-G. The following line is correct:
12845 if test "$aix_use_runtimelinking" = yes; then
12846 shared_flag
='${wl}-G'
12848 shared_flag
='${wl}-bM:SRE'
12853 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12854 # It seems that -bexpall does not export symbols beginning with
12855 # underscore (_), so it is better to generate a list of symbols to
12857 always_export_symbols_CXX
=yes
12858 if test "$aix_use_runtimelinking" = yes; then
12859 # Warning - without using the other runtime loading flags (-brtl),
12860 # -berok will link without error, but may produce a broken library.
12861 allow_undefined_flag_CXX
='-berok'
12862 # Determine the default libpath from the value encoded in an empty
12864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12875 if ac_fn_cxx_try_link
"$LINENO"; then :
12877 lt_aix_libpath_sed
='
12878 /Import File Strings/,/^$/ {
12884 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12885 # Check for a 64-bit object if we didn't find anything.
12886 if test -z "$aix_libpath"; then
12887 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12890 rm -f core conftest.err conftest.
$ac_objext \
12891 conftest
$ac_exeext conftest.
$ac_ext
12892 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12894 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12896 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"
12898 if test "$host_cpu" = ia64
; then
12899 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12900 allow_undefined_flag_CXX
="-z nodefs"
12901 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"
12903 # Determine the default libpath from the value encoded in an
12904 # empty executable.
12905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12906 /* end confdefs.h. */
12916 if ac_fn_cxx_try_link
"$LINENO"; then :
12918 lt_aix_libpath_sed
='
12919 /Import File Strings/,/^$/ {
12925 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12926 # Check for a 64-bit object if we didn't find anything.
12927 if test -z "$aix_libpath"; then
12928 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12931 rm -f core conftest.err conftest.
$ac_objext \
12932 conftest
$ac_exeext conftest.
$ac_ext
12933 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12935 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12936 # Warning - without using the other run time loading flags,
12937 # -berok will link without error, but may produce a broken library.
12938 no_undefined_flag_CXX
=' ${wl}-bernotok'
12939 allow_undefined_flag_CXX
=' ${wl}-berok'
12940 if test "$with_gnu_ld" = yes; then
12941 # We only use this code for GNU lds that support --whole-archive.
12942 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12944 # Exported symbols can be pulled into shared objects from archives
12945 whole_archive_flag_spec_CXX
='$convenience'
12947 archive_cmds_need_lc_CXX
=yes
12948 # This is similar to how AIX traditionally builds its shared
12950 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'
12956 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12957 allow_undefined_flag_CXX
=unsupported
12958 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12959 # support --undefined. This deserves some investigation. FIXME
12960 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12967 case $cc_basename in
12969 # FIXME: insert proper C++ library support
12975 cygwin
* | mingw
* | pw32
* | cegcc
*)
12976 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12977 # as there is no search path for DLLs.
12978 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12979 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12980 allow_undefined_flag_CXX
=unsupported
12981 always_export_symbols_CXX
=no
12982 enable_shared_with_static_runtimes_CXX
=yes
12984 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12985 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'
12986 # If the export-symbols file already is a .def file (1st line
12987 # is EXPORTS), use it as is; otherwise, prepend...
12988 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12989 cp $export_symbols $output_objdir/$soname.def;
12991 echo EXPORTS > $output_objdir/$soname.def;
12992 cat $export_symbols >> $output_objdir/$soname.def;
12994 $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'
12999 darwin
* | rhapsody
*)
13002 archive_cmds_need_lc_CXX
=no
13003 hardcode_direct_CXX
=no
13004 hardcode_automatic_CXX
=yes
13005 hardcode_shlibpath_var_CXX
=unsupported
13006 if test "$lt_cv_ld_force_load" = "yes"; then
13007 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\"`'
13009 whole_archive_flag_spec_CXX
=''
13011 link_all_deplibs_CXX
=yes
13012 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13013 case $cc_basename in
13014 ifort
*) _lt_dar_can_shared
=yes ;;
13015 *) _lt_dar_can_shared
=$GCC ;;
13017 if test "$_lt_dar_can_shared" = "yes"; then
13018 output_verbose_link_cmd
=func_echo_all
13019 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}"
13020 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13021 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}"
13022 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}"
13023 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13024 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}"
13025 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}"
13035 case $cc_basename in
13037 # FIXME: insert proper C++ library support
13041 # Green Hills C++ Compiler
13042 # FIXME: insert proper C++ library support
13046 # FIXME: insert proper C++ library support
13053 # C++ shared libraries reported to be fairly broken before
13059 archive_cmds_need_lc_CXX
=no
13062 freebsd
* | dragonfly
*)
13063 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13072 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13073 link_all_deplibs_CXX
=yes
13077 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13078 hardcode_libdir_separator_CXX
=:
13079 export_dynamic_flag_spec_CXX
='${wl}-E'
13080 hardcode_direct_CXX
=yes
13081 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13082 # but as the default
13083 # location of the library.
13085 case $cc_basename in
13087 # FIXME: insert proper C++ library support
13091 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'
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13096 # There doesn't appear to be a way to prevent this compiler from
13097 # explicitly linking system object files so we need to strip them
13098 # from the output so that they don't get included in the library
13100 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"'
13103 if test "$GXX" = yes; then
13104 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'
13106 # FIXME: insert proper C++ library support
13114 if test $with_gnu_ld = no
; then
13115 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13116 hardcode_libdir_separator_CXX
=:
13122 export_dynamic_flag_spec_CXX
='${wl}-E'
13128 hardcode_direct_CXX
=no
13129 hardcode_shlibpath_var_CXX
=no
13132 hardcode_direct_CXX
=yes
13133 hardcode_direct_absolute_CXX
=yes
13134 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13135 # but as the default
13136 # location of the library.
13140 case $cc_basename in
13142 # FIXME: insert proper C++ library support
13148 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13151 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13154 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13157 # Commands to make compiler produce verbose output that lists
13158 # what "hidden" libraries, object files and flags are used when
13159 # linking a shared library.
13161 # There doesn't appear to be a way to prevent this compiler from
13162 # explicitly linking system object files so we need to strip them
13163 # from the output so that they don't get included in the library
13165 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"'
13168 if test "$GXX" = yes; then
13169 if test $with_gnu_ld = no
; then
13172 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13175 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13178 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'
13183 # FIXME: insert proper C++ library support
13191 hardcode_direct_CXX
=no
13192 hardcode_shlibpath_var_CXX
=no
13193 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13194 export_dynamic_flag_spec_CXX
='${wl}-E'
13195 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13196 # Instead, shared libraries are loaded at an image base (0x10000000 by
13197 # default) and relocated if they conflict, which is a slow very memory
13198 # consuming and fragmenting process. To avoid this, we pick a random,
13199 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13200 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13201 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'
13202 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'
13205 case $cc_basename in
13208 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'
13210 # Archives containing C++ object files must be created using
13211 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13212 # necessary to make sure instantiated templates are included
13214 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13217 if test "$GXX" = yes; then
13218 if test "$with_gnu_ld" = no
; then
13219 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'
13221 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'
13224 link_all_deplibs_CXX
=yes
13227 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13228 hardcode_libdir_separator_CXX
=:
13229 inherit_rpath_CXX
=yes
13232 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13233 case $cc_basename in
13235 # Kuck and Associates, Inc. (KAI) C++ Compiler
13237 # KCC will only create a shared library if the output file
13238 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13239 # to its proper name (with version) after linking.
13240 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'
13241 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'
13242 # Commands to make compiler produce verbose output that lists
13243 # what "hidden" libraries, object files and flags are used when
13244 # linking a shared library.
13246 # There doesn't appear to be a way to prevent this compiler from
13247 # explicitly linking system object files so we need to strip them
13248 # from the output so that they don't get included in the library
13250 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"'
13252 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13253 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13255 # Archives containing C++ object files must be created using
13256 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13257 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13262 # version 8.0 and above of icpc choke on multiply defined symbols
13263 # if we add $predep_objects and $postdep_objects, however 7.1 and
13264 # earlier do not add the objects themselves.
13265 case `$CC -V 2>&1` in
13267 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13268 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'
13270 *) # Version 8.0 or newer
13273 ia64
*) tmp_idyn
=' -i_dynamic';;
13275 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13276 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'
13279 archive_cmds_need_lc_CXX
=no
13280 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13281 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13282 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13285 # Portland Group C++ compiler
13287 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13288 prelink_cmds_CXX
='tpldir=Template.dir~
13290 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13291 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13292 old_archive_cmds_CXX
='tpldir=Template.dir~
13294 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13295 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13297 archive_cmds_CXX
='tpldir=Template.dir~
13299 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13300 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13301 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13303 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13304 $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'
13306 *) # Version 6 and above use weak symbols
13307 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13308 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'
13312 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13313 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13314 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'
13318 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13319 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'
13321 runpath_var
=LD_RUN_PATH
13322 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13323 hardcode_libdir_separator_CXX
=:
13325 # Commands to make compiler produce verbose output that lists
13326 # what "hidden" libraries, object files and flags are used when
13327 # linking a shared library.
13329 # There doesn't appear to be a way to prevent this compiler from
13330 # explicitly linking system object files so we need to strip them
13331 # from the output so that they don't get included in the library
13333 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'
13335 xl
* | mpixl
* | bgxl
*)
13336 # IBM XL 8.0 on PPC, with GNU ld
13337 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13338 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13339 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13340 if test "x$supports_anon_versioning" = xyes
; then
13341 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13342 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13343 echo "local: *; };" >> $output_objdir/$libname.ver~
13344 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13348 case `$CC -V 2>&1 | sed 5q` in
13351 no_undefined_flag_CXX
=' -zdefs'
13352 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13353 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'
13354 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13355 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'
13356 compiler_needs_object_CXX
=yes
13358 # Not sure whether something based on
13359 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13361 output_verbose_link_cmd
='func_echo_all'
13363 # Archives containing C++ object files must be created using
13364 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13365 # necessary to make sure instantiated templates are included
13367 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13375 # FIXME: insert proper C++ library support
13380 # FIXME: insert proper C++ library support
13385 case $cc_basename in
13387 # FIXME: insert proper C++ library support
13391 # FIXME: insert proper C++ library support
13398 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13399 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13401 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13402 hardcode_direct_CXX
=yes
13403 hardcode_shlibpath_var_CXX
=no
13405 # Workaround some broken pre-1.5 toolchains
13406 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13414 # C++ shared libraries are fairly broken
13419 if test -f /usr
/libexec
/ld.so
; then
13420 hardcode_direct_CXX
=yes
13421 hardcode_shlibpath_var_CXX
=no
13422 hardcode_direct_absolute_CXX
=yes
13423 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13424 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13425 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13426 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13427 export_dynamic_flag_spec_CXX
='${wl}-E'
13428 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13430 output_verbose_link_cmd
=func_echo_all
13436 osf3
* | osf4
* | osf5
*)
13437 case $cc_basename in
13439 # Kuck and Associates, Inc. (KAI) C++ Compiler
13441 # KCC will only create a shared library if the output file
13442 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13443 # to its proper name (with version) after linking.
13444 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'
13446 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13447 hardcode_libdir_separator_CXX
=:
13449 # Archives containing C++ object files must be created using
13450 # the KAI C++ compiler.
13452 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13453 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13457 # Rational C++ 2.4.1
13458 # FIXME: insert proper C++ library support
13464 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13465 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'
13466 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13469 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13470 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'
13471 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13472 echo "-hidden">> $lib.exp~
13473 $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~
13475 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13479 hardcode_libdir_separator_CXX
=:
13481 # Commands to make compiler produce verbose output that lists
13482 # what "hidden" libraries, object files and flags are used when
13483 # linking a shared library.
13485 # There doesn't appear to be a way to prevent this compiler from
13486 # explicitly linking system object files so we need to strip them
13487 # from the output so that they don't get included in the library
13489 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"'
13492 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13493 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13496 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'
13499 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'
13503 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13504 hardcode_libdir_separator_CXX
=:
13506 # Commands to make compiler produce verbose output that lists
13507 # what "hidden" libraries, object files and flags are used when
13508 # linking a shared library.
13509 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13512 # FIXME: insert proper C++ library support
13520 # FIXME: insert proper C++ library support
13525 case $cc_basename in
13528 # FIXME: insert proper C++ library support
13533 # FIXME: insert proper C++ library support
13537 # FIXME: insert proper C++ library support
13544 case $cc_basename in
13546 # Sun C++ 4.2, 5.x and Centerline C++
13547 archive_cmds_need_lc_CXX
=yes
13548 no_undefined_flag_CXX
=' -zdefs'
13549 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13550 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13551 $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'
13553 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13554 hardcode_shlibpath_var_CXX
=no
13556 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13558 # The compiler driver will combine and reorder linker options,
13559 # but understands `-z linker_flag'.
13560 # Supported since Solaris 2.6 (maybe 2.5.1?)
13561 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13564 link_all_deplibs_CXX
=yes
13566 output_verbose_link_cmd
='func_echo_all'
13568 # Archives containing C++ object files must be created using
13569 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13570 # necessary to make sure instantiated templates are included
13572 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13575 # Green Hills C++ Compiler
13576 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13578 # The C++ compiler must be used to create the archive.
13579 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13582 # GNU C++ compiler with Solaris linker
13583 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13584 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13585 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13586 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13587 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13588 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13590 # Commands to make compiler produce verbose output that lists
13591 # what "hidden" libraries, object files and flags are used when
13592 # linking a shared library.
13593 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13595 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13597 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13598 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13599 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13601 # Commands to make compiler produce verbose output that lists
13602 # what "hidden" libraries, object files and flags are used when
13603 # linking a shared library.
13604 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13607 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13609 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13611 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13619 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13620 no_undefined_flag_CXX
='${wl}-z,text'
13621 archive_cmds_need_lc_CXX
=no
13622 hardcode_shlibpath_var_CXX
=no
13623 runpath_var
='LD_RUN_PATH'
13625 case $cc_basename in
13627 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13628 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13631 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13632 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13637 sysv5
* | sco3.2v5
* | sco5v6
*)
13638 # Note: We can NOT use -z defs as we might desire, because we do not
13639 # link with -lc, and that would cause any symbols used from libc to
13640 # always be unresolved, which means just about no library would
13641 # ever link correctly. If we're not using GNU ld we use -z text
13642 # though, which does catch some bad symbols but isn't as heavy-handed
13644 no_undefined_flag_CXX
='${wl}-z,text'
13645 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13646 archive_cmds_need_lc_CXX
=no
13647 hardcode_shlibpath_var_CXX
=no
13648 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13649 hardcode_libdir_separator_CXX
=':'
13650 link_all_deplibs_CXX
=yes
13651 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13652 runpath_var
='LD_RUN_PATH'
13654 case $cc_basename in
13656 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13657 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13658 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13659 '"$old_archive_cmds_CXX"
13660 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13661 '"$reload_cmds_CXX"
13664 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13665 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13671 case $cc_basename in
13673 # NonStop-UX NCC 3.20
13674 # FIXME: insert proper C++ library support
13678 # FIXME: insert proper C++ library support
13685 # FIXME: insert proper C++ library support
13690 # FIXME: insert proper C++ library support
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13696 $as_echo "$ld_shlibs_CXX" >&6; }
13697 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13703 ## There is no encapsulation within the following macros, do not change
13704 ## the running order or otherwise move them around unless you know exactly
13705 ## what you are doing...
13706 # Dependencies to place before and after the object being linked:
13707 predep_objects_CXX
=
13708 postdep_objects_CXX
=
13711 compiler_lib_search_path_CXX
=
13713 cat > conftest.
$ac_ext <<_LT_EOF
13717 Foo (void) { a = 0; }
13723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13724 (eval $ac_compile) 2>&5
13726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13727 test $ac_status = 0; }; then
13728 # Parse the compiler output and extract the necessary
13729 # objects, libraries and library flags.
13731 # Sentinel used to keep track of whether or not we are before
13732 # the conftest object file.
13733 pre_test_object_deps_done
=no
13735 for p
in `eval "$output_verbose_link_cmd"`; do
13739 # Some compilers place space between "-{L,R}" and the path.
13740 # Remove the space.
13741 if test $p = "-L" ||
13742 test $p = "-R"; then
13749 if test "$pre_test_object_deps_done" = no
; then
13752 # Internal compiler library paths should come after those
13753 # provided the user. The postdeps already come after the
13754 # user supplied libs so there is no need to process them.
13755 if test -z "$compiler_lib_search_path_CXX"; then
13756 compiler_lib_search_path_CXX
="${prev}${p}"
13758 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13761 # The "-l" case would never come before the object being
13762 # linked, so don't bother handling this case.
13765 if test -z "$postdeps_CXX"; then
13766 postdeps_CXX
="${prev}${p}"
13768 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13774 # This assumes that the test object file only shows up
13775 # once in the compiler output.
13776 if test "$p" = "conftest.$objext"; then
13777 pre_test_object_deps_done
=yes
13781 if test "$pre_test_object_deps_done" = no
; then
13782 if test -z "$predep_objects_CXX"; then
13783 predep_objects_CXX
="$p"
13785 predep_objects_CXX
="$predep_objects_CXX $p"
13788 if test -z "$postdep_objects_CXX"; then
13789 postdep_objects_CXX
="$p"
13791 postdep_objects_CXX
="$postdep_objects_CXX $p"
13796 *) ;; # Ignore the rest.
13804 echo "libtool.m4: error: problem compiling CXX test program"
13807 $RM -f confest.
$objext
13809 # PORTME: override above test on systems where it is broken
13812 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13813 # hack all around it, let's just trust "g++" to DTRT.
13814 predep_objects_CXX
=
13815 postdep_objects_CXX
=
13820 case `$CC -V 2>&1 | sed 5q` in
13824 # The more standards-conforming stlport4 library is
13825 # incompatible with the Cstd library. Avoid specifying
13826 # it if it's in CXXFLAGS. Ignore libCrun as
13827 # -library=stlport4 depends on it.
13828 case " $CXX $CXXFLAGS " in
13829 *" -library=stlport4 "*)
13830 solaris_use_stlport4
=yes
13834 if test "$solaris_use_stlport4" != yes; then
13835 postdeps_CXX
='-library=Cstd -library=Crun'
13842 case $cc_basename in
13844 # The more standards-conforming stlport4 library is
13845 # incompatible with the Cstd library. Avoid specifying
13846 # it if it's in CXXFLAGS. Ignore libCrun as
13847 # -library=stlport4 depends on it.
13848 case " $CXX $CXXFLAGS " in
13849 *" -library=stlport4 "*)
13850 solaris_use_stlport4
=yes
13854 # Adding this requires a known-good setup of shared libraries for
13855 # Sun compiler versions before 5.6, else PIC objects from an old
13856 # archive will be linked into the output, leading to subtle bugs.
13857 if test "$solaris_use_stlport4" != yes; then
13858 postdeps_CXX
='-library=Cstd -library=Crun'
13866 case " $postdeps_CXX " in
13867 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13869 compiler_lib_search_dirs_CXX
=
13870 if test -n "${compiler_lib_search_path_CXX}"; then
13871 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13904 lt_prog_compiler_wl_CXX
=
13905 lt_prog_compiler_pic_CXX
=
13906 lt_prog_compiler_static_CXX
=
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13909 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13911 # C++ specific cases for pic, static, wl, etc.
13912 if test "$GXX" = yes; then
13913 lt_prog_compiler_wl_CXX
='-Wl,'
13914 lt_prog_compiler_static_CXX
='-static'
13918 # All AIX code is PIC.
13919 if test "$host_cpu" = ia64
; then
13920 # AIX 5 now supports IA64 processor
13921 lt_prog_compiler_static_CXX
='-Bstatic'
13923 lt_prog_compiler_pic_CXX
='-fPIC'
13929 # see comment about AmigaOS4 .so support
13930 lt_prog_compiler_pic_CXX
='-fPIC'
13933 # FIXME: we need at least 68020 code to build shared libraries, but
13934 # adding the `-m68020' flag to GCC prevents building anything better,
13936 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13941 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13942 # PIC is the default for these OSes.
13944 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13945 # This hack is so that the source file can tell whether it is being
13946 # built for inclusion in a dll (and should export symbols for example).
13947 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13948 # (--disable-auto-import) libraries
13949 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13951 darwin
* | rhapsody
*)
13952 # PIC is the default on this platform
13953 # Common symbols not allowed in MH_DYLIB files
13954 lt_prog_compiler_pic_CXX
='-fno-common'
13957 # DJGPP does not support shared libraries at all
13958 lt_prog_compiler_pic_CXX
=
13961 # PIC is the default for Haiku.
13962 # The "-static" flag exists, but is broken.
13963 lt_prog_compiler_static_CXX
=
13966 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13967 # Instead, we relocate shared libraries at runtime.
13970 if test -d /usr
/nec
; then
13971 lt_prog_compiler_pic_CXX
=-Kconform_pic
13975 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13976 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13977 # sets the default TLS model and affects inlining.
13982 lt_prog_compiler_pic_CXX
='-fPIC'
13987 # QNX uses GNU C++, but need to define -shared option too, otherwise
13988 # it will coredump.
13989 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13992 lt_prog_compiler_pic_CXX
='-fPIC'
13998 # All AIX code is PIC.
13999 if test "$host_cpu" = ia64
; then
14000 # AIX 5 now supports IA64 processor
14001 lt_prog_compiler_static_CXX
='-Bstatic'
14003 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14007 case $cc_basename in
14009 # Green Hills C++ Compiler
14010 # _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"
14015 case $cc_basename in
14017 lt_prog_compiler_pic_CXX
='-KPIC'
14020 # Green Hills C++ Compiler
14021 lt_prog_compiler_pic_CXX
='-pic'
14027 freebsd
* | dragonfly
*)
14028 # FreeBSD uses GNU C++
14030 hpux9
* | hpux10
* | hpux11
*)
14031 case $cc_basename in
14033 lt_prog_compiler_wl_CXX
='-Wl,'
14034 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14035 if test "$host_cpu" != ia64
; then
14036 lt_prog_compiler_pic_CXX
='+Z'
14040 lt_prog_compiler_wl_CXX
='-Wl,'
14041 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14047 lt_prog_compiler_pic_CXX
='+Z'
14056 # This is c89, which is MS Visual C++ (no shared libs)
14057 # Anyone wants to do a port?
14059 irix5
* | irix6
* | nonstopux
*)
14060 case $cc_basename in
14062 lt_prog_compiler_wl_CXX
='-Wl,'
14063 lt_prog_compiler_static_CXX
='-non_shared'
14064 # CC pic flag -KPIC is the default.
14070 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14071 case $cc_basename in
14074 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14075 lt_prog_compiler_pic_CXX
='-fPIC'
14078 # old Intel C++ for x86_64 which still supported -KPIC.
14079 lt_prog_compiler_wl_CXX
='-Wl,'
14080 lt_prog_compiler_pic_CXX
='-KPIC'
14081 lt_prog_compiler_static_CXX
='-static'
14084 # Intel C++, used to be incompatible with GCC.
14085 # ICC 10 doesn't accept -KPIC any more.
14086 lt_prog_compiler_wl_CXX
='-Wl,'
14087 lt_prog_compiler_pic_CXX
='-fPIC'
14088 lt_prog_compiler_static_CXX
='-static'
14091 # Portland Group C++ compiler
14092 lt_prog_compiler_wl_CXX
='-Wl,'
14093 lt_prog_compiler_pic_CXX
='-fpic'
14094 lt_prog_compiler_static_CXX
='-Bstatic'
14098 # Make sure the PIC flag is empty. It appears that all Alpha
14099 # Linux and Compaq Tru64 Unix objects are PIC.
14100 lt_prog_compiler_pic_CXX
=
14101 lt_prog_compiler_static_CXX
='-non_shared'
14103 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14104 # IBM XL 8.0, 9.0 on PPC and BlueGene
14105 lt_prog_compiler_wl_CXX
='-Wl,'
14106 lt_prog_compiler_pic_CXX
='-qpic'
14107 lt_prog_compiler_static_CXX
='-qstaticlink'
14110 case `$CC -V 2>&1 | sed 5q` in
14113 lt_prog_compiler_pic_CXX
='-KPIC'
14114 lt_prog_compiler_static_CXX
='-Bstatic'
14115 lt_prog_compiler_wl_CXX
='-Qoption ld '
14126 case $cc_basename in
14128 lt_prog_compiler_pic_CXX
='-W c,exportall'
14137 # QNX uses GNU C++, but need to define -shared option too, otherwise
14138 # it will coredump.
14139 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14141 osf3
* | osf4
* | osf5
*)
14142 case $cc_basename in
14144 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14147 # Rational C++ 2.4.1
14148 lt_prog_compiler_pic_CXX
='-pic'
14151 # Digital/Compaq C++
14152 lt_prog_compiler_wl_CXX
='-Wl,'
14153 # Make sure the PIC flag is empty. It appears that all Alpha
14154 # Linux and Compaq Tru64 Unix objects are PIC.
14155 lt_prog_compiler_pic_CXX
=
14156 lt_prog_compiler_static_CXX
='-non_shared'
14165 case $cc_basename in
14167 # Sun C++ 4.2, 5.x and Centerline C++
14168 lt_prog_compiler_pic_CXX
='-KPIC'
14169 lt_prog_compiler_static_CXX
='-Bstatic'
14170 lt_prog_compiler_wl_CXX
='-Qoption ld '
14173 # Green Hills C++ Compiler
14174 lt_prog_compiler_pic_CXX
='-PIC'
14181 case $cc_basename in
14184 lt_prog_compiler_pic_CXX
='-pic'
14185 lt_prog_compiler_static_CXX
='-Bstatic'
14189 lt_prog_compiler_pic_CXX
='-pic'
14195 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14196 case $cc_basename in
14198 lt_prog_compiler_wl_CXX
='-Wl,'
14199 lt_prog_compiler_pic_CXX
='-KPIC'
14200 lt_prog_compiler_static_CXX
='-Bstatic'
14205 case $cc_basename in
14207 # NonStop-UX NCC 3.20
14208 lt_prog_compiler_pic_CXX
='-KPIC'
14217 lt_prog_compiler_can_build_shared_CXX
=no
14223 # For platforms which do not support PIC, -DPIC is meaningless:
14225 lt_prog_compiler_pic_CXX
=
14228 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14232 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14237 # Check to make sure the PIC flag actually works.
14239 if test -n "$lt_prog_compiler_pic_CXX"; then
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14241 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14242 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14243 $as_echo_n "(cached) " >&6
14245 lt_cv_prog_compiler_pic_works_CXX
=no
14246 ac_outfile
=conftest.
$ac_objext
14247 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14248 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14249 # Insert the option either (1) after the last *FLAGS variable, or
14250 # (2) before a word containing "conftest.", or (3) at the end.
14251 # Note that $ac_compile itself does not contain backslashes and begins
14252 # with a dollar sign (not a hyphen), so the echo should work correctly.
14253 # The option is referenced via a variable to avoid confusing sed.
14254 lt_compile
=`echo "$ac_compile" | $SED \
14255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14257 -e 's:$: $lt_compiler_flag:'`
14258 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14259 (eval "$lt_compile" 2>conftest.err
)
14261 cat conftest.err
>&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 if (exit $ac_status) && test -s "$ac_outfile"; then
14264 # The compiler can only warn and ignore the option if not recognized
14265 # So say no if there are warnings other than the usual output.
14266 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14267 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14268 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14269 lt_cv_prog_compiler_pic_works_CXX
=yes
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14276 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14278 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14279 case $lt_prog_compiler_pic_CXX in
14281 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14284 lt_prog_compiler_pic_CXX
=
14285 lt_prog_compiler_can_build_shared_CXX
=no
14293 # Check to make sure the static flag actually works.
14295 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14297 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14298 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14299 $as_echo_n "(cached) " >&6
14301 lt_cv_prog_compiler_static_works_CXX
=no
14302 save_LDFLAGS
="$LDFLAGS"
14303 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14304 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14305 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14306 # The linker can only warn and ignore the option if not recognized
14307 # So say no if there are warnings
14308 if test -s conftest.err
; then
14309 # Append any errors to the config.log.
14310 cat conftest.err
1>&5
14311 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14312 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14313 if diff conftest.exp conftest.er2
>/dev
/null
; then
14314 lt_cv_prog_compiler_static_works_CXX
=yes
14317 lt_cv_prog_compiler_static_works_CXX
=yes
14321 LDFLAGS
="$save_LDFLAGS"
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14325 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14327 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14330 lt_prog_compiler_static_CXX
=
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14337 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14338 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14339 $as_echo_n "(cached) " >&6
14341 lt_cv_prog_compiler_c_o_CXX
=no
14342 $RM -r conftest
2>/dev
/null
14346 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14348 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14349 # Insert the option either (1) after the last *FLAGS variable, or
14350 # (2) before a word containing "conftest.", or (3) at the end.
14351 # Note that $ac_compile itself does not contain backslashes and begins
14352 # with a dollar sign (not a hyphen), so the echo should work correctly.
14353 lt_compile
=`echo "$ac_compile" | $SED \
14354 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14356 -e 's:$: $lt_compiler_flag:'`
14357 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14358 (eval "$lt_compile" 2>out
/conftest.err
)
14360 cat out
/conftest.err
>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14364 # The compiler can only warn and ignore the option if not recognized
14365 # So say no if there are warnings
14366 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14367 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14368 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14369 lt_cv_prog_compiler_c_o_CXX
=yes
14374 # SGI C++ compiler will create directory out/ii_files/ for
14375 # template instantiation
14376 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14377 $RM out
/* && rmdir out
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14384 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14389 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14390 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14391 $as_echo_n "(cached) " >&6
14393 lt_cv_prog_compiler_c_o_CXX
=no
14394 $RM -r conftest
2>/dev
/null
14398 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14400 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14401 # Insert the option either (1) after the last *FLAGS variable, or
14402 # (2) before a word containing "conftest.", or (3) at the end.
14403 # Note that $ac_compile itself does not contain backslashes and begins
14404 # with a dollar sign (not a hyphen), so the echo should work correctly.
14405 lt_compile
=`echo "$ac_compile" | $SED \
14406 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14408 -e 's:$: $lt_compiler_flag:'`
14409 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14410 (eval "$lt_compile" 2>out
/conftest.err
)
14412 cat out
/conftest.err
>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14416 # The compiler can only warn and ignore the option if not recognized
14417 # So say no if there are warnings
14418 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14419 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14420 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14421 lt_cv_prog_compiler_c_o_CXX
=yes
14426 # SGI C++ compiler will create directory out/ii_files/ for
14427 # template instantiation
14428 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14429 $RM out
/* && rmdir out
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14436 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14441 hard_links
="nottested"
14442 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14443 # do not overwrite the value of need_locks provided by the user
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14445 $as_echo_n "checking if we can lock with hard links... " >&6; }
14448 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14450 ln conftest.a conftest.b
2>&5 || hard_links
=no
14451 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14453 $as_echo "$hard_links" >&6; }
14454 if test "$hard_links" = no
; then
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14456 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14466 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14468 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14471 # If we're using GNU nm, then we don't want the "-C" option.
14472 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14473 # Also, AIX nm treats weak defined symbols like other global defined
14474 # symbols, whereas GNU nm marks them as "W".
14475 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14476 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'
14478 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'
14482 export_symbols_cmds_CXX
="$ltdll_cmds"
14484 cygwin
* | mingw
* | cegcc
*)
14485 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'
14488 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14491 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14494 $as_echo "$ld_shlibs_CXX" >&6; }
14495 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14497 with_gnu_ld_CXX
=$with_gnu_ld
14505 # Do we need to explicitly link libc?
14507 case "x$archive_cmds_need_lc_CXX" in
14509 # Assume -lc should be added
14510 archive_cmds_need_lc_CXX
=yes
14512 if test "$enable_shared" = yes && test "$GCC" = yes; then
14513 case $archive_cmds_CXX in
14515 # FIXME: we may have to deal with multi-command sequences.
14518 # Test whether the compiler implicitly links with -lc since on some
14519 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14520 # to ld, don't add -lc before -lgcc.
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14522 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14523 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14524 $as_echo_n "(cached) " >&6
14527 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14530 (eval $ac_compile) 2>&5
14532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14533 test $ac_status = 0; } 2>conftest.err
; then
14536 libobjs
=conftest.
$ac_objext
14538 wl
=$lt_prog_compiler_wl_CXX
14539 pic_flag
=$lt_prog_compiler_pic_CXX
14545 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14546 allow_undefined_flag_CXX
=
14547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14548 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14551 test $ac_status = 0; }
14553 lt_cv_archive_cmds_need_lc_CXX
=no
14555 lt_cv_archive_cmds_need_lc_CXX
=yes
14557 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14559 cat conftest.err
1>&5
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14565 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14566 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14637 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14639 library_names_spec
=
14640 libname_spec
='lib$name'
14644 postuninstall_cmds
=
14648 shlibpath_overrides_runpath
=unknown
14650 dynamic_linker
="$host_os ld.so"
14651 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14652 need_lib_prefix
=unknown
14653 hardcode_into_libs
=no
14655 # when you set need_version to no, make sure it does not cause -set_version
14656 # flags to be left without arguments
14657 need_version
=unknown
14662 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14663 shlibpath_var
=LIBPATH
14665 # AIX 3 has no versioning support, so we append a major version to the name.
14666 soname_spec
='${libname}${release}${shared_ext}$major'
14673 hardcode_into_libs
=yes
14674 if test "$host_cpu" = ia64
; then
14675 # AIX 5 supports IA64
14676 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14677 shlibpath_var
=LD_LIBRARY_PATH
14679 # With GCC up to 2.95.x, collect2 would create an import file
14680 # for dependence libraries. The import file would start with
14681 # the line `#! .'. This would cause the generated library to
14682 # depend on `.', always an invalid library. This was fixed in
14683 # development snapshots of GCC prior to 3.0.
14685 aix4 | aix4.
[01] | aix4.
[01].
*)
14686 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14688 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14691 can_build_shared
=no
14695 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14696 # soname into executable. Probably we can add versioning support to
14697 # collect2, so additional links can be useful in future.
14698 if test "$aix_use_runtimelinking" = yes; then
14699 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14700 # instead of lib<name>.a to let people know that these are not
14701 # typical AIX shared libraries.
14702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14704 # We preserve .a as extension for shared libraries through AIX4.2
14705 # and later when we are not doing run time linking.
14706 library_names_spec
='${libname}${release}.a $libname.a'
14707 soname_spec
='${libname}${release}${shared_ext}$major'
14709 shlibpath_var
=LIBPATH
14716 # Since July 2007 AmigaOS4 officially supports .so libraries.
14717 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721 library_names_spec
='$libname.ixlibrary $libname.a'
14722 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14723 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'
14729 library_names_spec
='${libname}${shared_ext}'
14730 dynamic_linker
="$host_os ld.so"
14731 shlibpath_var
=LIBRARY_PATH
14737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738 soname_spec
='${libname}${release}${shared_ext}$major'
14739 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14740 shlibpath_var
=LD_LIBRARY_PATH
14741 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14742 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14743 # the default ld.so.conf also contains /usr/contrib/lib and
14744 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14745 # libtool to hard-code these into programs
14748 cygwin
* | mingw
* | pw32
* | cegcc
*)
14749 version_type
=windows
14754 case $GCC,$host_os in
14755 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14756 library_names_spec
='$libname.dll.a'
14757 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14758 postinstall_cmds
='base_file=`basename \${file}`~
14759 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14760 dldir=$destdir/`dirname \$dlpath`~
14761 test -d \$dldir || mkdir -p \$dldir~
14762 $install_prog $dir/$dlname \$dldir/$dlname~
14763 chmod a+x \$dldir/$dlname~
14764 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14765 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14767 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14768 dlpath=$dir/\$dldll~
14770 shlibpath_overrides_runpath
=yes
14774 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14775 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14779 # MinGW DLLs use traditional 'lib' prefix
14780 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14783 # pw32 DLLs use 'pw' prefix rather than 'lib'
14784 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14790 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14793 dynamic_linker
='Win32 ld.exe'
14794 # FIXME: first we should search . and the directory the executable is in
14798 darwin
* | rhapsody
*)
14799 dynamic_linker
="$host_os dyld"
14800 version_type
=darwin
14803 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14804 soname_spec
='${libname}${release}${major}$shared_ext'
14805 shlibpath_overrides_runpath
=yes
14806 shlibpath_var
=DYLD_LIBRARY_PATH
14807 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14809 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14817 soname_spec
='${libname}${release}${shared_ext}$major'
14818 shlibpath_var
=LD_LIBRARY_PATH
14821 freebsd
* | dragonfly
*)
14822 # DragonFly does not have aout. When/if they implement a new
14823 # versioning mechanism, adjust this.
14824 if test -x /usr
/bin
/objformat
; then
14825 objformat
=`/usr/bin/objformat`
14828 freebsd
[23].
*) objformat
=aout
;;
14829 *) objformat
=elf
;;
14832 version_type
=freebsd-
$objformat
14833 case $version_type in
14835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14840 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14844 shlibpath_var
=LD_LIBRARY_PATH
14847 shlibpath_overrides_runpath
=yes
14849 freebsd3.
[01]* | freebsdelf3.
[01]*)
14850 shlibpath_overrides_runpath
=yes
14851 hardcode_into_libs
=yes
14853 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14854 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14855 shlibpath_overrides_runpath
=no
14856 hardcode_into_libs
=yes
14858 *) # from 4.6 on, and DragonFly
14859 shlibpath_overrides_runpath
=yes
14860 hardcode_into_libs
=yes
14869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14870 soname_spec
='${libname}${release}${shared_ext}$major'
14871 shlibpath_var
=LD_LIBRARY_PATH
14872 hardcode_into_libs
=yes
14879 dynamic_linker
="$host_os runtime_loader"
14880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14881 soname_spec
='${libname}${release}${shared_ext}$major'
14882 shlibpath_var
=LIBRARY_PATH
14883 shlibpath_overrides_runpath
=yes
14884 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14885 hardcode_into_libs
=yes
14888 hpux9
* | hpux10
* | hpux11
*)
14889 # Give a soname corresponding to the major version so that dld.sl refuses to
14890 # link against other versions.
14897 hardcode_into_libs
=yes
14898 dynamic_linker
="$host_os dld.so"
14899 shlibpath_var
=LD_LIBRARY_PATH
14900 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14902 soname_spec
='${libname}${release}${shared_ext}$major'
14903 if test "X$HPUX_IA64_MODE" = X32
; then
14904 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14906 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14908 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14912 hardcode_into_libs
=yes
14913 dynamic_linker
="$host_os dld.sl"
14914 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14915 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14917 soname_spec
='${libname}${release}${shared_ext}$major'
14918 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14919 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14923 dynamic_linker
="$host_os dld.sl"
14924 shlibpath_var
=SHLIB_PATH
14925 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14927 soname_spec
='${libname}${release}${shared_ext}$major'
14930 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14931 postinstall_cmds
='chmod 555 $lib'
14932 # or fails outright, so override atomically:
14933 install_override_mode
=555
14940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14941 soname_spec
='${libname}${release}${shared_ext}$major'
14942 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14943 shlibpath_var
=LD_LIBRARY_PATH
14944 shlibpath_overrides_runpath
=no
14945 hardcode_into_libs
=yes
14948 irix5
* | irix6
* | nonstopux
*)
14950 nonstopux
*) version_type
=nonstopux
;;
14952 if test "$lt_cv_prog_gnu_ld" = yes; then
14960 soname_spec
='${libname}${release}${shared_ext}$major'
14961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14963 irix5
* | nonstopux
*)
14964 libsuff
= shlibsuff
=
14967 case $LD in # libtool.m4 will add one of these switches to LD
14968 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14969 libsuff
= shlibsuff
= libmagic
=32-bit;;
14970 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14971 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14972 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14973 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14974 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14978 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14979 shlibpath_overrides_runpath
=no
14980 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14981 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14982 hardcode_into_libs
=yes
14985 # No shared lib support for Linux oldld, aout, or coff.
14986 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14990 # This must be Linux ELF.
14991 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14996 soname_spec
='${libname}${release}${shared_ext}$major'
14997 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14998 shlibpath_var
=LD_LIBRARY_PATH
14999 shlibpath_overrides_runpath
=no
15001 # Some binutils ld are patched to set DT_RUNPATH
15002 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15003 $as_echo_n "(cached) " >&6
15005 lt_cv_shlibpath_overrides_runpath
=no
15006 save_LDFLAGS
=$LDFLAGS
15007 save_libdir
=$libdir
15008 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15009 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15021 if ac_fn_cxx_try_link
"$LINENO"; then :
15022 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15023 lt_cv_shlibpath_overrides_runpath
=yes
15026 rm -f core conftest.err conftest.
$ac_objext \
15027 conftest
$ac_exeext conftest.
$ac_ext
15028 LDFLAGS
=$save_LDFLAGS
15029 libdir
=$save_libdir
15033 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15035 # This implies no fast_install, which is unacceptable.
15036 # Some rework will be needed to allow for fast_install
15037 # before this can be enabled.
15038 hardcode_into_libs
=yes
15040 # Append ld.so.conf contents to the search path
15041 if test -f /etc
/ld.so.conf
; then
15042 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' ' '`
15043 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15046 # We used to test for /lib/ld.so.1 and disable shared libraries on
15047 # powerpc, because MkLinux only supported shared libraries with the
15048 # GNU dynamic linker. Since this was broken with cross compilers,
15049 # most powerpc-linux boxes support dynamic linking these days and
15050 # people can always --disable-shared, the test was removed, and we
15051 # assume the GNU/Linux dynamic linker is in use.
15052 dynamic_linker
='GNU/Linux ld.so'
15059 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15061 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15062 dynamic_linker
='NetBSD (a.out) ld.so'
15064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15065 soname_spec
='${libname}${release}${shared_ext}$major'
15066 dynamic_linker
='NetBSD ld.elf_so'
15068 shlibpath_var
=LD_LIBRARY_PATH
15069 shlibpath_overrides_runpath
=yes
15070 hardcode_into_libs
=yes
15075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15076 shlibpath_var
=LD_LIBRARY_PATH
15077 shlibpath_overrides_runpath
=yes
15084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15085 soname_spec
='${libname}${release}${shared_ext}$major'
15086 shlibpath_var
=LD_LIBRARY_PATH
15087 shlibpath_overrides_runpath
=no
15088 hardcode_into_libs
=yes
15089 dynamic_linker
='ldqnx.so'
15094 sys_lib_dlsearch_path_spec
="/usr/lib"
15096 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15098 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15099 *) need_version
=no
;;
15101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15103 shlibpath_var
=LD_LIBRARY_PATH
15104 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15106 openbsd2.
[89] | openbsd2.
[89].
*)
15107 shlibpath_overrides_runpath
=no
15110 shlibpath_overrides_runpath
=yes
15114 shlibpath_overrides_runpath
=yes
15119 libname_spec
='$name'
15122 library_names_spec
='$libname${shared_ext} $libname.a'
15123 dynamic_linker
='OS/2 ld.exe'
15124 shlibpath_var
=LIBPATH
15127 osf3
* | osf4
* | osf5
*)
15131 soname_spec
='${libname}${release}${shared_ext}$major'
15132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15133 shlibpath_var
=LD_LIBRARY_PATH
15134 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15135 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15147 soname_spec
='${libname}${release}${shared_ext}$major'
15148 shlibpath_var
=LD_LIBRARY_PATH
15149 shlibpath_overrides_runpath
=yes
15150 hardcode_into_libs
=yes
15151 # ldd complains unless libraries are executable
15152 postinstall_cmds
='chmod +x $lib'
15157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15158 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15159 shlibpath_var
=LD_LIBRARY_PATH
15160 shlibpath_overrides_runpath
=yes
15161 if test "$with_gnu_ld" = yes; then
15169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15170 soname_spec
='${libname}${release}${shared_ext}$major'
15171 shlibpath_var
=LD_LIBRARY_PATH
15172 case $host_vendor in
15174 shlibpath_overrides_runpath
=no
15176 runpath_var
=LD_RUN_PATH
15184 shlibpath_overrides_runpath
=no
15185 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15191 if test -d /usr
/nec
;then
15193 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15194 soname_spec
='$libname${shared_ext}.$major'
15195 shlibpath_var
=LD_LIBRARY_PATH
15199 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15200 version_type
=freebsd-elf
15203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15204 soname_spec
='${libname}${release}${shared_ext}$major'
15205 shlibpath_var
=LD_LIBRARY_PATH
15206 shlibpath_overrides_runpath
=yes
15207 hardcode_into_libs
=yes
15208 if test "$with_gnu_ld" = yes; then
15209 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15211 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15214 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15218 sys_lib_dlsearch_path_spec
='/usr/lib'
15222 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15227 shlibpath_var
=LD_LIBRARY_PATH
15228 shlibpath_overrides_runpath
=no
15229 hardcode_into_libs
=yes
15234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15235 soname_spec
='${libname}${release}${shared_ext}$major'
15236 shlibpath_var
=LD_LIBRARY_PATH
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15244 $as_echo "$dynamic_linker" >&6; }
15245 test "$dynamic_linker" = no
&& can_build_shared
=no
15247 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15248 if test "$GCC" = yes; then
15249 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15252 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15253 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15255 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15256 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15297 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15298 hardcode_action_CXX
=
15299 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15300 test -n "$runpath_var_CXX" ||
15301 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15303 # We can hardcode non-existent directories.
15304 if test "$hardcode_direct_CXX" != no
&&
15305 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15306 # have to relink, otherwise we might link with an installed library
15307 # when we should be linking with a yet-to-be-installed one
15308 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15309 test "$hardcode_minus_L_CXX" != no
; then
15310 # Linking always hardcodes the temporary library directory.
15311 hardcode_action_CXX
=relink
15313 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15314 hardcode_action_CXX
=immediate
15317 # We cannot hardcode anything, or else we can only hardcode existing
15319 hardcode_action_CXX
=unsupported
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15322 $as_echo "$hardcode_action_CXX" >&6; }
15324 if test "$hardcode_action_CXX" = relink ||
15325 test "$inherit_rpath_CXX" = yes; then
15326 # Fast installation is not supported
15327 enable_fast_install
=no
15328 elif test "$shlibpath_overrides_runpath" = yes ||
15329 test "$enable_shared" = no
; then
15330 # Fast installation is not necessary
15331 enable_fast_install
=needless
15340 fi # test -n "$compiler"
15346 with_gnu_ld
=$lt_save_with_gnu_ld
15347 lt_cv_path_LDCXX
=$lt_cv_path_LD
15348 lt_cv_path_LD
=$lt_save_path_LD
15349 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15350 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15351 fi # test "$_lt_caught_CXX_error" != yes
15354 ac_cpp
='$CPP $CPPFLAGS'
15355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15371 ac_config_commands
="$ac_config_commands libtool"
15376 # Only expand once:
15380 for ac_prog
in gawk mawk nawk
awk
15382 # Extract the first word of "$ac_prog", so it can be a program name with args.
15383 set dummy
$ac_prog; ac_word
=$2
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15385 $as_echo_n "checking for $ac_word... " >&6; }
15386 if test "${ac_cv_prog_AWK+set}" = set; then :
15387 $as_echo_n "(cached) " >&6
15389 if test -n "$AWK"; then
15390 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
15392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15393 for as_dir
in $PATH
15396 test -z "$as_dir" && as_dir
=.
15397 for ac_exec_ext
in '' $ac_executable_extensions; do
15398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15399 ac_cv_prog_AWK
="$ac_prog"
15400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15409 AWK
=$ac_cv_prog_AWK
15410 if test -n "$AWK"; then
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
15412 $as_echo "$AWK" >&6; }
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15415 $as_echo "no" >&6; }
15419 test -n "$AWK" && break
15423 "") as_fn_error
"can't build without awk" "$LINENO" 5 ;;
15429 # The cast to long int works around a bug in the HP C Compiler
15430 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15431 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15432 # This bug is HP SR number 8606223364.
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15434 $as_echo_n "checking size of void *... " >&6; }
15435 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15436 $as_echo_n "(cached) " >&6
15438 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15441 if test "$ac_cv_type_void_p" = yes; then
15442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15444 { as_fn_set_status
77
15445 as_fn_error
"cannot compute sizeof (void *)
15446 See \`config.log' for more details." "$LINENO" 5; }; }
15448 ac_cv_sizeof_void_p
=0
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15454 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15458 cat >>confdefs.h
<<_ACEOF
15459 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15464 if test "${multilib}" = "yes"; then
15465 multilib_arg
="--enable-multilib"
15470 # Get target configury.
15471 unset TSAN_SUPPORTED
15472 unset LSAN_SUPPORTED
15473 .
${srcdir}/configure.tgt
15474 if test "x$TSAN_SUPPORTED" = "xyes"; then
15475 TSAN_SUPPORTED_TRUE
=
15476 TSAN_SUPPORTED_FALSE
='#'
15478 TSAN_SUPPORTED_TRUE
='#'
15479 TSAN_SUPPORTED_FALSE
=
15482 if test "x$LSAN_SUPPORTED" = "xyes"; then
15483 LSAN_SUPPORTED_TRUE
=
15484 LSAN_SUPPORTED_FALSE
='#'
15486 LSAN_SUPPORTED_TRUE
='#'
15487 LSAN_SUPPORTED_FALSE
=
15491 # Check for functions needed.
15492 for ac_func
in clock_getres clock_gettime clock_settime
15494 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15495 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15496 eval as_val
=\$
$as_ac_var
15497 if test "x$as_val" = x
""yes; then :
15498 cat >>confdefs.h
<<_ACEOF
15499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15506 # Common libraries that we need to link against for all sanitizer libs.
15507 link_sanitizer_common
='-lpthread -ldl -lm'
15509 # Set up the set of additional libraries that we need to link against for libasan.
15510 link_libasan
=$link_sanitizer_common
15513 # Set up the set of additional libraries that we need to link against for libtsan.
15514 link_libtsan
=$link_sanitizer_common
15517 # Set up the set of additional libraries that we need to link against for libubsan.
15518 link_libubsan
=$link_sanitizer_common
15521 # Set up the set of additional libraries that we need to link against for liblsan.
15522 link_liblsan
=$link_sanitizer_common
15525 # At least for glibc, clock_gettime is in librt. But don't pull that
15526 # in if it still doesn't give us the function we want. This
15527 # test is copied from libgomp.
15528 if test $ac_cv_func_clock_gettime = no
; then
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
15530 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15531 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
15532 $as_echo_n "(cached) " >&6
15534 ac_check_lib_save_LIBS
=$LIBS
15536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h. */
15539 /* Override any GCC internal prototype to avoid an error.
15540 Use char because int might match the return type of a GCC
15541 builtin and then its argument prototype would still apply. */
15545 char clock_gettime ();
15549 return clock_gettime ();
15554 if ac_fn_c_try_link
"$LINENO"; then :
15555 ac_cv_lib_rt_clock_gettime
=yes
15557 ac_cv_lib_rt_clock_gettime
=no
15559 rm -f core conftest.err conftest.
$ac_objext \
15560 conftest
$ac_exeext conftest.
$ac_ext
15561 LIBS
=$ac_check_lib_save_LIBS
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
15564 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15565 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
15566 link_libasan
="-lrt $link_libasan"
15567 link_libtsan
="-lrt $link_libtsan"
15568 # Other sanitizers do not override clock_* API
15575 *-*-darwin*) MAC_INTERPOSE
=true
; enable_static
=no
;;
15576 *) MAC_INTERPOSE
=false
;;
15578 if $MAC_INTERPOSE; then
15579 USING_MAC_INTERPOSE_TRUE
=
15580 USING_MAC_INTERPOSE_FALSE
='#'
15582 USING_MAC_INTERPOSE_TRUE
='#'
15583 USING_MAC_INTERPOSE_FALSE
=
15587 backtrace_supported
=yes
15589 # Test for __sync support.
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
15591 $as_echo_n "checking __sync extensions... " >&6; }
15592 if test "${libsanitizer_cv_sys_sync+set}" = set; then :
15593 $as_echo_n "(cached) " >&6
15595 if test -n "${with_target_subdir}"; then
15596 libsanitizer_cv_sys_sync
=yes
15598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15599 /* end confdefs.h. */
15604 __sync_bool_compare_and_swap (&i, i, i);
15605 __sync_lock_test_and_set (&i, 1);
15606 __sync_lock_release (&i);
15611 if ac_fn_c_try_link
"$LINENO"; then :
15612 libsanitizer_cv_sys_sync
=yes
15614 libsanitizer_cv_sys_sync
=no
15616 rm -f core conftest.err conftest.
$ac_objext \
15617 conftest
$ac_exeext conftest.
$ac_ext
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_sync" >&5
15621 $as_echo "$libsanitizer_cv_sys_sync" >&6; }
15622 if test "$libsanitizer_cv_sys_sync" = "yes"; then
15624 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
15628 # Test for __atomic support.
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
15630 $as_echo_n "checking __atomic extensions... " >&6; }
15631 if test "${libsanitizer_cv_sys_atomic+set}" = set; then :
15632 $as_echo_n "(cached) " >&6
15634 if test -n "${with_target_subdir}"; then
15635 libsanitizer_cv_sys_atomic
=yes
15637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15638 /* end confdefs.h. */
15643 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
15644 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
15649 if ac_fn_c_try_link
"$LINENO"; then :
15650 libsanitizer_cv_sys_atomic
=yes
15652 libsanitizer_cv_sys_atomic
=no
15654 rm -f core conftest.err conftest.
$ac_objext \
15655 conftest
$ac_exeext conftest.
$ac_ext
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_atomic" >&5
15659 $as_echo "$libsanitizer_cv_sys_atomic" >&6; }
15660 if test "$libsanitizer_cv_sys_atomic" = "yes"; then
15662 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
15666 # The library needs to be able to read the executable itself. Compile
15667 # a file to determine the executable format. The awk script
15668 # filetype.awk prints out the file type.
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
15670 $as_echo_n "checking output filetype... " >&6; }
15671 if test "${libsanitizer_cv_sys_filetype+set}" = set; then :
15672 $as_echo_n "(cached) " >&6
15675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15676 /* end confdefs.h. */
15686 if ac_fn_c_try_compile
"$LINENO"; then :
15687 filetype
=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
15689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15691 as_fn_error
"compiler failed
15692 See \`config.log' for more details." "$LINENO" 5; }
15694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15695 libsanitizer_cv_sys_filetype
=$filetype
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_filetype" >&5
15698 $as_echo "$libsanitizer_cv_sys_filetype" >&6; }
15700 # Match the file type to decide what files to compile.
15702 case "$libsanitizer_cv_sys_filetype" in
15703 elf
*) FORMAT_FILE
="elf.lo" ;;
15704 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
15705 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
15706 FORMAT_FILE
="unknown.lo"
15707 backtrace_supported
=no
15714 case "$libsanitizer_cv_sys_filetype" in
15715 elf32
) elfsize
=32 ;;
15716 elf64
) elfsize
=64 ;;
15719 cat >>confdefs.h
<<_ACEOF
15720 #define BACKTRACE_ELF_SIZE $elfsize
15724 BACKTRACE_SUPPORTED
=0
15725 if test "$backtrace_supported" = "yes"; then
15726 BACKTRACE_SUPPORTED
=1
15732 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15734 acx_cv_header_stdint
=stddef.h
15735 acx_cv_header_stdint_kind
="(already complete)"
15736 for i
in stdint.h
$inttype_headers; do
15737 unset ac_cv_type_uintptr_t
15738 unset ac_cv_type_uintmax_t
15739 unset ac_cv_type_int_least32_t
15740 unset ac_cv_type_int_fast32_t
15741 unset ac_cv_type_uint64_t
15742 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15743 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15746 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
15747 acx_cv_header_stdint
=$i
15752 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15755 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15758 acx_cv_header_stdint_kind
="(mostly complete)"
15761 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15764 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
15767 acx_cv_header_stdint_kind
="(mostly complete)"
15770 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15773 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
15776 acx_cv_header_stdint_kind
="(mostly complete)"
15779 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15782 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15785 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15790 if test "$acx_cv_header_stdint" = stddef.h
; then
15791 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15792 for i
in stdint.h
$inttype_headers; do
15793 unset ac_cv_type_uintptr_t
15794 unset ac_cv_type_uint32_t
15795 unset ac_cv_type_uint64_t
15796 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15797 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15800 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
15801 acx_cv_header_stdint
=$i
15806 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15809 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15813 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15816 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15823 if test "$acx_cv_header_stdint" = stddef.h
; then
15824 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15825 for i
in sys
/types.h
$inttype_headers; do
15826 unset ac_cv_type_u_int32_t
15827 unset ac_cv_type_u_int64_t
15828 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15829 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15832 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
15833 acx_cv_header_stdint
=$i
15838 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15841 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
15848 if test "$acx_cv_header_stdint" = stddef.h
; then
15849 acx_cv_header_stdint_kind
="(using manual detection)"
15852 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15853 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15854 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15855 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15856 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15858 # ----------------- Summarize what we found so far
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15861 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15863 case `$as_basename -- gstdint.h ||
15864 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15865 Xgstdint.h : 'X\(//\)$' \| \
15866 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15867 $as_echo X/gstdint.h |
15868 sed '/^.*\/\([^/][^/]*\)\/*$/{
15881 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15882 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15883 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15884 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15889 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15891 # ----------------- done included file, check C basic types --------
15893 # Lacking an uintptr_t? Test size of void *
15894 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15895 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15897 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15898 # This bug is HP SR number 8606223364.
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15900 $as_echo_n "checking size of void *... " >&6; }
15901 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15902 $as_echo_n "(cached) " >&6
15904 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15907 if test "$ac_cv_type_void_p" = yes; then
15908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15910 { as_fn_set_status
77
15911 as_fn_error
"cannot compute sizeof (void *)
15912 See \`config.log' for more details." "$LINENO" 5; }; }
15914 ac_cv_sizeof_void_p
=0
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15920 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15924 cat >>confdefs.h
<<_ACEOF
15925 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15931 # Lacking an uint64_t? Test size of long
15932 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15933 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15934 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15935 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15936 # This bug is HP SR number 8606223364.
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15938 $as_echo_n "checking size of long... " >&6; }
15939 if test "${ac_cv_sizeof_long+set}" = set; then :
15940 $as_echo_n "(cached) " >&6
15942 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15945 if test "$ac_cv_type_long" = yes; then
15946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15948 { as_fn_set_status
77
15949 as_fn_error
"cannot compute sizeof (long)
15950 See \`config.log' for more details." "$LINENO" 5; }; }
15952 ac_cv_sizeof_long
=0
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15958 $as_echo "$ac_cv_sizeof_long" >&6; }
15962 cat >>confdefs.h
<<_ACEOF
15963 #define SIZEOF_LONG $ac_cv_sizeof_long
15969 if test $acx_cv_header_stdint = stddef.h
; then
15970 # Lacking a good header? Test size of everything and deduce all types.
15971 # The cast to long int works around a bug in the HP C Compiler
15972 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15973 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15974 # This bug is HP SR number 8606223364.
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15976 $as_echo_n "checking size of int... " >&6; }
15977 if test "${ac_cv_sizeof_int+set}" = set; then :
15978 $as_echo_n "(cached) " >&6
15980 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15983 if test "$ac_cv_type_int" = yes; then
15984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15986 { as_fn_set_status
77
15987 as_fn_error
"cannot compute sizeof (int)
15988 See \`config.log' for more details." "$LINENO" 5; }; }
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15996 $as_echo "$ac_cv_sizeof_int" >&6; }
16000 cat >>confdefs.h
<<_ACEOF
16001 #define SIZEOF_INT $ac_cv_sizeof_int
16005 # The cast to long int works around a bug in the HP C Compiler
16006 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16007 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16008 # This bug is HP SR number 8606223364.
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16010 $as_echo_n "checking size of short... " >&6; }
16011 if test "${ac_cv_sizeof_short+set}" = set; then :
16012 $as_echo_n "(cached) " >&6
16014 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16017 if test "$ac_cv_type_short" = yes; then
16018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16020 { as_fn_set_status
77
16021 as_fn_error
"cannot compute sizeof (short)
16022 See \`config.log' for more details." "$LINENO" 5; }; }
16024 ac_cv_sizeof_short
=0
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16030 $as_echo "$ac_cv_sizeof_short" >&6; }
16034 cat >>confdefs.h
<<_ACEOF
16035 #define SIZEOF_SHORT $ac_cv_sizeof_short
16039 # The cast to long int works around a bug in the HP C Compiler
16040 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16041 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16042 # This bug is HP SR number 8606223364.
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16044 $as_echo_n "checking size of char... " >&6; }
16045 if test "${ac_cv_sizeof_char+set}" = set; then :
16046 $as_echo_n "(cached) " >&6
16048 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16051 if test "$ac_cv_type_char" = yes; then
16052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16054 { as_fn_set_status
77
16055 as_fn_error
"cannot compute sizeof (char)
16056 See \`config.log' for more details." "$LINENO" 5; }; }
16058 ac_cv_sizeof_char
=0
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16064 $as_echo "$ac_cv_sizeof_char" >&6; }
16068 cat >>confdefs.h
<<_ACEOF
16069 #define SIZEOF_CHAR $ac_cv_sizeof_char
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16075 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16076 case "$ac_cv_sizeof_char" in
16077 1) acx_cv_type_int8_t
=char
;;
16078 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16081 $as_echo "$acx_cv_type_int8_t" >&6; }
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16084 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16085 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16086 2:*) acx_cv_type_int16_t
=int
;;
16087 *:2) acx_cv_type_int16_t
=short
;;
16088 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16091 $as_echo "$acx_cv_type_int16_t" >&6; }
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16094 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16095 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16096 4:*) acx_cv_type_int32_t
=int
;;
16097 *:4) acx_cv_type_int32_t
=long
;;
16098 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16101 $as_echo "$acx_cv_type_int32_t" >&6; }
16104 # These tests are here to make the output prettier
16106 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16107 case "$ac_cv_sizeof_long" in
16108 8) acx_cv_type_int64_t
=long
;;
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16111 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16113 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16116 # Now we can use the above types
16118 if test "$ac_cv_type_uintptr_t" != yes; then
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16120 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16121 case $ac_cv_sizeof_void_p in
16122 2) acx_cv_type_intptr_t
=int16_t
;;
16123 4) acx_cv_type_intptr_t
=int32_t
;;
16124 8) acx_cv_type_intptr_t
=int64_t
;;
16125 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16128 $as_echo "$acx_cv_type_intptr_t" >&6; }
16131 # ----------------- done all checks, emit header -------------
16132 ac_config_commands
="$ac_config_commands gstdint.h"
16137 for ac_header
in sys
/mman.h alloca.h
16139 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16140 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16141 eval as_val
=\$
$as_ac_Header
16142 if test "x$as_val" = x
""yes; then :
16143 cat >>confdefs.h
<<_ACEOF
16144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16151 if test "$ac_cv_header_sys_mman_h" = "no"; then
16154 if test -n "${with_target_subdir}"; then
16155 # When built as a GCC target library, we can't do a link test. We
16156 # simply assume that if we have mman.h, we have mmap.
16159 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
16160 if test "x$ac_cv_func_mmap" = x
""yes; then :
16168 if test "$have_mmap" = "no"; then
16170 ALLOC_FILE
=alloc.lo
16172 VIEW_FILE
=mmapio.lo
16173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16176 #include <sys/mman.h>
16177 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
16178 #error no MAP_ANONYMOUS
16182 if ac_fn_c_try_cpp
"$LINENO"; then :
16185 ALLOC_FILE
=alloc.lo
16187 rm -f conftest.err conftest.
$ac_ext
16192 BACKTRACE_USES_MALLOC
=0
16193 if test "$ALLOC_FILE" = "alloc.lo"; then
16194 BACKTRACE_USES_MALLOC
=1
16198 # Don't care about thread support
16199 BACKTRACE_SUPPORTS_THREADS
=0
16202 # Check for dl_iterate_phdr.
16203 for ac_header
in link.h
16205 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
16206 if test "x$ac_cv_header_link_h" = x
""yes; then :
16207 cat >>confdefs.h
<<_ACEOF
16208 #define HAVE_LINK_H 1
16215 if test "$ac_cv_header_link_h" = "no"; then
16216 have_dl_iterate_phdr
=no
16218 # When built as a GCC target library, we can't do a link test.
16219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16225 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
16226 have_dl_iterate_phdr
=yes
16228 have_dl_iterate_phdr
=no
16234 # Avoid dl_iterate_phdr on Solaris 10, where it is in the
16235 # header file but is only in -ldl.
16236 have_dl_iterate_phdr
=no
;;
16239 if test "$have_dl_iterate_phdr" = "yes"; then
16241 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
16245 # Check for the fcntl function.
16246 if test -n "${with_target_subdir}"; then
16248 *-*-mingw*) have_fcntl
=no
;;
16249 *) have_fcntl
=yes ;;
16252 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
16253 if test "x$ac_cv_func_fcntl" = x
""yes; then :
16260 if test "$have_fcntl" = "yes"; then
16262 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
16266 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
16267 if test "x$ac_cv_have_decl_strnlen" = x
""yes; then :
16273 cat >>confdefs.h
<<_ACEOF
16274 #define HAVE_DECL_STRNLEN $ac_have_decl
16278 # Check for getexecname function.
16279 if test -n "${with_target_subdir}"; then
16281 *-*-solaris2*) have_getexecname
=yes ;;
16282 *) have_getexecname
=no
;;
16285 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
16286 if test "x$ac_cv_func_getexecname" = x
""yes; then :
16287 have_getexecname
=yes
16289 have_getexecname
=no
16293 if test "$have_getexecname" = "yes"; then
16295 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
16299 if test "x${BACKTRACE_SUPPORTED}x${BACKTRACE_USES_MALLOC}" = "x1x0"; then
16300 LIBBACKTRACE_SUPPORTED_TRUE
=
16301 LIBBACKTRACE_SUPPORTED_FALSE
='#'
16303 LIBBACKTRACE_SUPPORTED_TRUE
='#'
16304 LIBBACKTRACE_SUPPORTED_FALSE
=
16309 ac_config_files
="$ac_config_files Makefile libsanitizer.spec libbacktrace/backtrace-supported.h"
16311 ac_config_headers
="$ac_config_headers config.h"
16314 ac_config_files
="$ac_config_files interception/Makefile sanitizer_common/Makefile libbacktrace/Makefile lsan/Makefile asan/Makefile ubsan/Makefile"
16317 if test "x$TSAN_SUPPORTED" = "xyes"; then
16318 ac_config_files
="$ac_config_files tsan/Makefile"
16322 cat >confcache
<<\_ACEOF
16323 # This file is a shell script that caches the results of configure
16324 # tests run on this system so they can be shared between configure
16325 # scripts and configure runs, see configure's option --config-cache.
16326 # It is not useful on other systems. If it contains results you don't
16327 # want to keep, you may remove or edit it.
16329 # config.status only pays attention to the cache file if you give it
16330 # the --recheck option to rerun configure.
16332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16334 # following values.
16338 # The following way of writing the cache mishandles newlines in values,
16339 # but we know of no workaround that is simple, portable, and efficient.
16340 # So, we kill variables containing newlines.
16341 # Ultrix sh set writes to stderr and can't be redirected directly,
16342 # and sets the high bit in the cache file unless we assign to the vars.
16344 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16345 eval ac_val
=\$
$ac_var
16349 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16350 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16353 _ | IFS | as_nl
) ;; #(
16354 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16355 *) { eval $ac_var=; unset $ac_var;} ;;
16361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16362 *${as_nl}ac_space
=\
*)
16363 # `set' does not quote correctly, so add quotes: double-quote
16364 # substitution turns \\\\ into \\, and sed turns \\ into \.
16367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16370 # `set' quotes correctly as required by POSIX, so do not add quotes.
16371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16384 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16385 if test -w "$cache_file"; then
16386 test "x$cache_file" != "x/dev/null" &&
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16388 $as_echo "$as_me: updating cache $cache_file" >&6;}
16389 cat confcache
>$cache_file
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16392 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16397 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16398 # Let make expand exec_prefix.
16399 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16401 DEFS
=-DHAVE_CONFIG_H
16405 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16406 # 1. Remove the extension, and $U if already installed.
16407 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16408 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16409 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16410 # will be set to the directory where LIBOBJS objects are built.
16411 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16412 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16414 LIBOBJS
=$ac_libobjs
16416 LTLIBOBJS
=$ac_ltlibobjs
16419 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16420 as_fn_error
"conditional \"AMDEP\" was never defined.
16421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16423 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16424 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16427 if test -n "$EXEEXT"; then
16429 am__EXEEXT_FALSE
='#'
16431 am__EXEEXT_TRUE
='#'
16435 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16436 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16439 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16440 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
16441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16443 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16444 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
16445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16447 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
16448 as_fn_error
"conditional \"TSAN_SUPPORTED\" was never defined.
16449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16451 if test -z "${LSAN_SUPPORTED_TRUE}" && test -z "${LSAN_SUPPORTED_FALSE}"; then
16452 as_fn_error
"conditional \"LSAN_SUPPORTED\" was never defined.
16453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16455 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
16456 as_fn_error
"conditional \"USING_MAC_INTERPOSE\" was never defined.
16457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16459 if test -z "${LIBBACKTRACE_SUPPORTED_TRUE}" && test -z "${LIBBACKTRACE_SUPPORTED_FALSE}"; then
16460 as_fn_error
"conditional \"LIBBACKTRACE_SUPPORTED\" was never defined.
16461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16464 : ${CONFIG_STATUS=./config.status}
16466 ac_clean_files_save
=$ac_clean_files
16467 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16469 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16471 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16473 # Generated by $as_me.
16474 # Run this file to recreate the current configuration.
16475 # Compiler output produced by configure, useful for debugging
16476 # configure, is in config.log if it exists.
16479 ac_cs_recheck=false
16482 SHELL=\${CONFIG_SHELL-$SHELL}
16485 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16486 ## -------------------- ##
16487 ## M4sh Initialization. ##
16488 ## -------------------- ##
16490 # Be more Bourne compatible
16491 DUALCASE
=1; export DUALCASE
# for MKS sh
16492 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16495 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16496 # is contrary to our usage. Disable this feature.
16497 alias -g '${1+"$@"}'='"$@"'
16498 setopt NO_GLOB_SUBST
16500 case `(set -o) 2>/dev/null` in #(
16512 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16513 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16514 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16515 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16516 # Prefer a ksh shell builtin over an external printf program on Solaris,
16517 # but without wasting forks for bash or zsh.
16518 if test -z "$BASH_VERSION$ZSH_VERSION" \
16519 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16520 as_echo='print
-r --'
16521 as_echo_n='print
-rn --'
16522 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16523 as_echo='printf %s
\n'
16524 as_echo_n='printf %s
'
16526 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16527 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16528 as_echo_n='/usr
/ucb
/echo -n'
16530 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16531 as_echo_n_body='eval
16535 expr "X$arg" : "X\\(.*\\)$as_nl";
16536 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16538 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16540 export as_echo_n_body
16541 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16543 export as_echo_body
16544 as_echo='sh
-c $as_echo_body as_echo
'
16547 # The user is always right.
16548 if test "${PATH_SEPARATOR+set}" != set; then
16550 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16551 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16558 # We need space, tab and new line, in precisely that order. Quoting is
16559 # there to prevent editors from complaining about space-tab.
16560 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16561 # splitting by setting IFS to empty value.)
16564 # Find who we are. Look in the path if we contain no directory separator.
16566 *[\\/]* ) as_myself=$0 ;;
16567 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16568 for as_dir in $PATH
16571 test -z "$as_dir" && as_dir=.
16572 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16578 # We did not find ourselves, most probably we were run as `sh COMMAND'
16579 # in which case we are not to be found in the path.
16580 if test "x$as_myself" = x
; then
16583 if test ! -f "$as_myself"; then
16584 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16588 # Unset variables that we do not need and which cause bugs (e.g. in
16589 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16590 # suppresses any "Segmentation fault" message there. '((' could
16591 # trigger a bug in pdksh 5.2.14.
16592 for as_var
in BASH_ENV ENV MAIL MAILPATH
16593 do eval test x\
${$as_var+set} = xset \
16594 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16607 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16610 # as_fn_error ERROR [LINENO LOG_FD]
16611 # ---------------------------------
16612 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16613 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16614 # script with status $?, using 1 if that was 0.
16617 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16619 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16620 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16622 $as_echo "$as_me: error: $1" >&2
16623 as_fn_exit
$as_status
16627 # as_fn_set_status STATUS
16628 # -----------------------
16629 # Set $? to STATUS, without forking.
16630 as_fn_set_status
()
16633 } # as_fn_set_status
16635 # as_fn_exit STATUS
16636 # -----------------
16637 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16641 as_fn_set_status
$1
16647 # Portably unset VAR.
16650 { eval $1=; unset $1;}
16652 as_unset
=as_fn_unset
16653 # as_fn_append VAR VALUE
16654 # ----------------------
16655 # Append the text in VALUE to the end of the definition contained in VAR. Take
16656 # advantage of any shell optimizations that allow amortized linear growth over
16657 # repeated appends, instead of the typical quadratic growth present in naive
16659 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16660 eval 'as_fn_append ()
16671 # as_fn_arith ARG...
16672 # ------------------
16673 # Perform arithmetic evaluation on the ARGs, and store the result in the
16674 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16675 # must be portable across $(()) and expr.
16676 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16677 eval 'as_fn_arith ()
16684 as_val
=`expr "$@" || test $? -eq 1`
16689 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16690 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16696 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16697 as_basename
=basename
16702 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16708 as_me
=`$as_basename -- "$0" ||
16709 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16710 X"$0" : 'X\(//\)$' \| \
16711 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16713 sed '/^.*\/\([^/][^/]*\)\/*$/{
16727 # Avoid depending upon Character Ranges.
16728 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16729 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16730 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16731 as_cr_digits
='0123456789'
16732 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16734 ECHO_C
= ECHO_N
= ECHO_T
=
16735 case `echo -n x` in #(((((
16737 case `echo 'xy\c'` in
16738 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16740 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16747 rm -f conf$$ conf$$.exe conf$$.
file
16748 if test -d conf$$.dir
; then
16749 rm -f conf$$.dir
/conf$$.
file
16752 mkdir conf$$.dir
2>/dev
/null
16754 if (echo >conf$$.
file) 2>/dev
/null
; then
16755 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16757 # ... but there are two gotchas:
16758 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16759 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16760 # In both cases, we have to default to `cp -p'.
16761 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16763 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16771 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16772 rmdir conf$$.dir
2>/dev
/null
16777 # Create "$as_dir" as a directory, including parents if necessary.
16782 -*) as_dir
=.
/$as_dir;;
16784 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16788 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16789 *) as_qdir
=$as_dir;;
16791 as_dirs
="'$as_qdir' $as_dirs"
16792 as_dir
=`$as_dirname -- "$as_dir" ||
16793 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16794 X"$as_dir" : 'X\(//\)[^/]' \| \
16795 X"$as_dir" : 'X\(//\)$' \| \
16796 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16797 $as_echo X"$as_dir" |
16798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16802 /^X\(\/\/\)[^/].*/{
16815 test -d "$as_dir" && break
16817 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16818 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16822 if mkdir
-p .
2>/dev
/null
; then
16823 as_mkdir_p
='mkdir -p "$as_dir"'
16825 test -d .
/-p && rmdir .
/-p
16829 if test -x / >/dev
/null
2>&1; then
16830 as_test_x
='test -x'
16832 if ls -dL / >/dev
/null
2>&1; then
16839 if test -d "$1"; then
16845 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16846 ???[sx]*):;;*)false;;esac;fi
16850 as_executable_p
=$as_test_x
16852 # Sed expression to map a string onto a valid CPP name.
16853 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16855 # Sed expression to map a string onto a valid variable name.
16856 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16860 ## ----------------------------------- ##
16861 ## Main body of $CONFIG_STATUS script. ##
16862 ## ----------------------------------- ##
16864 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16867 # Save the log message, to keep $0 and so on meaningful, and to
16868 # report actual input values of CONFIG_FILES etc. instead of their
16869 # values after options handling.
16871 This file was extended by package-unused $as_me version-unused, which was
16872 generated by GNU Autoconf 2.64. Invocation command line was
16874 CONFIG_FILES = $CONFIG_FILES
16875 CONFIG_HEADERS = $CONFIG_HEADERS
16876 CONFIG_LINKS = $CONFIG_LINKS
16877 CONFIG_COMMANDS = $CONFIG_COMMANDS
16880 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16885 case $ac_config_files in *"
16886 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16889 case $ac_config_headers in *"
16890 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16895 # Files that config.status was made for.
16896 config_files="$ac_config_files"
16897 config_headers="$ac_config_headers"
16898 config_commands="$ac_config_commands"
16902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16904 \`$as_me' instantiates files and other configuration actions
16905 from templates according to the current configuration. Unless the files
16906 and actions are specified as TAGs, all are instantiated by default.
16908 Usage: $0 [OPTION]... [TAG]...
16910 -h, --help print this help, then exit
16911 -V, --version print version number and configuration settings, then exit
16912 -q, --quiet, --silent
16913 do not print progress messages
16914 -d, --debug don't remove temporary files
16915 --recheck update $as_me by reconfiguring in the same conditions
16916 --file=FILE[:TEMPLATE]
16917 instantiate the configuration file FILE
16918 --header=FILE[:TEMPLATE]
16919 instantiate the configuration header FILE
16921 Configuration files:
16924 Configuration headers:
16927 Configuration commands:
16930 Report bugs to <libsanitizer>."
16933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16935 package-unused config.status version-unused
16936 configured by $0, generated by GNU Autoconf 2.64,
16937 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16939 Copyright (C) 2009 Free Software Foundation, Inc.
16940 This config.status script is free software; the Free Software Foundation
16941 gives unlimited permission to copy, distribute and modify it."
16948 test -n "\$AWK" || AWK=awk
16951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16952 # The default lists apply if the user does not specify any file.
16958 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16959 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16970 # Handling of the options.
16971 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16973 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16974 $as_echo "$ac_cs_version"; exit ;;
16975 --debug |
--debu |
--deb |
--de |
--d |
-d )
16977 --file |
--fil |
--fi |
--f )
16980 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16982 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16983 ac_need_defaults
=false
;;
16984 --header |
--heade |
--head |
--hea )
16987 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16989 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16990 ac_need_defaults
=false
;;
16992 # Conflict between --help and --header
16993 as_fn_error
"ambiguous option: \`$1'
16994 Try \`$0 --help' for more information.";;
16995 --help |
--hel |
-h )
16996 $as_echo "$ac_cs_usage"; exit ;;
16997 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16998 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17001 # This is an error.
17002 -*) as_fn_error
"unrecognized option: \`$1'
17003 Try \`$0 --help' for more information." ;;
17005 *) as_fn_append ac_config_targets
" $1"
17006 ac_need_defaults
=false
;;
17012 ac_configure_extra_args
=
17014 if $ac_cs_silent; then
17016 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17021 if \$ac_cs_recheck; then
17022 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17024 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17025 CONFIG_SHELL='$SHELL'
17026 export CONFIG_SHELL
17031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17035 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17036 ## Running $as_me. ##
17042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17046 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17051 with_multisubdir="$with_multisubdir"
17052 with_multisrctop="$with_multisrctop"
17053 with_target_subdir="$with_target_subdir"
17054 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17055 multi_basedir="$multi_basedir"
17056 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17059 GFORTRAN="$GFORTRAN"
17063 # The HP-UX ksh and POSIX shell print the target directory to stdout
17064 # if CDPATH is set.
17065 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17067 sed_quote_subst='$sed_quote_subst'
17068 double_quote_subst='$double_quote_subst'
17069 delay_variable_subst='$delay_variable_subst'
17070 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17071 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17072 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17073 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17074 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17075 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17076 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17077 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17078 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17079 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17080 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17081 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17082 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17083 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17084 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17085 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17086 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17087 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17088 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17089 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17090 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17091 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17092 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17093 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17094 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17095 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17096 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17097 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17098 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17099 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17100 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17101 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17102 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17103 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17104 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17105 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17106 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17107 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17108 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17109 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17110 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17111 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17112 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17113 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17114 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17115 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17116 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17117 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17118 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"`'
17119 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17120 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17121 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17122 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17123 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17124 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17125 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17126 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17127 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17128 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17129 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17130 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17131 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17132 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17133 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17134 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17135 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17136 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17137 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17138 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17139 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17140 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17141 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17142 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17143 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17144 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17145 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17146 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17147 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17148 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17149 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17150 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17151 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17152 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17153 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17154 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17155 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17156 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17157 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17158 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17159 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17160 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17161 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17162 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17163 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17164 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17165 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17166 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17167 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17168 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17169 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17170 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17171 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17172 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17173 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17174 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17175 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17176 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17177 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17178 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17179 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17180 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17181 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17182 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17183 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17184 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17185 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17186 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17187 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17188 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17189 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17190 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17191 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17192 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17193 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17194 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17195 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17196 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17197 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17198 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17199 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17200 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17201 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17202 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17203 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17204 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17205 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17206 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17207 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17208 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17209 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17210 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17211 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17212 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17213 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17214 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17215 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17216 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17217 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17218 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17219 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17220 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17221 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17222 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17223 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17224 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17225 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17226 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17227 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17228 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17229 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17230 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17231 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
17232 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17233 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17234 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17235 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17236 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17237 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17238 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17239 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17240 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17241 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17242 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17243 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17244 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17247 LTCFLAGS='$LTCFLAGS'
17248 compiler='$compiler_DEFAULT'
17250 # A function that is used when there is no print builtin or printf.
17251 func_fallback_echo ()
17253 eval 'cat <<_LTECHO_EOF
17258 # Quote evaled strings.
17272 deplibs_check_method \
17281 lt_cv_sys_global_symbol_pipe \
17282 lt_cv_sys_global_symbol_to_cdecl \
17283 lt_cv_sys_global_symbol_to_c_name_address \
17284 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17285 lt_prog_compiler_no_builtin_flag \
17286 lt_prog_compiler_wl \
17287 lt_prog_compiler_pic \
17288 lt_prog_compiler_static \
17289 lt_cv_prog_compiler_c_o \
17297 export_dynamic_flag_spec \
17298 whole_archive_flag_spec \
17299 compiler_needs_object \
17301 allow_undefined_flag \
17302 no_undefined_flag \
17303 hardcode_libdir_flag_spec \
17304 hardcode_libdir_flag_spec_ld \
17305 hardcode_libdir_separator \
17310 variables_saved_for_relink \
17312 library_names_spec \
17314 install_override_mode \
17318 compiler_lib_search_dirs \
17323 compiler_lib_search_path \
17327 lt_prog_compiler_no_builtin_flag_CXX \
17328 lt_prog_compiler_wl_CXX \
17329 lt_prog_compiler_pic_CXX \
17330 lt_prog_compiler_static_CXX \
17331 lt_cv_prog_compiler_c_o_CXX \
17332 export_dynamic_flag_spec_CXX \
17333 whole_archive_flag_spec_CXX \
17334 compiler_needs_object_CXX \
17336 allow_undefined_flag_CXX \
17337 no_undefined_flag_CXX \
17338 hardcode_libdir_flag_spec_CXX \
17339 hardcode_libdir_flag_spec_ld_CXX \
17340 hardcode_libdir_separator_CXX \
17341 fix_srcfile_path_CXX \
17342 exclude_expsyms_CXX \
17343 include_expsyms_CXX \
17344 file_list_spec_CXX \
17345 compiler_lib_search_dirs_CXX \
17346 predep_objects_CXX \
17347 postdep_objects_CXX \
17350 compiler_lib_search_path_CXX; do
17351 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17352 *[\\\\\\\`\\"\\\$]*)
17353 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17356 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17361 # Double-quote double-evaled strings.
17362 for var in reload_cmds \
17363 old_postinstall_cmds \
17364 old_postuninstall_cmds \
17366 extract_expsyms_cmds \
17367 old_archive_from_new_cmds \
17368 old_archive_from_expsyms_cmds \
17370 archive_expsym_cmds \
17372 module_expsym_cmds \
17373 export_symbols_cmds \
17376 postuninstall_cmds \
17378 sys_lib_search_path_spec \
17379 sys_lib_dlsearch_path_spec \
17381 old_archive_cmds_CXX \
17382 old_archive_from_new_cmds_CXX \
17383 old_archive_from_expsyms_cmds_CXX \
17385 archive_expsym_cmds_CXX \
17387 module_expsym_cmds_CXX \
17388 export_symbols_cmds_CXX \
17389 prelink_cmds_CXX; do
17390 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17391 *[\\\\\\\`\\"\\\$]*)
17392 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17395 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17400 ac_aux_dir='$ac_aux_dir'
17401 xsi_shell='$xsi_shell'
17402 lt_shell_append='$lt_shell_append'
17404 # See if we are running on zsh, and set the options which allow our
17405 # commands through without removal of \ escapes INIT.
17406 if test -n "\${ZSH_VERSION+set}" ; then
17407 setopt NO_GLOB_SUBST
17413 TIMESTAMP='$TIMESTAMP'
17424 acx_cv_header_stdint="$acx_cv_header_stdint"
17425 acx_cv_type_int8_t="$acx_cv_type_int8_t"
17426 acx_cv_type_int16_t="$acx_cv_type_int16_t"
17427 acx_cv_type_int32_t="$acx_cv_type_int32_t"
17428 acx_cv_type_int64_t="$acx_cv_type_int64_t"
17429 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
17430 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
17431 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
17432 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17433 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17434 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
17435 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17436 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17437 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
17442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17444 # Handling of arguments.
17445 for ac_config_target
in $ac_config_targets
17447 case $ac_config_target in
17448 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17449 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17450 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17451 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
17452 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17453 "libsanitizer.spec") CONFIG_FILES
="$CONFIG_FILES libsanitizer.spec" ;;
17454 "libbacktrace/backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES libbacktrace/backtrace-supported.h" ;;
17455 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17456 "interception/Makefile") CONFIG_FILES
="$CONFIG_FILES interception/Makefile" ;;
17457 "sanitizer_common/Makefile") CONFIG_FILES
="$CONFIG_FILES sanitizer_common/Makefile" ;;
17458 "libbacktrace/Makefile") CONFIG_FILES
="$CONFIG_FILES libbacktrace/Makefile" ;;
17459 "lsan/Makefile") CONFIG_FILES
="$CONFIG_FILES lsan/Makefile" ;;
17460 "asan/Makefile") CONFIG_FILES
="$CONFIG_FILES asan/Makefile" ;;
17461 "ubsan/Makefile") CONFIG_FILES
="$CONFIG_FILES ubsan/Makefile" ;;
17462 "tsan/Makefile") CONFIG_FILES
="$CONFIG_FILES tsan/Makefile" ;;
17464 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17469 # If the user did not use the arguments to specify the items to instantiate,
17470 # then the envvar interface is used. Set only those that are not.
17471 # We use the long form for the default assignment because of an extremely
17472 # bizarre bug on SunOS 4.1.3.
17473 if $ac_need_defaults; then
17474 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17475 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17476 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17479 # Have a temporary directory for convenience. Make it in the build tree
17480 # simply because there is no reason against having it here, and in addition,
17481 # creating and moving files from /tmp can sometimes cause problems.
17482 # Hook for its removal unless debugging.
17483 # Note that there is a small window in which the directory will not be cleaned:
17484 # after its creation but before its name has been assigned to `$tmp'.
17488 trap 'exit_status=$?
17489 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17491 trap 'as_fn_exit 1' 1 2 13 15
17493 # Create a (secure) tmp directory for tmp files.
17496 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17497 test -n "$tmp" && test -d "$tmp"
17500 tmp
=.
/conf$$
-$RANDOM
17501 (umask 077 && mkdir
"$tmp")
17502 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17504 # Set up the scripts for CONFIG_FILES section.
17505 # No need to generate them if there are no CONFIG_FILES.
17506 # This happens for instance with `./config.status config.h'.
17507 if test -n "$CONFIG_FILES"; then
17510 ac_cr
=`echo X | tr X '\015'`
17511 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17512 # But we know of no other shell where ac_cr would be empty at this
17513 # point, so we can use a bashism as a fallback.
17514 if test "x$ac_cr" = x
; then
17515 eval ac_cr
=\$
\'\\r
\'
17517 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17518 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17521 ac_cs_awk_cr
=$ac_cr
17524 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17529 echo "cat >conf$$subs.awk <<_ACEOF" &&
17530 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17532 } >conf$$subs.sh ||
17533 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17534 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17536 for ac_last_try in false false false false false :; do
17537 . ./conf$$subs.sh ||
17538 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17540 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17541 if test $ac_delim_n = $ac_delim_num; then
17543 elif $ac_last_try; then
17544 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17546 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17549 rm -f conf$$subs.sh
17551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17552 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17556 s/^/S["/; s
/!.
*/"]=/
17566 s/\(.\{148\}\).*/\1/
17568 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17573 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17580 s/\(.\{148\}\).*/\1/
17582 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17586 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17591 ' <conf$$subs.awk | sed '
17596 ' >>$CONFIG_STATUS || ac_write_fail=1
17597 rm -f conf$$subs.awk
17598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17600 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17601 for (key in S) S_is_set[key] = 1
17607 nfields = split(line, field, "@
")
17609 len = length(field[1])
17610 for (i = 2; i < nfields; i++) {
17612 keylen = length(key)
17613 if (S_is_set[key]) {
17615 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17616 len += length(value) + length(field[++i])
17627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17628 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17629 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17632 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17633 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17636 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17637 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17638 # trailing colons and then remove the whole line if VPATH becomes empty
17639 # (actually we leave an empty line to preserve line numbers).
17640 if test "x
$srcdir" = x.; then
17641 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17642 s/:*\$(srcdir):*/:/
17643 s/:*\${srcdir}:*/:/
17645 s/^\([^=]*=[ ]*\):*/\1/
17651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17652 fi # test -n "$CONFIG_FILES"
17654 # Set up the scripts for CONFIG_HEADERS section.
17655 # No need to generate them if there are no CONFIG_HEADERS.
17656 # This happens for instance with `./config.status Makefile'.
17657 if test -n "$CONFIG_HEADERS"; then
17658 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17662 # Transform confdefs.h into an awk script `defines.awk', embedded as
17663 # here-document in config.status, that substitutes the proper values into
17664 # config.h.in to produce config.h.
17666 # Create a delimiter string that does not exist in confdefs.h, to ease
17667 # handling of long lines.
17669 for ac_last_try in false false :; do
17670 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17671 if test -z "$ac_t"; then
17673 elif $ac_last_try; then
17674 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17676 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17680 # For the awk script, D is an array of macro values keyed by name,
17681 # likewise P contains macro parameters if any. Preserve backslash
17682 # newline sequences.
17684 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17686 s/.\{148\}/&'"$ac_delim"'/g
17689 s/^[ ]*#[ ]*define[ ][ ]*/ /
17696 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17698 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17702 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17703 D["\
1"]=" \
3\\\\\\n
"\\/p
17705 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17710 s/.\{148\}/&'"$ac_delim"'/g
17715 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17718 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17720 ' <confdefs.h | sed '
17721 s/'"$ac_delim"'/"\\\
17722 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17725 for (key in D) D_is_set[key] = 1
17728 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17730 split(line, arg, " ")
17731 if (arg[1] == "#") {
17735 defundef
= substr
(arg
[1], 2)
17738 split(mac1
, mac2
, "(") #)
17740 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17741 if (D_is_set
[macro
]) {
17742 # Preserve the white space surrounding the "#".
17743 print prefix
"define", macro P
[macro
] D
[macro
]
17746 # Replace #undef with comments. This is necessary, for example,
17747 # in the case of _POSIX_SOURCE, which is predefined and required
17748 # on some systems where configure will not decide to define it.
17749 if (defundef
== "undef") {
17750 print
"/*", prefix defundef
, macro
, "*/"
17758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17759 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17760 fi # test -n "$CONFIG_HEADERS"
17763 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17768 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17770 case $ac_mode$ac_tag in
17772 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17773 :[FH
]-) ac_tag
=-:-;;
17774 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17791 -) ac_f
="$tmp/stdin";;
17792 *) # Look for the file first in the build tree, then in the source tree
17793 # (if the path is not absolute). The absolute path cannot be DOS-style,
17794 # because $ac_f cannot contain `:'.
17798 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17800 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17802 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17803 as_fn_append ac_file_inputs
" '$ac_f'"
17806 # Let's still pretend it is `configure' which instantiates (i.e., don't
17807 # use $as_me), people would be surprised to read:
17808 # /* config.h. Generated by config.status. */
17809 configure_input
='Generated from '`
17810 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17812 if test x
"$ac_file" != x-
; then
17813 configure_input
="$ac_file. $configure_input"
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17815 $as_echo "$as_me: creating $ac_file" >&6;}
17817 # Neutralize special characters interpreted by sed in replacement strings.
17818 case $configure_input in #(
17819 *\
&* |
*\|
* |
*\\* )
17820 ac_sed_conf_input
=`$as_echo "$configure_input" |
17821 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17822 *) ac_sed_conf_input
=$configure_input;;
17826 *:-:* |
*:-) cat >"$tmp/stdin" \
17827 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17832 ac_dir
=`$as_dirname -- "$ac_file" ||
17833 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17834 X"$ac_file" : 'X\(//\)[^/]' \| \
17835 X"$ac_file" : 'X\(//\)$' \| \
17836 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17837 $as_echo X"$ac_file" |
17838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17842 /^X\(\/\/\)[^/].*/{
17855 as_dir
="$ac_dir"; as_fn_mkdir_p
17859 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17861 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17862 # A ".." for each directory in $ac_dir_suffix.
17863 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17864 case $ac_top_builddir_sub in
17865 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17866 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17869 ac_abs_top_builddir
=$ac_pwd
17870 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17871 # for backward compatibility:
17872 ac_top_builddir
=$ac_top_build_prefix
17875 .
) # We are building in place.
17877 ac_top_srcdir
=$ac_top_builddir_sub
17878 ac_abs_top_srcdir
=$ac_pwd ;;
17879 [\\/]* | ?
:[\\/]* ) # Absolute name.
17880 ac_srcdir
=$srcdir$ac_dir_suffix;
17881 ac_top_srcdir
=$srcdir
17882 ac_abs_top_srcdir
=$srcdir ;;
17883 *) # Relative name.
17884 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17885 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17886 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17888 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17898 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17899 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17901 ac_MKDIR_P
=$MKDIR_P
17903 [\\/$
]* | ?
:[\\/]* ) ;;
17904 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17909 # If the template does not know about datarootdir, expand it.
17910 # FIXME: This hack should be removed a few years after 2.60.
17911 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17922 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17923 *datarootdir
*) ac_datarootdir_seen
=yes;;
17924 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17926 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17929 ac_datarootdir_hack='
17930 s&@datadir@&$datadir&g
17931 s&@docdir@&$docdir&g
17932 s&@infodir@&$infodir&g
17933 s&@localedir@&$localedir&g
17934 s&@mandir@&$mandir&g
17935 s&\\\${datarootdir}&$datarootdir&g' ;;
17939 # Neutralize VPATH when `$srcdir' = `.'.
17940 # Shell code in configure.ac might set extrasub.
17941 # FIXME: do we really want to maintain this feature?
17942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17943 ac_sed_extra="$ac_vpsub
17946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17948 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17949 s|@configure_input@|
$ac_sed_conf_input|
;t t
17950 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17951 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17952 s
&@srcdir@
&$ac_srcdir&;t t
17953 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17954 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17955 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17956 s
&@builddir@
&$ac_builddir&;t t
17957 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17958 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17959 s
&@INSTALL@
&$ac_INSTALL&;t t
17960 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17961 $ac_datarootdir_hack
17963 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17964 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17966 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17967 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17968 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17970 which seems to be undefined. Please make sure it is defined." >&5
17971 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17972 which seems to be undefined. Please make sure it is defined." >&2;}
17976 -) cat "$tmp/out" && rm -f "$tmp/out";;
17977 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17979 || as_fn_error "could not create $ac_file" "$LINENO" 5
17985 if test x"$ac_file" != x-; then
17987 $as_echo "/* $configure_input */" \
17988 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17989 } >"$tmp/config.h" \
17990 || as_fn_error "could not create $ac_file" "$LINENO" 5
17991 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17993 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17996 mv "$tmp/config.h" "$ac_file" \
17997 || as_fn_error "could not create $ac_file" "$LINENO" 5
18000 $as_echo "/* $configure_input */" \
18001 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18002 || as_fn_error "could not create -" "$LINENO" 5
18004 # Compute "$ac_file"'s index
in $config_headers.
18007 for _am_header
in $config_headers :; do
18008 case $_am_header in
18009 $_am_arg |
$_am_arg:* )
18012 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18015 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18016 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18017 X"$_am_arg" : 'X\(//\)[^/]' \| \
18018 X"$_am_arg" : 'X\(//\)$' \| \
18019 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18020 $as_echo X"$_am_arg" |
18021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18025 /^X\(\/\/\)[^/].*/{
18037 s/.*/./; q'`/stamp-h
$_am_stamp_count
18040 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18041 $as_echo "$as_me: executing $ac_file commands" >&6;}
18046 case $ac_file$ac_mode in
18047 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18048 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18049 # are listed without --file. Let's play safe and only enable the eval
18050 # if we detect the quoting.
18051 case $CONFIG_FILES in
18052 *\'*) eval set x
"$CONFIG_FILES" ;;
18053 *) set x
$CONFIG_FILES ;;
18058 # Strip MF so we end up with the name of the file.
18059 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18060 # Check whether this is an Automake generated Makefile or not.
18061 # We used to match only the files named `Makefile.in', but
18062 # some people rename them; so instead we look at the file content.
18063 # Grep'ing the first line is not enough: some people post-process
18064 # each Makefile.in and add a new line on top of each file to say so.
18065 # Grep'ing the whole file is not good either: AIX grep has a line
18066 # limit of 2048, but all sed's we know have understand at least 4000.
18067 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18068 dirpart
=`$as_dirname -- "$mf" ||
18069 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18070 X"$mf" : 'X\(//\)[^/]' \| \
18071 X"$mf" : 'X\(//\)$' \| \
18072 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18078 /^X\(\/\/\)[^/].*/{
18094 # Extract the definition of DEPDIR, am__include, and am__quote
18095 # from the Makefile without running `make'.
18096 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18097 test -z "$DEPDIR" && continue
18098 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18099 test -z "am__include" && continue
18100 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18101 # When using ansi2knr, U may be empty or an underscore; expand it
18102 U
=`sed -n 's/^U = //p' < "$mf"`
18103 # Find all dependency output files, they are included files with
18104 # $(DEPDIR) in their names. We invoke sed twice because it is the
18105 # simplest approach to changing $(DEPDIR) to its actual value in the
18107 for file in `sed -n "
18108 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18109 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18110 # Make sure the directory exists.
18111 test -f "$dirpart/$file" && continue
18112 fdir
=`$as_dirname -- "$file" ||
18113 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18114 X"$file" : 'X\(//\)[^/]' \| \
18115 X"$file" : 'X\(//\)$' \| \
18116 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18117 $as_echo X"$file" |
18118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18122 /^X\(\/\/\)[^/].*/{
18135 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18136 # echo "creating $dirpart/$file"
18137 echo '# dummy' > "$dirpart/$file"
18143 # Only add multilib support code if we just rebuilt the top-level
18145 case " $CONFIG_FILES " in
18147 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18152 # See if we are running on zsh, and set the options which allow our
18153 # commands through without removal of \ escapes.
18154 if test -n "${ZSH_VERSION+set}" ; then
18155 setopt NO_GLOB_SUBST
18158 cfgfile
="${ofile}T"
18159 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18162 cat <<_LT_EOF >> "$cfgfile"
18165 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18166 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18167 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18168 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18170 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18171 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18172 # Written by Gordon Matzigkeit, 1996
18174 # This file is part of GNU Libtool.
18176 # GNU Libtool is free software; you can redistribute it and/or
18177 # modify it under the terms of the GNU General Public License as
18178 # published by the Free Software Foundation; either version 2 of
18179 # the License, or (at your option) any later version.
18181 # As a special exception to the GNU General Public License,
18182 # if you distribute this file as part of a program or library that
18183 # is built using GNU Libtool, you may include this file under the
18184 # same distribution terms that you use for the rest of that program.
18186 # GNU Libtool is distributed in the hope that it will be useful,
18187 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18188 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18189 # GNU General Public License for more details.
18191 # You should have received a copy of the GNU General Public License
18192 # along with GNU Libtool; see the file COPYING. If not, a copy
18193 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18194 # obtained by writing to the Free Software Foundation, Inc.,
18195 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18198 # The names of the tagged configurations supported by this script.
18199 available_tags="CXX "
18201 # ### BEGIN LIBTOOL CONFIG
18203 # Which release of libtool.m4 was used?
18204 macro_version=$macro_version
18205 macro_revision=$macro_revision
18207 # Whether or not to build shared libraries.
18208 build_libtool_libs=$enable_shared
18210 # Whether or not to build static libraries.
18211 build_old_libs=$enable_static
18213 # What type of objects to build.
18216 # Whether or not to optimize for fast installation.
18217 fast_install=$enable_fast_install
18219 # Shell to use when invoking shell scripts.
18222 # An echo program that protects backslashes.
18226 host_alias=$host_alias
18230 # The build system.
18231 build_alias=$build_alias
18235 # A sed program that does not truncate output.
18238 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18239 Xsed="\$SED -e 1s/^X//"
18241 # A grep program that handles long lines.
18247 # A literal string matcher.
18250 # A BSD- or MS-compatible name lister.
18253 # Whether we need soft or hard links.
18256 # What is the maximum length of a command?
18257 max_cmd_len=$max_cmd_len
18259 # Object file suffix (normally "o").
18262 # Executable file suffix (normally "").
18265 # whether the shell understands "unset".
18268 # turn spaces into newlines.
18271 # turn newlines into spaces.
18274 # An object symbol dumper.
18275 OBJDUMP=$lt_OBJDUMP
18277 # Method to check whether dependent libraries are shared objects.
18278 deplibs_check_method=$lt_deplibs_check_method
18280 # Command to use when deplibs_check_method == "file_magic".
18281 file_magic_cmd=$lt_file_magic_cmd
18285 AR_FLAGS=$lt_AR_FLAGS
18287 # A symbol stripping program.
18290 # Commands used to install an old-style archive.
18292 old_postinstall_cmds=$lt_old_postinstall_cmds
18293 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18295 # Whether to use a lock for old archive extraction.
18296 lock_old_archive_extraction=$lock_old_archive_extraction
18301 # LTCC compiler flags.
18302 LTCFLAGS=$lt_CFLAGS
18304 # Take the output of nm and produce a listing of raw symbols and C names.
18305 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18307 # Transform the output of nm in a proper C declaration.
18308 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18310 # Transform the output of nm in a C name address pair.
18311 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18313 # Transform the output of nm in a C name address pair when lib prefix is needed.
18314 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18316 # The name of the directory that contains temporary libtool files.
18319 # Used to examine libraries when file_magic_cmd begins with "file".
18320 MAGIC_CMD=$MAGIC_CMD
18322 # Must we lock files when doing compilation?
18323 need_locks=$lt_need_locks
18325 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18326 DSYMUTIL=$lt_DSYMUTIL
18328 # Tool to change global to local symbols on Mac OS X.
18331 # Tool to manipulate fat objects and archives on Mac OS X.
18334 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18337 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18338 OTOOL64=$lt_OTOOL64
18340 # Old archive suffix (normally "a").
18343 # Shared library suffix (normally ".so").
18344 shrext_cmds=$lt_shrext_cmds
18346 # The commands to extract the exported symbol list from a shared archive.
18347 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18349 # Variables whose values should be saved in libtool wrapper scripts and
18350 # restored at link time.
18351 variables_saved_for_relink=$lt_variables_saved_for_relink
18353 # Do we need the "lib" prefix for modules?
18354 need_lib_prefix=$need_lib_prefix
18356 # Do we need a version for libraries?
18357 need_version=$need_version
18359 # Library versioning type.
18360 version_type=$version_type
18362 # Shared library runtime path variable.
18363 runpath_var=$runpath_var
18365 # Shared library path variable.
18366 shlibpath_var=$shlibpath_var
18368 # Is shlibpath searched before the hard-coded library search path?
18369 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18371 # Format of library name prefix.
18372 libname_spec=$lt_libname_spec
18374 # List of archive names. First name is the real one, the rest are links.
18375 # The last name is the one that the linker finds with -lNAME
18376 library_names_spec=$lt_library_names_spec
18378 # The coded name of the library, if different from the real name.
18379 soname_spec=$lt_soname_spec
18381 # Permission mode override for installation of shared libraries.
18382 install_override_mode=$lt_install_override_mode
18384 # Command to use after installation of a shared archive.
18385 postinstall_cmds=$lt_postinstall_cmds
18387 # Command to use after uninstallation of a shared archive.
18388 postuninstall_cmds=$lt_postuninstall_cmds
18390 # Commands used to finish a libtool library installation in a directory.
18391 finish_cmds=$lt_finish_cmds
18393 # As "finish_cmds", except a single script fragment to be evaled but
18395 finish_eval=$lt_finish_eval
18397 # Whether we should hardcode library paths into libraries.
18398 hardcode_into_libs=$hardcode_into_libs
18400 # Compile-time system search path for libraries.
18401 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18403 # Run-time system search path for libraries.
18404 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18406 # Whether dlopen is supported.
18407 dlopen_support=$enable_dlopen
18409 # Whether dlopen of programs is supported.
18410 dlopen_self=$enable_dlopen_self
18412 # Whether dlopen of statically linked programs is supported.
18413 dlopen_self_static=$enable_dlopen_self_static
18415 # Commands to strip libraries.
18416 old_striplib=$lt_old_striplib
18417 striplib=$lt_striplib
18420 # The linker used to build libraries.
18423 # How to create reloadable object files.
18424 reload_flag=$lt_reload_flag
18425 reload_cmds=$lt_reload_cmds
18427 # Commands used to build an old-style archive.
18428 old_archive_cmds=$lt_old_archive_cmds
18430 # A language specific compiler.
18433 # Is the compiler the GNU compiler?
18436 # Compiler flag to turn off builtin functions.
18437 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18439 # How to pass a linker flag through the compiler.
18440 wl=$lt_lt_prog_compiler_wl
18442 # Additional compiler flags for building library objects.
18443 pic_flag=$lt_lt_prog_compiler_pic
18445 # Compiler flag to prevent dynamic linking.
18446 link_static_flag=$lt_lt_prog_compiler_static
18448 # Does compiler simultaneously support -c and -o options?
18449 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18451 # Whether or not to add -lc for building shared libraries.
18452 build_libtool_need_lc=$archive_cmds_need_lc
18454 # Whether or not to disallow shared libs when runtime libs are static.
18455 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18457 # Compiler flag to allow reflexive dlopens.
18458 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18460 # Compiler flag to generate shared objects directly from archives.
18461 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18463 # Whether the compiler copes with passing no objects directly.
18464 compiler_needs_object=$lt_compiler_needs_object
18466 # Create an old-style archive from a shared archive.
18467 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18469 # Create a temporary old-style archive to link instead of a shared archive.
18470 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18472 # Commands used to build a shared archive.
18473 archive_cmds=$lt_archive_cmds
18474 archive_expsym_cmds=$lt_archive_expsym_cmds
18476 # Commands used to build a loadable module if different from building
18477 # a shared archive.
18478 module_cmds=$lt_module_cmds
18479 module_expsym_cmds=$lt_module_expsym_cmds
18481 # Whether we are building with GNU ld or not.
18482 with_gnu_ld=$lt_with_gnu_ld
18484 # Flag that allows shared libraries with undefined symbols to be built.
18485 allow_undefined_flag=$lt_allow_undefined_flag
18487 # Flag that enforces no undefined symbols.
18488 no_undefined_flag=$lt_no_undefined_flag
18490 # Flag to hardcode \$libdir into a binary during linking.
18491 # This must work even if \$libdir does not exist
18492 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18494 # If ld is used when linking, flag to hardcode \$libdir into a binary
18495 # during linking. This must work even if \$libdir does not exist.
18496 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18498 # Whether we need a single "-rpath" flag with a separated argument.
18499 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18501 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18502 # DIR into the resulting binary.
18503 hardcode_direct=$hardcode_direct
18505 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18506 # DIR into the resulting binary and the resulting library dependency is
18507 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18508 # library is relocated.
18509 hardcode_direct_absolute=$hardcode_direct_absolute
18511 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18512 # into the resulting binary.
18513 hardcode_minus_L=$hardcode_minus_L
18515 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18516 # into the resulting binary.
18517 hardcode_shlibpath_var=$hardcode_shlibpath_var
18519 # Set to "yes" if building a shared library automatically hardcodes DIR
18520 # into the library and all subsequent libraries and executables linked
18522 hardcode_automatic=$hardcode_automatic
18524 # Set to yes if linker adds runtime paths of dependent libraries
18525 # to runtime path list.
18526 inherit_rpath=$inherit_rpath
18528 # Whether libtool must link a program against all its dependency libraries.
18529 link_all_deplibs=$link_all_deplibs
18531 # Fix the shell variable \$srcfile for the compiler.
18532 fix_srcfile_path=$lt_fix_srcfile_path
18534 # Set to "yes" if exported symbols are required.
18535 always_export_symbols=$always_export_symbols
18537 # The commands to list exported symbols.
18538 export_symbols_cmds=$lt_export_symbols_cmds
18540 # Symbols that should not be listed in the preloaded symbols.
18541 exclude_expsyms=$lt_exclude_expsyms
18543 # Symbols that must always be exported.
18544 include_expsyms=$lt_include_expsyms
18546 # Commands necessary for linking programs (against libraries) with templates.
18547 prelink_cmds=$lt_prelink_cmds
18549 # Specify filename containing input files.
18550 file_list_spec=$lt_file_list_spec
18552 # How to hardcode a shared library path into an executable.
18553 hardcode_action=$hardcode_action
18555 # The directories searched by this compiler when creating a shared library.
18556 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18558 # Dependencies to place before and after the objects being linked to
18559 # create a shared library.
18560 predep_objects=$lt_predep_objects
18561 postdep_objects=$lt_postdep_objects
18562 predeps=$lt_predeps
18563 postdeps=$lt_postdeps
18565 # The library search path used internally by the compiler when linking
18566 # a shared library.
18567 compiler_lib_search_path=$lt_compiler_lib_search_path
18569 # ### END LIBTOOL CONFIG
18575 cat <<\_LT_EOF
>> "$cfgfile"
18576 # AIX sometimes has problems with the GCC collect2 program. For some
18577 # reason, if we set the COLLECT_NAMES environment variable, the problems
18578 # vanish in a puff of smoke.
18579 if test "X${COLLECT_NAMES+set}" != Xset
; then
18581 export COLLECT_NAMES
18588 ltmain
="$ac_aux_dir/ltmain.sh"
18591 # We use sed instead of cat because bash on DJGPP gets confused if
18592 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18593 # text mode, it properly converts lines to CR/LF. This bash problem
18594 # is reportedly fixed, but why not run on old versions too?
18595 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18596 ||
(rm -f "$cfgfile"; exit 1)
18600 cat << \_LT_EOF
>> "$cfgfile"
18602 # func_dirname file append nondir_replacement
18603 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18604 # otherwise set result to NONDIR_REPLACEMENT.
18608 */*) func_dirname_result
="${1%/*}${2}" ;;
18609 * ) func_dirname_result
="${3}" ;;
18613 # func_basename file
18616 func_basename_result
="${1##*/}"
18619 # func_dirname_and_basename file append nondir_replacement
18620 # perform func_basename and func_dirname in a single function
18622 # dirname: Compute the dirname of FILE. If nonempty,
18623 # add APPEND to the result, otherwise set result
18624 # to NONDIR_REPLACEMENT.
18625 # value returned in "$func_dirname_result"
18626 # basename: Compute filename of FILE.
18627 # value retuned in "$func_basename_result"
18628 # Implementation must be kept synchronized with func_dirname
18629 # and func_basename. For efficiency, we do not delegate to
18630 # those functions but instead duplicate the functionality here.
18631 func_dirname_and_basename
()
18634 */*) func_dirname_result
="${1%/*}${2}" ;;
18635 * ) func_dirname_result
="${3}" ;;
18637 func_basename_result
="${1##*/}"
18640 # func_stripname prefix suffix name
18641 # strip PREFIX and SUFFIX off of NAME.
18642 # PREFIX and SUFFIX must not contain globbing or regex special
18643 # characters, hashes, percent signs, but SUFFIX may contain a leading
18644 # dot (in which case that matches only a dot).
18647 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18648 # positional parameters, so assign one to ordinary parameter first.
18649 func_stripname_result
=${3}
18650 func_stripname_result
=${func_stripname_result#"${1}"}
18651 func_stripname_result
=${func_stripname_result%"${2}"}
18657 func_opt_split_opt
=${1%%=*}
18658 func_opt_split_arg
=${1#*=}
18665 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18666 *) func_lo2o_result
=${1} ;;
18670 # func_xform libobj-or-source
18673 func_xform_result
=${1%.*}.lo
18676 # func_arith arithmetic-term...
18679 func_arith_result
=$
(( $
* ))
18683 # STRING may not start with a hyphen.
18686 func_len_result
=${#1}
18691 *) # Bourne compatible functions.
18692 cat << \_LT_EOF
>> "$cfgfile"
18694 # func_dirname file append nondir_replacement
18695 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18696 # otherwise set result to NONDIR_REPLACEMENT.
18699 # Extract subdirectory from the argument.
18700 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18701 if test "X$func_dirname_result" = "X${1}"; then
18702 func_dirname_result
="${3}"
18704 func_dirname_result
="$func_dirname_result${2}"
18708 # func_basename file
18711 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18715 # func_stripname prefix suffix name
18716 # strip PREFIX and SUFFIX off of NAME.
18717 # PREFIX and SUFFIX must not contain globbing or regex special
18718 # characters, hashes, percent signs, but SUFFIX may contain a leading
18719 # dot (in which case that matches only a dot).
18720 # func_strip_suffix prefix name
18724 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18725 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18730 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18731 my_sed_long_arg
='1s/^-[^=]*=//'
18736 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18737 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18743 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18746 # func_xform libobj-or-source
18749 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18752 # func_arith arithmetic-term...
18755 func_arith_result
=`expr "$@"`
18759 # STRING may not start with a hyphen.
18762 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18768 case $lt_shell_append in
18770 cat << \_LT_EOF
>> "$cfgfile"
18772 # func_append var value
18773 # Append VALUE to the end of shell variable VAR.
18781 cat << \_LT_EOF
>> "$cfgfile"
18783 # func_append var value
18784 # Append VALUE to the end of shell variable VAR.
18795 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18796 ||
(rm -f "$cfgfile"; exit 1)
18798 mv -f "$cfgfile" "$ofile" ||
18799 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18803 cat <<_LT_EOF >> "$ofile"
18805 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18807 # The linker used to build libraries.
18810 # How to create reloadable object files.
18811 reload_flag=$lt_reload_flag_CXX
18812 reload_cmds=$lt_reload_cmds_CXX
18814 # Commands used to build an old-style archive.
18815 old_archive_cmds=$lt_old_archive_cmds_CXX
18817 # A language specific compiler.
18818 CC=$lt_compiler_CXX
18820 # Is the compiler the GNU compiler?
18823 # Compiler flag to turn off builtin functions.
18824 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18826 # How to pass a linker flag through the compiler.
18827 wl=$lt_lt_prog_compiler_wl_CXX
18829 # Additional compiler flags for building library objects.
18830 pic_flag=$lt_lt_prog_compiler_pic_CXX
18832 # Compiler flag to prevent dynamic linking.
18833 link_static_flag=$lt_lt_prog_compiler_static_CXX
18835 # Does compiler simultaneously support -c and -o options?
18836 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18838 # Whether or not to add -lc for building shared libraries.
18839 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18841 # Whether or not to disallow shared libs when runtime libs are static.
18842 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18844 # Compiler flag to allow reflexive dlopens.
18845 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18847 # Compiler flag to generate shared objects directly from archives.
18848 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18850 # Whether the compiler copes with passing no objects directly.
18851 compiler_needs_object=$lt_compiler_needs_object_CXX
18853 # Create an old-style archive from a shared archive.
18854 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18856 # Create a temporary old-style archive to link instead of a shared archive.
18857 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18859 # Commands used to build a shared archive.
18860 archive_cmds=$lt_archive_cmds_CXX
18861 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18863 # Commands used to build a loadable module if different from building
18864 # a shared archive.
18865 module_cmds=$lt_module_cmds_CXX
18866 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18868 # Whether we are building with GNU ld or not.
18869 with_gnu_ld=$lt_with_gnu_ld_CXX
18871 # Flag that allows shared libraries with undefined symbols to be built.
18872 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18874 # Flag that enforces no undefined symbols.
18875 no_undefined_flag=$lt_no_undefined_flag_CXX
18877 # Flag to hardcode \$libdir into a binary during linking.
18878 # This must work even if \$libdir does not exist
18879 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18881 # If ld is used when linking, flag to hardcode \$libdir into a binary
18882 # during linking. This must work even if \$libdir does not exist.
18883 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18885 # Whether we need a single "-rpath" flag with a separated argument.
18886 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18888 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18889 # DIR into the resulting binary.
18890 hardcode_direct=$hardcode_direct_CXX
18892 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18893 # DIR into the resulting binary and the resulting library dependency is
18894 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18895 # library is relocated.
18896 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18898 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18899 # into the resulting binary.
18900 hardcode_minus_L=$hardcode_minus_L_CXX
18902 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18903 # into the resulting binary.
18904 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18906 # Set to "yes" if building a shared library automatically hardcodes DIR
18907 # into the library and all subsequent libraries and executables linked
18909 hardcode_automatic=$hardcode_automatic_CXX
18911 # Set to yes if linker adds runtime paths of dependent libraries
18912 # to runtime path list.
18913 inherit_rpath=$inherit_rpath_CXX
18915 # Whether libtool must link a program against all its dependency libraries.
18916 link_all_deplibs=$link_all_deplibs_CXX
18918 # Fix the shell variable \$srcfile for the compiler.
18919 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18921 # Set to "yes" if exported symbols are required.
18922 always_export_symbols=$always_export_symbols_CXX
18924 # The commands to list exported symbols.
18925 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18927 # Symbols that should not be listed in the preloaded symbols.
18928 exclude_expsyms=$lt_exclude_expsyms_CXX
18930 # Symbols that must always be exported.
18931 include_expsyms=$lt_include_expsyms_CXX
18933 # Commands necessary for linking programs (against libraries) with templates.
18934 prelink_cmds=$lt_prelink_cmds_CXX
18936 # Specify filename containing input files.
18937 file_list_spec=$lt_file_list_spec_CXX
18939 # How to hardcode a shared library path into an executable.
18940 hardcode_action=$hardcode_action_CXX
18942 # The directories searched by this compiler when creating a shared library.
18943 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18945 # Dependencies to place before and after the objects being linked to
18946 # create a shared library.
18947 predep_objects=$lt_predep_objects_CXX
18948 postdep_objects=$lt_postdep_objects_CXX
18949 predeps=$lt_predeps_CXX
18950 postdeps=$lt_postdeps_CXX
18952 # The library search path used internally by the compiler when linking
18953 # a shared library.
18954 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18956 # ### END LIBTOOL TAG CONFIG: CXX
18961 if test "$GCC" = yes; then
18962 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
18964 echo "/* generated for $CC */" > tmp-stdint.h
18967 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18969 #ifndef GCC_GENERATED_STDINT_H
18970 #define GCC_GENERATED_STDINT_H 1
18972 #include <sys/types.h>
18975 if test "$acx_cv_header_stdint" != stdint.h
; then
18976 echo "#include <stddef.h>" >> tmp-stdint.h
18978 if test "$acx_cv_header_stdint" != stddef.h
; then
18979 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
18982 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18983 /* glibc uses these symbols as guards to prevent redefinitions. */
18984 #ifdef __int8_t_defined
18989 #ifdef __uint32_t_defined
18995 # ----------------- done header, emit basic int types -------------
18996 if test "$acx_cv_header_stdint" = stddef.h
; then
18997 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19001 #ifndef __uint8_t_defined
19002 #define __uint8_t_defined
19004 typedef unsigned $acx_cv_type_int8_t uint8_t;
19011 #ifndef __uint16_t_defined
19012 #define __uint16_t_defined
19014 typedef unsigned $acx_cv_type_int16_t uint16_t;
19021 #ifndef __uint32_t_defined
19022 #define __uint32_t_defined
19024 typedef unsigned $acx_cv_type_int32_t uint32_t;
19031 #ifndef __int8_t_defined
19032 #define __int8_t_defined
19034 typedef $acx_cv_type_int8_t int8_t;
19041 #ifndef __int16_t_defined
19042 #define __int16_t_defined
19044 typedef $acx_cv_type_int16_t int16_t;
19051 #ifndef __int32_t_defined
19052 #define __int32_t_defined
19054 typedef $acx_cv_type_int32_t int32_t;
19059 elif test "$ac_cv_type_u_int32_t" = yes; then
19060 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19062 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
19075 #ifndef __uint8_t_defined
19076 #define __uint8_t_defined
19078 typedef u_int8_t uint8_t;
19085 #ifndef __uint16_t_defined
19086 #define __uint16_t_defined
19088 typedef u_int16_t uint16_t;
19095 #ifndef __uint32_t_defined
19096 #define __uint32_t_defined
19098 typedef u_int32_t uint32_t;
19104 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19106 /* Some systems have guard macros to prevent redefinitions, define them. */
19128 # ------------- done basic int types, emit int64_t types ------------
19129 if test "$ac_cv_type_uint64_t" = yes; then
19130 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19132 /* system headers have good uint64_t and int64_t */
19140 elif test "$ac_cv_type_u_int64_t" = yes; then
19141 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19143 /* system headers have an u_int64_t (and int64_t) */
19149 #ifndef __uint64_t_defined
19150 #define __uint64_t_defined
19152 typedef u_int64_t uint64_t;
19157 elif test -n "$acx_cv_type_int64_t"; then
19158 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19160 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
19164 typedef $acx_cv_type_int64_t int64_t;
19169 #ifndef __uint64_t_defined
19170 #define __uint64_t_defined
19172 typedef unsigned $acx_cv_type_int64_t uint64_t;
19178 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19180 /* some common heuristics for int64_t, using compiler-specific tests */
19181 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
19184 #ifndef __int64_t_defined
19186 typedef long long int64_t;
19193 typedef unsigned long long uint64_t;
19197 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
19198 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
19199 does not implement __extension__. But that compiler doesn't define
19201 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
19202 # define __extension__
19208 __extension__ typedef long long int64_t;
19214 __extension__ typedef unsigned long long uint64_t;
19218 #elif !defined __STRICT_ANSI__
19219 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19224 typedef __int64 int64_t;
19230 typedef unsigned __int64 uint64_t;
19233 # endif /* compiler */
19235 #endif /* ANSI version */
19239 # ------------- done int64_t types, emit intptr types ------------
19240 if test "$ac_cv_type_uintptr_t" != yes; then
19241 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19243 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
19244 #ifndef __uintptr_t_defined
19246 typedef u$acx_cv_type_intptr_t uintptr_t;
19249 #ifndef __intptr_t_defined
19251 typedef $acx_cv_type_intptr_t intptr_t;
19257 # ------------- done intptr types, emit int_least types ------------
19258 if test "$ac_cv_type_int_least32_t" != yes; then
19259 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19261 /* Define int_least types */
19262 typedef int8_t int_least8_t;
19263 typedef int16_t int_least16_t;
19264 typedef int32_t int_least32_t;
19266 typedef int64_t int_least64_t;
19269 typedef uint8_t uint_least8_t;
19270 typedef uint16_t uint_least16_t;
19271 typedef uint32_t uint_least32_t;
19273 typedef uint64_t uint_least64_t;
19278 # ------------- done intptr types, emit int_fast types ------------
19279 if test "$ac_cv_type_int_fast32_t" != yes; then
19280 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19282 /* Define int_fast types. short is often slow */
19283 typedef int8_t int_fast8_t;
19284 typedef int int_fast16_t;
19285 typedef int32_t int_fast32_t;
19287 typedef int64_t int_fast64_t;
19290 typedef uint8_t uint_fast8_t;
19291 typedef unsigned int uint_fast16_t;
19292 typedef uint32_t uint_fast32_t;
19294 typedef uint64_t uint_fast64_t;
19299 if test "$ac_cv_type_uintmax_t" != yes; then
19300 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19302 /* Define intmax based on what we found */
19305 typedef int64_t intmax_t;
19307 typedef long intmax_t;
19312 typedef uint64_t uintmax_t;
19314 typedef unsigned long uintmax_t;
19320 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19322 #endif /* GCC_GENERATED_STDINT_H */
19325 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
19328 mv -f tmp-stdint.h gstdint.h
19332 "interception/Makefile":F
) cat > vpsed$$
<< \_EOF
19333 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19335 sed -f vpsed$$
$ac_file > tmp$$
19338 echo 'MULTISUBDIR =' >> $ac_file
19340 .
${multi_basedir}/config-ml.
in
19341 { ml_norecursion
=; unset ml_norecursion
;}
19343 "sanitizer_common/Makefile":F
) cat > vpsed$$
<< \_EOF
19344 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19346 sed -f vpsed$$
$ac_file > tmp$$
19349 echo 'MULTISUBDIR =' >> $ac_file
19351 .
${multi_basedir}/config-ml.
in
19352 { ml_norecursion
=; unset ml_norecursion
;}
19354 "libbacktrace/Makefile":F
) cat > vpsed$$
<< \_EOF
19355 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19357 sed -f vpsed$$
$ac_file > tmp$$
19360 echo 'MULTISUBDIR =' >> $ac_file
19362 .
${multi_basedir}/config-ml.
in
19363 { ml_norecursion
=; unset ml_norecursion
;}
19365 "lsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19366 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19368 sed -f vpsed$$
$ac_file > tmp$$
19371 echo 'MULTISUBDIR =' >> $ac_file
19373 .
${multi_basedir}/config-ml.
in
19374 { ml_norecursion
=; unset ml_norecursion
;}
19376 "asan/Makefile":F
) cat > vpsed$$
<< \_EOF
19377 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19379 sed -f vpsed$$
$ac_file > tmp$$
19382 echo 'MULTISUBDIR =' >> $ac_file
19384 .
${multi_basedir}/config-ml.
in
19385 { ml_norecursion
=; unset ml_norecursion
;}
19387 "ubsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19388 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19390 sed -f vpsed$$
$ac_file > tmp$$
19393 echo 'MULTISUBDIR =' >> $ac_file
19395 .
${multi_basedir}/config-ml.
in
19396 { ml_norecursion
=; unset ml_norecursion
;}
19398 "tsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19399 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19401 sed -f vpsed$$
$ac_file > tmp$$
19404 echo 'MULTISUBDIR =' >> $ac_file
19406 .
${multi_basedir}/config-ml.
in
19407 { ml_norecursion
=; unset ml_norecursion
;}
19416 ac_clean_files
=$ac_clean_files_save
19418 test $ac_write_fail = 0 ||
19419 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19422 # configure is writing to config.log, and then calls config.status.
19423 # config.status does its own redirection, appending to config.log.
19424 # Unfortunately, on DOS this fails, as config.log is still kept open
19425 # by configure, so config.status won't be able to write to it; its
19426 # output is simply discarded. So we exec the FD to /dev/null,
19427 # effectively closing config.log, so it can be properly (re)opened and
19428 # appended to by config.status. When coming back to configure, we
19429 # need to make the FD available again.
19430 if test "$no_create" != yes; then
19432 ac_config_status_args
=
19433 test "$silent" = yes &&
19434 ac_config_status_args
="$ac_config_status_args --quiet"
19436 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19438 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19439 # would make configure fail if this is the last instruction.
19440 $ac_cs_success || as_fn_exit $?
19442 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19444 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}