2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Report bugs to <libsanitizer>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and libsanitizer about
240 $0: your system, including any error possibly output before
241 $0: this message. Then install a modern shell, or manually
242 $0: run the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error ERROR [LINENO LOG_FD]
368 # ---------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with status $?, using 1 if that was 0.
374 as_status
=$?
; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
379 $as_echo "$as_me: error: $1" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 SHELL
=${CONFIG_SHELL-/bin/sh}
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
558 # Identity of this package.
559 PACKAGE_NAME
='package-unused'
560 PACKAGE_TARNAME
='package-unused'
561 PACKAGE_VERSION
='version-unused'
562 PACKAGE_STRING
='package-unused version-unused'
563 PACKAGE_BUGREPORT
='libsanitizer'
566 ac_unique_file
="include/sanitizer/common_interface_defs.h"
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
580 # ifdef HAVE_STDLIB_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
603 ac_subst_vars
='am__EXEEXT_FALSE
607 LIBBACKTRACE_SUPPORTED_FALSE
608 LIBBACKTRACE_SUPPORTED_TRUE
609 BACKTRACE_SUPPORTS_THREADS
610 BACKTRACE_USES_MALLOC
615 SANITIZER_SUPPORTED_FALSE
616 SANITIZER_SUPPORTED_TRUE
617 USING_MAC_INTERPOSE_FALSE
618 USING_MAC_INTERPOSE_TRUE
646 am__fastdepCCAS_FALSE
660 MAINTAINER_MODE_FALSE
680 INSTALL_STRIP_PROGRAM
695 LIBSTDCXX_RAW_CXX_LDFLAGS
696 LIBSTDCXX_RAW_CXX_CXXFLAGS
747 program_transform_name
760 enable_option_checking
761 enable_version_specific_runtime_libs
762 enable_dependency_tracking
764 enable_maintainer_mode
772 ac_precious_vars
='build_alias
789 # Initialize some variables set by options.
791 ac_init_version
=false
792 ac_unrecognized_opts
=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
803 program_transform_name
=s
,x
,x
,
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir
='${exec_prefix}/bin'
818 sbindir
='${exec_prefix}/sbin'
819 libexecdir
='${exec_prefix}/libexec'
820 datarootdir
='${prefix}/share'
821 datadir
='${datarootdir}'
822 sysconfdir
='${prefix}/etc'
823 sharedstatedir
='${prefix}/com'
824 localstatedir
='${prefix}/var'
825 includedir
='${prefix}/include'
826 oldincludedir
='/usr/include'
827 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir
='${datarootdir}/info'
833 libdir
='${exec_prefix}/lib'
834 localedir
='${datarootdir}/locale'
835 mandir
='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\
$ac_option
849 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
859 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
861 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
864 -build |
--build |
--buil |
--bui |
--bu)
865 ac_prev
=build_alias
;;
866 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
867 build_alias
=$ac_optarg ;;
869 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
870 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
871 ac_prev
=cache_file
;;
872 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
873 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
874 cache_file
=$ac_optarg ;;
877 cache_file
=config.cache
;;
879 -datadir |
--datadir |
--datadi |
--datad)
881 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
882 datadir
=$ac_optarg ;;
884 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
885 |
--dataroo |
--dataro |
--datar)
886 ac_prev
=datarootdir
;;
887 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
888 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
889 datarootdir
=$ac_optarg ;;
891 -disable-* |
--disable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=no
;;
907 -docdir |
--docdir |
--docdi |
--doc |
--do)
909 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
912 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
914 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
917 -enable-* |
--enable-*)
918 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
921 as_fn_error
"invalid feature name: $ac_useropt"
922 ac_useropt_orig
=$ac_useropt
923 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep
=', ';;
931 eval enable_
$ac_useropt=\
$ac_optarg ;;
933 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
934 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
935 |
--exec |
--exe |
--ex)
936 ac_prev
=exec_prefix
;;
937 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
938 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
939 |
--exec=* |
--exe=* |
--ex=*)
940 exec_prefix
=$ac_optarg ;;
942 -gas |
--gas |
--ga |
--g)
943 # Obsolete; use --with-gas.
946 -help |
--help |
--hel |
--he |
-h)
948 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
949 ac_init_help
=recursive
;;
950 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
951 ac_init_help
=short
;;
953 -host |
--host |
--hos |
--ho)
954 ac_prev
=host_alias
;;
955 -host=* |
--host=* |
--hos=* |
--ho=*)
956 host_alias
=$ac_optarg ;;
958 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
960 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
962 htmldir
=$ac_optarg ;;
964 -includedir |
--includedir |
--includedi |
--included |
--include \
965 |
--includ |
--inclu |
--incl |
--inc)
966 ac_prev
=includedir
;;
967 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
968 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
969 includedir
=$ac_optarg ;;
971 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
973 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
974 infodir
=$ac_optarg ;;
976 -libdir |
--libdir |
--libdi |
--libd)
978 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
981 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
982 |
--libexe |
--libex |
--libe)
983 ac_prev
=libexecdir
;;
984 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
985 |
--libexe=* |
--libex=* |
--libe=*)
986 libexecdir
=$ac_optarg ;;
988 -localedir |
--localedir |
--localedi |
--localed |
--locale)
990 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
991 localedir
=$ac_optarg ;;
993 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
994 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
995 ac_prev
=localstatedir
;;
996 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
997 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
998 localstatedir
=$ac_optarg ;;
1000 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1002 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1003 mandir
=$ac_optarg ;;
1005 -nfp |
--nfp |
--nf)
1006 # Obsolete; use --without-fp.
1009 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1010 |
--no-cr |
--no-c |
-n)
1013 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1014 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1017 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1018 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1019 |
--oldin |
--oldi |
--old |
--ol |
--o)
1020 ac_prev
=oldincludedir
;;
1021 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1022 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1023 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1024 oldincludedir
=$ac_optarg ;;
1026 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1028 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1029 prefix
=$ac_optarg ;;
1031 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1032 |
--program-pre |
--program-pr |
--program-p)
1033 ac_prev
=program_prefix
;;
1034 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1035 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1036 program_prefix
=$ac_optarg ;;
1038 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1039 |
--program-suf |
--program-su |
--program-s)
1040 ac_prev
=program_suffix
;;
1041 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1042 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1043 program_suffix
=$ac_optarg ;;
1045 -program-transform-name |
--program-transform-name \
1046 |
--program-transform-nam |
--program-transform-na \
1047 |
--program-transform-n |
--program-transform- \
1048 |
--program-transform |
--program-transfor \
1049 |
--program-transfo |
--program-transf \
1050 |
--program-trans |
--program-tran \
1051 |
--progr-tra |
--program-tr |
--program-t)
1052 ac_prev
=program_transform_name
;;
1053 -program-transform-name=* |
--program-transform-name=* \
1054 |
--program-transform-nam=* |
--program-transform-na=* \
1055 |
--program-transform-n=* |
--program-transform-=* \
1056 |
--program-transform=* |
--program-transfor=* \
1057 |
--program-transfo=* |
--program-transf=* \
1058 |
--program-trans=* |
--program-tran=* \
1059 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1060 program_transform_name
=$ac_optarg ;;
1062 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1064 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1065 pdfdir
=$ac_optarg ;;
1067 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1069 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1072 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1073 |
-silent |
--silent |
--silen |
--sile |
--sil)
1076 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1078 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1080 sbindir
=$ac_optarg ;;
1082 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1083 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1084 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1086 ac_prev
=sharedstatedir
;;
1087 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1088 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1089 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1091 sharedstatedir
=$ac_optarg ;;
1093 -site |
--site |
--sit)
1095 -site=* |
--site=* |
--sit=*)
1098 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1100 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1101 srcdir
=$ac_optarg ;;
1103 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1104 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1105 ac_prev
=sysconfdir
;;
1106 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1107 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1108 sysconfdir
=$ac_optarg ;;
1110 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1111 ac_prev
=target_alias
;;
1112 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1113 target_alias
=$ac_optarg ;;
1115 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1118 -version |
--version |
--versio |
--versi |
--vers |
-V)
1119 ac_init_version
=: ;;
1122 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error
"invalid package name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval with_
$ac_useropt=\
$ac_optarg ;;
1137 -without-* |
--without-*)
1138 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1141 as_fn_error
"invalid package name: $ac_useropt"
1142 ac_useropt_orig
=$ac_useropt
1143 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1148 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep
=', ';;
1151 eval with_
$ac_useropt=no
;;
1154 # Obsolete; use --with-x.
1157 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1158 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1159 ac_prev
=x_includes
;;
1160 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1161 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1162 x_includes
=$ac_optarg ;;
1164 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1165 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1166 ac_prev
=x_libraries
;;
1167 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1168 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1169 x_libraries
=$ac_optarg ;;
1171 -*) as_fn_error
"unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information."
1176 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1180 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1182 eval $ac_envvar=\
$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1196 if test -n "$ac_prev"; then
1197 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error
"missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1204 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209 # Check all directory arguments for consistency.
1210 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val
=\$
$ac_var
1216 # Remove trailing slashes.
1219 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\
$ac_val;;
1222 # Be sure to have absolute directory names.
1224 [\\/$
]* | ?
:[\\/]* ) continue;;
1225 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1227 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1235 target
=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x
; then
1239 if test "x$build_alias" = x
; then
1240 cross_compiling
=maybe
1241 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1242 If a cross compiler is detected then cross compile mode will be used." >&2
1243 elif test "x$build_alias" != "x$host_alias"; then
1249 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1251 test "$silent" = yes && exec 6>/dev
/null
1254 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di
=`ls -di .` &&
1256 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error
"working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error
"pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted
=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir
=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1294 ac_srcdir_defaulted
=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1298 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1312 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1314 for ac_var
in $ac_precious_vars; do
1315 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1317 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1328 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1391 --build=BUILD configure
for building on BUILD
[guessed
]
1392 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1393 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive
) echo "Configuration of package-unused version-unused:";;
1404 --disable-option-checking ignore unrecognized
--enable/--with options
1405 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1406 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1407 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1408 --disable-dependency-tracking speeds up one-time build
1409 --enable-dependency-tracking do not reject slow dependency extractors
1410 --enable-multilib build many library versions
(default
)
1411 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing
) to the casual installer
1413 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1414 --enable-static[=PKGS
] build static libraries
[default
=yes]
1415 --enable-fast-install[=PKGS
]
1416 optimize
for fast installation
[default
=yes]
1417 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1420 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1421 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1422 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1424 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1426 Some influential environment variables
:
1427 CC C compiler
command
1428 CFLAGS C compiler flags
1429 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1430 nonstandard directory
<lib dir
>
1431 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1432 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1433 you have headers
in a nonstandard directory
<include dir
>
1435 CXX C
++ compiler
command
1436 CXXFLAGS C
++ compiler flags
1437 CCAS assembler compiler
command (defaults to CC
)
1438 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1439 CXXCPP C
++ preprocessor
1441 Use these variables to override the choices made by
`configure' or to help
1442 it to find libraries and programs with nonstandard names/locations.
1444 Report bugs to <libsanitizer>.
1449 if test "$ac_init_help" = "recursive"; then
1450 # If there are subdirs, report their specific --help.
1451 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1452 test -d "$ac_dir" ||
1453 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1468 ac_abs_top_builddir=$ac_pwd
1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1470 # for backward compatibility:
1471 ac_top_builddir=$ac_top_build_prefix
1474 .) # We are building in place.
1476 ac_top_srcdir=$ac_top_builddir_sub
1477 ac_abs_top_srcdir=$ac_pwd ;;
1478 [\\/]* | ?:[\\/]* ) # Absolute name.
1479 ac_srcdir=$srcdir$ac_dir_suffix;
1480 ac_top_srcdir=$srcdir
1481 ac_abs_top_srcdir=$srcdir ;;
1483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1489 cd "$ac_dir" || { ac_status=$?; continue; }
1490 # Check for guested configure.
1491 if test -f "$ac_srcdir/configure.gnu"; then
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
1496 $SHELL "$ac_srcdir/configure" --help=recursive
1498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 cd "$ac_pwd" || { ac_status=$?; break; }
1504 test -n "$ac_init_help" && exit $ac_status
1505 if $ac_init_version; then
1507 package-unused configure version-unused
1508 generated by GNU Autoconf 2.64
1510 Copyright (C) 2009 Free Software Foundation, Inc.
1511 This configure script is free software; the Free Software Foundation
1512 gives unlimited permission to copy, distribute and modify it.
1517 ## ------------------------ ##
1518 ## Autoconf initialization. ##
1519 ## ------------------------ ##
1521 # ac_fn_c_try_compile LINENO
1522 # --------------------------
1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1524 ac_fn_c_try_compile ()
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 rm -f conftest.$ac_objext
1528 if { { ac_try="$ac_compile"
1530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1531 *) ac_try_echo
=$ac_try;;
1533 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_compile") 2>conftest.err
1537 if test -s conftest.err
; then
1538 grep -v '^ *+' conftest.err
>conftest.er1
1539 cat conftest.er1
>&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } && {
1544 test -z "$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1546 } && test -s conftest.
$ac_objext; then :
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.
$ac_ext >&5
1554 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1557 } # ac_fn_c_try_compile
1559 # ac_fn_c_try_cpp LINENO
1560 # ----------------------
1561 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1564 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1565 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } >/dev/null && {
1581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1591 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1596 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1597 # -------------------------------------------------------
1598 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1599 # the include files in INCLUDES and setting the cache variable VAR
1601 ac_fn_c_check_header_mongrel ()
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1606 $as_echo_n "checking for $2... " >&6; }
1607 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1608 $as_echo_n "(cached) " >&6
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1612 $as_echo "$ac_res" >&6; }
1614 # Is the header compilable?
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1616 $as_echo_n "checking $2 usability... " >&6; }
1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1622 if ac_fn_c_try_compile "$LINENO"; then :
1623 ac_header_compiler=yes
1625 ac_header_compiler=no
1627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1629 $as_echo "$ac_header_compiler" >&6; }
1631 # Is the header present?
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1633 $as_echo_n "checking $2 presence... " >&6; }
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1638 if ac_fn_c_try_cpp "$LINENO"; then :
1639 ac_header_preproc=yes
1641 ac_header_preproc=no
1643 rm -f conftest.err conftest.$ac_ext
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1645 $as_echo "$ac_header_preproc" >&6; }
1647 # So? What about this header?
1648 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1651 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1657 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1659 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1661 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1663 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1665 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1667 ## --------------------------- ##
1668 ## Report this to libsanitizer ##
1669 ## --------------------------- ##
1671 ) | sed "s/^/$as_me: WARNING: /" >&2
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677 $as_echo_n "(cached) " >&6
1679 eval "$3=\$ac_header_compiler"
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 } # ac_fn_c_check_header_mongrel
1689 # ac_fn_c_try_run LINENO
1690 # ----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1699 *) ac_try_echo
=$ac_try;;
1701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1707 { { case "(($ac_try" in
1708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_try") 2>&5
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; }; }; then :
1719 $as_echo "$as_me: program exited with status $ac_status" >&5
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1723 ac_retval=$ac_status
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732 # -------------------------------------------------------
1733 # Tests whether HEADER exists and can be compiled using the include files in
1734 # INCLUDES, setting the cache variable VAR accordingly.
1735 ac_fn_c_check_header_compile ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1748 if ac_fn_c_try_compile "$LINENO"; then :
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 } # ac_fn_c_check_header_compile
1762 # ac_fn_cxx_try_compile LINENO
1763 # ----------------------------
1764 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_cxx_try_compile ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext
1769 if { { ac_try="$ac_compile"
1771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1772 *) ac_try_echo
=$ac_try;;
1774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_compile") 2>conftest.err
1778 if test -s conftest.err
; then
1779 grep -v '^ *+' conftest.err
>conftest.er1
1780 cat conftest.er1
>&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_cxx_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest.
$ac_objext; then :
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.
$ac_ext >&5
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1798 } # ac_fn_cxx_try_compile
1800 # ac_fn_c_try_link LINENO
1801 # -----------------------
1802 # Try to link conftest.$ac_ext, and return whether this succeeded.
1805 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1806 rm -f conftest.
$ac_objext conftest
$ac_exeext
1807 if { { ac_try
="$ac_link"
1809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_link") 2>conftest.err
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest$ac_exeext && {
1826 test "$cross_compiling" = yes ||
1827 $as_test_x conftest$ac_exeext
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1836 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1837 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1838 # interfere with the next link command; also delete a directory that is
1839 # left behind by Apple's compiler. We do this before executing the actions.
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1844 } # ac_fn_c_try_link
1846 # ac_fn_c_check_func LINENO FUNC VAR
1847 # ----------------------------------
1848 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1849 ac_fn_c_check_func ()
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1855 $as_echo_n "(cached) " >&6
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1859 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1861 #define $2 innocuous_$2
1863 /* System header to define __stub macros and hopefully few prototypes,
1864 which can conflict with char $2 (); below.
1865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1866 <limits.h> exists even on freestanding compilers. */
1869 # include <limits.h>
1871 # include <assert.h>
1876 /* Override any GCC internal prototype to avoid an error.
1877 Use char because int might match the return type of a GCC
1878 builtin and then its argument prototype would still apply. */
1883 /* The GNU C library defines this for functions which it implements
1884 to always fail with ENOSYS. Some functions are actually named
1885 something starting with __ and the normal name is an alias. */
1886 #if defined __stub_$2 || defined __stub___$2
1898 if ac_fn_c_try_link "$LINENO"; then :
1903 rm -f core conftest.err conftest.$ac_objext \
1904 conftest$ac_exeext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1911 } # ac_fn_c_check_func
1913 # ac_fn_cxx_try_cpp LINENO
1914 # ------------------------
1915 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1916 ac_fn_cxx_try_cpp ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 if { { ac_try="$ac_cpp conftest.$ac_ext"
1921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1922 *) ac_try_echo
=$ac_try;;
1924 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1928 if test -s conftest.err
; then
1929 grep -v '^ *+' conftest.err
>conftest.er1
1930 cat conftest.er1
>&5
1931 mv -f conftest.er1 conftest.err
1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934 test $ac_status = 0; } >/dev
/null
&& {
1935 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1936 test ! -s conftest.err
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.
$ac_ext >&5
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1948 } # ac_fn_cxx_try_cpp
1950 # ac_fn_cxx_try_link LINENO
1951 # -------------------------
1952 # Try to link conftest.$ac_ext, and return whether this succeeded.
1953 ac_fn_cxx_try_link
()
1955 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1956 rm -f conftest.
$ac_objext conftest
$ac_exeext
1957 if { { ac_try
="$ac_link"
1959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1960 *) ac_try_echo=$ac_try;;
1962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_link") 2>conftest.err
1966 if test -s conftest.err; then
1967 grep -v '^ *+' conftest.err >conftest.er1
1968 cat conftest.er1 >&5
1969 mv -f conftest.er1 conftest.err
1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972 test $ac_status = 0; } && {
1973 test -z "$ac_cxx_werror_flag" ||
1974 test ! -s conftest.err
1975 } && test -s conftest$ac_exeext && {
1976 test "$cross_compiling" = yes ||
1977 $as_test_x conftest$ac_exeext
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.$ac_ext >&5
1986 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1987 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1988 # interfere with the next link command; also delete a directory that is
1989 # left behind by Apple's compiler. We do this before executing the actions.
1990 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1994 } # ac_fn_cxx_try_link
1996 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1997 # --------------------------------------------
1998 # Tries to find the compile-time value of EXPR in a program that includes
1999 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2001 ac_fn_c_compute_int ()
2003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2004 if test "$cross_compiling" = yes; then
2005 # Depending upon the size, compute the lo and hi bounds.
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2012 static int test_array [1 - 2 * !(($2) >= 0)];
2019 if ac_fn_c_try_compile "$LINENO"; then :
2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2028 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2035 if ac_fn_c_try_compile "$LINENO"; then :
2036 ac_hi=$ac_mid; break
2038 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2039 if test $ac_lo -le $ac_mid; then
2043 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2054 static int test_array [1 - 2 * !(($2) < 0)];
2061 if ac_fn_c_try_compile "$LINENO"; then :
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2070 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2077 if ac_fn_c_try_compile "$LINENO"; then :
2078 ac_lo=$ac_mid; break
2080 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2081 if test $ac_mid -le $ac_hi; then
2085 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2095 # Binary search between lo and hi bounds.
2096 while test "x$ac_lo" != "x$ac_hi"; do
2097 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2104 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2111 if ac_fn_c_try_compile "$LINENO"; then :
2114 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2119 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2126 static long int longval () { return $2; }
2127 static unsigned long int ulongval () { return $2; }
2134 FILE *f = fopen ("conftest.val", "w");
2139 long int i = longval ();
2142 fprintf (f, "%ld", i);
2146 unsigned long int i = ulongval ();
2149 fprintf (f, "%lu", i);
2151 /* Do not output a trailing newline, as this causes \r\n confusion
2152 on some platforms. */
2153 return ferror (f) || fclose (f) != 0;
2159 if ac_fn_c_try_run "$LINENO"; then :
2160 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2165 conftest.$ac_objext conftest.beam conftest.$ac_ext
2169 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2172 } # ac_fn_c_compute_int
2174 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2175 # -------------------------------------------
2176 # Tests whether TYPE exists after having included INCLUDES, setting cache
2177 # variable VAR accordingly.
2178 ac_fn_c_check_type ()
2180 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 $as_echo_n "(cached) " >&6
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2199 if ac_fn_c_try_compile "$LINENO"; then :
2200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2212 if ac_fn_c_try_compile "$LINENO"; then :
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2223 $as_echo "$ac_res" >&6; }
2224 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2226 } # ac_fn_c_check_type
2228 # ac_fn_c_check_decl LINENO SYMBOL VAR
2229 # ------------------------------------
2230 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2231 ac_fn_c_check_decl ()
2233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2235 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2237 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2238 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2239 $as_echo_n "(cached) " >&6
2241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2242 /* end confdefs.h. */
2247 #ifndef $as_decl_name
2249 (void) $as_decl_use;
2251 (void) $as_decl_name;
2259 if ac_fn_c_try_compile "$LINENO"; then :
2264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2268 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2271 } # ac_fn_c_check_decl
2272 cat >config.log <<_ACEOF
2273 This file contains any messages produced by compilers while
2274 running configure, to aid debugging if configure makes a mistake.
2276 It was created by package-unused $as_me version-unused, which was
2277 generated by GNU Autoconf 2.64. Invocation command line was
2289 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2290 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2291 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2292 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2293 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2295 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2296 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2298 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2299 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2300 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2301 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2302 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2303 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2304 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir=.
2313 $as_echo "PATH: $as_dir"
2329 # Keep a trace of the command line.
2330 # Strip out --no-create and --no-recursion so they do not pile up.
2331 # Strip out --silent because we don't want to record it for future runs.
2332 # Also quote any args containing shell meta-characters.
2333 # Make two passes to allow for proper duplicate-argument suppression.
2337 ac_must_keep_next=false
2343 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2345 | -silent | --silent | --silen | --sile | --sil)
2348 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2351 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2353 as_fn_append ac_configure_args1 " '$ac_arg'"
2354 if test $ac_must_keep_next = true; then
2355 ac_must_keep_next=false # Got value, back to normal.
2358 *=* | --config-cache | -C | -disable-* | --disable-* \
2359 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2360 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2361 | -with-* | --with-* | -without-* | --without-* | --x)
2362 case "$ac_configure_args0 " in
2363 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2366 -* ) ac_must_keep_next=true ;;
2369 as_fn_append ac_configure_args " '$ac_arg'"
2374 { ac_configure_args0=; unset ac_configure_args0;}
2375 { ac_configure_args1=; unset ac_configure_args1;}
2377 # When interrupted or exit'd, cleanup temporary files, and complete
2378 # config.log. We remove comments because anyway the quotes in there
2379 # would cause problems or look ugly.
2380 # WARNING: Use '\'' to represent an apostrophe within the trap.
2381 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2382 trap 'exit_status=$?
2383 # Save into config.log some information that might help in debugging.
2388 ## ---------------- ##
2389 ## Cache variables. ##
2390 ## ---------------- ##
2393 # The following way of writing the cache mishandles newlines in values,
2395 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2396 eval ac_val=\$$ac_var
2400 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2401 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2404 _ | IFS | as_nl) ;; #(
2405 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2406 *) { eval $ac_var=; unset $ac_var;} ;;
2411 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2412 *${as_nl}ac_space=\ *)
2414 "s/'\''/'\''\\\\'\'''\''/g;
2415 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2418 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2426 ## ----------------- ##
2427 ## Output variables. ##
2428 ## ----------------- ##
2431 for ac_var in $ac_subst_vars
2433 eval ac_val=\$$ac_var
2435 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2437 $as_echo "$ac_var='\''$ac_val'\''"
2441 if test -n "$ac_subst_files"; then
2443 ## ------------------- ##
2444 ## File substitutions. ##
2445 ## ------------------- ##
2448 for ac_var in $ac_subst_files
2450 eval ac_val=\$$ac_var
2452 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2454 $as_echo "$ac_var='\''$ac_val'\''"
2459 if test -s confdefs.h; then
2469 test "$ac_signal" != 0 &&
2470 $as_echo "$as_me: caught signal $ac_signal"
2471 $as_echo "$as_me: exit $exit_status"
2473 rm -f core *.core core.conftest.* &&
2474 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2477 for ac_signal in 1 2 13 15; do
2478 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2482 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2483 rm -f -r conftest* confdefs.h
2485 $as_echo "/* confdefs.h */" > confdefs.h
2487 # Predefined preprocessor variables.
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_NAME "$PACKAGE_NAME"
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2497 cat >>confdefs.h <<_ACEOF
2498 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2501 cat >>confdefs.h <<_ACEOF
2502 #define PACKAGE_STRING "$PACKAGE_STRING"
2505 cat >>confdefs.h <<_ACEOF
2506 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2509 cat >>confdefs.h <<_ACEOF
2510 #define PACKAGE_URL "$PACKAGE_URL"
2514 # Let the site file select an alternate cache file if it wants to.
2515 # Prefer an explicitly selected file to automatically selected ones.
2518 if test -n "$CONFIG_SITE"; then
2519 ac_site_file1=$CONFIG_SITE
2520 elif test "x$prefix" != xNONE; then
2521 ac_site_file1=$prefix/share/config.site
2522 ac_site_file2=$prefix/etc/config.site
2524 ac_site_file1=$ac_default_prefix/share/config.site
2525 ac_site_file2=$ac_default_prefix/etc/config.site
2527 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2529 test "x$ac_site_file" = xNONE && continue
2530 if test -r "$ac_site_file"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2532 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2533 sed 's/^/| /' "$ac_site_file" >&5
2538 if test -r "$cache_file"; then
2539 # Some versions of bash will fail to source /dev/null (special
2540 # files actually), so we avoid doing that.
2541 if test -f "$cache_file"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2543 $as_echo "$as_me: loading cache $cache_file" >&6;}
2545 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2546 *) . "./$cache_file";;
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2551 $as_echo "$as_me: creating cache $cache_file" >&6;}
2555 # Check that the precious variables saved in the cache have kept the same
2557 ac_cache_corrupted=false
2558 for ac_var in $ac_precious_vars; do
2559 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2560 eval ac_new_set=\$ac_env_${ac_var}_set
2561 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2562 eval ac_new_val=\$ac_env_${ac_var}_value
2563 case $ac_old_set,$ac_new_set in
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2566 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2567 ac_cache_corrupted=: ;;
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2570 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2571 ac_cache_corrupted=: ;;
2574 if test "x$ac_old_val" != "x$ac_new_val"; then
2575 # differences in whitespace do not lead to failure.
2576 ac_old_val_w=`echo x
$ac_old_val`
2577 ac_new_val_w=`echo x
$ac_new_val`
2578 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2580 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2581 ac_cache_corrupted=:
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2584 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2585 eval $ac_var=\$ac_old_val
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2588 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2590 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2593 # Pass precious variables to config.status.
2594 if test "$ac_new_set" = set; then
2596 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2597 *) ac_arg=$ac_var=$ac_new_val ;;
2599 case " $ac_configure_args " in
2600 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2601 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2605 if $ac_cache_corrupted; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2609 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2610 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2612 ## -------------------- ##
2613 ## Main body of script. ##
2614 ## -------------------- ##
2617 ac_cpp='$CPP $CPPFLAGS'
2618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2629 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2630 # Check whether --enable-version-specific-runtime-libs was given.
2631 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2632 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2633 yes) version_specific_libs=yes ;;
2634 no) version_specific_libs=no ;;
2635 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2638 version_specific_libs=no
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2642 $as_echo "$version_specific_libs" >&6; }
2645 ac_cpp='$CPP $CPPFLAGS'
2646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2649 if test -n "$ac_tool_prefix"; then
2650 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2651 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if test "${ac_cv_prog_CC+set}" = set; then :
2655 $as_echo_n "(cached) " >&6
2657 if test -n "$CC"; then
2658 ac_cv_prog_CC="$CC" # Let the user override the test.
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 test -z "$as_dir" && as_dir=.
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2667 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 if test -n "$CC"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2680 $as_echo "$CC" >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2688 if test -z "$ac_cv_prog_CC"; then
2690 # Extract the first word of "gcc", so it can be a program name with args.
2691 set dummy gcc; ac_word=$2
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693 $as_echo_n "checking for $ac_word... " >&6; }
2694 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2695 $as_echo_n "(cached) " >&6
2697 if test -n "$ac_ct_CC"; then
2698 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 test -z "$as_dir" && as_dir=.
2705 for ac_exec_ext in '' $ac_executable_extensions; do
2706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2707 ac_cv_prog_ac_ct_CC="gcc"
2708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2718 if test -n "$ac_ct_CC"; then
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2720 $as_echo "$ac_ct_CC" >&6; }
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2723 $as_echo "no" >&6; }
2726 if test "x$ac_ct_CC" = x; then
2729 case $cross_compiling:$ac_tool_warned in
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2733 ac_tool_warned=yes ;;
2741 if test -z "$CC"; then
2742 if test -n "$ac_tool_prefix"; then
2743 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2744 set dummy ${ac_tool_prefix}cc; ac_word=$2
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2746 $as_echo_n "checking for $ac_word... " >&6; }
2747 if test "${ac_cv_prog_CC+set}" = set; then :
2748 $as_echo_n "(cached) " >&6
2750 if test -n "$CC"; then
2751 ac_cv_prog_CC="$CC" # Let the user override the test.
2753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2757 test -z "$as_dir" && as_dir=.
2758 for ac_exec_ext in '' $ac_executable_extensions; do
2759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2760 ac_cv_prog_CC="${ac_tool_prefix}cc"
2761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2771 if test -n "$CC"; then
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2773 $as_echo "$CC" >&6; }
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2776 $as_echo "no" >&6; }
2782 if test -z "$CC"; then
2783 # Extract the first word of "cc", so it can be a program name with args.
2784 set dummy cc; ac_word=$2
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786 $as_echo_n "checking for $ac_word... " >&6; }
2787 if test "${ac_cv_prog_CC+set}" = set; then :
2788 $as_echo_n "(cached) " >&6
2790 if test -n "$CC"; then
2791 ac_cv_prog_CC="$CC" # Let the user override the test.
2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 test -z "$as_dir" && as_dir=.
2799 for ac_exec_ext in '' $ac_executable_extensions; do
2800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2801 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2802 ac_prog_rejected=yes
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 if test $ac_prog_rejected = yes; then
2814 # We found a bogon in the path, so make sure we never use it.
2815 set dummy $ac_cv_prog_CC
2817 if test $# != 0; then
2818 # We chose a different compiler from the bogus one.
2819 # However, it has the same basename, so the bogon will be chosen
2820 # first if we set CC to just the basename; use the full file name.
2822 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2828 if test -n "$CC"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2830 $as_echo "$CC" >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2838 if test -z "$CC"; then
2839 if test -n "$ac_tool_prefix"; then
2840 for ac_prog in cl.exe
2842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if test "${ac_cv_prog_CC+set}" = set; then :
2847 $as_echo_n "(cached) " >&6
2849 if test -n "$CC"; then
2850 ac_cv_prog_CC="$CC" # Let the user override the test.
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir=.
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 if test -n "$CC"; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2872 $as_echo "$CC" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2879 test -n "$CC" && break
2882 if test -z "$CC"; then
2884 for ac_prog in cl.exe
2886 # Extract the first word of "$ac_prog", so it can be a program name with args.
2887 set dummy $ac_prog; ac_word=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$ac_ct_CC"; then
2894 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir=.
2901 for ac_exec_ext in '' $ac_executable_extensions; do
2902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2903 ac_cv_prog_ac_ct_CC="$ac_prog"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2914 if test -n "$ac_ct_CC"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2916 $as_echo "$ac_ct_CC" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2923 test -n "$ac_ct_CC" && break
2926 if test "x$ac_ct_CC" = x; then
2929 case $cross_compiling:$ac_tool_warned in
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2933 ac_tool_warned=yes ;;
2942 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2944 as_fn_error "no acceptable C compiler found
in \
$PATH
2945 See \
`config.log' for more details." "$LINENO" 5; }
2947 # Provide some information about the compiler.
2948 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2951 for ac_option in --version -v -V -qversion; do
2952 { { ac_try="$ac_compiler $ac_option >&5"
2954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2955 *) ac_try_echo
=$ac_try;;
2957 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 $as_echo "$ac_try_echo"; } >&5
2959 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2961 if test -s conftest.err
; then
2963 ... rest of stderr output deleted ...
2964 10q' conftest.err
>conftest.er1
2965 cat conftest.er1
>&5
2966 rm -f conftest.er1 conftest.err
2968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2969 test $ac_status = 0; }
2972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2983 ac_clean_files_save
=$ac_clean_files
2984 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2985 # Try to create an executable without -o first, disregard a.out.
2986 # It will help us diagnose broken compilers, and finding out an intuition
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2989 $as_echo_n "checking for C compiler default output file name... " >&6; }
2990 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2992 # The possible output files:
2993 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2996 for ac_file
in $ac_files
2999 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3000 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3005 if { { ac_try
="$ac_link_default"
3007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3008 *) ac_try_echo=$ac_try;;
3010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3011 $as_echo "$ac_try_echo"; } >&5
3012 (eval "$ac_link_default") 2>&5
3014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3015 test $ac_status = 0; }; then :
3016 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3017 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3018 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3019 # so that the user can short-circuit this test for compilers unknown to
3021 for ac_file in $ac_files ''
3023 test -f "$ac_file" || continue
3025 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3028 # We found the default executable, but exeext='' is most
3032 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3034 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3036 # We set ac_cv_exeext here because the later test for it is not
3037 # safe: cross compilers may not add the suffix if given an `-o'
3038 # argument, so we may need to know it at that point already.
3039 # Even if this section looks crufty: it has the advantage of
3046 test "$ac_cv_exeext" = no && ac_cv_exeext=
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3052 $as_echo "$ac_file" >&6; }
3053 if test -z "$ac_file"; then :
3054 $as_echo "$as_me: failed program was:" >&5
3055 sed 's
/^
/|
/' conftest.$ac_ext >&5
3057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3058 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3059 { as_fn_set_status 77
3060 as_fn_error "C compiler cannot create executables
3061 See \`config.log
' for more details." "$LINENO" 5; }; }
3063 ac_exeext=$ac_cv_exeext
3065 # Check that the compiler produces executables we can run. If not, either
3066 # the compiler is broken, or we cross compile.
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3068 $as_echo_n "checking whether the C compiler works... " >&6; }
3069 # If not cross compiling, check that we can run a simple program.
3070 if test "$cross_compiling" != yes; then
3071 if { ac_try='.
/$ac_file'
3072 { { case "(($ac_try" in
3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3077 $as_echo "$ac_try_echo"; } >&5
3078 (eval "$ac_try") 2>&5
3080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3081 test $ac_status = 0; }; }; then
3084 if test "$cross_compiling" = maybe; then
3087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3089 as_fn_error "cannot run C compiled programs.
3090 If you meant to cross compile, use \`--host'.
3091 See \`config.log' for more details.
" "$LINENO" 5; }
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3096 $as_echo "yes" >&6; }
3098 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3099 ac_clean_files=$ac_clean_files_save
3100 # Check that the compiler produces executables we can run. If not, either
3101 # the compiler is broken, or we cross compile.
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3103 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3105 $as_echo "$cross_compiling" >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3108 $as_echo_n "checking
for suffix of executables...
" >&6; }
3109 if { { ac_try="$ac_link"
3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3114 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3116 (eval "$ac_link") 2>&5
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3119 test $ac_status = 0; }; then :
3120 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3121 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3122 # work properly (i.e., refer to `conftest.exe'), while it won't with
3124 for ac_file in conftest.exe conftest conftest.*; do
3125 test -f "$ac_file" || continue
3127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3128 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3136 as_fn_error "cannot compute suffix of executables: cannot compile and link
3137 See \`config.log' for more details.
" "$LINENO" 5; }
3139 rm -f conftest$ac_cv_exeext
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3141 $as_echo "$ac_cv_exeext" >&6; }
3143 rm -f conftest.$ac_ext
3144 EXEEXT=$ac_cv_exeext
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3147 $as_echo_n "checking
for suffix of object files...
" >&6; }
3148 if test "${ac_cv_objext+set}" = set; then :
3149 $as_echo_n "(cached
) " >&6
3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3162 rm -f conftest.o conftest.obj
3163 if { { ac_try="$ac_compile"
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_compile") 2>&5
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3173 test $ac_status = 0; }; then :
3174 for ac_file in conftest.o conftest.obj conftest.*; do
3175 test -f "$ac_file" || continue;
3177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3178 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3183 $as_echo "$as_me: failed program was
:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 as_fn_error "cannot compute suffix of object files: cannot compile
3189 See \`config.log' for more details.
" "$LINENO" 5; }
3191 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3194 $as_echo "$ac_cv_objext" >&6; }
3195 OBJEXT=$ac_cv_objext
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3198 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3199 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3200 $as_echo_n "(cached
) " >&6
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3216 if ac_fn_c_try_compile "$LINENO"; then :
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3226 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3227 if test $ac_compiler_gnu = yes; then
3232 ac_test_CFLAGS=${CFLAGS+set}
3233 ac_save_CFLAGS=$CFLAGS
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3235 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3236 if test "${ac_cv_prog_cc_g+set}" = set; then :
3237 $as_echo_n "(cached
) " >&6
3239 ac_save_c_werror_flag=$ac_c_werror_flag
3240 ac_c_werror_flag=yes
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3254 if ac_fn_c_try_compile "$LINENO"; then :
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 if ac_fn_c_try_compile "$LINENO"; then :
3272 ac_c_werror_flag=$ac_save_c_werror_flag
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3285 if ac_fn_c_try_compile "$LINENO"; then :
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 ac_c_werror_flag=$ac_save_c_werror_flag
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3296 $as_echo "$ac_cv_prog_cc_g" >&6; }
3297 if test "$ac_test_CFLAGS" = set; then
3298 CFLAGS=$ac_save_CFLAGS
3299 elif test $ac_cv_prog_cc_g = yes; then
3300 if test "$GCC" = yes; then
3306 if test "$GCC" = yes; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3313 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3314 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3315 $as_echo_n "(cached
) " >&6
3317 ac_cv_prog_cc_c89=no
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3323 #include <sys/types.h>
3324 #include <sys/stat.h>
3325 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3326 struct buf { int x; };
3327 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3328 static char *e (p, i)
3334 static char *f (char * (*g) (char **, int), char **p, ...)
3339 s = g (p, va_arg (v,int));
3344 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3345 function prototypes and stuff, but not '\xHH' hex character constants.
3346 These don't provoke an error unfortunately, instead are silently treated
3347 as 'x'. The following induces an error, until -std is added to get
3348 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3349 array size at least. It's necessary to write '\x00'==0 to get something
3350 that's true only with -std. */
3351 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3353 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3354 inside strings and character constants. */
3356 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3358 int test (int i, double x);
3359 struct s1 {int (*f) (int a);};
3360 struct s2 {int (*f) (double a);};
3361 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3367 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3372 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3373 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3375 CC="$ac_save_CC $ac_arg"
3376 if ac_fn_c_try_compile "$LINENO"; then :
3377 ac_cv_prog_cc_c89=$ac_arg
3379 rm -f core conftest.err conftest.$ac_objext
3380 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3382 rm -f conftest.$ac_ext
3387 case "x
$ac_cv_prog_cc_c89" in
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3390 $as_echo "none needed
" >&6; } ;;
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3393 $as_echo "unsupported
" >&6; } ;;
3395 CC="$CC $ac_cv_prog_cc_c89"
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3397 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3399 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3404 ac_cpp='$CPP $CPPFLAGS'
3405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3411 ac_cpp='$CPP $CPPFLAGS'
3412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3416 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3417 # On Suns, sometimes $CPP names a directory.
3418 if test -n "$CPP" && test -d "$CPP"; then
3421 if test -z "$CPP"; then
3422 if test "${ac_cv_prog_CPP+set}" = set; then :
3423 $as_echo_n "(cached
) " >&6
3425 # Double quotes because CPP needs to be expanded
3426 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3429 for ac_c_preproc_warn_flag in '' yes
3431 # Use a header file that comes with gcc, so configuring glibc
3432 # with a fresh cross-compiler works.
3433 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3434 # <limits.h> exists even on freestanding compilers.
3435 # On the NeXT, cc -E runs the code through the compiler's parser,
3436 # not just through cpp. "Syntax error
" is here to catch this case.
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3440 # include <limits.h>
3442 # include <assert.h>
3446 if ac_fn_c_try_cpp "$LINENO"; then :
3449 # Broken: fails on valid input.
3452 rm -f conftest.err conftest.$ac_ext
3454 # OK, works on sane cases. Now check whether nonexistent headers
3455 # can be detected and how.
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3458 #include <ac_nonexistent.h>
3460 if ac_fn_c_try_cpp "$LINENO"; then :
3461 # Broken: success on invalid input.
3464 # Passes both tests.
3468 rm -f conftest.err conftest.$ac_ext
3471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3472 rm -f conftest.err conftest.$ac_ext
3473 if $ac_preproc_ok; then :
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3486 $as_echo "$CPP" >&6; }
3488 for ac_c_preproc_warn_flag in '' yes
3490 # Use a header file that comes with gcc, so configuring glibc
3491 # with a fresh cross-compiler works.
3492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3493 # <limits.h> exists even on freestanding compilers.
3494 # On the NeXT, cc -E runs the code through the compiler's parser,
3495 # not just through cpp. "Syntax error
" is here to catch this case.
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3499 # include <limits.h>
3501 # include <assert.h>
3505 if ac_fn_c_try_cpp "$LINENO"; then :
3508 # Broken: fails on valid input.
3511 rm -f conftest.err conftest.$ac_ext
3513 # OK, works on sane cases. Now check whether nonexistent headers
3514 # can be detected and how.
3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3517 #include <ac_nonexistent.h>
3519 if ac_fn_c_try_cpp "$LINENO"; then :
3520 # Broken: success on invalid input.
3523 # Passes both tests.
3527 rm -f conftest.err conftest.$ac_ext
3530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3531 rm -f conftest.err conftest.$ac_ext
3532 if $ac_preproc_ok; then :
3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3538 See \`config.log' for more details.
" "$LINENO" 5; }
3542 ac_cpp='$CPP $CPPFLAGS'
3543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3549 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3550 if test "${ac_cv_path_GREP+set}" = set; then :
3551 $as_echo_n "(cached
) " >&6
3553 if test -z "$GREP"; then
3554 ac_path_GREP_found=false
3555 # Loop through the user's path and test for each of PROGNAME-LIST
3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3560 test -z "$as_dir" && as_dir=.
3561 for ac_prog in grep ggrep; do
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3564 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3565 # Check for GNU ac_path_GREP and select it if it is found.
3566 # Check for GNU $ac_path_GREP
3567 case `"$ac_path_GREP" --version 2>&1` in
3569 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3572 $as_echo_n 0123456789 >"conftest.
in"
3575 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3576 mv "conftest.tmp
" "conftest.
in"
3577 cp "conftest.
in" "conftest.
nl"
3578 $as_echo 'GREP' >> "conftest.
nl"
3579 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3580 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3581 as_fn_arith $ac_count + 1 && ac_count=$as_val
3582 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3583 # Best one so far, save it but keep looking for a better one
3584 ac_cv_path_GREP="$ac_path_GREP"
3585 ac_path_GREP_max=$ac_count
3587 # 10*(2^10) chars as input seems more than enough
3588 test $ac_count -gt 10 && break
3590 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3593 $ac_path_GREP_found && break 3
3598 if test -z "$ac_cv_path_GREP"; then
3599 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3602 ac_cv_path_GREP=$GREP
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3607 $as_echo "$ac_cv_path_GREP" >&6; }
3608 GREP="$ac_cv_path_GREP"
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3612 $as_echo_n "checking
for egrep...
" >&6; }
3613 if test "${ac_cv_path_EGREP+set}" = set; then :
3614 $as_echo_n "(cached
) " >&6
3616 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3617 then ac_cv_path_EGREP="$GREP -E"
3619 if test -z "$EGREP"; then
3620 ac_path_EGREP_found=false
3621 # Loop through the user's path and test for each of PROGNAME-LIST
3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3626 test -z "$as_dir" && as_dir=.
3627 for ac_prog in egrep; do
3628 for ac_exec_ext in '' $ac_executable_extensions; do
3629 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3630 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3631 # Check for GNU ac_path_EGREP and select it if it is found.
3632 # Check for GNU $ac_path_EGREP
3633 case `"$ac_path_EGREP" --version 2>&1` in
3635 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3638 $as_echo_n 0123456789 >"conftest.
in"
3641 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3642 mv "conftest.tmp
" "conftest.
in"
3643 cp "conftest.
in" "conftest.
nl"
3644 $as_echo 'EGREP' >> "conftest.
nl"
3645 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3646 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3647 as_fn_arith $ac_count + 1 && ac_count=$as_val
3648 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3649 # Best one so far, save it but keep looking for a better one
3650 ac_cv_path_EGREP="$ac_path_EGREP"
3651 ac_path_EGREP_max=$ac_count
3653 # 10*(2^10) chars as input seems more than enough
3654 test $ac_count -gt 10 && break
3656 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3659 $ac_path_EGREP_found && break 3
3664 if test -z "$ac_cv_path_EGREP"; then
3665 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3668 ac_cv_path_EGREP=$EGREP
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3674 $as_echo "$ac_cv_path_EGREP" >&6; }
3675 EGREP="$ac_cv_path_EGREP"
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3679 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3680 if test "${ac_cv_header_stdc+set}" = set; then :
3681 $as_echo_n "(cached
) " >&6
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3698 if ac_fn_c_try_compile "$LINENO"; then :
3699 ac_cv_header_stdc=yes
3701 ac_cv_header_stdc=no
3703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3705 if test $ac_cv_header_stdc = yes; then
3706 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3712 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3713 $EGREP "memchr
" >/dev/null 2>&1; then :
3716 ac_cv_header_stdc=no
3722 if test $ac_cv_header_stdc = yes; then
3723 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3729 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3730 $EGREP "free
" >/dev/null 2>&1; then :
3733 ac_cv_header_stdc=no
3739 if test $ac_cv_header_stdc = yes; then
3740 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3741 if test "$cross_compiling" = yes; then :
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3748 #if ((' ' & 0x0FF) == 0x020)
3749 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3750 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3752 # define ISLOWER(c) \
3753 (('a' <= (c) && (c) <= 'i') \
3754 || ('j' <= (c) && (c) <= 'r') \
3755 || ('s' <= (c) && (c) <= 'z'))
3756 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3759 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3764 for (i = 0; i < 256; i++)
3765 if (XOR (islower (i), ISLOWER (i))
3766 || toupper (i) != TOUPPER (i))
3771 if ac_fn_c_try_run "$LINENO"; then :
3774 ac_cv_header_stdc=no
3776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3777 conftest.$ac_objext conftest.beam conftest.$ac_ext
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3783 $as_echo "$ac_cv_header_stdc" >&6; }
3784 if test $ac_cv_header_stdc = yes; then
3786 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3790 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3791 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3792 inttypes.h stdint.h unistd.h
3794 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3795 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3797 eval as_val
=\$
$as_ac_Header
3798 if test "x$as_val" = x
""yes; then :
3799 cat >>confdefs.h
<<_ACEOF
3800 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3809 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3810 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3817 if test "$MINIX" = yes; then
3819 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3822 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3825 $as_echo "#define _MINIX 1" >>confdefs.h
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3831 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3832 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3833 $as_echo_n "(cached) " >&6
3835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3838 # define __EXTENSIONS__ 1
3839 $ac_includes_default
3848 if ac_fn_c_try_compile
"$LINENO"; then :
3849 ac_cv_safe_to_define___extensions__
=yes
3851 ac_cv_safe_to_define___extensions__
=no
3853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3856 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3857 test $ac_cv_safe_to_define___extensions__ = yes &&
3858 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3860 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3862 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3864 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3866 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3870 # Do not delete or change the following two lines. For why, see
3871 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3873 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3874 for ac_t
in install-sh
install.sh shtool
; do
3875 if test -f "$ac_dir/$ac_t"; then
3877 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3882 if test -z "$ac_aux_dir"; then
3883 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3886 # These three variables are undocumented and unsupported,
3887 # and are intended to be withdrawn in a future Autoconf release.
3888 # They can cause serious problems if a builder's source tree is in a directory
3889 # whose full name contains unusual characters.
3890 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3891 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3892 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3895 # Make sure we can run config.sub.
3896 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3897 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3900 $as_echo_n "checking build system type... " >&6; }
3901 if test "${ac_cv_build+set}" = set; then :
3902 $as_echo_n "(cached) " >&6
3904 ac_build_alias
=$build_alias
3905 test "x$ac_build_alias" = x
&&
3906 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3907 test "x$ac_build_alias" = x
&&
3908 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3909 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3910 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3914 $as_echo "$ac_cv_build" >&6; }
3915 case $ac_cv_build in
3917 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3920 ac_save_IFS
=$IFS; IFS
='-'
3926 # Remember, the first character of IFS is used to create $*,
3927 # except with old shells:
3930 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3934 $as_echo_n "checking host system type... " >&6; }
3935 if test "${ac_cv_host+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3938 if test "x$host_alias" = x
; then
3939 ac_cv_host
=$ac_cv_build
3941 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3942 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3947 $as_echo "$ac_cv_host" >&6; }
3950 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3953 ac_save_IFS
=$IFS; IFS
='-'
3959 # Remember, the first character of IFS is used to create $*,
3960 # except with old shells:
3963 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3967 $as_echo_n "checking target system type... " >&6; }
3968 if test "${ac_cv_target+set}" = set; then :
3969 $as_echo_n "(cached) " >&6
3971 if test "x$target_alias" = x
; then
3972 ac_cv_target
=$ac_cv_host
3974 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3975 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3980 $as_echo "$ac_cv_target" >&6; }
3981 case $ac_cv_target in
3983 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3985 target
=$ac_cv_target
3986 ac_save_IFS
=$IFS; IFS
='-'
3992 # Remember, the first character of IFS is used to create $*,
3993 # except with old shells:
3996 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3999 # The aliases save the names the user supplied, while $host etc.
4000 # will get canonicalized.
4001 test -n "$target_alias" &&
4002 test "$program_prefix$program_suffix$program_transform_name" = \
4004 program_prefix
=${target_alias}-
4006 target_alias
=${target_alias-$host_alias}
4008 case ${build_alias} in
4009 "") build_noncanonical
=${build} ;;
4010 *) build_noncanonical
=${build_alias} ;;
4013 case ${host_alias} in
4014 "") host_noncanonical
=${build_noncanonical} ;;
4015 *) host_noncanonical
=${host_alias} ;;
4018 case ${target_alias} in
4019 "") target_noncanonical
=${host_noncanonical} ;;
4020 *) target_noncanonical
=${target_alias} ;;
4027 LIBSTDCXX_RAW_CXX_CXXFLAGS
="\
4028 -I\$(top_builddir)/../libstdc++-v3/include \
4029 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
4030 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
4031 LIBSTDCXX_RAW_CXX_LDFLAGS
="\
4032 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
4037 am__api_version
='1.11'
4039 # Find a good install program. We prefer a C program (faster),
4040 # so one script is as good as another. But avoid the broken or
4041 # incompatible versions:
4042 # SysV /etc/install, /usr/sbin/install
4043 # SunOS /usr/etc/install
4044 # IRIX /sbin/install
4046 # AmigaOS /C/install, which installs bootblocks on floppy discs
4047 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4048 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4049 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4050 # OS/2's system install, which has a completely different semantic
4051 # ./install, which can be erroneously created by make from ./install.sh.
4052 # Reject install programs that cannot install multiple files.
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4054 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4055 if test -z "$INSTALL"; then
4056 if test "${ac_cv_path_install+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4063 test -z "$as_dir" && as_dir
=.
4064 # Account for people who put trailing slashes in PATH elements.
4065 case $as_dir/ in #((
4066 .
/ | .
// |
/[cC
]/* | \
4067 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4068 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4071 # OSF1 and SCO ODT 3.0 have their own names for install.
4072 # Don't use installbsd from OSF since it installs stuff as root
4074 for ac_prog
in ginstall scoinst
install; do
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4077 if test $ac_prog = install &&
4078 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4079 # AIX install. It has an incompatible calling convention.
4081 elif test $ac_prog = install &&
4082 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4083 # program-specific install script used by HP pwplus--don't use.
4086 rm -rf conftest.one conftest.two conftest.dir
4087 echo one
> conftest.one
4088 echo two
> conftest.two
4090 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4091 test -s conftest.one
&& test -s conftest.two
&&
4092 test -s conftest.dir
/conftest.one
&&
4093 test -s conftest.dir
/conftest.two
4095 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4108 rm -rf conftest.one conftest.two conftest.dir
4111 if test "${ac_cv_path_install+set}" = set; then
4112 INSTALL
=$ac_cv_path_install
4114 # As a last resort, use the slow shell script. Don't cache a
4115 # value for INSTALL within a source directory, because that will
4116 # break other packages using the cache if that directory is
4117 # removed, or if the value is a relative name.
4118 INSTALL
=$ac_install_sh
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4122 $as_echo "$INSTALL" >&6; }
4124 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4125 # It thinks the first close brace ends the variable substitution.
4126 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4128 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4130 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4133 $as_echo_n "checking whether build environment is sane... " >&6; }
4136 echo timestamp
> conftest.
file
4137 # Reject unsafe characters in $srcdir or the absolute working directory
4138 # name. Accept space and tab only in the latter.
4142 *[\\\"\
#\$\&\'\`$am_lf]*)
4143 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4146 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4147 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4150 # Do `set' in a subshell so we don't clobber the current shell's
4151 # arguments. Must try -L first in case configure is actually a
4152 # symlink; some systems play weird games with the mod time of symlinks
4153 # (eg FreeBSD returns the mod time of the symlink's containing
4156 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4157 if test "$*" = "X"; then
4159 set X
`ls -t "$srcdir/configure" conftest.file`
4162 if test "$*" != "X $srcdir/configure conftest.file" \
4163 && test "$*" != "X conftest.file $srcdir/configure"; then
4165 # If neither matched, then we have a broken ls. This can happen
4166 # if, for instance, CONFIG_SHELL is bash and it inherits a
4167 # broken ls alias from the environment. This has actually
4168 # happened. Such a system could not be considered "sane".
4169 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4170 alias in your environment" "$LINENO" 5
4173 test "$2" = conftest.
file
4179 as_fn_error
"newly created file is older than distributed files!
4180 Check your system clock" "$LINENO" 5
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4183 $as_echo "yes" >&6; }
4184 test "$program_prefix" != NONE
&&
4185 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4186 # Use a double $ so make ignores it.
4187 test "$program_suffix" != NONE
&&
4188 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4189 # Double any \ or $.
4190 # By default was `s,x,x', remove it if useless.
4191 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4192 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4194 # expand $ac_aux_dir to an absolute path
4195 am_aux_dir
=`cd $ac_aux_dir && pwd`
4197 if test x
"${MISSING+set}" != xset
; then
4200 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4202 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4205 # Use eval to expand $SHELL
4206 if eval "$MISSING --run true"; then
4207 am_missing_run
="$MISSING --run "
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4211 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4214 if test x
"${install_sh}" != xset
; then
4217 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4219 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4223 # Installed binaries are usually stripped using `strip' when the user
4224 # run `make install-strip'. However `strip' might not be the right
4225 # tool to use in cross-compilation environments, therefore Automake
4226 # will honor the `STRIP' environment variable to overrule this program.
4227 if test "$cross_compiling" != no
; then
4228 if test -n "$ac_tool_prefix"; then
4229 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4230 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4232 $as_echo_n "checking for $ac_word... " >&6; }
4233 if test "${ac_cv_prog_STRIP+set}" = set; then :
4234 $as_echo_n "(cached) " >&6
4236 if test -n "$STRIP"; then
4237 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4243 test -z "$as_dir" && as_dir
=.
4244 for ac_exec_ext
in '' $ac_executable_extensions; do
4245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4246 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 STRIP
=$ac_cv_prog_STRIP
4257 if test -n "$STRIP"; then
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4259 $as_echo "$STRIP" >&6; }
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262 $as_echo "no" >&6; }
4267 if test -z "$ac_cv_prog_STRIP"; then
4269 # Extract the first word of "strip", so it can be a program name with args.
4270 set dummy strip
; ac_word
=$2
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4272 $as_echo_n "checking for $ac_word... " >&6; }
4273 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4274 $as_echo_n "(cached) " >&6
4276 if test -n "$ac_ct_STRIP"; then
4277 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4283 test -z "$as_dir" && as_dir
=.
4284 for ac_exec_ext
in '' $ac_executable_extensions; do
4285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4286 ac_cv_prog_ac_ct_STRIP
="strip"
4287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4296 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4297 if test -n "$ac_ct_STRIP"; then
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4299 $as_echo "$ac_ct_STRIP" >&6; }
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302 $as_echo "no" >&6; }
4305 if test "x$ac_ct_STRIP" = x
; then
4308 case $cross_compiling:$ac_tool_warned in
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4312 ac_tool_warned
=yes ;;
4317 STRIP
="$ac_cv_prog_STRIP"
4321 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4324 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4325 if test -z "$MKDIR_P"; then
4326 if test "${ac_cv_path_mkdir+set}" = set; then :
4327 $as_echo_n "(cached) " >&6
4329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4330 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4333 test -z "$as_dir" && as_dir
=.
4334 for ac_prog
in mkdir gmkdir
; do
4335 for ac_exec_ext
in '' $ac_executable_extensions; do
4336 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4337 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4338 'mkdir (GNU coreutils) '* | \
4339 'mkdir (coreutils) '* | \
4340 'mkdir (fileutils) '4.1*)
4341 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4351 if test "${ac_cv_path_mkdir+set}" = set; then
4352 MKDIR_P
="$ac_cv_path_mkdir -p"
4354 # As a last resort, use the slow shell script. Don't cache a
4355 # value for MKDIR_P within a source directory, because that will
4356 # break other packages using the cache if that directory is
4357 # removed, or if the value is a relative name.
4358 test -d .
/--version && rmdir .
/--version
4359 MKDIR_P
="$ac_install_sh -d"
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4363 $as_echo "$MKDIR_P" >&6; }
4367 [\\/$
]* | ?
:[\\/]*) ;;
4368 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4371 for ac_prog
in gawk mawk nawk
awk
4373 # Extract the first word of "$ac_prog", so it can be a program name with args.
4374 set dummy
$ac_prog; ac_word
=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if test "${ac_cv_prog_AWK+set}" = set; then :
4378 $as_echo_n "(cached) " >&6
4380 if test -n "$AWK"; then
4381 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir
=.
4388 for ac_exec_ext
in '' $ac_executable_extensions; do
4389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4390 ac_cv_prog_AWK
="$ac_prog"
4391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 if test -n "$AWK"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4403 $as_echo "$AWK" >&6; }
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4410 test -n "$AWK" && break
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4414 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4416 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4417 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4418 $as_echo_n "(cached) " >&6
4420 cat >conftest.
make <<\_ACEOF
4423 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4425 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4426 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4428 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4430 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4434 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4436 $as_echo "yes" >&6; }
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4441 SET_MAKE
="MAKE=${MAKE-make}"
4444 rm -rf .tst
2>/dev
/null
4445 mkdir .tst
2>/dev
/null
4446 if test -d .tst
; then
4451 rmdir .tst
2>/dev
/null
4453 DEPDIR
="${am__leading_dot}deps"
4455 ac_config_commands
="$ac_config_commands depfiles"
4458 am_make
=${MAKE-make}
4459 cat > confinc
<< 'END'
4461 @
echo this is the am__doit target
4464 # If we don't find an include directive, just comment out the code.
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4466 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4470 # First try GNU make style include.
4471 echo "include confinc" > confmf
4472 # Ignore all kinds of additional output from `make'.
4473 case `$am_make -s -f confmf 2> /dev/null` in #(
4474 *the\ am__doit\ target
*)
4480 # Now try BSD make style include.
4481 if test "$am__include" = "#"; then
4482 echo '.include "confinc"' > confmf
4483 case `$am_make -s -f confmf 2> /dev/null` in #(
4484 *the\ am__doit\ target
*)
4485 am__include
=.include
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4494 $as_echo "$_am_result" >&6; }
4495 rm -f confinc confmf
4497 # Check whether --enable-dependency-tracking was given.
4498 if test "${enable_dependency_tracking+set}" = set; then :
4499 enableval
=$enable_dependency_tracking;
4502 if test "x$enable_dependency_tracking" != xno
; then
4503 am_depcomp
="$ac_aux_dir/depcomp"
4506 if test "x$enable_dependency_tracking" != xno; then
4515 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4516 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4517 # is not polluted with repeated "-I."
4518 am__isrc
=' -I$(srcdir)'
4519 # test to see if srcdir already configured
4520 if test -f $srcdir/config.status
; then
4521 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4525 # test whether we have cygpath
4526 if test -z "$CYGPATH_W"; then
4527 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4528 CYGPATH_W
='cygpath -w'
4535 # Define the identity of the package.
4536 PACKAGE
='package-unused'
4537 VERSION
='version-unused'
4540 cat >>confdefs.h
<<_ACEOF
4541 #define PACKAGE "$PACKAGE"
4545 cat >>confdefs.h
<<_ACEOF
4546 #define VERSION "$VERSION"
4549 # Some tools Automake needs.
4551 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4554 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4557 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4560 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4563 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4565 # We need awk for the "check" target. The system "awk" is bad on
4567 # Always define AMTAR for backward compatibility.
4569 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4571 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4576 depcc
="$CC" am_compiler_list
=
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4579 $as_echo_n "checking dependency style of $depcc... " >&6; }
4580 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4581 $as_echo_n "(cached) " >&6
4583 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4584 # We make a subdir and do the tests there. Otherwise we can end up
4585 # making bogus files that we don't know about and never remove. For
4586 # instance it was reported that on HP-UX the gcc test will end up
4587 # making a dummy file named `D' -- because `-MD' means `put the output
4590 # Copy depcomp to subdir because otherwise we won't find it if we're
4591 # using a relative directory.
4592 cp "$am_depcomp" conftest.dir
4594 # We will build objects and dependencies in a subdirectory because
4595 # it helps to detect inapplicable dependency modes. For instance
4596 # both Tru64's cc and ICC support -MD to output dependencies as a
4597 # side effect of compilation, but ICC will put the dependencies in
4598 # the current directory while Tru64 will put them in the object
4602 am_cv_CC_dependencies_compiler_type
=none
4603 if test "$am_compiler_list" = ""; then
4604 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4607 case " $depcc " in #(
4608 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4611 for depmode
in $am_compiler_list; do
4612 # Setup a source with many dependencies, because some compilers
4613 # like to wrap large dependency lists on column 80 (with \), and
4614 # we should not choose a depcomp mode which is confused by this.
4616 # We need to recreate these files for each test, as the compiler may
4617 # overwrite some of them when testing with obscure command lines.
4618 # This happens at least with the AIX C compiler.
4620 for i
in 1 2 3 4 5 6; do
4621 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4622 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4623 # Solaris 8's {/usr,}/bin/sh.
4624 touch sub
/conftst
$i.h
4626 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4628 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4629 # mode. It turns out that the SunPro C++ compiler does not properly
4630 # handle `-M -o', and we need to detect this. Also, some Intel
4631 # versions had trouble with output in subdirs
4632 am__obj
=sub
/conftest.
${OBJEXT-o}
4633 am__minus_obj
="-o $am__obj"
4636 # This depmode causes a compiler race in universal mode.
4637 test "$am__universal" = false ||
continue
4640 # after this tag, mechanisms are not by side-effect, so they'll
4641 # only be used when explicitly requested
4642 if test "x$enable_dependency_tracking" = xyes
; then
4648 msvisualcpp | msvcmsys
)
4649 # This compiler won't grok `-c -o', but also, the minuso test has
4650 # not run yet. These depmodes are late enough in the game, and
4651 # so weak that their functioning should not be impacted.
4652 am__obj
=conftest.
${OBJEXT-o}
4657 if depmode
=$depmode \
4658 source=sub
/conftest.c object
=$am__obj \
4659 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4660 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4661 >/dev
/null
2>conftest.err
&&
4662 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4663 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4664 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4665 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4666 # icc doesn't choke on unknown options, it will just issue warnings
4667 # or remarks (even with -Werror). So we grep stderr for any message
4668 # that says an option was ignored or not supported.
4669 # When given -MP, icc 7.0 and 7.1 complain thusly:
4670 # icc: Command line warning: ignoring option '-M'; no argument required
4671 # The diagnosis changed in icc 8.0:
4672 # icc: Command line remark: option '-MP' not supported
4673 if (grep 'ignoring option' conftest.err ||
4674 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4675 am_cv_CC_dependencies_compiler_type
=$depmode
4684 am_cv_CC_dependencies_compiler_type
=none
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4689 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4690 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4693 test "x$enable_dependency_tracking" != xno \
4694 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4696 am__fastdepCC_FALSE
='#'
4698 am__fastdepCC_TRUE
='#'
4699 am__fastdepCC_FALSE
=
4704 # Default to --enable-multilib
4705 # Check whether --enable-multilib was given.
4706 if test "${enable_multilib+set}" = set; then :
4707 enableval
=$enable_multilib; case "$enableval" in
4708 yes) multilib
=yes ;;
4710 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
4717 # We may get other options which we leave undocumented:
4718 # --with-target-subdir, --with-multisrctop, --with-multisubdir
4719 # See config-ml.in if you want the gory details.
4721 if test "$srcdir" = "."; then
4722 if test "$with_target_subdir" != "."; then
4723 multi_basedir
="$srcdir/$with_multisrctop../.."
4725 multi_basedir
="$srcdir/$with_multisrctop.."
4728 multi_basedir
="$srcdir/.."
4732 # Even if the default multilib is not a cross compilation,
4733 # it may be that some of the other multilibs are.
4734 if test $cross_compiling = no
&& test $multilib = yes \
4735 && test "x${with_multisubdir}" != x
; then
4736 cross_compiling
=maybe
4739 ac_config_commands
="$ac_config_commands default-1"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4743 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4744 # Check whether --enable-maintainer-mode was given.
4745 if test "${enable_maintainer_mode+set}" = set; then :
4746 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4748 USE_MAINTAINER_MODE
=no
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4752 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4753 if test $USE_MAINTAINER_MODE = yes; then
4754 MAINTAINER_MODE_TRUE
=
4755 MAINTAINER_MODE_FALSE
='#'
4757 MAINTAINER_MODE_TRUE
='#'
4758 MAINTAINER_MODE_FALSE
=
4761 MAINT
=$MAINTAINER_MODE_TRUE
4765 # Calculate toolexeclibdir
4766 # Also toolexecdir, though it's only used in toolexeclibdir
4767 case ${version_specific_libs} in
4769 # Need the gcc compiler version to know where to install libraries
4770 # and header files if --enable-version-specific-runtime-libs option
4772 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4773 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4776 if test -n "$with_cross_host" &&
4777 test x
"$with_cross_host" != x
"no"; then
4778 # Install a library built with a cross compiler in tooldir, not libdir.
4779 toolexecdir
='$(exec_prefix)/$(target_alias)'
4780 toolexeclibdir
='$(toolexecdir)/lib'
4782 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4783 toolexeclibdir
='$(libdir)'
4785 multi_os_directory
=`$CC -print-multi-os-directory`
4786 case $multi_os_directory in
4787 .
) ;; # Avoid trailing /.
4788 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4795 # Checks for programs.
4797 ac_cpp
='$CPP $CPPFLAGS'
4798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4801 if test -n "$ac_tool_prefix"; then
4802 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4803 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if test "${ac_cv_prog_CC+set}" = set; then :
4807 $as_echo_n "(cached) " >&6
4809 if test -n "$CC"; then
4810 ac_cv_prog_CC
="$CC" # Let the user override the test.
4812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4816 test -z "$as_dir" && as_dir
=.
4817 for ac_exec_ext
in '' $ac_executable_extensions; do
4818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4819 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4830 if test -n "$CC"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4832 $as_echo "$CC" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4840 if test -z "$ac_cv_prog_CC"; then
4842 # Extract the first word of "gcc", so it can be a program name with args.
4843 set dummy gcc
; ac_word
=$2
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845 $as_echo_n "checking for $ac_word... " >&6; }
4846 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4847 $as_echo_n "(cached) " >&6
4849 if test -n "$ac_ct_CC"; then
4850 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4856 test -z "$as_dir" && as_dir
=.
4857 for ac_exec_ext
in '' $ac_executable_extensions; do
4858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4859 ac_cv_prog_ac_ct_CC
="gcc"
4860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4869 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4870 if test -n "$ac_ct_CC"; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4872 $as_echo "$ac_ct_CC" >&6; }
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 $as_echo "no" >&6; }
4878 if test "x$ac_ct_CC" = x
; then
4881 case $cross_compiling:$ac_tool_warned in
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4885 ac_tool_warned
=yes ;;
4893 if test -z "$CC"; then
4894 if test -n "$ac_tool_prefix"; then
4895 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4896 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if test "${ac_cv_prog_CC+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$CC"; then
4903 ac_cv_prog_CC
="$CC" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 if test -n "$CC"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4925 $as_echo "$CC" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4934 if test -z "$CC"; then
4935 # Extract the first word of "cc", so it can be a program name with args.
4936 set dummy cc
; ac_word
=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 $as_echo_n "checking for $ac_word... " >&6; }
4939 if test "${ac_cv_prog_CC+set}" = set; then :
4940 $as_echo_n "(cached) " >&6
4942 if test -n "$CC"; then
4943 ac_cv_prog_CC
="$CC" # Let the user override the test.
4946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4950 test -z "$as_dir" && as_dir
=.
4951 for ac_exec_ext
in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4954 ac_prog_rejected
=yes
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965 if test $ac_prog_rejected = yes; then
4966 # We found a bogon in the path, so make sure we never use it.
4967 set dummy
$ac_cv_prog_CC
4969 if test $# != 0; then
4970 # We chose a different compiler from the bogus one.
4971 # However, it has the same basename, so the bogon will be chosen
4972 # first if we set CC to just the basename; use the full file name.
4974 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4980 if test -n "$CC"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4982 $as_echo "$CC" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4990 if test -z "$CC"; then
4991 if test -n "$ac_tool_prefix"; then
4992 for ac_prog
in cl.exe
4994 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4995 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if test "${ac_cv_prog_CC+set}" = set; then :
4999 $as_echo_n "(cached) " >&6
5001 if test -n "$CC"; then
5002 ac_cv_prog_CC
="$CC" # Let the user override the test.
5004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5008 test -z "$as_dir" && as_dir
=.
5009 for ac_exec_ext
in '' $ac_executable_extensions; do
5010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5011 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 if test -n "$CC"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5024 $as_echo "$CC" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5031 test -n "$CC" && break
5034 if test -z "$CC"; then
5036 for ac_prog
in cl.exe
5038 # Extract the first word of "$ac_prog", so it can be a program name with args.
5039 set dummy
$ac_prog; ac_word
=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$ac_ct_CC"; then
5046 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5055 ac_cv_prog_ac_ct_CC
="$ac_prog"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5066 if test -n "$ac_ct_CC"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5068 $as_echo "$ac_ct_CC" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5075 test -n "$ac_ct_CC" && break
5078 if test "x$ac_ct_CC" = x
; then
5081 case $cross_compiling:$ac_tool_warned in
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5085 ac_tool_warned
=yes ;;
5094 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5096 as_fn_error
"no acceptable C compiler found in \$PATH
5097 See \`config.log' for more details." "$LINENO" 5; }
5099 # Provide some information about the compiler.
5100 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5103 for ac_option
in --version -v -V -qversion; do
5104 { { ac_try
="$ac_compiler $ac_option >&5"
5106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5110 $as_echo "$ac_try_echo"; } >&5
5111 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5113 if test -s conftest.err; then
5115 ... rest of stderr output deleted ...
5116 10q' conftest.err >conftest.er1
5117 cat conftest.er1 >&5
5118 rm -f conftest.er1 conftest.err
5120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5121 test $ac_status = 0; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5125 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5126 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5127 $as_echo_n "(cached) " >&6
5129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5130 /* end confdefs.h. */
5143 if ac_fn_c_try_compile "$LINENO"; then :
5148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5153 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5154 if test $ac_compiler_gnu = yes; then
5159 ac_test_CFLAGS=${CFLAGS+set}
5160 ac_save_CFLAGS=$CFLAGS
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5162 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5163 if test "${ac_cv_prog_cc_g+set}" = set; then :
5164 $as_echo_n "(cached) " >&6
5166 ac_save_c_werror_flag=$ac_c_werror_flag
5167 ac_c_werror_flag=yes
5170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5171 /* end confdefs.h. */
5181 if ac_fn_c_try_compile "$LINENO"; then :
5185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5186 /* end confdefs.h. */
5196 if ac_fn_c_try_compile "$LINENO"; then :
5199 ac_c_werror_flag=$ac_save_c_werror_flag
5201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5212 if ac_fn_c_try_compile "$LINENO"; then :
5215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5220 ac_c_werror_flag=$ac_save_c_werror_flag
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5223 $as_echo "$ac_cv_prog_cc_g" >&6; }
5224 if test "$ac_test_CFLAGS" = set; then
5225 CFLAGS=$ac_save_CFLAGS
5226 elif test $ac_cv_prog_cc_g = yes; then
5227 if test "$GCC" = yes; then
5233 if test "$GCC" = yes; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5240 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5241 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5242 $as_echo_n "(cached) " >&6
5244 ac_cv_prog_cc_c89=no
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5250 #include <sys/types.h>
5251 #include <sys/stat.h>
5252 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5253 struct buf { int x; };
5254 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5255 static char *e (p, i)
5261 static char *f (char * (*g) (char **, int), char **p, ...)
5266 s = g (p, va_arg (v,int));
5271 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5272 function prototypes and stuff, but not '\xHH' hex character constants.
5273 These don't provoke an error unfortunately, instead are silently treated
5274 as 'x'. The following induces an error, until -std is added to get
5275 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5276 array size at least. It's necessary to write '\x00'==0 to get something
5277 that's true only with -std. */
5278 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5280 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5281 inside strings and character constants. */
5283 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5285 int test (int i, double x);
5286 struct s1 {int (*f) (int a);};
5287 struct s2 {int (*f) (double a);};
5288 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5294 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5299 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5300 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5302 CC="$ac_save_CC $ac_arg"
5303 if ac_fn_c_try_compile "$LINENO"; then :
5304 ac_cv_prog_cc_c89=$ac_arg
5306 rm -f core conftest.err conftest.$ac_objext
5307 test "x$ac_cv_prog_cc_c89" != "xno" && break
5309 rm -f conftest.$ac_ext
5314 case "x$ac_cv_prog_cc_c89" in
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5317 $as_echo "none needed" >&6; } ;;
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5320 $as_echo "unsupported" >&6; } ;;
5322 CC="$CC $ac_cv_prog_cc_c89"
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5324 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5326 if test "x$ac_cv_prog_cc_c89" != xno; then :
5331 ac_cpp='$CPP $CPPFLAGS'
5332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5337 ac_cpp='$CXXCPP $CPPFLAGS'
5338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5341 if test -z "$CXX"; then
5342 if test -n "$CCC"; then
5345 if test -n "$ac_tool_prefix"; then
5346 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5349 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if test "${ac_cv_prog_CXX+set}" = set; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$CXX"; then
5356 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5365 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 if test -n "$CXX"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5378 $as_echo "$CXX" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5385 test -n "$CXX" && break
5388 if test -z "$CXX"; then
5390 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5392 # Extract the first word of "$ac_prog", so it can be a program name with args.
5393 set dummy $ac_prog; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5397 $as_echo_n "(cached) " >&6
5399 if test -n "$ac_ct_CXX"; then
5400 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_ac_ct_CXX="$ac_prog"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5420 if test -n "$ac_ct_CXX"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5422 $as_echo "$ac_ct_CXX" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5429 test -n "$ac_ct_CXX" && break
5432 if test "x$ac_ct_CXX" = x; then
5435 case $cross_compiling:$ac_tool_warned in
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5439 ac_tool_warned=yes ;;
5447 # Provide some information about the compiler.
5448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5451 for ac_option in --version -v -V -qversion; do
5452 { { ac_try="$ac_compiler $ac_option >&5"
5454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5455 *) ac_try_echo
=$ac_try;;
5457 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5458 $as_echo "$ac_try_echo"; } >&5
5459 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5461 if test -s conftest.err
; then
5463 ... rest of stderr output deleted ...
5464 10q' conftest.err
>conftest.er1
5465 cat conftest.er1
>&5
5466 rm -f conftest.er1 conftest.err
5468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5469 test $ac_status = 0; }
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5473 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5474 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5475 $as_echo_n "(cached) " >&6
5477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5478 /* end confdefs.h. */
5491 if ac_fn_cxx_try_compile
"$LINENO"; then :
5496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5497 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5501 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5502 if test $ac_compiler_gnu = yes; then
5507 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5508 ac_save_CXXFLAGS
=$CXXFLAGS
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5510 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5511 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5512 $as_echo_n "(cached) " >&6
5514 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5515 ac_cxx_werror_flag
=yes
5518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5519 /* end confdefs.h. */
5529 if ac_fn_cxx_try_compile
"$LINENO"; then :
5530 ac_cv_prog_cxx_g
=yes
5533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5544 if ac_fn_cxx_try_compile
"$LINENO"; then :
5547 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5550 /* end confdefs.h. */
5560 if ac_fn_cxx_try_compile
"$LINENO"; then :
5561 ac_cv_prog_cxx_g
=yes
5563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5568 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5571 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5572 if test "$ac_test_CXXFLAGS" = set; then
5573 CXXFLAGS
=$ac_save_CXXFLAGS
5574 elif test $ac_cv_prog_cxx_g = yes; then
5575 if test "$GXX" = yes; then
5581 if test "$GXX" = yes; then
5588 ac_cpp
='$CPP $CPPFLAGS'
5589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5593 depcc
="$CXX" am_compiler_list
=
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5596 $as_echo_n "checking dependency style of $depcc... " >&6; }
5597 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5598 $as_echo_n "(cached) " >&6
5600 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5601 # We make a subdir and do the tests there. Otherwise we can end up
5602 # making bogus files that we don't know about and never remove. For
5603 # instance it was reported that on HP-UX the gcc test will end up
5604 # making a dummy file named `D' -- because `-MD' means `put the output
5607 # Copy depcomp to subdir because otherwise we won't find it if we're
5608 # using a relative directory.
5609 cp "$am_depcomp" conftest.dir
5611 # We will build objects and dependencies in a subdirectory because
5612 # it helps to detect inapplicable dependency modes. For instance
5613 # both Tru64's cc and ICC support -MD to output dependencies as a
5614 # side effect of compilation, but ICC will put the dependencies in
5615 # the current directory while Tru64 will put them in the object
5619 am_cv_CXX_dependencies_compiler_type
=none
5620 if test "$am_compiler_list" = ""; then
5621 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5624 case " $depcc " in #(
5625 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5628 for depmode
in $am_compiler_list; do
5629 # Setup a source with many dependencies, because some compilers
5630 # like to wrap large dependency lists on column 80 (with \), and
5631 # we should not choose a depcomp mode which is confused by this.
5633 # We need to recreate these files for each test, as the compiler may
5634 # overwrite some of them when testing with obscure command lines.
5635 # This happens at least with the AIX C compiler.
5637 for i
in 1 2 3 4 5 6; do
5638 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5639 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5640 # Solaris 8's {/usr,}/bin/sh.
5641 touch sub
/conftst
$i.h
5643 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5645 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5646 # mode. It turns out that the SunPro C++ compiler does not properly
5647 # handle `-M -o', and we need to detect this. Also, some Intel
5648 # versions had trouble with output in subdirs
5649 am__obj
=sub
/conftest.
${OBJEXT-o}
5650 am__minus_obj
="-o $am__obj"
5653 # This depmode causes a compiler race in universal mode.
5654 test "$am__universal" = false ||
continue
5657 # after this tag, mechanisms are not by side-effect, so they'll
5658 # only be used when explicitly requested
5659 if test "x$enable_dependency_tracking" = xyes
; then
5665 msvisualcpp | msvcmsys
)
5666 # This compiler won't grok `-c -o', but also, the minuso test has
5667 # not run yet. These depmodes are late enough in the game, and
5668 # so weak that their functioning should not be impacted.
5669 am__obj
=conftest.
${OBJEXT-o}
5674 if depmode
=$depmode \
5675 source=sub
/conftest.c object
=$am__obj \
5676 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5677 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5678 >/dev
/null
2>conftest.err
&&
5679 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5680 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5681 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5682 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5683 # icc doesn't choke on unknown options, it will just issue warnings
5684 # or remarks (even with -Werror). So we grep stderr for any message
5685 # that says an option was ignored or not supported.
5686 # When given -MP, icc 7.0 and 7.1 complain thusly:
5687 # icc: Command line warning: ignoring option '-M'; no argument required
5688 # The diagnosis changed in icc 8.0:
5689 # icc: Command line remark: option '-MP' not supported
5690 if (grep 'ignoring option' conftest.err ||
5691 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5692 am_cv_CXX_dependencies_compiler_type
=$depmode
5701 am_cv_CXX_dependencies_compiler_type
=none
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5706 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5707 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5710 test "x$enable_dependency_tracking" != xno \
5711 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5712 am__fastdepCXX_TRUE
=
5713 am__fastdepCXX_FALSE
='#'
5715 am__fastdepCXX_TRUE
='#'
5716 am__fastdepCXX_FALSE
=
5720 # By default we simply use the C compiler to build assembly code.
5722 test "${CCAS+set}" = set || CCAS
=$CC
5723 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
5727 depcc
="$CCAS" am_compiler_list
=
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5730 $as_echo_n "checking dependency style of $depcc... " >&6; }
5731 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5735 # We make a subdir and do the tests there. Otherwise we can end up
5736 # making bogus files that we don't know about and never remove. For
5737 # instance it was reported that on HP-UX the gcc test will end up
5738 # making a dummy file named `D' -- because `-MD' means `put the output
5741 # Copy depcomp to subdir because otherwise we won't find it if we're
5742 # using a relative directory.
5743 cp "$am_depcomp" conftest.dir
5745 # We will build objects and dependencies in a subdirectory because
5746 # it helps to detect inapplicable dependency modes. For instance
5747 # both Tru64's cc and ICC support -MD to output dependencies as a
5748 # side effect of compilation, but ICC will put the dependencies in
5749 # the current directory while Tru64 will put them in the object
5753 am_cv_CCAS_dependencies_compiler_type
=none
5754 if test "$am_compiler_list" = ""; then
5755 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5760 for depmode
in $am_compiler_list; do
5761 # Setup a source with many dependencies, because some compilers
5762 # like to wrap large dependency lists on column 80 (with \), and
5763 # we should not choose a depcomp mode which is confused by this.
5765 # We need to recreate these files for each test, as the compiler may
5766 # overwrite some of them when testing with obscure command lines.
5767 # This happens at least with the AIX C compiler.
5769 for i
in 1 2 3 4 5 6; do
5770 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5771 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5772 # Solaris 8's {/usr,}/bin/sh.
5773 touch sub
/conftst
$i.h
5775 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5777 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5778 # mode. It turns out that the SunPro C++ compiler does not properly
5779 # handle `-M -o', and we need to detect this. Also, some Intel
5780 # versions had trouble with output in subdirs
5781 am__obj
=sub
/conftest.
${OBJEXT-o}
5782 am__minus_obj
="-o $am__obj"
5785 # This depmode causes a compiler race in universal mode.
5786 test "$am__universal" = false ||
continue
5789 # after this tag, mechanisms are not by side-effect, so they'll
5790 # only be used when explicitly requested
5791 if test "x$enable_dependency_tracking" = xyes
; then
5797 msvisualcpp | msvcmsys
)
5798 # This compiler won't grok `-c -o', but also, the minuso test has
5799 # not run yet. These depmodes are late enough in the game, and
5800 # so weak that their functioning should not be impacted.
5801 am__obj
=conftest.
${OBJEXT-o}
5806 if depmode
=$depmode \
5807 source=sub
/conftest.c object
=$am__obj \
5808 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5809 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5810 >/dev
/null
2>conftest.err
&&
5811 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5812 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5813 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5814 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5815 # icc doesn't choke on unknown options, it will just issue warnings
5816 # or remarks (even with -Werror). So we grep stderr for any message
5817 # that says an option was ignored or not supported.
5818 # When given -MP, icc 7.0 and 7.1 complain thusly:
5819 # icc: Command line warning: ignoring option '-M'; no argument required
5820 # The diagnosis changed in icc 8.0:
5821 # icc: Command line remark: option '-MP' not supported
5822 if (grep 'ignoring option' conftest.err ||
5823 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5824 am_cv_CCAS_dependencies_compiler_type
=$depmode
5833 am_cv_CCAS_dependencies_compiler_type
=none
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5838 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5839 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
5842 test "x$enable_dependency_tracking" != xno \
5843 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
5844 am__fastdepCCAS_TRUE
=
5845 am__fastdepCCAS_FALSE
='#'
5847 am__fastdepCCAS_TRUE
='#'
5848 am__fastdepCCAS_FALSE
=
5852 if test -n "$ac_tool_prefix"; then
5853 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5854 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5860 if test -n "$RANLIB"; then
5861 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir
=.
5868 for ac_exec_ext
in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 RANLIB
=$ac_cv_prog_RANLIB
5881 if test -n "$RANLIB"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5883 $as_echo "$RANLIB" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5891 if test -z "$ac_cv_prog_RANLIB"; then
5892 ac_ct_RANLIB
=$RANLIB
5893 # Extract the first word of "ranlib", so it can be a program name with args.
5894 set dummy ranlib
; ac_word
=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5898 $as_echo_n "(cached) " >&6
5900 if test -n "$ac_ct_RANLIB"; then
5901 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir
=.
5908 for ac_exec_ext
in '' $ac_executable_extensions; do
5909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5910 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5921 if test -n "$ac_ct_RANLIB"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5923 $as_echo "$ac_ct_RANLIB" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5929 if test "x$ac_ct_RANLIB" = x
; then
5932 case $cross_compiling:$ac_tool_warned in
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5936 ac_tool_warned
=yes ;;
5938 RANLIB
=$ac_ct_RANLIB
5941 RANLIB
="$ac_cv_prog_RANLIB"
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5952 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5957 macro_version
='2.2.7a'
5958 macro_revision
='1.3134'
5972 ltmain
="$ac_aux_dir/ltmain.sh"
5974 # Backslashify metacharacters that are still active within
5975 # double-quoted strings.
5976 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5978 # Same as above, but do not quote variable references.
5979 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5981 # Sed substitution to delay expansion of an escaped shell variable in a
5982 # double_quote_subst'ed string.
5983 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5985 # Sed substitution to delay expansion of an escaped single quote.
5986 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5988 # Sed substitution to avoid accidental globbing in evaled expressions
5989 no_glob_subst
='s/\*/\\\*/g'
5991 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5992 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5993 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5996 $as_echo_n "checking how to print strings... " >&6; }
5997 # Test print first, because it will be a builtin if present.
5998 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5999 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6001 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6004 # Use this function as a fallback that always works.
6005 func_fallback_echo ()
6007 eval 'cat <<_LTECHO_EOF
6011 ECHO='func_fallback_echo
'
6014 # func_echo_all arg...
6015 # Invoke $ECHO with all args, space-separated.
6022 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6023 $as_echo "printf" >&6; } ;;
6024 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6025 $as_echo "print -r" >&6; } ;;
6026 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6027 $as_echo "cat" >&6; } ;;
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6044 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6045 if test "${ac_cv_path_SED+set}" = set; then :
6046 $as_echo_n "(cached) " >&6
6048 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6049 for ac_i in 1 2 3 4 5 6 7; do
6050 ac_script="$ac_script$as_nl$ac_script"
6052 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6053 { ac_script=; unset ac_script;}
6054 if test -z "$SED"; then
6055 ac_path_SED_found=false
6056 # Loop through the user's path and
test for each of PROGNAME-LIST
6057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir
=.
6062 for ac_prog
in sed gsed
; do
6063 for ac_exec_ext
in '' $ac_executable_extensions; do
6064 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6065 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6066 # Check for GNU ac_path_SED and select it if it is found.
6067 # Check for GNU $ac_path_SED
6068 case `"$ac_path_SED" --version 2>&1` in
6070 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6073 $as_echo_n 0123456789 >"conftest.in"
6076 cat "conftest.in" "conftest.in" >"conftest.tmp"
6077 mv "conftest.tmp" "conftest.in"
6078 cp "conftest.in" "conftest.nl"
6079 $as_echo '' >> "conftest.nl"
6080 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6081 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6082 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6083 if test $ac_count -gt ${ac_path_SED_max-0}; then
6084 # Best one so far, save it but keep looking for a better one
6085 ac_cv_path_SED
="$ac_path_SED"
6086 ac_path_SED_max
=$ac_count
6088 # 10*(2^10) chars as input seems more than enough
6089 test $ac_count -gt 10 && break
6091 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6094 $ac_path_SED_found && break 3
6099 if test -z "$ac_cv_path_SED"; then
6100 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6108 $as_echo "$ac_cv_path_SED" >&6; }
6109 SED
="$ac_cv_path_SED"
6112 test -z "$SED" && SED
=sed
6113 Xsed
="$SED -e 1s/^X//"
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6126 $as_echo_n "checking for fgrep... " >&6; }
6127 if test "${ac_cv_path_FGREP+set}" = set; then :
6128 $as_echo_n "(cached) " >&6
6130 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6131 then ac_cv_path_FGREP
="$GREP -F"
6133 if test -z "$FGREP"; then
6134 ac_path_FGREP_found
=false
6135 # Loop through the user's path and test for each of PROGNAME-LIST
6136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6137 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6140 test -z "$as_dir" && as_dir
=.
6141 for ac_prog
in fgrep
; do
6142 for ac_exec_ext
in '' $ac_executable_extensions; do
6143 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6144 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
6145 # Check for GNU ac_path_FGREP and select it if it is found.
6146 # Check for GNU $ac_path_FGREP
6147 case `"$ac_path_FGREP" --version 2>&1` in
6149 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6152 $as_echo_n 0123456789 >"conftest.in"
6155 cat "conftest.in" "conftest.in" >"conftest.tmp"
6156 mv "conftest.tmp" "conftest.in"
6157 cp "conftest.in" "conftest.nl"
6158 $as_echo 'FGREP' >> "conftest.nl"
6159 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6160 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6161 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6162 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6163 # Best one so far, save it but keep looking for a better one
6164 ac_cv_path_FGREP
="$ac_path_FGREP"
6165 ac_path_FGREP_max
=$ac_count
6167 # 10*(2^10) chars as input seems more than enough
6168 test $ac_count -gt 10 && break
6170 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6173 $ac_path_FGREP_found && break 3
6178 if test -z "$ac_cv_path_FGREP"; then
6179 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6182 ac_cv_path_FGREP
=$FGREP
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6188 $as_echo "$ac_cv_path_FGREP" >&6; }
6189 FGREP
="$ac_cv_path_FGREP"
6192 test -z "$GREP" && GREP
=grep
6212 # Check whether --with-gnu-ld was given.
6213 if test "${with_gnu_ld+set}" = set; then :
6214 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6220 if test "$GCC" = yes; then
6221 # Check if gcc -print-prog-name=ld gives a path.
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6223 $as_echo_n "checking for ld used by $CC... " >&6; }
6226 # gcc leaves a trailing carriage return which upsets mingw
6227 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6229 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6232 # Accept absolute paths.
6234 re_direlt
='/[^/][^/]*/\.\./'
6235 # Canonicalize the pathname of ld
6236 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6237 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6238 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6240 test -z "$LD" && LD
="$ac_prog"
6243 # If it fails, then pretend we aren't using GCC.
6247 # If it is relative, then search for the first ld in PATH.
6251 elif test "$with_gnu_ld" = yes; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6253 $as_echo_n "checking for GNU ld... " >&6; }
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6256 $as_echo_n "checking for non-GNU ld... " >&6; }
6258 if test "${lt_cv_path_LD+set}" = set; then :
6259 $as_echo_n "(cached) " >&6
6261 if test -z "$LD"; then
6262 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6263 for ac_dir
in $PATH; do
6265 test -z "$ac_dir" && ac_dir
=.
6266 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6267 lt_cv_path_LD
="$ac_dir/$ac_prog"
6268 # Check to see if the program is GNU ld. I'd rather use --version,
6269 # but apparently some variants of GNU ld only accept -v.
6270 # Break only if it was the GNU/non-GNU ld that we prefer.
6271 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6272 *GNU
* |
*'with BFD'*)
6273 test "$with_gnu_ld" != no
&& break
6276 test "$with_gnu_ld" != yes && break
6283 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6288 if test -n "$LD"; then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6290 $as_echo "$LD" >&6; }
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293 $as_echo "no" >&6; }
6295 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6297 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6298 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6299 $as_echo_n "(cached) " >&6
6301 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6302 case `$LD -v 2>&1 </dev/null` in
6303 *GNU
* |
*'with BFD'*)
6304 lt_cv_prog_gnu_ld
=yes
6307 lt_cv_prog_gnu_ld
=no
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6312 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6313 with_gnu_ld
=$lt_cv_prog_gnu_ld
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6324 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6325 if test "${lt_cv_path_NM+set}" = set; then :
6326 $as_echo_n "(cached) " >&6
6328 if test -n "$NM"; then
6329 # Let the user override the test.
6332 lt_nm_to_check
="${ac_tool_prefix}nm"
6333 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6334 lt_nm_to_check
="$lt_nm_to_check nm"
6336 for lt_tmp_nm
in $lt_nm_to_check; do
6337 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6338 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6340 test -z "$ac_dir" && ac_dir
=.
6341 tmp_nm
="$ac_dir/$lt_tmp_nm"
6342 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6343 # Check to see if the nm accepts a BSD-compat flag.
6344 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6345 # nm: unknown option "B" ignored
6346 # Tru64's nm complains that /dev/null is an invalid object file
6347 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6348 */dev
/null
* |
*'Invalid file or object type'*)
6349 lt_cv_path_NM
="$tmp_nm -B"
6353 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6355 lt_cv_path_NM
="$tmp_nm -p"
6359 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6360 continue # so that we can try to find one that supports BSD flags
6369 : ${lt_cv_path_NM=no}
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6373 $as_echo "$lt_cv_path_NM" >&6; }
6374 if test "$lt_cv_path_NM" != "no"; then
6377 # Didn't find any BSD compatible name lister, look for dumpbin.
6378 if test -n "$DUMPBIN"; then :
6379 # Let the user override the test.
6381 if test -n "$ac_tool_prefix"; then
6382 for ac_prog
in dumpbin
"link -dump"
6384 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6385 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387 $as_echo_n "checking for $ac_word... " >&6; }
6388 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6389 $as_echo_n "(cached) " >&6
6391 if test -n "$DUMPBIN"; then
6392 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6398 test -z "$as_dir" && as_dir
=.
6399 for ac_exec_ext
in '' $ac_executable_extensions; do
6400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6401 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6411 DUMPBIN
=$ac_cv_prog_DUMPBIN
6412 if test -n "$DUMPBIN"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6414 $as_echo "$DUMPBIN" >&6; }
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6421 test -n "$DUMPBIN" && break
6424 if test -z "$DUMPBIN"; then
6425 ac_ct_DUMPBIN
=$DUMPBIN
6426 for ac_prog
in dumpbin
"link -dump"
6428 # Extract the first word of "$ac_prog", so it can be a program name with args.
6429 set dummy
$ac_prog; ac_word
=$2
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6431 $as_echo_n "checking for $ac_word... " >&6; }
6432 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6433 $as_echo_n "(cached) " >&6
6435 if test -n "$ac_ct_DUMPBIN"; then
6436 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6442 test -z "$as_dir" && as_dir
=.
6443 for ac_exec_ext
in '' $ac_executable_extensions; do
6444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6445 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6455 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6456 if test -n "$ac_ct_DUMPBIN"; then
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6458 $as_echo "$ac_ct_DUMPBIN" >&6; }
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6461 $as_echo "no" >&6; }
6465 test -n "$ac_ct_DUMPBIN" && break
6468 if test "x$ac_ct_DUMPBIN" = x
; then
6471 case $cross_compiling:$ac_tool_warned in
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6475 ac_tool_warned
=yes ;;
6477 DUMPBIN
=$ac_ct_DUMPBIN
6481 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6483 DUMPBIN
="$DUMPBIN -symbols"
6491 if test "$DUMPBIN" != ":"; then
6495 test -z "$NM" && NM
=nm
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6503 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6504 if test "${lt_cv_nm_interface+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6507 lt_cv_nm_interface
="BSD nm"
6508 echo "int some_variable = 0;" > conftest.
$ac_ext
6509 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6510 (eval "$ac_compile" 2>conftest.err
)
6511 cat conftest.err
>&5
6512 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6513 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6514 cat conftest.err
>&5
6515 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6516 cat conftest.out
>&5
6517 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6518 lt_cv_nm_interface
="MS dumpbin"
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6523 $as_echo "$lt_cv_nm_interface" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6526 $as_echo_n "checking whether ln -s works... " >&6; }
6528 if test "$LN_S" = "ln -s"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6530 $as_echo "yes" >&6; }
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6533 $as_echo "no, using $LN_S" >&6; }
6536 # find the maximum length of command line arguments
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6538 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6539 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6540 $as_echo_n "(cached) " >&6
6547 # On DJGPP, this test can blow up pretty badly due to problems in libc
6548 # (any single argument exceeding 2000 bytes causes a buffer overrun
6549 # during glob expansion). Even if it were fixed, the result of this
6550 # check would be larger than it should be.
6551 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6555 # Under GNU Hurd, this test is not required because there is
6556 # no limit to the length of command line arguments.
6557 # Libtool will interpret -1 as no limit whatsoever
6558 lt_cv_sys_max_cmd_len
=-1;
6561 cygwin
* | mingw
* | cegcc
*)
6562 # On Win9x/ME, this test blows up -- it succeeds, but takes
6563 # about 5 minutes as the teststring grows exponentially.
6564 # Worse, since 9x/ME are not pre-emptively multitasking,
6565 # you end up with a "frozen" computer, even though with patience
6566 # the test eventually succeeds (with a max line length of 256k).
6567 # Instead, let's just punt: use the minimum linelength reported by
6568 # all of the supported platforms: 8192 (on NT/2K/XP).
6569 lt_cv_sys_max_cmd_len
=8192;
6573 # On MiNT this can take a long time and run out of memory.
6574 lt_cv_sys_max_cmd_len
=8192;
6578 # On AmigaOS with pdksh, this test takes hours, literally.
6579 # So we just punt and use a minimum line length of 8192.
6580 lt_cv_sys_max_cmd_len
=8192;
6583 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6584 # This has been around since 386BSD, at least. Likely further.
6585 if test -x /sbin
/sysctl
; then
6586 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6587 elif test -x /usr
/sbin
/sysctl
; then
6588 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6590 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6592 # And add a safety zone
6593 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6594 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6598 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6599 lt_cv_sys_max_cmd_len
=196608
6603 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6604 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6605 # nice to cause kernel panics so lets avoid the loop below.
6606 # First set a reasonable default.
6607 lt_cv_sys_max_cmd_len
=16384
6609 if test -x /sbin
/sysconfig
; then
6610 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6611 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6616 lt_cv_sys_max_cmd_len
=102400
6618 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6619 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6620 if test -n "$kargmax"; then
6621 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6623 lt_cv_sys_max_cmd_len
=32768
6627 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6628 if test -n "$lt_cv_sys_max_cmd_len"; then
6629 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6630 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6632 # Make teststring a little bigger before we do anything with it.
6633 # a 1K string should be a reasonable start.
6634 for i
in 1 2 3 4 5 6 7 8 ; do
6635 teststring
=$teststring$teststring
6637 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6638 # If test is not a shell built-in, we'll probably end up computing a
6639 # maximum length that is only half of the actual maximum length, but
6641 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6642 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6643 test $i != 17 # 1/2 MB should be enough
6646 teststring
=$teststring$teststring
6648 # Only check the string length outside the loop.
6649 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6651 # Add a significant safety factor because C++ compilers can tack on
6652 # massive amounts of additional arguments before passing them to the
6653 # linker. It appears as though 1/2 is a usable value.
6654 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6661 if test -n $lt_cv_sys_max_cmd_len ; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6663 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6666 $as_echo "none" >&6; }
6668 max_cmd_len
=$lt_cv_sys_max_cmd_len
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6680 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6681 # Try some XSI features
6684 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6686 && eval 'test $(( 1 + 1 )) -eq 2 \
6687 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6690 $as_echo "$xsi_shell" >&6; }
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6694 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6696 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6698 && lt_shell_append=yes
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6700 $as_echo "$lt_shell_append" >&6; }
6703 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6713 # test EBCDIC or ASCII
6714 case `echo X|tr X '\101'` in
6715 A) # ASCII based system
6716 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6717 lt_SP2NL='tr \040 \012'
6718 lt_NL2SP='tr \015\012 \040\040'
6720 *) # EBCDIC based system
6721 lt_SP2NL='tr \100 \n'
6722 lt_NL2SP='tr \r\n \100\100'
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6735 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6736 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6737 $as_echo_n "(cached
) " >&6
6739 lt_cv_ld_reload_flag='-r'
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6742 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6743 reload_flag=$lt_cv_ld_reload_flag
6744 case $reload_flag in
6746 *) reload_flag=" $reload_flag" ;;
6748 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6751 if test "$GCC" = yes; then
6752 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6754 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6767 if test -n "$ac_tool_prefix"; then
6768 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6769 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6771 $as_echo_n "checking
for $ac_word...
" >&6; }
6772 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6773 $as_echo_n "(cached
) " >&6
6775 if test -n "$OBJDUMP"; then
6776 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6785 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6795 OBJDUMP=$ac_cv_prog_OBJDUMP
6796 if test -n "$OBJDUMP"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6798 $as_echo "$OBJDUMP" >&6; }
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6801 $as_echo "no
" >&6; }
6806 if test -z "$ac_cv_prog_OBJDUMP"; then
6807 ac_ct_OBJDUMP=$OBJDUMP
6808 # Extract the first word of "objdump
", so it can be a program name with args.
6809 set dummy objdump; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6811 $as_echo_n "checking
for $ac_word...
" >&6; }
6812 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6813 $as_echo_n "(cached
) " >&6
6815 if test -n "$ac_ct_OBJDUMP"; then
6816 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 test -z "$as_dir" && as_dir=.
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6825 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6835 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6836 if test -n "$ac_ct_OBJDUMP"; then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6838 $as_echo "$ac_ct_OBJDUMP" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6841 $as_echo "no
" >&6; }
6844 if test "x
$ac_ct_OBJDUMP" = x; then
6847 case $cross_compiling:$ac_tool_warned in
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6850 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6851 ac_tool_warned=yes ;;
6853 OBJDUMP=$ac_ct_OBJDUMP
6856 OBJDUMP="$ac_cv_prog_OBJDUMP"
6859 test -z "$OBJDUMP" && OBJDUMP=objdump
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6870 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6871 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6872 $as_echo_n "(cached
) " >&6
6874 lt_cv_file_magic_cmd='$MAGIC_CMD'
6875 lt_cv_file_magic_test_file=
6876 lt_cv_deplibs_check_method='unknown'
6877 # Need to set the preceding variable on all platforms that support
6878 # interlibrary dependencies.
6879 # 'none' -- dependencies not supported.
6880 # `unknown' -- same as none, but documents that we really don't know.
6881 # 'pass_all' -- all dependencies passed with no checks.
6882 # 'test_compile' -- check by making test program.
6883 # 'file_magic [[regex]]' -- check by looking for files in library path
6884 # which responds to the $file_magic_cmd with a given extended regex.
6885 # If you have `file' or equivalent on your system and you're not sure
6886 # whether `pass_all' will *always* work, you probably want this one.
6890 lt_cv_deplibs_check_method=pass_all
6894 lt_cv_deplibs_check_method=pass_all
6898 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6899 lt_cv_file_magic_cmd='/usr/bin/file -L'
6900 lt_cv_file_magic_test_file=/shlib/libc.so
6904 # func_win32_libid is a shell function defined in ltmain.sh
6905 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6906 lt_cv_file_magic_cmd='func_win32_libid'
6910 # Base MSYS/MinGW do not provide the 'file' command needed by
6911 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6912 # unless we find 'file', for example because we are cross-compiling.
6913 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6914 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6915 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6916 lt_cv_file_magic_cmd='func_win32_libid'
6918 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6919 lt_cv_file_magic_cmd='$OBJDUMP -f'
6924 # use the weaker test based on 'objdump'. See mingw*.
6925 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6926 lt_cv_file_magic_cmd='$OBJDUMP -f'
6929 darwin* | rhapsody*)
6930 lt_cv_deplibs_check_method=pass_all
6933 freebsd* | dragonfly*)
6934 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6937 # Not sure whether the presence of OpenBSD here was a mistake.
6938 # Let's accept both of them until this is cleared up.
6939 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6940 lt_cv_file_magic_cmd=/usr/bin/file
6941 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6945 lt_cv_deplibs_check_method=pass_all
6950 lt_cv_deplibs_check_method=pass_all
6954 lt_cv_deplibs_check_method=pass_all
6957 hpux10.20* | hpux11*)
6958 lt_cv_file_magic_cmd=/usr/bin/file
6961 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6962 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6965 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]'
6966 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6970 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6976 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6977 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6980 irix5* | irix6* | nonstopux*)
6982 *-32|*"-32 ") libmagic=32-bit;;
6983 *-n32|*"-n32 ") libmagic=N32;;
6984 *-64|*"-64 ") libmagic=64-bit;;
6985 *) libmagic=never-match;;
6987 lt_cv_deplibs_check_method=pass_all
6990 # This must be Linux ELF.
6991 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6992 lt_cv_deplibs_check_method=pass_all
6996 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6997 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6999 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7004 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7005 lt_cv_file_magic_cmd=/usr/bin/file
7006 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7010 lt_cv_deplibs_check_method=pass_all
7014 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7015 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7017 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7021 osf3* | osf4* | osf5*)
7022 lt_cv_deplibs_check_method=pass_all
7026 lt_cv_deplibs_check_method=pass_all
7030 lt_cv_deplibs_check_method=pass_all
7033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7034 lt_cv_deplibs_check_method=pass_all
7038 case $host_vendor in
7040 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]'
7041 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7044 lt_cv_deplibs_check_method=pass_all
7047 lt_cv_file_magic_cmd='/bin/file'
7048 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7051 lt_cv_file_magic_cmd='/bin/file'
7052 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7053 lt_cv_file_magic_test_file=/lib/libc.so
7056 lt_cv_deplibs_check_method=pass_all
7059 lt_cv_deplibs_check_method=pass_all
7065 lt_cv_deplibs_check_method=pass_all
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7071 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7072 file_magic_cmd=$lt_cv_file_magic_cmd
7073 deplibs_check_method=$lt_cv_deplibs_check_method
7074 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7087 if test -n "$ac_tool_prefix"; then
7088 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7089 set dummy ${ac_tool_prefix}ar; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7091 $as_echo_n "checking
for $ac_word...
" >&6; }
7092 if test "${ac_cv_prog_AR+set}" = set; then :
7093 $as_echo_n "(cached
) " >&6
7095 if test -n "$AR"; then
7096 ac_cv_prog_AR="$AR" # Let the user override the test.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105 ac_cv_prog_AR="${ac_tool_prefix}ar"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7116 if test -n "$AR"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7118 $as_echo "$AR" >&6; }
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7121 $as_echo "no
" >&6; }
7126 if test -z "$ac_cv_prog_AR"; then
7128 # Extract the first word of "ar", so it can be a program name with args.
7129 set dummy ar; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7131 $as_echo_n "checking
for $ac_word...
" >&6; }
7132 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7133 $as_echo_n "(cached
) " >&6
7135 if test -n "$ac_ct_AR"; then
7136 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 test -z "$as_dir" && as_dir=.
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7145 ac_cv_prog_ac_ct_AR="ar"
7146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7155 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7156 if test -n "$ac_ct_AR"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7158 $as_echo "$ac_ct_AR" >&6; }
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7161 $as_echo "no
" >&6; }
7164 if test "x
$ac_ct_AR" = x; then
7167 case $cross_compiling:$ac_tool_warned in
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7170 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7171 ac_tool_warned=yes ;;
7179 test -z "$AR" && AR=ar
7180 test -z "$AR_FLAGS" && AR_FLAGS=cru
7192 if test -n "$ac_tool_prefix"; then
7193 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7194 set dummy ${ac_tool_prefix}strip; ac_word=$2
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7196 $as_echo_n "checking
for $ac_word...
" >&6; }
7197 if test "${ac_cv_prog_STRIP+set}" = set; then :
7198 $as_echo_n "(cached
) " >&6
7200 if test -n "$STRIP"; then
7201 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207 test -z "$as_dir" && as_dir=.
7208 for ac_exec_ext in '' $ac_executable_extensions; do
7209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7210 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7211 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7220 STRIP=$ac_cv_prog_STRIP
7221 if test -n "$STRIP"; then
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7223 $as_echo "$STRIP" >&6; }
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7226 $as_echo "no
" >&6; }
7231 if test -z "$ac_cv_prog_STRIP"; then
7233 # Extract the first word of "strip
", so it can be a program name with args.
7234 set dummy strip; ac_word=$2
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7236 $as_echo_n "checking
for $ac_word...
" >&6; }
7237 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7238 $as_echo_n "(cached
) " >&6
7240 if test -n "$ac_ct_STRIP"; then
7241 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 test -z "$as_dir" && as_dir=.
7248 for ac_exec_ext in '' $ac_executable_extensions; do
7249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7250 ac_cv_prog_ac_ct_STRIP="strip
"
7251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7260 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7261 if test -n "$ac_ct_STRIP"; then
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7263 $as_echo "$ac_ct_STRIP" >&6; }
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7266 $as_echo "no
" >&6; }
7269 if test "x
$ac_ct_STRIP" = x; then
7272 case $cross_compiling:$ac_tool_warned in
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7275 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7276 ac_tool_warned=yes ;;
7281 STRIP="$ac_cv_prog_STRIP"
7284 test -z "$STRIP" && STRIP=:
7291 if test -n "$ac_tool_prefix"; then
7292 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7293 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7295 $as_echo_n "checking
for $ac_word...
" >&6; }
7296 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7297 $as_echo_n "(cached
) " >&6
7299 if test -n "$RANLIB"; then
7300 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 test -z "$as_dir" && as_dir=.
7307 for ac_exec_ext in '' $ac_executable_extensions; do
7308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7309 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7319 RANLIB=$ac_cv_prog_RANLIB
7320 if test -n "$RANLIB"; then
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7322 $as_echo "$RANLIB" >&6; }
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7325 $as_echo "no
" >&6; }
7330 if test -z "$ac_cv_prog_RANLIB"; then
7331 ac_ct_RANLIB=$RANLIB
7332 # Extract the first word of "ranlib
", so it can be a program name with args.
7333 set dummy ranlib; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7335 $as_echo_n "checking
for $ac_word...
" >&6; }
7336 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7337 $as_echo_n "(cached
) " >&6
7339 if test -n "$ac_ct_RANLIB"; then
7340 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7359 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7360 if test -n "$ac_ct_RANLIB"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7362 $as_echo "$ac_ct_RANLIB" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7365 $as_echo "no
" >&6; }
7368 if test "x
$ac_ct_RANLIB" = x; then
7371 case $cross_compiling:$ac_tool_warned in
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7374 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7375 ac_tool_warned=yes ;;
7377 RANLIB=$ac_ct_RANLIB
7380 RANLIB="$ac_cv_prog_RANLIB"
7383 test -z "$RANLIB" && RANLIB=:
7390 # Determine commands to create old-style static archives.
7391 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7392 old_postinstall_cmds='chmod 644 $oldlib'
7393 old_postuninstall_cmds=
7395 if test -n "$RANLIB"; then
7398 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7401 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7404 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7409 lock_old_archive_extraction=yes ;;
7411 lock_old_archive_extraction=no ;;
7452 # If no C compiler was specified, use CC.
7455 # If no C compiler flags were specified, use CFLAGS.
7456 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7458 # Allow CC to be a program name with arguments.
7462 # Check for command to grab the raw symbol name followed by C symbol from nm.
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7464 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7465 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7466 $as_echo_n "(cached
) " >&6
7469 # These are sane defaults that work on at least a few old systems.
7470 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7472 # Character class describing NM global symbol codes.
7473 symcode='[BCDEGRST]'
7475 # Regexp to match symbols that can be accessed directly from C.
7476 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7478 # Define system-specific variables.
7483 cygwin* | mingw* | pw32* | cegcc*)
7484 symcode='[ABCDGISTW]'
7487 if test "$host_cpu" = ia64; then
7488 symcode='[ABCDEGRST]'
7492 symcode='[BCDEGRST]'
7495 symcode='[BCDEGQRST]'
7506 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7514 # If we're using GNU nm, then use its standard symbol codes.
7515 case `$NM -V 2>&1` in
7516 *GNU* | *'with BFD'*)
7517 symcode='[ABCDGIRSTW]' ;;
7520 # Transform an extracted symbol line into a proper C declaration.
7521 # Some systems (esp. on ia64) link data and code symbols differently,
7522 # so use this general approach.
7523 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7525 # Transform an extracted symbol line into symbol name and symbol address
7526 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7527 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'"
7529 # Handle CRLF in mingw tool chain
7533 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7537 # Try without a prefix underscore, then with it.
7538 for ac_symprfx in "" "_
"; do
7540 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7541 symxfrm="\\1 $ac_symprfx\\2 \\2"
7543 # Write the raw and C identifiers.
7544 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7545 # Fake it for dumpbin and say T for any non-static function
7546 # and D for any global variable.
7547 # Also find C++ and __fastcall symbols from MSVC++,
7548 # which start with @ or ?.
7549 lt_cv_sys_global_symbol_pipe="$AWK '"\
7550 " {last_section=section; section=\$ 3};"\
7551 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7552 " \$ 0!~/External *\|/{next};"\
7553 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7554 " {if(hide[section]) next};"\
7555 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7556 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7557 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7558 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7559 " ' prfx
=^
$ac_symprfx"
7561 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7564 # Check to see that the pipe works correctly.
7568 cat > conftest.$ac_ext <<_LT_EOF
7573 void nm_test_func(void);
7574 void nm_test_func(void){}
7578 int main(){nm_test_var='a';nm_test_func();return(0);}
7581 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7582 (eval $ac_compile) 2>&5
7584 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7585 test $ac_status = 0; }; then
7586 # Now try to grab the symbols.
7588 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7589 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7591 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7592 test $ac_status = 0; } && test -s "$nlist"; then
7593 # Try sorting and uniquifying the output.
7594 if sort "$nlist" | uniq > "$nlist"T; then
7595 mv -f "$nlist"T "$nlist"
7600 # Make sure that we snagged all the symbols we need.
7601 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7602 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7603 cat <<_LT_EOF > conftest.$ac_ext
7609 # Now generate the symbol file.
7610 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7612 cat <<_LT_EOF >> conftest.$ac_ext
7614 /* The mapping between symbol names and symbols. */
7619 lt__PROGRAM__LTX_preloaded_symbols[] =
7621 { "@PROGRAM@
", (void *) 0 },
7623 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7624 cat <<\_LT_EOF >> conftest.$ac_ext
7628 /* This works around a problem in FreeBSD linker */
7629 #ifdef FREEBSD_WORKAROUND
7630 static const void *lt_preloaded_setup() {
7631 return lt__PROGRAM__LTX_preloaded_symbols;
7639 # Now try linking the two files.
7640 mv conftest.$ac_objext conftstm.$ac_objext
7641 lt_save_LIBS="$LIBS"
7642 lt_save_CFLAGS="$CFLAGS"
7643 LIBS="conftstm.
$ac_objext"
7644 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7645 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7646 (eval $ac_link) 2>&5
7648 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7649 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7652 LIBS="$lt_save_LIBS"
7653 CFLAGS="$lt_save_CFLAGS"
7655 echo "cannot
find nm_test_func
in $nlist" >&5
7658 echo "cannot
find nm_test_var
in $nlist" >&5
7661 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7664 echo "$progname: failed program was
:" >&5
7665 cat conftest.$ac_ext >&5
7667 rm -rf conftest* conftst*
7669 # Do not use the global_symbol_pipe unless it works.
7670 if test "$pipe_works" = yes; then
7673 lt_cv_sys_global_symbol_pipe=
7679 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7680 lt_cv_sys_global_symbol_to_cdecl=
7682 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7684 $as_echo "failed
" >&6; }
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7687 $as_echo "ok
" >&6; }
7711 # Check whether --enable-libtool-lock was given.
7712 if test "${enable_libtool_lock+set}" = set; then :
7713 enableval=$enable_libtool_lock;
7716 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7718 # Some flags need to be propagated to the compiler or linker for good
7722 # Find out which ABI we are using.
7723 echo 'int i;' > conftest.$ac_ext
7724 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7725 (eval $ac_compile) 2>&5
7727 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7728 test $ac_status = 0; }; then
7729 case `/usr/bin/file conftest.$ac_objext` in
7741 # Find out which ABI we are using.
7742 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7743 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7744 (eval $ac_compile) 2>&5
7746 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7747 test $ac_status = 0; }; then
7748 if test "$lt_cv_prog_gnu_ld" = yes; then
7749 case `/usr/bin/file conftest.$ac_objext` in
7751 LD="${LD-ld} -melf32bsmip"
7754 LD="${LD-ld} -melf32bmipn32"
7757 LD="${LD-ld} -melf64bmip"
7761 case `/usr/bin/file conftest.$ac_objext` in
7777 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7778 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7779 # Find out which ABI we are using.
7780 echo 'int i;' > conftest.$ac_ext
7781 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7782 (eval $ac_compile) 2>&5
7784 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7785 test $ac_status = 0; }; then
7786 case `/usr/bin/file conftest.o` in
7789 x86_64-*kfreebsd*-gnu)
7790 LD="${LD-ld} -m elf_i386_fbsd
"
7793 case `/usr/bin/file conftest.o` in
7795 LD="${LD-ld} -m elf32_x86_64
"
7798 LD="${LD-ld} -m elf_i386
"
7802 powerpc64le-*linux*)
7803 LD="${LD-ld} -m elf32lppclinux
"
7806 LD="${LD-ld} -m elf32ppclinux
"
7809 LD="${LD-ld} -m elf_s390
"
7812 LD="${LD-ld} -m elf32_sparc
"
7818 x86_64-*kfreebsd*-gnu)
7819 LD="${LD-ld} -m elf_x86_64_fbsd
"
7822 LD="${LD-ld} -m elf_x86_64
"
7825 LD="${LD-ld} -m elf64lppc
"
7828 LD="${LD-ld} -m elf64ppc
"
7830 s390*-*linux*|s390*-*tpf*)
7831 LD="${LD-ld} -m elf64_s390
"
7834 LD="${LD-ld} -m elf64_sparc
"
7844 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7845 SAVE_CFLAGS="$CFLAGS"
7846 CFLAGS="$CFLAGS -belf"
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7848 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7849 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7850 $as_echo_n "(cached
) " >&6
7853 ac_cpp='$CPP $CPPFLAGS'
7854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7859 /* end confdefs.h. */
7869 if ac_fn_c_try_link "$LINENO"; then :
7870 lt_cv_cc_needs_belf=yes
7872 lt_cv_cc_needs_belf=no
7874 rm -f core conftest.err conftest.$ac_objext \
7875 conftest$ac_exeext conftest.$ac_ext
7877 ac_cpp='$CPP $CPPFLAGS'
7878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7884 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7885 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7886 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7887 CFLAGS="$SAVE_CFLAGS"
7891 # Find out which ABI we are using.
7892 echo 'int i;' > conftest.$ac_ext
7893 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7894 (eval $ac_compile) 2>&5
7896 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7897 test $ac_status = 0; }; then
7898 case `/usr/bin/file conftest.o` in
7900 case $lt_cv_prog_gnu_ld in
7901 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7903 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7915 need_locks="$enable_libtool_lock"
7919 rhapsody* | darwin*)
7920 if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7922 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7924 $as_echo_n "checking
for $ac_word...
" >&6; }
7925 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7926 $as_echo_n "(cached
) " >&6
7928 if test -n "$DSYMUTIL"; then
7929 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7938 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7948 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7949 if test -n "$DSYMUTIL"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7951 $as_echo "$DSYMUTIL" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7954 $as_echo "no
" >&6; }
7959 if test -z "$ac_cv_prog_DSYMUTIL"; then
7960 ac_ct_DSYMUTIL=$DSYMUTIL
7961 # Extract the first word of "dsymutil
", so it can be a program name with args.
7962 set dummy dsymutil; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7964 $as_echo_n "checking
for $ac_word...
" >&6; }
7965 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7966 $as_echo_n "(cached
) " >&6
7968 if test -n "$ac_ct_DSYMUTIL"; then
7969 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7978 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7988 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7989 if test -n "$ac_ct_DSYMUTIL"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7991 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7994 $as_echo "no
" >&6; }
7997 if test "x
$ac_ct_DSYMUTIL" = x; then
8000 case $cross_compiling:$ac_tool_warned in
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8003 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8004 ac_tool_warned=yes ;;
8006 DSYMUTIL=$ac_ct_DSYMUTIL
8009 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8012 if test -n "$ac_tool_prefix"; then
8013 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8014 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8016 $as_echo_n "checking
for $ac_word...
" >&6; }
8017 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8018 $as_echo_n "(cached
) " >&6
8020 if test -n "$NMEDIT"; then
8021 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8030 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8040 NMEDIT=$ac_cv_prog_NMEDIT
8041 if test -n "$NMEDIT"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8043 $as_echo "$NMEDIT" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8046 $as_echo "no
" >&6; }
8051 if test -z "$ac_cv_prog_NMEDIT"; then
8052 ac_ct_NMEDIT=$NMEDIT
8053 # Extract the first word of "nmedit
", so it can be a program name with args.
8054 set dummy nmedit; ac_word=$2
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8056 $as_echo_n "checking
for $ac_word...
" >&6; }
8057 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8058 $as_echo_n "(cached
) " >&6
8060 if test -n "$ac_ct_NMEDIT"; then
8061 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8067 test -z "$as_dir" && as_dir=.
8068 for ac_exec_ext in '' $ac_executable_extensions; do
8069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8070 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8080 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8081 if test -n "$ac_ct_NMEDIT"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8083 $as_echo "$ac_ct_NMEDIT" >&6; }
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8086 $as_echo "no
" >&6; }
8089 if test "x
$ac_ct_NMEDIT" = x; then
8092 case $cross_compiling:$ac_tool_warned in
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8095 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8096 ac_tool_warned=yes ;;
8098 NMEDIT=$ac_ct_NMEDIT
8101 NMEDIT="$ac_cv_prog_NMEDIT"
8104 if test -n "$ac_tool_prefix"; then
8105 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8106 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8108 $as_echo_n "checking
for $ac_word...
" >&6; }
8109 if test "${ac_cv_prog_LIPO+set}" = set; then :
8110 $as_echo_n "(cached
) " >&6
8112 if test -n "$LIPO"; then
8113 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119 test -z "$as_dir" && as_dir=.
8120 for ac_exec_ext in '' $ac_executable_extensions; do
8121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8122 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8132 LIPO=$ac_cv_prog_LIPO
8133 if test -n "$LIPO"; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8135 $as_echo "$LIPO" >&6; }
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8138 $as_echo "no
" >&6; }
8143 if test -z "$ac_cv_prog_LIPO"; then
8145 # Extract the first word of "lipo
", so it can be a program name with args.
8146 set dummy lipo; ac_word=$2
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8148 $as_echo_n "checking
for $ac_word...
" >&6; }
8149 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8150 $as_echo_n "(cached
) " >&6
8152 if test -n "$ac_ct_LIPO"; then
8153 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8162 ac_cv_prog_ac_ct_LIPO="lipo
"
8163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8172 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8173 if test -n "$ac_ct_LIPO"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8175 $as_echo "$ac_ct_LIPO" >&6; }
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8178 $as_echo "no
" >&6; }
8181 if test "x
$ac_ct_LIPO" = x; then
8184 case $cross_compiling:$ac_tool_warned in
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8187 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8188 ac_tool_warned=yes ;;
8193 LIPO="$ac_cv_prog_LIPO"
8196 if test -n "$ac_tool_prefix"; then
8197 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8198 set dummy ${ac_tool_prefix}otool; ac_word=$2
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8200 $as_echo_n "checking
for $ac_word...
" >&6; }
8201 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8202 $as_echo_n "(cached
) " >&6
8204 if test -n "$OTOOL"; then
8205 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 test -z "$as_dir" && as_dir=.
8212 for ac_exec_ext in '' $ac_executable_extensions; do
8213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8214 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8224 OTOOL=$ac_cv_prog_OTOOL
8225 if test -n "$OTOOL"; then
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8227 $as_echo "$OTOOL" >&6; }
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8230 $as_echo "no
" >&6; }
8235 if test -z "$ac_cv_prog_OTOOL"; then
8237 # Extract the first word of "otool
", so it can be a program name with args.
8238 set dummy otool; ac_word=$2
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8240 $as_echo_n "checking
for $ac_word...
" >&6; }
8241 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8242 $as_echo_n "(cached
) " >&6
8244 if test -n "$ac_ct_OTOOL"; then
8245 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251 test -z "$as_dir" && as_dir=.
8252 for ac_exec_ext in '' $ac_executable_extensions; do
8253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8254 ac_cv_prog_ac_ct_OTOOL="otool
"
8255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8264 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8265 if test -n "$ac_ct_OTOOL"; then
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8267 $as_echo "$ac_ct_OTOOL" >&6; }
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8270 $as_echo "no
" >&6; }
8273 if test "x
$ac_ct_OTOOL" = x; then
8276 case $cross_compiling:$ac_tool_warned in
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8279 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8280 ac_tool_warned=yes ;;
8285 OTOOL="$ac_cv_prog_OTOOL"
8288 if test -n "$ac_tool_prefix"; then
8289 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8290 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8292 $as_echo_n "checking
for $ac_word...
" >&6; }
8293 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8294 $as_echo_n "(cached
) " >&6
8296 if test -n "$OTOOL64"; then
8297 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8303 test -z "$as_dir" && as_dir=.
8304 for ac_exec_ext in '' $ac_executable_extensions; do
8305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8306 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8316 OTOOL64=$ac_cv_prog_OTOOL64
8317 if test -n "$OTOOL64"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8319 $as_echo "$OTOOL64" >&6; }
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8322 $as_echo "no
" >&6; }
8327 if test -z "$ac_cv_prog_OTOOL64"; then
8328 ac_ct_OTOOL64=$OTOOL64
8329 # Extract the first word of "otool64
", so it can be a program name with args.
8330 set dummy otool64; ac_word=$2
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8332 $as_echo_n "checking
for $ac_word...
" >&6; }
8333 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8334 $as_echo_n "(cached
) " >&6
8336 if test -n "$ac_ct_OTOOL64"; then
8337 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8343 test -z "$as_dir" && as_dir=.
8344 for ac_exec_ext in '' $ac_executable_extensions; do
8345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8346 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8356 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8357 if test -n "$ac_ct_OTOOL64"; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8359 $as_echo "$ac_ct_OTOOL64" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8362 $as_echo "no
" >&6; }
8365 if test "x
$ac_ct_OTOOL64" = x; then
8368 case $cross_compiling:$ac_tool_warned in
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8371 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8372 ac_tool_warned=yes ;;
8374 OTOOL64=$ac_ct_OTOOL64
8377 OTOOL64="$ac_cv_prog_OTOOL64"
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8407 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8408 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8409 $as_echo_n "(cached
) " >&6
8411 lt_cv_apple_cc_single_mod=no
8412 if test -z "${LT_MULTI_MODULE}"; then
8413 # By default we will add the -single_module flag. You can override
8414 # by either setting the environment variable LT_MULTI_MODULE
8415 # non-empty at configure time, or by adding -multi_module to the
8417 rm -rf libconftest.dylib*
8418 echo "int foo
(void
){return 1;}" > conftest.c
8419 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8420 -dynamiclib -Wl,-single_module conftest.c
" >&5
8421 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8422 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8424 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8425 lt_cv_apple_cc_single_mod=yes
8427 cat conftest.err >&5
8429 rm -rf libconftest.dylib*
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8434 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8436 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8437 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8438 $as_echo_n "(cached
) " >&6
8440 lt_cv_ld_exported_symbols_list=no
8441 save_LDFLAGS=$LDFLAGS
8442 echo "_main
" > conftest.sym
8443 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8455 if ac_fn_c_try_link "$LINENO"; then :
8456 lt_cv_ld_exported_symbols_list=yes
8458 lt_cv_ld_exported_symbols_list=no
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 LDFLAGS="$save_LDFLAGS"
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8466 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8468 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8469 if test "${lt_cv_ld_force_load+set}" = set; then :
8470 $as_echo_n "(cached
) " >&6
8472 lt_cv_ld_force_load=no
8473 cat > conftest.c << _LT_EOF
8474 int forced_loaded() { return 2;}
8476 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8477 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8478 echo "$AR cru libconftest.a conftest.o
" >&5
8479 $AR cru libconftest.a conftest.o 2>&5
8480 cat > conftest.c << _LT_EOF
8481 int main() { return 0;}
8483 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8484 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8486 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8487 lt_cv_ld_force_load=yes
8489 cat conftest.err >&5
8491 rm -f conftest.err libconftest.a conftest conftest.c
8492 rm -rf conftest.dSYM
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8496 $as_echo "$lt_cv_ld_force_load" >&6; }
8498 rhapsody* | darwin1.[012])
8499 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8501 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8502 darwin*) # darwin 5.x on
8503 # if running on 10.5 or later, the deployment target defaults
8504 # to the OS version, if on x86, and 10.4, the deployment
8505 # target defaults to 10.4. Don't you love it?
8506 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8507 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8508 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8510 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8512 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8516 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8517 _lt_dar_single_mod='$single_module'
8519 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8520 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8522 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8524 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8525 _lt_dsymutil='~$DSYMUTIL $lib || :'
8532 for ac_header in dlfcn.h
8534 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8536 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8537 cat >>confdefs.h <<_ACEOF
8538 #define HAVE_DLFCN_H 1
8558 # Check whether --enable-shared was given.
8559 if test "${enable_shared+set}" = set; then :
8560 enableval=$enable_shared; p=${PACKAGE-default}
8562 yes) enable_shared=yes ;;
8563 no) enable_shared=no ;;
8566 # Look at the argument we got. We use all the common list separators.
8567 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8568 for pkg in $enableval; do
8570 if test "X
$pkg" = "X
$p"; then
8589 # Check whether --enable-static was given.
8590 if test "${enable_static+set}" = set; then :
8591 enableval=$enable_static; p=${PACKAGE-default}
8593 yes) enable_static=yes ;;
8594 no) enable_static=no ;;
8597 # Look at the argument we got. We use all the common list separators.
8598 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8599 for pkg in $enableval; do
8601 if test "X
$pkg" = "X
$p"; then
8621 # Check whether --with-pic was given.
8622 if test "${with_pic+set}" = set; then :
8623 withval=$with_pic; pic_mode="$withval"
8629 test -z "$pic_mode" && pic_mode=default
8637 # Check whether --enable-fast-install was given.
8638 if test "${enable_fast_install+set}" = set; then :
8639 enableval=$enable_fast_install; p=${PACKAGE-default}
8641 yes) enable_fast_install=yes ;;
8642 no) enable_fast_install=no ;;
8644 enable_fast_install=no
8645 # Look at the argument we got. We use all the common list separators.
8646 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8647 for pkg in $enableval; do
8649 if test "X
$pkg" = "X
$p"; then
8650 enable_fast_install=yes
8657 enable_fast_install=yes
8670 # This can be used to rebuild libtool when needed
8671 LIBTOOL_DEPS="$ltmain"
8673 # Always use our own libtool.
8674 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8701 test -z "$LN_S" && LN_S="ln -s"
8716 if test -n "${ZSH_VERSION+set}" ; then
8717 setopt NO_GLOB_SUBST
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8721 $as_echo_n "checking
for objdir...
" >&6; }
8722 if test "${lt_cv_objdir+set}" = set; then :
8723 $as_echo_n "(cached
) " >&6
8725 rm -f .libs 2>/dev/null
8726 mkdir .libs 2>/dev/null
8727 if test -d .libs; then
8730 # MS-DOS does not allow filenames that begin with a dot.
8733 rmdir .libs 2>/dev/null
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8736 $as_echo "$lt_cv_objdir" >&6; }
8737 objdir=$lt_cv_objdir
8743 cat >>confdefs.h <<_ACEOF
8744 #define LT_OBJDIR "$lt_cv_objdir/"
8752 # AIX sometimes has problems with the GCC collect2 program. For some
8753 # reason, if we set the COLLECT_NAMES environment variable, the problems
8754 # vanish in a puff of smoke.
8755 if test "X
${COLLECT_NAMES+set}" != Xset; then
8757 export COLLECT_NAMES
8764 can_build_shared=yes
8766 # All known linkers require a `.a' archive for static linking (except MSVC,
8767 # which needs '.lib').
8770 with_gnu_ld="$lt_cv_prog_gnu_ld"
8773 old_CFLAGS="$CFLAGS"
8775 # Set sane defaults for various variables
8776 test -z "$CC" && CC=cc
8777 test -z "$LTCC" && LTCC=$CC
8778 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8779 test -z "$LD" && LD=ld
8780 test -z "$ac_objext" && ac_objext=o
8782 for cc_temp in $compiler""; do
8784 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8785 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8790 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8793 # Only perform the check for file, if the check method requires it
8794 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8795 case $deplibs_check_method in
8797 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8799 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8800 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8801 $as_echo_n "(cached
) " >&6
8805 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8808 lt_save_MAGIC_CMD="$MAGIC_CMD"
8809 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8810 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8811 for ac_dir in $ac_dummy; do
8813 test -z "$ac_dir" && ac_dir=.
8814 if test -f $ac_dir/${ac_tool_prefix}file; then
8815 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8816 if test -n "$file_magic_test_file"; then
8817 case $deplibs_check_method in
8819 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8820 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8821 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8822 $EGREP "$file_magic_regex" > /dev/null; then
8827 *** Warning: the command libtool uses to detect shared libraries,
8828 *** $file_magic_cmd, produces output that libtool cannot recognize.
8829 *** The result is that libtool may fail to recognize shared libraries
8830 *** as such. This will affect the creation of libtool libraries that
8831 *** depend on shared libraries, but programs linked with such libtool
8832 *** libraries will work regardless of this problem. Nevertheless, you
8833 *** may want to report the problem to your system manager and/or to
8834 *** bug-libtool@gnu.org
8844 MAGIC_CMD="$lt_save_MAGIC_CMD"
8849 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8850 if test -n "$MAGIC_CMD"; then
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8852 $as_echo "$MAGIC_CMD" >&6; }
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8855 $as_echo "no
" >&6; }
8862 if test -z "$lt_cv_path_MAGIC_CMD"; then
8863 if test -n "$ac_tool_prefix"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8865 $as_echo_n "checking
for file...
" >&6; }
8866 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8867 $as_echo_n "(cached
) " >&6
8871 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8874 lt_save_MAGIC_CMD="$MAGIC_CMD"
8875 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8876 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8877 for ac_dir in $ac_dummy; do
8879 test -z "$ac_dir" && ac_dir=.
8880 if test -f $ac_dir/file; then
8881 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8882 if test -n "$file_magic_test_file"; then
8883 case $deplibs_check_method in
8885 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8886 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8887 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8888 $EGREP "$file_magic_regex" > /dev/null; then
8893 *** Warning: the command libtool uses to detect shared libraries,
8894 *** $file_magic_cmd, produces output that libtool cannot recognize.
8895 *** The result is that libtool may fail to recognize shared libraries
8896 *** as such. This will affect the creation of libtool libraries that
8897 *** depend on shared libraries, but programs linked with such libtool
8898 *** libraries will work regardless of this problem. Nevertheless, you
8899 *** may want to report the problem to your system manager and/or to
8900 *** bug-libtool@gnu.org
8910 MAGIC_CMD="$lt_save_MAGIC_CMD"
8915 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8916 if test -n "$MAGIC_CMD"; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8918 $as_echo "$MAGIC_CMD" >&6; }
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8921 $as_echo "no
" >&6; }
8934 # Use C for the default configuration in the libtool script
8938 ac_cpp='$CPP $CPPFLAGS'
8939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8944 # Source file extension for C test sources.
8947 # Object file extension for compiled C test sources.
8951 # Code to be used in simple compile tests
8952 lt_simple_compile_test_code="int some_variable
= 0;"
8954 # Code to be used in simple link tests
8955 lt_simple_link_test_code='int main(){return(0);}'
8963 # If no C compiler was specified, use CC.
8966 # If no C compiler flags were specified, use CFLAGS.
8967 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8969 # Allow CC to be a program name with arguments.
8972 # Save the default compiler, since it gets overwritten when the other
8973 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8974 compiler_DEFAULT=$CC
8976 # save warnings/boilerplate of simple test code
8977 ac_outfile=conftest.$ac_objext
8978 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8979 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8980 _lt_compiler_boilerplate=`cat conftest.err`
8983 ac_outfile=conftest.$ac_objext
8984 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8985 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8986 _lt_linker_boilerplate=`cat conftest.err`
8991 ## There is no encapsulation within the following macros, do not change
8992 ## the running order or otherwise move them around unless you know exactly
8993 ## what you are doing...
8994 if test -n "$compiler"; then
8996 lt_prog_compiler_no_builtin_flag=
8998 if test "$GCC" = yes; then
8999 case $cc_basename in
9001 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9003 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9007 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9008 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9009 $as_echo_n "(cached
) " >&6
9011 lt_cv_prog_compiler_rtti_exceptions=no
9012 ac_outfile=conftest.$ac_objext
9013 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9014 lt_compiler_flag="-fno-rtti -fno-exceptions"
9015 # Insert the option either (1) after the last *FLAGS variable, or
9016 # (2) before a word containing "conftest.
", or (3) at the end.
9017 # Note that $ac_compile itself does not contain backslashes and begins
9018 # with a dollar sign (not a hyphen), so the echo should work correctly.
9019 # The option is referenced via a variable to avoid confusing sed.
9020 lt_compile=`echo "$ac_compile" | $SED \
9021 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9022 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9023 -e 's:$: $lt_compiler_flag:'`
9024 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9025 (eval "$lt_compile" 2>conftest.err)
9027 cat conftest.err >&5
9028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9029 if (exit $ac_status) && test -s "$ac_outfile"; then
9030 # The compiler can only warn and ignore the option if not recognized
9031 # So say no if there are warnings other than the usual output.
9032 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9033 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9034 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9035 lt_cv_prog_compiler_rtti_exceptions=yes
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9042 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9044 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9045 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9057 lt_prog_compiler_wl=
9058 lt_prog_compiler_pic=
9059 lt_prog_compiler_static=
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9062 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9064 if test "$GCC" = yes; then
9065 lt_prog_compiler_wl='-Wl,'
9066 lt_prog_compiler_static='-static'
9070 # All AIX code is PIC.
9071 if test "$host_cpu" = ia64; then
9072 # AIX 5 now supports IA64 processor
9073 lt_prog_compiler_static='-Bstatic'
9075 lt_prog_compiler_pic='-fPIC'
9081 # see comment about AmigaOS4 .so support
9082 lt_prog_compiler_pic='-fPIC'
9085 # FIXME: we need at least 68020 code to build shared libraries, but
9086 # adding the `-m68020' flag to GCC prevents building anything better,
9088 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9093 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9094 # PIC is the default for these OSes.
9097 mingw* | cygwin* | pw32* | os2* | cegcc*)
9098 # This hack is so that the source file can tell whether it is being
9099 # built for inclusion in a dll (and should export symbols for example).
9100 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9101 # (--disable-auto-import) libraries
9102 lt_prog_compiler_pic='-DDLL_EXPORT'
9105 darwin* | rhapsody*)
9106 # PIC is the default on this platform
9107 # Common symbols not allowed in MH_DYLIB files
9108 lt_prog_compiler_pic='-fno-common'
9112 # PIC is the default for Haiku.
9113 # The "-static" flag exists, but is broken.
9114 lt_prog_compiler_static=
9118 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9119 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9120 # sets the default TLS model and affects inlining.
9126 lt_prog_compiler_pic='-fPIC'
9132 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9133 # Instead, we relocate shared libraries at runtime.
9137 # Just because we use GCC doesn't mean we suddenly get shared libraries
9138 # on systems that don't support them.
9139 lt_prog_compiler_can_build_shared=no
9144 # QNX uses GNU C++, but need to define -shared option too, otherwise
9146 lt_prog_compiler_pic='-fPIC -shared'
9150 if test -d /usr/nec; then
9151 lt_prog_compiler_pic=-Kconform_pic
9156 lt_prog_compiler_pic='-fPIC'
9160 case $cc_basename in
9161 nvcc*) # Cuda Compiler Driver 2.2
9162 lt_prog_compiler_wl='-Xlinker '
9163 lt_prog_compiler_pic='-Xcompiler -fPIC'
9167 # PORTME Check for flag to pass linker flags through the system compiler.
9170 lt_prog_compiler_wl='-Wl,'
9171 if test "$host_cpu" = ia64; then
9172 # AIX 5 now supports IA64 processor
9173 lt_prog_compiler_static='-Bstatic'
9175 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9179 mingw* | cygwin* | pw32* | os2* | cegcc*)
9180 # This hack is so that the source file can tell whether it is being
9181 # built for inclusion in a dll (and should export symbols for example).
9182 lt_prog_compiler_pic='-DDLL_EXPORT'
9185 hpux9* | hpux10* | hpux11*)
9186 lt_prog_compiler_wl='-Wl,'
9187 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9194 lt_prog_compiler_pic='+Z'
9197 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9198 lt_prog_compiler_static='${wl}-a ${wl}archive'
9201 irix5* | irix6* | nonstopux*)
9202 lt_prog_compiler_wl='-Wl,'
9203 # PIC (with -KPIC) is the default.
9204 lt_prog_compiler_static='-non_shared'
9207 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9208 case $cc_basename in
9209 # old Intel for x86_64 which still supported -KPIC.
9211 lt_prog_compiler_wl='-Wl,'
9212 lt_prog_compiler_pic='-KPIC'
9213 lt_prog_compiler_static='-static'
9215 # icc used to be incompatible with GCC.
9216 # ICC 10 doesn't accept -KPIC any more.
9218 lt_prog_compiler_wl='-Wl,'
9219 lt_prog_compiler_pic='-fPIC'
9220 lt_prog_compiler_static='-static'
9222 # Lahey Fortran 8.1.
9224 lt_prog_compiler_wl='-Wl,'
9225 lt_prog_compiler_pic='--shared'
9226 lt_prog_compiler_static='--static'
9228 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9229 # Portland Group compilers (*not* the Pentium gcc compiler,
9230 # which looks to be a dead project)
9231 lt_prog_compiler_wl='-Wl,'
9232 lt_prog_compiler_pic='-fpic'
9233 lt_prog_compiler_static='-Bstatic'
9236 lt_prog_compiler_wl='-Wl,'
9237 # All Alpha code is PIC.
9238 lt_prog_compiler_static='-non_shared'
9240 xl* | bgxl* | bgf* | mpixl*)
9241 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9242 lt_prog_compiler_wl='-Wl,'
9243 lt_prog_compiler_pic='-qpic'
9244 lt_prog_compiler_static='-qstaticlink'
9247 case `$CC -V 2>&1 | sed 5q` in
9248 *Sun\ F* | *Sun*Fortran*)
9249 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9250 lt_prog_compiler_pic='-KPIC'
9251 lt_prog_compiler_static='-Bstatic'
9252 lt_prog_compiler_wl=''
9256 lt_prog_compiler_pic='-KPIC'
9257 lt_prog_compiler_static='-Bstatic'
9258 lt_prog_compiler_wl='-Wl,'
9266 lt_prog_compiler_pic='-KPIC'
9267 lt_prog_compiler_static='-Bstatic'
9271 # QNX uses GNU C++, but need to define -shared option too, otherwise
9273 lt_prog_compiler_pic='-fPIC -shared'
9276 osf3* | osf4* | osf5*)
9277 lt_prog_compiler_wl='-Wl,'
9278 # All OSF/1 code is PIC.
9279 lt_prog_compiler_static='-non_shared'
9283 lt_prog_compiler_static='-non_shared'
9287 lt_prog_compiler_pic='-KPIC'
9288 lt_prog_compiler_static='-Bstatic'
9289 case $cc_basename in
9291 lt_prog_compiler_wl='-Qoption ld ';;
9293 lt_prog_compiler_wl='-Wl,';;
9298 lt_prog_compiler_wl='-Qoption ld '
9299 lt_prog_compiler_pic='-PIC'
9300 lt_prog_compiler_static='-Bstatic'
9303 sysv4 | sysv4.2uw2* | sysv4.3*)
9304 lt_prog_compiler_wl='-Wl,'
9305 lt_prog_compiler_pic='-KPIC'
9306 lt_prog_compiler_static='-Bstatic'
9310 if test -d /usr/nec ;then
9311 lt_prog_compiler_pic='-Kconform_pic'
9312 lt_prog_compiler_static='-Bstatic'
9316 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9317 lt_prog_compiler_wl='-Wl,'
9318 lt_prog_compiler_pic='-KPIC'
9319 lt_prog_compiler_static='-Bstatic'
9323 lt_prog_compiler_wl='-Wl,'
9324 lt_prog_compiler_can_build_shared=no
9328 lt_prog_compiler_pic='-pic'
9329 lt_prog_compiler_static='-Bstatic'
9333 lt_prog_compiler_can_build_shared=no
9339 # For platforms which do not support PIC, -DPIC is meaningless:
9341 lt_prog_compiler_pic=
9344 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9348 $as_echo "$lt_prog_compiler_pic" >&6; }
9356 # Check to make sure the PIC flag actually works.
9358 if test -n "$lt_prog_compiler_pic"; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9360 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9361 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9362 $as_echo_n "(cached
) " >&6
9364 lt_cv_prog_compiler_pic_works=no
9365 ac_outfile=conftest.$ac_objext
9366 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9367 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9368 # Insert the option either (1) after the last *FLAGS variable, or
9369 # (2) before a word containing "conftest.
", or (3) at the end.
9370 # Note that $ac_compile itself does not contain backslashes and begins
9371 # with a dollar sign (not a hyphen), so the echo should work correctly.
9372 # The option is referenced via a variable to avoid confusing sed.
9373 lt_compile=`echo "$ac_compile" | $SED \
9374 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9375 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9376 -e 's:$: $lt_compiler_flag:'`
9377 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9378 (eval "$lt_compile" 2>conftest.err)
9380 cat conftest.err >&5
9381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9382 if (exit $ac_status) && test -s "$ac_outfile"; then
9383 # The compiler can only warn and ignore the option if not recognized
9384 # So say no if there are warnings other than the usual output.
9385 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9386 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9387 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9388 lt_cv_prog_compiler_pic_works=yes
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9395 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9397 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9398 case $lt_prog_compiler_pic in
9400 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9403 lt_prog_compiler_pic=
9404 lt_prog_compiler_can_build_shared=no
9415 # Check to make sure the static flag actually works.
9417 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9419 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9420 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9421 $as_echo_n "(cached
) " >&6
9423 lt_cv_prog_compiler_static_works=no
9424 save_LDFLAGS="$LDFLAGS"
9425 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9426 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9427 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9428 # The linker can only warn and ignore the option if not recognized
9429 # So say no if there are warnings
9430 if test -s conftest.err; then
9431 # Append any errors to the config.log.
9432 cat conftest.err 1>&5
9433 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9434 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9435 if diff conftest.exp conftest.er2 >/dev/null; then
9436 lt_cv_prog_compiler_static_works=yes
9439 lt_cv_prog_compiler_static_works=yes
9443 LDFLAGS="$save_LDFLAGS"
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9447 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9449 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9452 lt_prog_compiler_static=
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9462 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9463 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9464 $as_echo_n "(cached
) " >&6
9466 lt_cv_prog_compiler_c_o=no
9467 $RM -r conftest 2>/dev/null
9471 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9473 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9474 # Insert the option either (1) after the last *FLAGS variable, or
9475 # (2) before a word containing "conftest.
", or (3) at the end.
9476 # Note that $ac_compile itself does not contain backslashes and begins
9477 # with a dollar sign (not a hyphen), so the echo should work correctly.
9478 lt_compile=`echo "$ac_compile" | $SED \
9479 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9480 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9481 -e 's:$: $lt_compiler_flag:'`
9482 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9483 (eval "$lt_compile" 2>out/conftest.err)
9485 cat out/conftest.err >&5
9486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9487 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9489 # The compiler can only warn and ignore the option if not recognized
9490 # So say no if there are warnings
9491 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9492 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9493 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9494 lt_cv_prog_compiler_c_o=yes
9499 # SGI C++ compiler will create directory out/ii_files/ for
9500 # template instantiation
9501 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9502 $RM out/* && rmdir out
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9509 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9517 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9518 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9519 $as_echo_n "(cached
) " >&6
9521 lt_cv_prog_compiler_c_o=no
9522 $RM -r conftest 2>/dev/null
9526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9528 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9529 # Insert the option either (1) after the last *FLAGS variable, or
9530 # (2) before a word containing "conftest.
", or (3) at the end.
9531 # Note that $ac_compile itself does not contain backslashes and begins
9532 # with a dollar sign (not a hyphen), so the echo should work correctly.
9533 lt_compile=`echo "$ac_compile" | $SED \
9534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9536 -e 's:$: $lt_compiler_flag:'`
9537 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9538 (eval "$lt_compile" 2>out/conftest.err)
9540 cat out/conftest.err >&5
9541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9542 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9544 # The compiler can only warn and ignore the option if not recognized
9545 # So say no if there are warnings
9546 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9547 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9548 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9549 lt_cv_prog_compiler_c_o=yes
9554 # SGI C++ compiler will create directory out/ii_files/ for
9555 # template instantiation
9556 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9557 $RM out/* && rmdir out
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9564 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9569 hard_links="nottested
"
9570 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9571 # do not overwrite the value of need_locks provided by the user
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9573 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9576 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9578 ln conftest.a conftest.b 2>&5 || hard_links=no
9579 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9581 $as_echo "$hard_links" >&6; }
9582 if test "$hard_links" = no; then
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9584 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9597 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9600 allow_undefined_flag=
9601 always_export_symbols=no
9603 archive_expsym_cmds=
9604 compiler_needs_object=no
9605 enable_shared_with_static_runtimes=no
9606 export_dynamic_flag_spec=
9607 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9608 hardcode_automatic=no
9610 hardcode_direct_absolute=no
9611 hardcode_libdir_flag_spec=
9612 hardcode_libdir_flag_spec_ld=
9613 hardcode_libdir_separator=
9615 hardcode_shlibpath_var=unsupported
9617 link_all_deplibs=unknown
9620 old_archive_from_new_cmds=
9621 old_archive_from_expsyms_cmds=
9622 thread_safe_flag_spec=
9623 whole_archive_flag_spec=
9624 # include_expsyms should be a list of space-separated symbols to be *always*
9625 # included in the symbol list
9627 # exclude_expsyms can be an extended regexp of symbols to exclude
9628 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9629 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9630 # as well as any symbol that contains `d'.
9631 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9632 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9633 # platforms (ab)use it in PIC code, but their linkers get confused if
9634 # the symbol is explicitly referenced. Since portable code cannot
9635 # rely on this symbol name, it's probably fine to never include it in
9636 # preloaded symbol tables.
9637 # Exclude shared library initialization/finalization symbols.
9638 extract_expsyms_cmds=
9641 cygwin* | mingw* | pw32* | cegcc*)
9642 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9643 # When not using gcc, we currently assume that we are using
9644 # Microsoft Visual C++.
9645 if test "$GCC" != yes; then
9650 # we just hope/assume this is gcc and not c89 (= MSVC++)
9660 # On some targets, GNU ld is compatible enough with the native linker
9661 # that we're better off using the native interface for both.
9662 lt_use_gnu_ld_interface=no
9663 if test "$with_gnu_ld" = yes; then
9666 # The AIX port of GNU ld has always aspired to compatibility
9667 # with the native linker. However, as the warning in the GNU ld
9668 # block says, versions before 2.19.5* couldn't really create working
9669 # shared libraries, regardless of the interface used.
9670 case `$LD -v 2>&1` in
9671 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9672 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9673 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9675 lt_use_gnu_ld_interface=yes
9680 lt_use_gnu_ld_interface=yes
9685 if test "$lt_use_gnu_ld_interface" = yes; then
9686 # If archive_cmds runs LD, not CC, wlarc should be empty
9689 # Set some defaults for GNU ld with shared library support. These
9690 # are reset later if shared libraries are not supported. Putting them
9691 # here allows them to be overridden if necessary.
9692 runpath_var=LD_RUN_PATH
9693 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9694 export_dynamic_flag_spec='${wl}--export-dynamic'
9695 # ancient GNU ld didn't support --whole-archive et. al.
9696 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9697 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9699 whole_archive_flag_spec=
9701 supports_anon_versioning=no
9702 case `$LD -v 2>&1` in
9703 *GNU\ gold*) supports_anon_versioning=yes ;;
9704 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9705 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9706 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9707 *\ 2.11.*) ;; # other 2.11 versions
9708 *) supports_anon_versioning=yes ;;
9711 # See if GNU ld supports shared libraries.
9714 # On AIX/PPC, the GNU linker is very broken
9715 if test "$host_cpu" != ia64; then
9719 *** Warning: the GNU linker, at least up to release 2.19, is reported
9720 *** to be unable to reliably create shared libraries on AIX.
9721 *** Therefore, libtool is disabling shared libraries support. If you
9722 *** really care for shared libraries, you may want to install binutils
9723 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9724 *** You will then need to restart the configuration process.
9733 # see comment about AmigaOS4 .so support
9734 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9735 archive_expsym_cmds=''
9738 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)'
9739 hardcode_libdir_flag_spec
='-L$libdir'
9740 hardcode_minus_L
=yes
9746 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9747 allow_undefined_flag
=unsupported
9748 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9749 # support --undefined. This deserves some investigation. FIXME
9750 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9756 cygwin
* | mingw
* | pw32
* | cegcc
*)
9757 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9758 # as there is no search path for DLLs.
9759 hardcode_libdir_flag_spec
='-L$libdir'
9760 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9761 allow_undefined_flag
=unsupported
9762 always_export_symbols
=no
9763 enable_shared_with_static_runtimes
=yes
9764 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9766 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9767 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9768 # If the export-symbols file already is a .def file (1st line
9769 # is EXPORTS), use it as is; otherwise, prepend...
9770 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9771 cp $export_symbols $output_objdir/$soname.def;
9773 echo EXPORTS > $output_objdir/$soname.def;
9774 cat $export_symbols >> $output_objdir/$soname.def;
9776 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9783 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9784 link_all_deplibs
=yes
9789 hardcode_shlibpath_var
=no
9790 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9791 export_dynamic_flag_spec
='${wl}-E'
9792 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9793 # Instead, shared libraries are loaded at an image base (0x10000000 by
9794 # default) and relocated if they conflict, which is a slow very memory
9795 # consuming and fragmenting process. To avoid this, we pick a random,
9796 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9797 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9798 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9799 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'
9802 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9804 if test "$host_os" = linux-dietlibc
; then
9805 case $cc_basename in
9806 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9809 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9810 && test "$tmp_diet" = no
9812 tmp_addflag
=' $pic_flag'
9813 tmp_sharedflag
='-shared'
9814 case $cc_basename,$host_cpu in
9815 pgcc
*) # Portland Group C compiler
9816 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'
9817 tmp_addflag
=' $pic_flag'
9819 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9820 # Portland Group f77 and f90 compilers
9821 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'
9822 tmp_addflag
=' $pic_flag -Mnomain' ;;
9823 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9824 tmp_addflag
=' -i_dynamic' ;;
9825 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9826 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9827 ifc
* | ifort
*) # Intel Fortran compiler
9828 tmp_addflag
=' -nofor_main' ;;
9829 lf95
*) # Lahey Fortran 8.1
9830 whole_archive_flag_spec
=
9831 tmp_sharedflag
='--shared' ;;
9832 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9833 tmp_sharedflag
='-qmkshrobj'
9835 nvcc
*) # Cuda Compiler Driver 2.2
9836 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'
9837 compiler_needs_object
=yes
9840 case `$CC -V 2>&1 | sed 5q` in
9841 *Sun\ C
*) # Sun C 5.9
9842 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'
9843 compiler_needs_object
=yes
9844 tmp_sharedflag
='-G' ;;
9845 *Sun\ F
*) # Sun Fortran 8.3
9846 tmp_sharedflag
='-G' ;;
9848 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9850 if test "x$supports_anon_versioning" = xyes
; then
9851 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9852 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9853 echo "local: *; };" >> $output_objdir/$libname.ver~
9854 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9857 case $cc_basename in
9858 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9859 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9860 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9861 hardcode_libdir_flag_spec
=
9862 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9863 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9864 if test "x$supports_anon_versioning" = xyes
; then
9865 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9866 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9867 echo "local: *; };" >> $output_objdir/$libname.ver~
9868 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9878 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9879 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9882 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9883 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9888 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9892 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9893 *** create shared libraries on Solaris systems. Therefore, libtool
9894 *** is disabling shared libraries support. We urge you to upgrade GNU
9895 *** binutils to release 2.9.1 or newer. Another option is to modify
9896 *** your PATH or compiler configuration so that the native linker is
9897 *** used, and then restart.
9900 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9901 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9902 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9908 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9909 case `$LD -v 2>&1` in
9910 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9914 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9915 *** reliably create shared libraries on SCO systems. Therefore, libtool
9916 *** is disabling shared libraries support. We urge you to upgrade GNU
9917 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9918 *** your PATH or compiler configuration so that the native linker is
9919 *** used, and then restart.
9924 # For security reasons, it is highly recommended that you always
9925 # use absolute paths for naming shared libraries, and exclude the
9926 # DT_RUNPATH tag from executables and libraries. But doing so
9927 # requires that you compile everything twice, which is a pain.
9928 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9929 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9930 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9931 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9940 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9943 hardcode_shlibpath_var
=no
9947 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9948 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9949 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9956 if test "$ld_shlibs" = no
; then
9958 hardcode_libdir_flag_spec
=
9959 export_dynamic_flag_spec
=
9960 whole_archive_flag_spec
=
9963 # PORTME fill in a description of your system's linker (not GNU ld)
9966 allow_undefined_flag
=unsupported
9967 always_export_symbols
=yes
9968 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'
9969 # Note: this linker hardcodes the directories in LIBPATH if there
9970 # are no directories specified by -L.
9971 hardcode_minus_L
=yes
9972 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9973 # Neither direct hardcoding nor static linking is supported with a
9975 hardcode_direct
=unsupported
9980 if test "$host_cpu" = ia64
; then
9981 # On IA64, the linker does run time linking by default, so we don't
9982 # have to do anything special.
9983 aix_use_runtimelinking
=no
9984 exp_sym_flag
='-Bexport'
9987 # If we're using GNU nm, then we don't want the "-C" option.
9988 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9989 # Also, AIX nm treats weak defined symbols like other global
9990 # defined symbols, whereas GNU nm marks them as "W".
9991 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9992 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'
9994 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'
9996 aix_use_runtimelinking
=no
9998 # Test if we are trying to use run time linking or normal
9999 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10000 # need to do runtime linking.
10001 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10002 for ld_flag
in $LDFLAGS; do
10003 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10004 aix_use_runtimelinking
=yes
10011 exp_sym_flag
='-bexport'
10012 no_entry_flag
='-bnoentry'
10015 # When large executables or shared objects are built, AIX ld can
10016 # have problems creating the table of contents. If linking a library
10017 # or program results in "error TOC overflow" add -mminimal-toc to
10018 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10019 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10022 hardcode_direct
=yes
10023 hardcode_direct_absolute
=yes
10024 hardcode_libdir_separator
=':'
10025 link_all_deplibs
=yes
10026 file_list_spec
='${wl}-f,'
10028 if test "$GCC" = yes; then
10029 case $host_os in aix4.
[012]|aix4.
[012].
*)
10030 # We only want to do this on AIX 4.2 and lower, the check
10031 # below for broken collect2 doesn't work under 4.3+
10032 collect2name
=`${CC} -print-prog-name=collect2`
10033 if test -f "$collect2name" &&
10034 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10036 # We have reworked collect2
10039 # We have old collect2
10040 hardcode_direct
=unsupported
10041 # It fails to find uninstalled libraries when the uninstalled
10042 # path is not listed in the libpath. Setting hardcode_minus_L
10043 # to unsupported forces relinking
10044 hardcode_minus_L
=yes
10045 hardcode_libdir_flag_spec
='-L$libdir'
10046 hardcode_libdir_separator
=
10050 shared_flag
='-shared'
10051 if test "$aix_use_runtimelinking" = yes; then
10052 shared_flag
="$shared_flag "'${wl}-G'
10056 if test "$host_cpu" = ia64
; then
10057 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10058 # chokes on -Wl,-G. The following line is correct:
10061 if test "$aix_use_runtimelinking" = yes; then
10062 shared_flag
='${wl}-G'
10064 shared_flag
='${wl}-bM:SRE'
10069 export_dynamic_flag_spec
='${wl}-bexpall'
10070 # It seems that -bexpall does not export symbols beginning with
10071 # underscore (_), so it is better to generate a list of symbols to export.
10072 always_export_symbols
=yes
10073 if test "$aix_use_runtimelinking" = yes; then
10074 # Warning - without using the other runtime loading flags (-brtl),
10075 # -berok will link without error, but may produce a broken library.
10076 allow_undefined_flag
='-berok'
10077 # Determine the default libpath from the value encoded in an
10078 # empty executable.
10079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10090 if ac_fn_c_try_link
"$LINENO"; then :
10092 lt_aix_libpath_sed
='
10093 /Import File Strings/,/^$/ {
10099 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10100 # Check for a 64-bit object if we didn't find anything.
10101 if test -z "$aix_libpath"; then
10102 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10105 rm -f core conftest.err conftest.
$ac_objext \
10106 conftest
$ac_exeext conftest.
$ac_ext
10107 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10109 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10110 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"
10112 if test "$host_cpu" = ia64
; then
10113 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10114 allow_undefined_flag
="-z nodefs"
10115 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"
10117 # Determine the default libpath from the value encoded in an
10118 # empty executable.
10119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10130 if ac_fn_c_try_link
"$LINENO"; then :
10132 lt_aix_libpath_sed
='
10133 /Import File Strings/,/^$/ {
10139 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10140 # Check for a 64-bit object if we didn't find anything.
10141 if test -z "$aix_libpath"; then
10142 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10145 rm -f core conftest.err conftest.
$ac_objext \
10146 conftest
$ac_exeext conftest.
$ac_ext
10147 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10149 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10150 # Warning - without using the other run time loading flags,
10151 # -berok will link without error, but may produce a broken library.
10152 no_undefined_flag
=' ${wl}-bernotok'
10153 allow_undefined_flag
=' ${wl}-berok'
10154 if test "$with_gnu_ld" = yes; then
10155 # We only use this code for GNU lds that support --whole-archive.
10156 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10158 # Exported symbols can be pulled into shared objects from archives
10159 whole_archive_flag_spec
='$convenience'
10161 archive_cmds_need_lc
=yes
10162 # This is similar to how AIX traditionally builds its shared libraries.
10163 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'
10171 # see comment about AmigaOS4 .so support
10172 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10173 archive_expsym_cmds
=''
10176 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)'
10177 hardcode_libdir_flag_spec
='-L$libdir'
10178 hardcode_minus_L
=yes
10184 export_dynamic_flag_spec
=-rdynamic
10187 cygwin
* | mingw
* | pw32
* | cegcc
*)
10188 # When not using gcc, we currently assume that we are using
10189 # Microsoft Visual C++.
10190 # hardcode_libdir_flag_spec is actually meaningless, as there is
10191 # no search path for DLLs.
10192 hardcode_libdir_flag_spec
=' '
10193 allow_undefined_flag
=unsupported
10194 # Tell ltmain to make .lib files, not .a files.
10196 # Tell ltmain to make .dll files, not .so files.
10198 # FIXME: Setting linknames here is a bad hack.
10199 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10200 # The linker will automatically build a .lib file if we build a DLL.
10201 old_archive_from_new_cmds
='true'
10202 # FIXME: Should let the user specify the lib program.
10203 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10204 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10205 enable_shared_with_static_runtimes
=yes
10208 darwin
* | rhapsody
*)
10211 archive_cmds_need_lc
=no
10213 hardcode_automatic
=yes
10214 hardcode_shlibpath_var
=unsupported
10215 if test "$lt_cv_ld_force_load" = "yes"; then
10216 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\"`'
10218 whole_archive_flag_spec
=''
10220 link_all_deplibs
=yes
10221 allow_undefined_flag
="$_lt_dar_allow_undefined"
10222 case $cc_basename in
10223 ifort
*) _lt_dar_can_shared
=yes ;;
10224 *) _lt_dar_can_shared
=$GCC ;;
10226 if test "$_lt_dar_can_shared" = "yes"; then
10227 output_verbose_link_cmd
=func_echo_all
10228 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10229 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10230 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}"
10231 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}"
10240 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10241 hardcode_libdir_flag_spec
='-L$libdir'
10242 hardcode_shlibpath_var
=no
10245 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10246 # support. Future versions do this automatically, but an explicit c++rt0.o
10247 # does not break anything, and helps significantly (at the cost of a little
10250 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10251 hardcode_libdir_flag_spec
='-R$libdir'
10252 hardcode_direct
=yes
10253 hardcode_shlibpath_var
=no
10256 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10258 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10259 hardcode_direct
=yes
10260 hardcode_minus_L
=yes
10261 hardcode_shlibpath_var
=no
10264 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10265 freebsd
* | dragonfly
*)
10266 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10267 hardcode_libdir_flag_spec
='-R$libdir'
10268 hardcode_direct
=yes
10269 hardcode_shlibpath_var
=no
10273 if test "$GCC" = yes; then
10274 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'
10276 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'
10278 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10279 hardcode_libdir_separator
=:
10280 hardcode_direct
=yes
10282 # hardcode_minus_L: Not really in the search PATH,
10283 # but as the default location of the library.
10284 hardcode_minus_L
=yes
10285 export_dynamic_flag_spec
='${wl}-E'
10289 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10290 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10292 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10294 if test "$with_gnu_ld" = no
; then
10295 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10296 hardcode_libdir_flag_spec_ld
='+b $libdir'
10297 hardcode_libdir_separator
=:
10298 hardcode_direct
=yes
10299 hardcode_direct_absolute
=yes
10300 export_dynamic_flag_spec
='${wl}-E'
10301 # hardcode_minus_L: Not really in the search PATH,
10302 # but as the default location of the library.
10303 hardcode_minus_L
=yes
10308 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10311 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10314 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10317 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10323 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10326 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10330 # Older versions of the 11.00 compiler do not understand -b yet
10331 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10333 $as_echo_n "checking if $CC understands -b... " >&6; }
10334 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10335 $as_echo_n "(cached) " >&6
10337 lt_cv_prog_compiler__b
=no
10338 save_LDFLAGS
="$LDFLAGS"
10339 LDFLAGS
="$LDFLAGS -b"
10340 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10341 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10342 # The linker can only warn and ignore the option if not recognized
10343 # So say no if there are warnings
10344 if test -s conftest.err
; then
10345 # Append any errors to the config.log.
10346 cat conftest.err
1>&5
10347 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10348 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10349 if diff conftest.exp conftest.er2
>/dev
/null
; then
10350 lt_cv_prog_compiler__b
=yes
10353 lt_cv_prog_compiler__b
=yes
10357 LDFLAGS
="$save_LDFLAGS"
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10361 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10363 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10364 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10366 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10372 if test "$with_gnu_ld" = no
; then
10373 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10374 hardcode_libdir_separator
=:
10379 hardcode_shlibpath_var
=no
10382 hardcode_direct
=yes
10383 hardcode_direct_absolute
=yes
10384 export_dynamic_flag_spec
='${wl}-E'
10386 # hardcode_minus_L: Not really in the search PATH,
10387 # but as the default location of the library.
10388 hardcode_minus_L
=yes
10394 irix5
* | irix6
* | nonstopux
*)
10395 if test "$GCC" = yes; then
10396 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'
10397 # Try to use the -exported_symbol ld option, if it does not
10398 # work, assume that -exports_file does not work either and
10399 # implicitly export all symbols.
10400 save_LDFLAGS
="$LDFLAGS"
10401 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10406 if ac_fn_c_try_link
"$LINENO"; then :
10407 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'
10410 rm -f core conftest.err conftest.
$ac_objext \
10411 conftest
$ac_exeext conftest.
$ac_ext
10412 LDFLAGS
="$save_LDFLAGS"
10414 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'
10415 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'
10417 archive_cmds_need_lc
='no'
10418 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10419 hardcode_libdir_separator
=:
10421 link_all_deplibs
=yes
10425 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10426 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10428 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10430 hardcode_libdir_flag_spec
='-R$libdir'
10431 hardcode_direct
=yes
10432 hardcode_shlibpath_var
=no
10436 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10437 hardcode_direct
=yes
10438 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10439 hardcode_libdir_separator
=:
10440 hardcode_shlibpath_var
=no
10447 if test -f /usr
/libexec
/ld.so
; then
10448 hardcode_direct
=yes
10449 hardcode_shlibpath_var
=no
10450 hardcode_direct_absolute
=yes
10451 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10452 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10453 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10454 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10455 export_dynamic_flag_spec
='${wl}-E'
10458 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10459 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10460 hardcode_libdir_flag_spec
='-R$libdir'
10463 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10464 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10474 hardcode_libdir_flag_spec
='-L$libdir'
10475 hardcode_minus_L
=yes
10476 allow_undefined_flag
=unsupported
10477 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'
10478 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10482 if test "$GCC" = yes; then
10483 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10484 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'
10486 allow_undefined_flag
=' -expect_unresolved \*'
10487 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'
10489 archive_cmds_need_lc
='no'
10490 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10491 hardcode_libdir_separator
=:
10494 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10495 if test "$GCC" = yes; then
10496 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10497 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'
10498 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10500 allow_undefined_flag
=' -expect_unresolved \*'
10501 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'
10502 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~
10503 $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'
10505 # Both c and cxx compiler support -rpath directly
10506 hardcode_libdir_flag_spec
='-rpath $libdir'
10508 archive_cmds_need_lc
='no'
10509 hardcode_libdir_separator
=:
10513 no_undefined_flag
=' -z defs'
10514 if test "$GCC" = yes; then
10516 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10517 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10518 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10520 case `$CC -V 2>&1` in
10523 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10524 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10525 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10529 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10530 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10531 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10535 hardcode_libdir_flag_spec
='-R$libdir'
10536 hardcode_shlibpath_var
=no
10538 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10540 # The compiler driver will combine and reorder linker options,
10541 # but understands `-z linker_flag'. GCC discards it without `$wl',
10542 # but is careful enough not to reorder.
10543 # Supported since Solaris 2.6 (maybe 2.5.1?)
10544 if test "$GCC" = yes; then
10545 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10547 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10551 link_all_deplibs
=yes
10555 if test "x$host_vendor" = xsequent
; then
10556 # Use $CC to link under sequent, because it throws in some extra .o
10557 # files that make .init and .fini sections work.
10558 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10560 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10562 hardcode_libdir_flag_spec
='-L$libdir'
10563 hardcode_direct
=yes
10564 hardcode_minus_L
=yes
10565 hardcode_shlibpath_var
=no
10569 case $host_vendor in
10571 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10572 hardcode_direct
=yes # is this really true???
10575 ## LD is ld it makes a PLAMLIB
10576 ## CC just makes a GrossModule.
10577 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10578 reload_cmds
='$CC -r -o $output$reload_objs'
10582 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10583 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10586 runpath_var
='LD_RUN_PATH'
10587 hardcode_shlibpath_var
=no
10591 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10592 hardcode_shlibpath_var
=no
10593 export_dynamic_flag_spec
='-Bexport'
10597 if test -d /usr
/nec
; then
10598 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10599 hardcode_shlibpath_var
=no
10600 runpath_var
=LD_RUN_PATH
10601 hardcode_runpath_var
=yes
10606 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10607 no_undefined_flag
='${wl}-z,text'
10608 archive_cmds_need_lc
=no
10609 hardcode_shlibpath_var
=no
10610 runpath_var
='LD_RUN_PATH'
10612 if test "$GCC" = yes; then
10613 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10614 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10616 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10617 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10621 sysv5
* | sco3.2v5
* | sco5v6
*)
10622 # Note: We can NOT use -z defs as we might desire, because we do not
10623 # link with -lc, and that would cause any symbols used from libc to
10624 # always be unresolved, which means just about no library would
10625 # ever link correctly. If we're not using GNU ld we use -z text
10626 # though, which does catch some bad symbols but isn't as heavy-handed
10628 no_undefined_flag
='${wl}-z,text'
10629 allow_undefined_flag
='${wl}-z,nodefs'
10630 archive_cmds_need_lc
=no
10631 hardcode_shlibpath_var
=no
10632 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10633 hardcode_libdir_separator
=':'
10634 link_all_deplibs
=yes
10635 export_dynamic_flag_spec
='${wl}-Bexport'
10636 runpath_var
='LD_RUN_PATH'
10638 if test "$GCC" = yes; then
10639 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10640 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10642 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10648 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10649 hardcode_libdir_flag_spec
='-L$libdir'
10650 hardcode_shlibpath_var
=no
10658 if test x
$host_vendor = xsni
; then
10660 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10661 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10668 $as_echo "$ld_shlibs" >&6; }
10669 test "$ld_shlibs" = no
&& can_build_shared
=no
10671 with_gnu_ld
=$with_gnu_ld
10688 # Do we need to explicitly link libc?
10690 case "x$archive_cmds_need_lc" in
10692 # Assume -lc should be added
10693 archive_cmds_need_lc
=yes
10695 if test "$enable_shared" = yes && test "$GCC" = yes; then
10696 case $archive_cmds in
10698 # FIXME: we may have to deal with multi-command sequences.
10701 # Test whether the compiler implicitly links with -lc since on some
10702 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10703 # to ld, don't add -lc before -lgcc.
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10705 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10706 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10707 $as_echo_n "(cached) " >&6
10710 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10713 (eval $ac_compile) 2>&5
10715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10716 test $ac_status = 0; } 2>conftest.err
; then
10719 libobjs
=conftest.
$ac_objext
10721 wl
=$lt_prog_compiler_wl
10722 pic_flag
=$lt_prog_compiler_pic
10728 lt_save_allow_undefined_flag
=$allow_undefined_flag
10729 allow_undefined_flag
=
10730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10731 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10734 test $ac_status = 0; }
10736 lt_cv_archive_cmds_need_lc
=no
10738 lt_cv_archive_cmds_need_lc
=yes
10740 allow_undefined_flag
=$lt_save_allow_undefined_flag
10742 cat conftest.err
1>&5
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10748 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10749 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10913 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10915 if test "$GCC" = yes; then
10917 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10918 *) lt_awk_arg
="/^libraries:/" ;;
10921 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10922 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10924 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10925 case $lt_search_path_spec in
10927 # if the path contains ";" then we assume it to be the separator
10928 # otherwise default to the standard path separator (i.e. ":") - it is
10929 # assumed that no part of a normal pathname contains ";" but that should
10930 # okay in the real world where ";" in dirpaths is itself problematic.
10931 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10934 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10937 # Ok, now we have the path, separated by spaces, we can step through it
10938 # and add multilib dir if necessary.
10939 lt_tmp_lt_search_path_spec
=
10940 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10941 for lt_sys_path
in $lt_search_path_spec; do
10942 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10943 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10945 test -d "$lt_sys_path" && \
10946 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10949 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10950 BEGIN {RS=" "; FS="/|\n";} {
10953 for (lt_i = NF; lt_i > 0; lt_i--) {
10954 if ($lt_i != "" && $lt_i != ".") {
10955 if ($lt_i == "..") {
10958 if (lt_count == 0) {
10959 lt_foo="/" $lt_i lt_foo;
10966 if (lt_foo != "") { lt_freq[lt_foo]++; }
10967 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10969 # AWK program above erroneously prepends '/' to C:/dos/paths
10972 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10973 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10975 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10977 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10979 library_names_spec
=
10980 libname_spec
='lib$name'
10984 postuninstall_cmds
=
10988 shlibpath_overrides_runpath
=unknown
10990 dynamic_linker
="$host_os ld.so"
10991 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10992 need_lib_prefix
=unknown
10993 hardcode_into_libs
=no
10995 # when you set need_version to no, make sure it does not cause -set_version
10996 # flags to be left without arguments
10997 need_version
=unknown
11002 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11003 shlibpath_var
=LIBPATH
11005 # AIX 3 has no versioning support, so we append a major version to the name.
11006 soname_spec
='${libname}${release}${shared_ext}$major'
11013 hardcode_into_libs
=yes
11014 if test "$host_cpu" = ia64
; then
11015 # AIX 5 supports IA64
11016 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11017 shlibpath_var
=LD_LIBRARY_PATH
11019 # With GCC up to 2.95.x, collect2 would create an import file
11020 # for dependence libraries. The import file would start with
11021 # the line `#! .'. This would cause the generated library to
11022 # depend on `.', always an invalid library. This was fixed in
11023 # development snapshots of GCC prior to 3.0.
11025 aix4 | aix4.
[01] | aix4.
[01].
*)
11026 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11028 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11031 can_build_shared
=no
11035 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11036 # soname into executable. Probably we can add versioning support to
11037 # collect2, so additional links can be useful in future.
11038 if test "$aix_use_runtimelinking" = yes; then
11039 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11040 # instead of lib<name>.a to let people know that these are not
11041 # typical AIX shared libraries.
11042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11044 # We preserve .a as extension for shared libraries through AIX4.2
11045 # and later when we are not doing run time linking.
11046 library_names_spec
='${libname}${release}.a $libname.a'
11047 soname_spec
='${libname}${release}${shared_ext}$major'
11049 shlibpath_var
=LIBPATH
11056 # Since July 2007 AmigaOS4 officially supports .so libraries.
11057 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 library_names_spec
='$libname.ixlibrary $libname.a'
11062 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11063 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'
11069 library_names_spec
='${libname}${shared_ext}'
11070 dynamic_linker
="$host_os ld.so"
11071 shlibpath_var
=LIBRARY_PATH
11077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11078 soname_spec
='${libname}${release}${shared_ext}$major'
11079 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11080 shlibpath_var
=LD_LIBRARY_PATH
11081 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11082 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11083 # the default ld.so.conf also contains /usr/contrib/lib and
11084 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11085 # libtool to hard-code these into programs
11088 cygwin
* | mingw
* | pw32
* | cegcc
*)
11089 version_type
=windows
11094 case $GCC,$host_os in
11095 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11096 library_names_spec
='$libname.dll.a'
11097 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11098 postinstall_cmds
='base_file=`basename \${file}`~
11099 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11100 dldir=$destdir/`dirname \$dlpath`~
11101 test -d \$dldir || mkdir -p \$dldir~
11102 $install_prog $dir/$dlname \$dldir/$dlname~
11103 chmod a+x \$dldir/$dlname~
11104 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11105 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11107 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11108 dlpath=$dir/\$dldll~
11110 shlibpath_overrides_runpath
=yes
11114 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11115 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11117 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11120 # MinGW DLLs use traditional 'lib' prefix
11121 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11124 # pw32 DLLs use 'pw' prefix rather than 'lib'
11125 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11131 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11134 dynamic_linker
='Win32 ld.exe'
11135 # FIXME: first we should search . and the directory the executable is in
11139 darwin
* | rhapsody
*)
11140 dynamic_linker
="$host_os dyld"
11141 version_type
=darwin
11144 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11145 soname_spec
='${libname}${release}${major}$shared_ext'
11146 shlibpath_overrides_runpath
=yes
11147 shlibpath_var
=DYLD_LIBRARY_PATH
11148 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11150 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11151 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11159 soname_spec
='${libname}${release}${shared_ext}$major'
11160 shlibpath_var
=LD_LIBRARY_PATH
11163 freebsd
* | dragonfly
*)
11164 # DragonFly does not have aout. When/if they implement a new
11165 # versioning mechanism, adjust this.
11166 if test -x /usr
/bin
/objformat
; then
11167 objformat
=`/usr/bin/objformat`
11170 freebsd
[23].
*) objformat
=aout
;;
11171 *) objformat
=elf
;;
11174 version_type
=freebsd-
$objformat
11175 case $version_type in
11177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11182 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11186 shlibpath_var
=LD_LIBRARY_PATH
11189 shlibpath_overrides_runpath
=yes
11191 freebsd3.
[01]* | freebsdelf3.
[01]*)
11192 shlibpath_overrides_runpath
=yes
11193 hardcode_into_libs
=yes
11195 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11196 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11197 shlibpath_overrides_runpath
=no
11198 hardcode_into_libs
=yes
11200 *) # from 4.6 on, and DragonFly
11201 shlibpath_overrides_runpath
=yes
11202 hardcode_into_libs
=yes
11211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11212 soname_spec
='${libname}${release}${shared_ext}$major'
11213 shlibpath_var
=LD_LIBRARY_PATH
11214 hardcode_into_libs
=yes
11221 dynamic_linker
="$host_os runtime_loader"
11222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11223 soname_spec
='${libname}${release}${shared_ext}$major'
11224 shlibpath_var
=LIBRARY_PATH
11225 shlibpath_overrides_runpath
=yes
11226 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11227 hardcode_into_libs
=yes
11230 hpux9
* | hpux10
* | hpux11
*)
11231 # Give a soname corresponding to the major version so that dld.sl refuses to
11232 # link against other versions.
11239 hardcode_into_libs
=yes
11240 dynamic_linker
="$host_os dld.so"
11241 shlibpath_var
=LD_LIBRARY_PATH
11242 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11244 soname_spec
='${libname}${release}${shared_ext}$major'
11245 if test "X$HPUX_IA64_MODE" = X32
; then
11246 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11248 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11250 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11254 hardcode_into_libs
=yes
11255 dynamic_linker
="$host_os dld.sl"
11256 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11257 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11259 soname_spec
='${libname}${release}${shared_ext}$major'
11260 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11261 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11265 dynamic_linker
="$host_os dld.sl"
11266 shlibpath_var
=SHLIB_PATH
11267 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11269 soname_spec
='${libname}${release}${shared_ext}$major'
11272 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11273 postinstall_cmds
='chmod 555 $lib'
11274 # or fails outright, so override atomically:
11275 install_override_mode
=555
11282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11283 soname_spec
='${libname}${release}${shared_ext}$major'
11284 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11285 shlibpath_var
=LD_LIBRARY_PATH
11286 shlibpath_overrides_runpath
=no
11287 hardcode_into_libs
=yes
11290 irix5
* | irix6
* | nonstopux
*)
11292 nonstopux
*) version_type
=nonstopux
;;
11294 if test "$lt_cv_prog_gnu_ld" = yes; then
11302 soname_spec
='${libname}${release}${shared_ext}$major'
11303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11305 irix5
* | nonstopux
*)
11306 libsuff
= shlibsuff
=
11309 case $LD in # libtool.m4 will add one of these switches to LD
11310 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11311 libsuff
= shlibsuff
= libmagic
=32-bit;;
11312 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11313 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11314 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11315 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11316 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11320 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11321 shlibpath_overrides_runpath
=no
11322 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11323 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11324 hardcode_into_libs
=yes
11327 # No shared lib support for Linux oldld, aout, or coff.
11328 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11332 # This must be Linux ELF.
11333 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11338 soname_spec
='${libname}${release}${shared_ext}$major'
11339 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11340 shlibpath_var
=LD_LIBRARY_PATH
11341 shlibpath_overrides_runpath
=no
11343 # Some binutils ld are patched to set DT_RUNPATH
11344 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11345 $as_echo_n "(cached) " >&6
11347 lt_cv_shlibpath_overrides_runpath
=no
11348 save_LDFLAGS
=$LDFLAGS
11349 save_libdir
=$libdir
11350 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11351 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11363 if ac_fn_c_try_link
"$LINENO"; then :
11364 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11365 lt_cv_shlibpath_overrides_runpath
=yes
11368 rm -f core conftest.err conftest.
$ac_objext \
11369 conftest
$ac_exeext conftest.
$ac_ext
11370 LDFLAGS
=$save_LDFLAGS
11371 libdir
=$save_libdir
11375 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11377 # This implies no fast_install, which is unacceptable.
11378 # Some rework will be needed to allow for fast_install
11379 # before this can be enabled.
11380 hardcode_into_libs
=yes
11382 # Append ld.so.conf contents to the search path
11383 if test -f /etc
/ld.so.conf
; then
11384 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' ' '`
11385 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11388 # We used to test for /lib/ld.so.1 and disable shared libraries on
11389 # powerpc, because MkLinux only supported shared libraries with the
11390 # GNU dynamic linker. Since this was broken with cross compilers,
11391 # most powerpc-linux boxes support dynamic linking these days and
11392 # people can always --disable-shared, the test was removed, and we
11393 # assume the GNU/Linux dynamic linker is in use.
11394 dynamic_linker
='GNU/Linux ld.so'
11401 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11403 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11404 dynamic_linker
='NetBSD (a.out) ld.so'
11406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11407 soname_spec
='${libname}${release}${shared_ext}$major'
11408 dynamic_linker
='NetBSD ld.elf_so'
11410 shlibpath_var
=LD_LIBRARY_PATH
11411 shlibpath_overrides_runpath
=yes
11412 hardcode_into_libs
=yes
11417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11418 shlibpath_var
=LD_LIBRARY_PATH
11419 shlibpath_overrides_runpath
=yes
11426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11427 soname_spec
='${libname}${release}${shared_ext}$major'
11428 shlibpath_var
=LD_LIBRARY_PATH
11429 shlibpath_overrides_runpath
=no
11430 hardcode_into_libs
=yes
11431 dynamic_linker
='ldqnx.so'
11436 sys_lib_dlsearch_path_spec
="/usr/lib"
11438 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11440 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11441 *) need_version
=no
;;
11443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11444 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11445 shlibpath_var
=LD_LIBRARY_PATH
11446 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11448 openbsd2.
[89] | openbsd2.
[89].
*)
11449 shlibpath_overrides_runpath
=no
11452 shlibpath_overrides_runpath
=yes
11456 shlibpath_overrides_runpath
=yes
11461 libname_spec
='$name'
11464 library_names_spec
='$libname${shared_ext} $libname.a'
11465 dynamic_linker
='OS/2 ld.exe'
11466 shlibpath_var
=LIBPATH
11469 osf3
* | osf4
* | osf5
*)
11473 soname_spec
='${libname}${release}${shared_ext}$major'
11474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11475 shlibpath_var
=LD_LIBRARY_PATH
11476 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11477 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489 soname_spec
='${libname}${release}${shared_ext}$major'
11490 shlibpath_var
=LD_LIBRARY_PATH
11491 shlibpath_overrides_runpath
=yes
11492 hardcode_into_libs
=yes
11493 # ldd complains unless libraries are executable
11494 postinstall_cmds
='chmod +x $lib'
11499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11500 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11501 shlibpath_var
=LD_LIBRARY_PATH
11502 shlibpath_overrides_runpath
=yes
11503 if test "$with_gnu_ld" = yes; then
11511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11512 soname_spec
='${libname}${release}${shared_ext}$major'
11513 shlibpath_var
=LD_LIBRARY_PATH
11514 case $host_vendor in
11516 shlibpath_overrides_runpath
=no
11518 runpath_var
=LD_RUN_PATH
11526 shlibpath_overrides_runpath
=no
11527 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11533 if test -d /usr
/nec
;then
11535 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11536 soname_spec
='$libname${shared_ext}.$major'
11537 shlibpath_var
=LD_LIBRARY_PATH
11541 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11542 version_type
=freebsd-elf
11545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11546 soname_spec
='${libname}${release}${shared_ext}$major'
11547 shlibpath_var
=LD_LIBRARY_PATH
11548 shlibpath_overrides_runpath
=yes
11549 hardcode_into_libs
=yes
11550 if test "$with_gnu_ld" = yes; then
11551 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11553 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11556 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11560 sys_lib_dlsearch_path_spec
='/usr/lib'
11564 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11569 shlibpath_var
=LD_LIBRARY_PATH
11570 shlibpath_overrides_runpath
=no
11571 hardcode_into_libs
=yes
11576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11577 soname_spec
='${libname}${release}${shared_ext}$major'
11578 shlibpath_var
=LD_LIBRARY_PATH
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11586 $as_echo "$dynamic_linker" >&6; }
11587 test "$dynamic_linker" = no
&& can_build_shared
=no
11589 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11590 if test "$GCC" = yes; then
11591 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11594 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11595 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11597 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11598 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11693 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11695 if test -n "$hardcode_libdir_flag_spec" ||
11696 test -n "$runpath_var" ||
11697 test "X$hardcode_automatic" = "Xyes" ; then
11699 # We can hardcode non-existent directories.
11700 if test "$hardcode_direct" != no
&&
11701 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11702 # have to relink, otherwise we might link with an installed library
11703 # when we should be linking with a yet-to-be-installed one
11704 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11705 test "$hardcode_minus_L" != no
; then
11706 # Linking always hardcodes the temporary library directory.
11707 hardcode_action
=relink
11709 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11710 hardcode_action
=immediate
11713 # We cannot hardcode anything, or else we can only hardcode existing
11715 hardcode_action
=unsupported
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11718 $as_echo "$hardcode_action" >&6; }
11720 if test "$hardcode_action" = relink ||
11721 test "$inherit_rpath" = yes; then
11722 # Fast installation is not supported
11723 enable_fast_install
=no
11724 elif test "$shlibpath_overrides_runpath" = yes ||
11725 test "$enable_shared" = no
; then
11726 # Fast installation is not necessary
11727 enable_fast_install
=needless
11735 if test "x$enable_dlopen" != xyes
; then
11736 enable_dlopen
=unknown
11737 enable_dlopen_self
=unknown
11738 enable_dlopen_self_static
=unknown
11745 lt_cv_dlopen
="load_add_on"
11747 lt_cv_dlopen_self
=yes
11750 mingw
* | pw32
* | cegcc
*)
11751 lt_cv_dlopen
="LoadLibrary"
11756 lt_cv_dlopen
="dlopen"
11761 # if libdl is installed we need to link against it
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11763 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11764 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11765 $as_echo_n "(cached) " >&6
11767 ac_check_lib_save_LIBS
=$LIBS
11769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11772 /* Override any GCC internal prototype to avoid an error.
11773 Use char because int might match the return type of a GCC
11774 builtin and then its argument prototype would still apply. */
11787 if ac_fn_c_try_link
"$LINENO"; then :
11788 ac_cv_lib_dl_dlopen
=yes
11790 ac_cv_lib_dl_dlopen
=no
11792 rm -f core conftest.err conftest.
$ac_objext \
11793 conftest
$ac_exeext conftest.
$ac_ext
11794 LIBS
=$ac_check_lib_save_LIBS
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11797 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11798 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11799 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11802 lt_cv_dlopen
="dyld"
11804 lt_cv_dlopen_self
=yes
11811 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11812 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11813 lt_cv_dlopen
="shl_load"
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11816 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11817 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11818 $as_echo_n "(cached) " >&6
11820 ac_check_lib_save_LIBS
=$LIBS
11822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11835 return shl_load ();
11840 if ac_fn_c_try_link
"$LINENO"; then :
11841 ac_cv_lib_dld_shl_load
=yes
11843 ac_cv_lib_dld_shl_load
=no
11845 rm -f core conftest.err conftest.
$ac_objext \
11846 conftest
$ac_exeext conftest.
$ac_ext
11847 LIBS
=$ac_check_lib_save_LIBS
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11850 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11851 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11852 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11854 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11855 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11856 lt_cv_dlopen
="dlopen"
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11859 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11860 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11861 $as_echo_n "(cached) " >&6
11863 ac_check_lib_save_LIBS
=$LIBS
11865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11868 /* Override any GCC internal prototype to avoid an error.
11869 Use char because int might match the return type of a GCC
11870 builtin and then its argument prototype would still apply. */
11883 if ac_fn_c_try_link
"$LINENO"; then :
11884 ac_cv_lib_dl_dlopen
=yes
11886 ac_cv_lib_dl_dlopen
=no
11888 rm -f core conftest.err conftest.
$ac_objext \
11889 conftest
$ac_exeext conftest.
$ac_ext
11890 LIBS
=$ac_check_lib_save_LIBS
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11893 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11894 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11895 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11898 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11899 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11900 $as_echo_n "(cached) " >&6
11902 ac_check_lib_save_LIBS
=$LIBS
11903 LIBS
="-lsvld $LIBS"
11904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11922 if ac_fn_c_try_link
"$LINENO"; then :
11923 ac_cv_lib_svld_dlopen
=yes
11925 ac_cv_lib_svld_dlopen
=no
11927 rm -f core conftest.err conftest.
$ac_objext \
11928 conftest
$ac_exeext conftest.
$ac_ext
11929 LIBS
=$ac_check_lib_save_LIBS
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11932 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11933 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11934 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11937 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11938 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11939 $as_echo_n "(cached) " >&6
11941 ac_check_lib_save_LIBS
=$LIBS
11943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11956 return dld_link ();
11961 if ac_fn_c_try_link
"$LINENO"; then :
11962 ac_cv_lib_dld_dld_link
=yes
11964 ac_cv_lib_dld_dld_link
=no
11966 rm -f core conftest.err conftest.
$ac_objext \
11967 conftest
$ac_exeext conftest.
$ac_ext
11968 LIBS
=$ac_check_lib_save_LIBS
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11971 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11972 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11973 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11994 if test "x$lt_cv_dlopen" != xno
; then
12000 case $lt_cv_dlopen in
12002 save_CPPFLAGS
="$CPPFLAGS"
12003 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12005 save_LDFLAGS
="$LDFLAGS"
12006 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12009 LIBS
="$lt_cv_dlopen_libs $LIBS"
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12012 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12013 if test "${lt_cv_dlopen_self+set}" = set; then :
12014 $as_echo_n "(cached) " >&6
12016 if test "$cross_compiling" = yes; then :
12017 lt_cv_dlopen_self
=cross
12019 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12020 lt_status
=$lt_dlunknown
12021 cat > conftest.
$ac_ext <<_LT_EOF
12022 #line 12022 "configure"
12023 #include "confdefs.h"
12032 # define LT_DLGLOBAL RTLD_GLOBAL
12035 # define LT_DLGLOBAL DL_GLOBAL
12037 # define LT_DLGLOBAL 0
12041 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12042 find out it does not work in some platform. */
12043 #ifndef LT_DLLAZY_OR_NOW
12045 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12048 # define LT_DLLAZY_OR_NOW DL_LAZY
12051 # define LT_DLLAZY_OR_NOW RTLD_NOW
12054 # define LT_DLLAZY_OR_NOW DL_NOW
12056 # define LT_DLLAZY_OR_NOW 0
12063 /* When -fvisbility=hidden is used, assume the code has been annotated
12064 correspondingly for the symbols needed. */
12065 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12066 void fnord () __attribute__((visibility("default")));
12069 void fnord () { int i=42; }
12072 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12073 int status = $lt_dlunknown;
12077 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12080 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12081 else puts (dlerror ());
12083 /* dlclose (self); */
12091 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12092 (eval $ac_link) 2>&5
12094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12095 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12096 (.
/conftest
; exit; ) >&5 2>/dev
/null
12098 case x
$lt_status in
12099 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12100 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12101 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12104 # compilation failed
12105 lt_cv_dlopen_self
=no
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12113 $as_echo "$lt_cv_dlopen_self" >&6; }
12115 if test "x$lt_cv_dlopen_self" = xyes
; then
12116 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12118 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12119 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12120 $as_echo_n "(cached) " >&6
12122 if test "$cross_compiling" = yes; then :
12123 lt_cv_dlopen_self_static
=cross
12125 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12126 lt_status
=$lt_dlunknown
12127 cat > conftest.
$ac_ext <<_LT_EOF
12128 #line 12128 "configure"
12129 #include "confdefs.h"
12138 # define LT_DLGLOBAL RTLD_GLOBAL
12141 # define LT_DLGLOBAL DL_GLOBAL
12143 # define LT_DLGLOBAL 0
12147 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12148 find out it does not work in some platform. */
12149 #ifndef LT_DLLAZY_OR_NOW
12151 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12154 # define LT_DLLAZY_OR_NOW DL_LAZY
12157 # define LT_DLLAZY_OR_NOW RTLD_NOW
12160 # define LT_DLLAZY_OR_NOW DL_NOW
12162 # define LT_DLLAZY_OR_NOW 0
12169 /* When -fvisbility=hidden is used, assume the code has been annotated
12170 correspondingly for the symbols needed. */
12171 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12172 void fnord () __attribute__((visibility("default")));
12175 void fnord () { int i=42; }
12178 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12179 int status = $lt_dlunknown;
12183 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12186 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12187 else puts (dlerror ());
12189 /* dlclose (self); */
12197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12198 (eval $ac_link) 2>&5
12200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12201 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12202 (.
/conftest
; exit; ) >&5 2>/dev
/null
12204 case x
$lt_status in
12205 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12206 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12207 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12210 # compilation failed
12211 lt_cv_dlopen_self_static
=no
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12219 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12222 CPPFLAGS
="$save_CPPFLAGS"
12223 LDFLAGS
="$save_LDFLAGS"
12228 case $lt_cv_dlopen_self in
12229 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12230 *) enable_dlopen_self
=unknown
;;
12233 case $lt_cv_dlopen_self_static in
12234 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12235 *) enable_dlopen_self_static
=unknown
;;
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12258 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12259 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12260 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12261 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12263 $as_echo "yes" >&6; }
12265 # FIXME - insert some real tests, host_os isn't really good enough
12268 if test -n "$STRIP" ; then
12269 striplib
="$STRIP -x"
12270 old_striplib
="$STRIP -S"
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12272 $as_echo "yes" >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12275 $as_echo "no" >&6; }
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12280 $as_echo "no" >&6; }
12296 # Report which library types will actually be built
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12298 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12300 $as_echo "$can_build_shared" >&6; }
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12303 $as_echo_n "checking whether to build shared libraries... " >&6; }
12304 test "$can_build_shared" = "no" && enable_shared
=no
12306 # On AIX, shared libraries and static libraries use the same namespace, and
12307 # are all built from PIC.
12310 test "$enable_shared" = yes && enable_static
=no
12311 if test -n "$RANLIB"; then
12312 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12313 postinstall_cmds
='$RANLIB $lib'
12318 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12319 test "$enable_shared" = yes && enable_static
=no
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12324 $as_echo "$enable_shared" >&6; }
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12327 $as_echo_n "checking whether to build static libraries... " >&6; }
12328 # Make sure either enable_shared or enable_static is yes.
12329 test "$enable_shared" = yes || enable_static
=yes
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12331 $as_echo "$enable_static" >&6; }
12338 ac_cpp
='$CPP $CPPFLAGS'
12339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12345 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12346 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12347 (test "X$CXX" != "Xg++"))) ; then
12349 ac_cpp
='$CXXCPP $CPPFLAGS'
12350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12354 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12355 if test -z "$CXXCPP"; then
12356 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12357 $as_echo_n "(cached) " >&6
12359 # Double quotes because CXXCPP needs to be expanded
12360 for CXXCPP
in "$CXX -E" "/lib/cpp"
12362 ac_preproc_ok
=false
12363 for ac_cxx_preproc_warn_flag
in '' yes
12365 # Use a header file that comes with gcc, so configuring glibc
12366 # with a fresh cross-compiler works.
12367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12368 # <limits.h> exists even on freestanding compilers.
12369 # On the NeXT, cc -E runs the code through the compiler's parser,
12370 # not just through cpp. "Syntax error" is here to catch this case.
12371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12372 /* end confdefs.h. */
12374 # include <limits.h>
12376 # include <assert.h>
12380 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12383 # Broken: fails on valid input.
12386 rm -f conftest.err conftest.
$ac_ext
12388 # OK, works on sane cases. Now check whether nonexistent headers
12389 # can be detected and how.
12390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12392 #include <ac_nonexistent.h>
12394 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12395 # Broken: success on invalid input.
12398 # Passes both tests.
12402 rm -f conftest.err conftest.
$ac_ext
12405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12406 rm -f conftest.err conftest.
$ac_ext
12407 if $ac_preproc_ok; then :
12412 ac_cv_prog_CXXCPP
=$CXXCPP
12415 CXXCPP
=$ac_cv_prog_CXXCPP
12417 ac_cv_prog_CXXCPP
=$CXXCPP
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12420 $as_echo "$CXXCPP" >&6; }
12421 ac_preproc_ok
=false
12422 for ac_cxx_preproc_warn_flag
in '' yes
12424 # Use a header file that comes with gcc, so configuring glibc
12425 # with a fresh cross-compiler works.
12426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12427 # <limits.h> exists even on freestanding compilers.
12428 # On the NeXT, cc -E runs the code through the compiler's parser,
12429 # not just through cpp. "Syntax error" is here to catch this case.
12430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 # include <limits.h>
12435 # include <assert.h>
12439 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12442 # Broken: fails on valid input.
12445 rm -f conftest.err conftest.
$ac_ext
12447 # OK, works on sane cases. Now check whether nonexistent headers
12448 # can be detected and how.
12449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12451 #include <ac_nonexistent.h>
12453 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12454 # Broken: success on invalid input.
12457 # Passes both tests.
12461 rm -f conftest.err conftest.
$ac_ext
12464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12465 rm -f conftest.err conftest.
$ac_ext
12466 if $ac_preproc_ok; then :
12469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12471 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12472 See \`config.log' for more details." "$LINENO" 5; }
12476 ac_cpp
='$CPP $CPPFLAGS'
12477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12482 _lt_caught_CXX_error
=yes
12486 ac_cpp
='$CXXCPP $CPPFLAGS'
12487 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12488 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12489 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12491 archive_cmds_need_lc_CXX
=no
12492 allow_undefined_flag_CXX
=
12493 always_export_symbols_CXX
=no
12494 archive_expsym_cmds_CXX
=
12495 compiler_needs_object_CXX
=no
12496 export_dynamic_flag_spec_CXX
=
12497 hardcode_direct_CXX
=no
12498 hardcode_direct_absolute_CXX
=no
12499 hardcode_libdir_flag_spec_CXX
=
12500 hardcode_libdir_flag_spec_ld_CXX
=
12501 hardcode_libdir_separator_CXX
=
12502 hardcode_minus_L_CXX
=no
12503 hardcode_shlibpath_var_CXX
=unsupported
12504 hardcode_automatic_CXX
=no
12505 inherit_rpath_CXX
=no
12507 module_expsym_cmds_CXX
=
12508 link_all_deplibs_CXX
=unknown
12509 old_archive_cmds_CXX
=$old_archive_cmds
12510 reload_flag_CXX
=$reload_flag
12511 reload_cmds_CXX
=$reload_cmds
12512 no_undefined_flag_CXX
=
12513 whole_archive_flag_spec_CXX
=
12514 enable_shared_with_static_runtimes_CXX
=no
12516 # Source file extension for C++ test sources.
12519 # Object file extension for compiled C++ test sources.
12523 # No sense in running all these tests if we already determined that
12524 # the CXX compiler isn't working. Some variables (like enable_shared)
12525 # are currently assumed to apply to all compilers on this platform,
12526 # and will be corrupted by setting them based on a non-working compiler.
12527 if test "$_lt_caught_CXX_error" != yes; then
12528 # Code to be used in simple compile tests
12529 lt_simple_compile_test_code
="int some_variable = 0;"
12531 # Code to be used in simple link tests
12532 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12534 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12541 # If no C compiler was specified, use CC.
12544 # If no C compiler flags were specified, use CFLAGS.
12545 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12547 # Allow CC to be a program name with arguments.
12551 # save warnings/boilerplate of simple test code
12552 ac_outfile
=conftest.
$ac_objext
12553 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12554 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12555 _lt_compiler_boilerplate
=`cat conftest.err`
12558 ac_outfile
=conftest.
$ac_objext
12559 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12560 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12561 _lt_linker_boilerplate
=`cat conftest.err`
12565 # Allow CC to be a program name with arguments.
12570 lt_save_with_gnu_ld
=$with_gnu_ld
12571 lt_save_path_LD
=$lt_cv_path_LD
12572 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12573 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12575 $as_unset lt_cv_prog_gnu_ld
12577 if test -n "${lt_cv_path_LDCXX+set}"; then
12578 lt_cv_path_LD
=$lt_cv_path_LDCXX
12580 $as_unset lt_cv_path_LD
12582 test -z "${LDCXX+set}" || LD
=$LDCXX
12586 for cc_temp
in $compiler""; do
12588 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12589 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12594 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12597 if test -n "$compiler"; then
12598 # We don't want -fno-exception when compiling C++ code, so set the
12599 # no_builtin_flag separately
12600 if test "$GXX" = yes; then
12601 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12603 lt_prog_compiler_no_builtin_flag_CXX
=
12606 if test "$GXX" = yes; then
12607 # Set up default GNU C++ configuration
12611 # Check whether --with-gnu-ld was given.
12612 if test "${with_gnu_ld+set}" = set; then :
12613 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12619 if test "$GCC" = yes; then
12620 # Check if gcc -print-prog-name=ld gives a path.
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12622 $as_echo_n "checking for ld used by $CC... " >&6; }
12625 # gcc leaves a trailing carriage return which upsets mingw
12626 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12628 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12631 # Accept absolute paths.
12633 re_direlt
='/[^/][^/]*/\.\./'
12634 # Canonicalize the pathname of ld
12635 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12636 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12637 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12639 test -z "$LD" && LD
="$ac_prog"
12642 # If it fails, then pretend we aren't using GCC.
12646 # If it is relative, then search for the first ld in PATH.
12647 with_gnu_ld
=unknown
12650 elif test "$with_gnu_ld" = yes; then
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12652 $as_echo_n "checking for GNU ld... " >&6; }
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12655 $as_echo_n "checking for non-GNU ld... " >&6; }
12657 if test "${lt_cv_path_LD+set}" = set; then :
12658 $as_echo_n "(cached) " >&6
12660 if test -z "$LD"; then
12661 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12662 for ac_dir
in $PATH; do
12664 test -z "$ac_dir" && ac_dir
=.
12665 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12666 lt_cv_path_LD
="$ac_dir/$ac_prog"
12667 # Check to see if the program is GNU ld. I'd rather use --version,
12668 # but apparently some variants of GNU ld only accept -v.
12669 # Break only if it was the GNU/non-GNU ld that we prefer.
12670 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12671 *GNU
* |
*'with BFD'*)
12672 test "$with_gnu_ld" != no
&& break
12675 test "$with_gnu_ld" != yes && break
12682 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12686 LD
="$lt_cv_path_LD"
12687 if test -n "$LD"; then
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12689 $as_echo "$LD" >&6; }
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12692 $as_echo "no" >&6; }
12694 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12696 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12697 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12698 $as_echo_n "(cached) " >&6
12700 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12701 case `$LD -v 2>&1 </dev/null` in
12702 *GNU
* |
*'with BFD'*)
12703 lt_cv_prog_gnu_ld
=yes
12706 lt_cv_prog_gnu_ld
=no
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12711 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12712 with_gnu_ld
=$lt_cv_prog_gnu_ld
12720 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12721 # archiving commands below assume that GNU ld is being used.
12722 if test "$with_gnu_ld" = yes; then
12723 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12724 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12726 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12727 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12729 # If archive_cmds runs LD, not CC, wlarc should be empty
12730 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12731 # investigate it a little bit more. (MM)
12734 # ancient GNU ld didn't support --whole-archive et. al.
12735 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12736 $GREP 'no-whole-archive' > /dev
/null
; then
12737 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12739 whole_archive_flag_spec_CXX
=
12745 # A generic and very simple default shared library creation
12746 # command for GNU C++ for the case where it uses the native
12747 # linker, instead of GNU ld. If possible, this setting should
12748 # overridden to take advantage of the native linker features on
12749 # the platform it is being used on.
12750 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12753 # Commands to make compiler produce verbose output that lists
12754 # what "hidden" libraries, object files and flags are used when
12755 # linking a shared library.
12756 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12764 # PORTME: fill in a description of your system's C++ link characteristics
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12766 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12770 # FIXME: insert proper C++ library support
12774 if test "$host_cpu" = ia64
; then
12775 # On IA64, the linker does run time linking by default, so we don't
12776 # have to do anything special.
12777 aix_use_runtimelinking
=no
12778 exp_sym_flag
='-Bexport'
12781 aix_use_runtimelinking
=no
12783 # Test if we are trying to use run time linking or normal
12784 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12785 # need to do runtime linking.
12786 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12787 for ld_flag
in $LDFLAGS; do
12790 aix_use_runtimelinking
=yes
12798 exp_sym_flag
='-bexport'
12799 no_entry_flag
='-bnoentry'
12802 # When large executables or shared objects are built, AIX ld can
12803 # have problems creating the table of contents. If linking a library
12804 # or program results in "error TOC overflow" add -mminimal-toc to
12805 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12806 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12808 archive_cmds_CXX
=''
12809 hardcode_direct_CXX
=yes
12810 hardcode_direct_absolute_CXX
=yes
12811 hardcode_libdir_separator_CXX
=':'
12812 link_all_deplibs_CXX
=yes
12813 file_list_spec_CXX
='${wl}-f,'
12815 if test "$GXX" = yes; then
12816 case $host_os in aix4.
[012]|aix4.
[012].
*)
12817 # We only want to do this on AIX 4.2 and lower, the check
12818 # below for broken collect2 doesn't work under 4.3+
12819 collect2name
=`${CC} -print-prog-name=collect2`
12820 if test -f "$collect2name" &&
12821 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12823 # We have reworked collect2
12826 # We have old collect2
12827 hardcode_direct_CXX
=unsupported
12828 # It fails to find uninstalled libraries when the uninstalled
12829 # path is not listed in the libpath. Setting hardcode_minus_L
12830 # to unsupported forces relinking
12831 hardcode_minus_L_CXX
=yes
12832 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12833 hardcode_libdir_separator_CXX
=
12836 shared_flag
='-shared'
12837 if test "$aix_use_runtimelinking" = yes; then
12838 shared_flag
="$shared_flag "'${wl}-G'
12842 if test "$host_cpu" = ia64
; then
12843 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12844 # chokes on -Wl,-G. The following line is correct:
12847 if test "$aix_use_runtimelinking" = yes; then
12848 shared_flag
='${wl}-G'
12850 shared_flag
='${wl}-bM:SRE'
12855 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12856 # It seems that -bexpall does not export symbols beginning with
12857 # underscore (_), so it is better to generate a list of symbols to
12859 always_export_symbols_CXX
=yes
12860 if test "$aix_use_runtimelinking" = yes; then
12861 # Warning - without using the other runtime loading flags (-brtl),
12862 # -berok will link without error, but may produce a broken library.
12863 allow_undefined_flag_CXX
='-berok'
12864 # Determine the default libpath from the value encoded in an empty
12866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12877 if ac_fn_cxx_try_link
"$LINENO"; then :
12879 lt_aix_libpath_sed
='
12880 /Import File Strings/,/^$/ {
12886 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12887 # Check for a 64-bit object if we didn't find anything.
12888 if test -z "$aix_libpath"; then
12889 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12892 rm -f core conftest.err conftest.
$ac_objext \
12893 conftest
$ac_exeext conftest.
$ac_ext
12894 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12896 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12898 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"
12900 if test "$host_cpu" = ia64
; then
12901 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12902 allow_undefined_flag_CXX
="-z nodefs"
12903 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"
12905 # Determine the default libpath from the value encoded in an
12906 # empty executable.
12907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12918 if ac_fn_cxx_try_link
"$LINENO"; then :
12920 lt_aix_libpath_sed
='
12921 /Import File Strings/,/^$/ {
12927 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12928 # Check for a 64-bit object if we didn't find anything.
12929 if test -z "$aix_libpath"; then
12930 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12933 rm -f core conftest.err conftest.
$ac_objext \
12934 conftest
$ac_exeext conftest.
$ac_ext
12935 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12937 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12938 # Warning - without using the other run time loading flags,
12939 # -berok will link without error, but may produce a broken library.
12940 no_undefined_flag_CXX
=' ${wl}-bernotok'
12941 allow_undefined_flag_CXX
=' ${wl}-berok'
12942 if test "$with_gnu_ld" = yes; then
12943 # We only use this code for GNU lds that support --whole-archive.
12944 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12946 # Exported symbols can be pulled into shared objects from archives
12947 whole_archive_flag_spec_CXX
='$convenience'
12949 archive_cmds_need_lc_CXX
=yes
12950 # This is similar to how AIX traditionally builds its shared
12952 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'
12958 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12959 allow_undefined_flag_CXX
=unsupported
12960 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12961 # support --undefined. This deserves some investigation. FIXME
12962 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12969 case $cc_basename in
12971 # FIXME: insert proper C++ library support
12977 cygwin
* | mingw
* | pw32
* | cegcc
*)
12978 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12979 # as there is no search path for DLLs.
12980 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12981 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12982 allow_undefined_flag_CXX
=unsupported
12983 always_export_symbols_CXX
=no
12984 enable_shared_with_static_runtimes_CXX
=yes
12986 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12987 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'
12988 # If the export-symbols file already is a .def file (1st line
12989 # is EXPORTS), use it as is; otherwise, prepend...
12990 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12991 cp $export_symbols $output_objdir/$soname.def;
12993 echo EXPORTS > $output_objdir/$soname.def;
12994 cat $export_symbols >> $output_objdir/$soname.def;
12996 $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'
13001 darwin
* | rhapsody
*)
13004 archive_cmds_need_lc_CXX
=no
13005 hardcode_direct_CXX
=no
13006 hardcode_automatic_CXX
=yes
13007 hardcode_shlibpath_var_CXX
=unsupported
13008 if test "$lt_cv_ld_force_load" = "yes"; then
13009 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\"`'
13011 whole_archive_flag_spec_CXX
=''
13013 link_all_deplibs_CXX
=yes
13014 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13015 case $cc_basename in
13016 ifort
*) _lt_dar_can_shared
=yes ;;
13017 *) _lt_dar_can_shared
=$GCC ;;
13019 if test "$_lt_dar_can_shared" = "yes"; then
13020 output_verbose_link_cmd
=func_echo_all
13021 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}"
13022 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13023 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}"
13024 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}"
13025 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13026 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}"
13027 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}"
13037 case $cc_basename in
13039 # FIXME: insert proper C++ library support
13043 # Green Hills C++ Compiler
13044 # FIXME: insert proper C++ library support
13048 # FIXME: insert proper C++ library support
13055 # C++ shared libraries reported to be fairly broken before
13061 archive_cmds_need_lc_CXX
=no
13064 freebsd
* | dragonfly
*)
13065 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13074 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13075 link_all_deplibs_CXX
=yes
13079 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13080 hardcode_libdir_separator_CXX
=:
13081 export_dynamic_flag_spec_CXX
='${wl}-E'
13082 hardcode_direct_CXX
=yes
13083 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13084 # but as the default
13085 # location of the library.
13087 case $cc_basename in
13089 # FIXME: insert proper C++ library support
13093 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'
13094 # Commands to make compiler produce verbose output that lists
13095 # what "hidden" libraries, object files and flags are used when
13096 # linking a shared library.
13098 # There doesn't appear to be a way to prevent this compiler from
13099 # explicitly linking system object files so we need to strip them
13100 # from the output so that they don't get included in the library
13102 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"'
13105 if test "$GXX" = yes; then
13106 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'
13108 # FIXME: insert proper C++ library support
13116 if test $with_gnu_ld = no
; then
13117 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13118 hardcode_libdir_separator_CXX
=:
13124 export_dynamic_flag_spec_CXX
='${wl}-E'
13130 hardcode_direct_CXX
=no
13131 hardcode_shlibpath_var_CXX
=no
13134 hardcode_direct_CXX
=yes
13135 hardcode_direct_absolute_CXX
=yes
13136 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13137 # but as the default
13138 # location of the library.
13142 case $cc_basename in
13144 # FIXME: insert proper C++ library support
13150 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13153 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13156 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13159 # Commands to make compiler produce verbose output that lists
13160 # what "hidden" libraries, object files and flags are used when
13161 # linking a shared library.
13163 # There doesn't appear to be a way to prevent this compiler from
13164 # explicitly linking system object files so we need to strip them
13165 # from the output so that they don't get included in the library
13167 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"'
13170 if test "$GXX" = yes; then
13171 if test $with_gnu_ld = no
; then
13174 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13177 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13180 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'
13185 # FIXME: insert proper C++ library support
13193 hardcode_direct_CXX
=no
13194 hardcode_shlibpath_var_CXX
=no
13195 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13196 export_dynamic_flag_spec_CXX
='${wl}-E'
13197 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13198 # Instead, shared libraries are loaded at an image base (0x10000000 by
13199 # default) and relocated if they conflict, which is a slow very memory
13200 # consuming and fragmenting process. To avoid this, we pick a random,
13201 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13202 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13203 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'
13204 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'
13207 case $cc_basename in
13210 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'
13212 # Archives containing C++ object files must be created using
13213 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13214 # necessary to make sure instantiated templates are included
13216 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13219 if test "$GXX" = yes; then
13220 if test "$with_gnu_ld" = no
; then
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"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13223 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'
13226 link_all_deplibs_CXX
=yes
13229 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13230 hardcode_libdir_separator_CXX
=:
13231 inherit_rpath_CXX
=yes
13234 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13235 case $cc_basename in
13237 # Kuck and Associates, Inc. (KAI) C++ Compiler
13239 # KCC will only create a shared library if the output file
13240 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13241 # to its proper name (with version) after linking.
13242 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'
13243 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'
13244 # Commands to make compiler produce verbose output that lists
13245 # what "hidden" libraries, object files and flags are used when
13246 # linking a shared library.
13248 # There doesn't appear to be a way to prevent this compiler from
13249 # explicitly linking system object files so we need to strip them
13250 # from the output so that they don't get included in the library
13252 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"'
13254 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13255 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13257 # Archives containing C++ object files must be created using
13258 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13259 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13264 # version 8.0 and above of icpc choke on multiply defined symbols
13265 # if we add $predep_objects and $postdep_objects, however 7.1 and
13266 # earlier do not add the objects themselves.
13267 case `$CC -V 2>&1` in
13269 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13270 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'
13272 *) # Version 8.0 or newer
13275 ia64
*) tmp_idyn
=' -i_dynamic';;
13277 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13278 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'
13281 archive_cmds_need_lc_CXX
=no
13282 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13283 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13284 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13287 # Portland Group C++ compiler
13289 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13290 prelink_cmds_CXX
='tpldir=Template.dir~
13292 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13293 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13294 old_archive_cmds_CXX
='tpldir=Template.dir~
13296 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13297 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13299 archive_cmds_CXX
='tpldir=Template.dir~
13301 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13302 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13303 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13305 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13306 $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'
13308 *) # Version 6 and above use weak symbols
13309 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13310 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'
13314 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13315 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13316 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'
13320 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13321 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'
13323 runpath_var
=LD_RUN_PATH
13324 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13325 hardcode_libdir_separator_CXX
=:
13327 # Commands to make compiler produce verbose output that lists
13328 # what "hidden" libraries, object files and flags are used when
13329 # linking a shared library.
13331 # There doesn't appear to be a way to prevent this compiler from
13332 # explicitly linking system object files so we need to strip them
13333 # from the output so that they don't get included in the library
13335 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'
13337 xl
* | mpixl
* | bgxl
*)
13338 # IBM XL 8.0 on PPC, with GNU ld
13339 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13340 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13341 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13342 if test "x$supports_anon_versioning" = xyes
; then
13343 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13344 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13345 echo "local: *; };" >> $output_objdir/$libname.ver~
13346 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13350 case `$CC -V 2>&1 | sed 5q` in
13353 no_undefined_flag_CXX
=' -zdefs'
13354 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13355 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'
13356 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13357 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'
13358 compiler_needs_object_CXX
=yes
13360 # Not sure whether something based on
13361 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13363 output_verbose_link_cmd
='func_echo_all'
13365 # Archives containing C++ object files must be created using
13366 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13367 # necessary to make sure instantiated templates are included
13369 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13377 # FIXME: insert proper C++ library support
13382 # FIXME: insert proper C++ library support
13387 case $cc_basename in
13389 # FIXME: insert proper C++ library support
13393 # FIXME: insert proper C++ library support
13400 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13401 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13403 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13404 hardcode_direct_CXX
=yes
13405 hardcode_shlibpath_var_CXX
=no
13407 # Workaround some broken pre-1.5 toolchains
13408 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13416 # C++ shared libraries are fairly broken
13421 if test -f /usr
/libexec
/ld.so
; then
13422 hardcode_direct_CXX
=yes
13423 hardcode_shlibpath_var_CXX
=no
13424 hardcode_direct_absolute_CXX
=yes
13425 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13426 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13427 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13428 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13429 export_dynamic_flag_spec_CXX
='${wl}-E'
13430 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13432 output_verbose_link_cmd
=func_echo_all
13438 osf3
* | osf4
* | osf5
*)
13439 case $cc_basename in
13441 # Kuck and Associates, Inc. (KAI) C++ Compiler
13443 # KCC will only create a shared library if the output file
13444 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13445 # to its proper name (with version) after linking.
13446 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'
13448 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13449 hardcode_libdir_separator_CXX
=:
13451 # Archives containing C++ object files must be created using
13452 # the KAI C++ compiler.
13454 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13455 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13459 # Rational C++ 2.4.1
13460 # FIXME: insert proper C++ library support
13466 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13467 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'
13468 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13471 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13472 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'
13473 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13474 echo "-hidden">> $lib.exp~
13475 $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~
13477 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13481 hardcode_libdir_separator_CXX
=:
13483 # Commands to make compiler produce verbose output that lists
13484 # what "hidden" libraries, object files and flags are used when
13485 # linking a shared library.
13487 # There doesn't appear to be a way to prevent this compiler from
13488 # explicitly linking system object files so we need to strip them
13489 # from the output so that they don't get included in the library
13491 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"'
13494 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13495 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13498 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'
13501 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'
13505 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13506 hardcode_libdir_separator_CXX
=:
13508 # Commands to make compiler produce verbose output that lists
13509 # what "hidden" libraries, object files and flags are used when
13510 # linking a shared library.
13511 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13514 # FIXME: insert proper C++ library support
13522 # FIXME: insert proper C++ library support
13527 case $cc_basename in
13530 # FIXME: insert proper C++ library support
13535 # FIXME: insert proper C++ library support
13539 # FIXME: insert proper C++ library support
13546 case $cc_basename in
13548 # Sun C++ 4.2, 5.x and Centerline C++
13549 archive_cmds_need_lc_CXX
=yes
13550 no_undefined_flag_CXX
=' -zdefs'
13551 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13552 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13553 $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'
13555 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13556 hardcode_shlibpath_var_CXX
=no
13558 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13560 # The compiler driver will combine and reorder linker options,
13561 # but understands `-z linker_flag'.
13562 # Supported since Solaris 2.6 (maybe 2.5.1?)
13563 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13566 link_all_deplibs_CXX
=yes
13568 output_verbose_link_cmd
='func_echo_all'
13570 # Archives containing C++ object files must be created using
13571 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13572 # necessary to make sure instantiated templates are included
13574 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13577 # Green Hills C++ Compiler
13578 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13580 # The C++ compiler must be used to create the archive.
13581 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13584 # GNU C++ compiler with Solaris linker
13585 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13586 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13587 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13588 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13589 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13590 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13592 # Commands to make compiler produce verbose output that lists
13593 # what "hidden" libraries, object files and flags are used when
13594 # linking a shared library.
13595 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13597 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13599 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13600 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13601 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13603 # Commands to make compiler produce verbose output that lists
13604 # what "hidden" libraries, object files and flags are used when
13605 # linking a shared library.
13606 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13609 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13611 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13613 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13621 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13622 no_undefined_flag_CXX
='${wl}-z,text'
13623 archive_cmds_need_lc_CXX
=no
13624 hardcode_shlibpath_var_CXX
=no
13625 runpath_var
='LD_RUN_PATH'
13627 case $cc_basename in
13629 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13630 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13633 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13634 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13639 sysv5
* | sco3.2v5
* | sco5v6
*)
13640 # Note: We can NOT use -z defs as we might desire, because we do not
13641 # link with -lc, and that would cause any symbols used from libc to
13642 # always be unresolved, which means just about no library would
13643 # ever link correctly. If we're not using GNU ld we use -z text
13644 # though, which does catch some bad symbols but isn't as heavy-handed
13646 no_undefined_flag_CXX
='${wl}-z,text'
13647 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13648 archive_cmds_need_lc_CXX
=no
13649 hardcode_shlibpath_var_CXX
=no
13650 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13651 hardcode_libdir_separator_CXX
=':'
13652 link_all_deplibs_CXX
=yes
13653 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13654 runpath_var
='LD_RUN_PATH'
13656 case $cc_basename in
13658 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13659 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13660 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13661 '"$old_archive_cmds_CXX"
13662 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13663 '"$reload_cmds_CXX"
13666 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13667 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13673 case $cc_basename in
13675 # NonStop-UX NCC 3.20
13676 # FIXME: insert proper C++ library support
13680 # FIXME: insert proper C++ library support
13687 # FIXME: insert proper C++ library support
13692 # FIXME: insert proper C++ library support
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13698 $as_echo "$ld_shlibs_CXX" >&6; }
13699 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13705 ## There is no encapsulation within the following macros, do not change
13706 ## the running order or otherwise move them around unless you know exactly
13707 ## what you are doing...
13708 # Dependencies to place before and after the object being linked:
13709 predep_objects_CXX
=
13710 postdep_objects_CXX
=
13713 compiler_lib_search_path_CXX
=
13715 cat > conftest.
$ac_ext <<_LT_EOF
13719 Foo (void) { a = 0; }
13725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13726 (eval $ac_compile) 2>&5
13728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13729 test $ac_status = 0; }; then
13730 # Parse the compiler output and extract the necessary
13731 # objects, libraries and library flags.
13733 # Sentinel used to keep track of whether or not we are before
13734 # the conftest object file.
13735 pre_test_object_deps_done
=no
13737 for p
in `eval "$output_verbose_link_cmd"`; do
13741 # Some compilers place space between "-{L,R}" and the path.
13742 # Remove the space.
13743 if test $p = "-L" ||
13744 test $p = "-R"; then
13751 if test "$pre_test_object_deps_done" = no
; then
13754 # Internal compiler library paths should come after those
13755 # provided the user. The postdeps already come after the
13756 # user supplied libs so there is no need to process them.
13757 if test -z "$compiler_lib_search_path_CXX"; then
13758 compiler_lib_search_path_CXX
="${prev}${p}"
13760 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13763 # The "-l" case would never come before the object being
13764 # linked, so don't bother handling this case.
13767 if test -z "$postdeps_CXX"; then
13768 postdeps_CXX
="${prev}${p}"
13770 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13776 # This assumes that the test object file only shows up
13777 # once in the compiler output.
13778 if test "$p" = "conftest.$objext"; then
13779 pre_test_object_deps_done
=yes
13783 if test "$pre_test_object_deps_done" = no
; then
13784 if test -z "$predep_objects_CXX"; then
13785 predep_objects_CXX
="$p"
13787 predep_objects_CXX
="$predep_objects_CXX $p"
13790 if test -z "$postdep_objects_CXX"; then
13791 postdep_objects_CXX
="$p"
13793 postdep_objects_CXX
="$postdep_objects_CXX $p"
13798 *) ;; # Ignore the rest.
13806 echo "libtool.m4: error: problem compiling CXX test program"
13809 $RM -f confest.
$objext
13811 # PORTME: override above test on systems where it is broken
13814 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13815 # hack all around it, let's just trust "g++" to DTRT.
13816 predep_objects_CXX
=
13817 postdep_objects_CXX
=
13822 case `$CC -V 2>&1 | sed 5q` in
13826 # The more standards-conforming stlport4 library is
13827 # incompatible with the Cstd library. Avoid specifying
13828 # it if it's in CXXFLAGS. Ignore libCrun as
13829 # -library=stlport4 depends on it.
13830 case " $CXX $CXXFLAGS " in
13831 *" -library=stlport4 "*)
13832 solaris_use_stlport4
=yes
13836 if test "$solaris_use_stlport4" != yes; then
13837 postdeps_CXX
='-library=Cstd -library=Crun'
13844 case $cc_basename in
13846 # The more standards-conforming stlport4 library is
13847 # incompatible with the Cstd library. Avoid specifying
13848 # it if it's in CXXFLAGS. Ignore libCrun as
13849 # -library=stlport4 depends on it.
13850 case " $CXX $CXXFLAGS " in
13851 *" -library=stlport4 "*)
13852 solaris_use_stlport4
=yes
13856 # Adding this requires a known-good setup of shared libraries for
13857 # Sun compiler versions before 5.6, else PIC objects from an old
13858 # archive will be linked into the output, leading to subtle bugs.
13859 if test "$solaris_use_stlport4" != yes; then
13860 postdeps_CXX
='-library=Cstd -library=Crun'
13868 case " $postdeps_CXX " in
13869 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13871 compiler_lib_search_dirs_CXX
=
13872 if test -n "${compiler_lib_search_path_CXX}"; then
13873 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13906 lt_prog_compiler_wl_CXX
=
13907 lt_prog_compiler_pic_CXX
=
13908 lt_prog_compiler_static_CXX
=
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13911 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13913 # C++ specific cases for pic, static, wl, etc.
13914 if test "$GXX" = yes; then
13915 lt_prog_compiler_wl_CXX
='-Wl,'
13916 lt_prog_compiler_static_CXX
='-static'
13920 # All AIX code is PIC.
13921 if test "$host_cpu" = ia64
; then
13922 # AIX 5 now supports IA64 processor
13923 lt_prog_compiler_static_CXX
='-Bstatic'
13925 lt_prog_compiler_pic_CXX
='-fPIC'
13931 # see comment about AmigaOS4 .so support
13932 lt_prog_compiler_pic_CXX
='-fPIC'
13935 # FIXME: we need at least 68020 code to build shared libraries, but
13936 # adding the `-m68020' flag to GCC prevents building anything better,
13938 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13943 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13944 # PIC is the default for these OSes.
13946 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13947 # This hack is so that the source file can tell whether it is being
13948 # built for inclusion in a dll (and should export symbols for example).
13949 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13950 # (--disable-auto-import) libraries
13951 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13953 darwin
* | rhapsody
*)
13954 # PIC is the default on this platform
13955 # Common symbols not allowed in MH_DYLIB files
13956 lt_prog_compiler_pic_CXX
='-fno-common'
13959 # DJGPP does not support shared libraries at all
13960 lt_prog_compiler_pic_CXX
=
13963 # PIC is the default for Haiku.
13964 # The "-static" flag exists, but is broken.
13965 lt_prog_compiler_static_CXX
=
13968 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13969 # Instead, we relocate shared libraries at runtime.
13972 if test -d /usr
/nec
; then
13973 lt_prog_compiler_pic_CXX
=-Kconform_pic
13977 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13978 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13979 # sets the default TLS model and affects inlining.
13984 lt_prog_compiler_pic_CXX
='-fPIC'
13989 # QNX uses GNU C++, but need to define -shared option too, otherwise
13990 # it will coredump.
13991 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13994 lt_prog_compiler_pic_CXX
='-fPIC'
14000 # All AIX code is PIC.
14001 if test "$host_cpu" = ia64
; then
14002 # AIX 5 now supports IA64 processor
14003 lt_prog_compiler_static_CXX
='-Bstatic'
14005 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14009 case $cc_basename in
14011 # Green Hills C++ Compiler
14012 # _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"
14017 case $cc_basename in
14019 lt_prog_compiler_pic_CXX
='-KPIC'
14022 # Green Hills C++ Compiler
14023 lt_prog_compiler_pic_CXX
='-pic'
14029 freebsd
* | dragonfly
*)
14030 # FreeBSD uses GNU C++
14032 hpux9
* | hpux10
* | hpux11
*)
14033 case $cc_basename in
14035 lt_prog_compiler_wl_CXX
='-Wl,'
14036 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14037 if test "$host_cpu" != ia64
; then
14038 lt_prog_compiler_pic_CXX
='+Z'
14042 lt_prog_compiler_wl_CXX
='-Wl,'
14043 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14049 lt_prog_compiler_pic_CXX
='+Z'
14058 # This is c89, which is MS Visual C++ (no shared libs)
14059 # Anyone wants to do a port?
14061 irix5
* | irix6
* | nonstopux
*)
14062 case $cc_basename in
14064 lt_prog_compiler_wl_CXX
='-Wl,'
14065 lt_prog_compiler_static_CXX
='-non_shared'
14066 # CC pic flag -KPIC is the default.
14072 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14073 case $cc_basename in
14076 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14077 lt_prog_compiler_pic_CXX
='-fPIC'
14080 # old Intel C++ for x86_64 which still supported -KPIC.
14081 lt_prog_compiler_wl_CXX
='-Wl,'
14082 lt_prog_compiler_pic_CXX
='-KPIC'
14083 lt_prog_compiler_static_CXX
='-static'
14086 # Intel C++, used to be incompatible with GCC.
14087 # ICC 10 doesn't accept -KPIC any more.
14088 lt_prog_compiler_wl_CXX
='-Wl,'
14089 lt_prog_compiler_pic_CXX
='-fPIC'
14090 lt_prog_compiler_static_CXX
='-static'
14093 # Portland Group C++ compiler
14094 lt_prog_compiler_wl_CXX
='-Wl,'
14095 lt_prog_compiler_pic_CXX
='-fpic'
14096 lt_prog_compiler_static_CXX
='-Bstatic'
14100 # Make sure the PIC flag is empty. It appears that all Alpha
14101 # Linux and Compaq Tru64 Unix objects are PIC.
14102 lt_prog_compiler_pic_CXX
=
14103 lt_prog_compiler_static_CXX
='-non_shared'
14105 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14106 # IBM XL 8.0, 9.0 on PPC and BlueGene
14107 lt_prog_compiler_wl_CXX
='-Wl,'
14108 lt_prog_compiler_pic_CXX
='-qpic'
14109 lt_prog_compiler_static_CXX
='-qstaticlink'
14112 case `$CC -V 2>&1 | sed 5q` in
14115 lt_prog_compiler_pic_CXX
='-KPIC'
14116 lt_prog_compiler_static_CXX
='-Bstatic'
14117 lt_prog_compiler_wl_CXX
='-Qoption ld '
14128 case $cc_basename in
14130 lt_prog_compiler_pic_CXX
='-W c,exportall'
14139 # QNX uses GNU C++, but need to define -shared option too, otherwise
14140 # it will coredump.
14141 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14143 osf3
* | osf4
* | osf5
*)
14144 case $cc_basename in
14146 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14149 # Rational C++ 2.4.1
14150 lt_prog_compiler_pic_CXX
='-pic'
14153 # Digital/Compaq C++
14154 lt_prog_compiler_wl_CXX
='-Wl,'
14155 # Make sure the PIC flag is empty. It appears that all Alpha
14156 # Linux and Compaq Tru64 Unix objects are PIC.
14157 lt_prog_compiler_pic_CXX
=
14158 lt_prog_compiler_static_CXX
='-non_shared'
14167 case $cc_basename in
14169 # Sun C++ 4.2, 5.x and Centerline C++
14170 lt_prog_compiler_pic_CXX
='-KPIC'
14171 lt_prog_compiler_static_CXX
='-Bstatic'
14172 lt_prog_compiler_wl_CXX
='-Qoption ld '
14175 # Green Hills C++ Compiler
14176 lt_prog_compiler_pic_CXX
='-PIC'
14183 case $cc_basename in
14186 lt_prog_compiler_pic_CXX
='-pic'
14187 lt_prog_compiler_static_CXX
='-Bstatic'
14191 lt_prog_compiler_pic_CXX
='-pic'
14197 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14198 case $cc_basename in
14200 lt_prog_compiler_wl_CXX
='-Wl,'
14201 lt_prog_compiler_pic_CXX
='-KPIC'
14202 lt_prog_compiler_static_CXX
='-Bstatic'
14207 case $cc_basename in
14209 # NonStop-UX NCC 3.20
14210 lt_prog_compiler_pic_CXX
='-KPIC'
14219 lt_prog_compiler_can_build_shared_CXX
=no
14225 # For platforms which do not support PIC, -DPIC is meaningless:
14227 lt_prog_compiler_pic_CXX
=
14230 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14234 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14239 # Check to make sure the PIC flag actually works.
14241 if test -n "$lt_prog_compiler_pic_CXX"; then
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14243 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14244 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14245 $as_echo_n "(cached) " >&6
14247 lt_cv_prog_compiler_pic_works_CXX
=no
14248 ac_outfile
=conftest.
$ac_objext
14249 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14250 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14251 # Insert the option either (1) after the last *FLAGS variable, or
14252 # (2) before a word containing "conftest.", or (3) at the end.
14253 # Note that $ac_compile itself does not contain backslashes and begins
14254 # with a dollar sign (not a hyphen), so the echo should work correctly.
14255 # The option is referenced via a variable to avoid confusing sed.
14256 lt_compile
=`echo "$ac_compile" | $SED \
14257 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14259 -e 's:$: $lt_compiler_flag:'`
14260 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14261 (eval "$lt_compile" 2>conftest.err
)
14263 cat conftest.err
>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 if (exit $ac_status) && test -s "$ac_outfile"; then
14266 # The compiler can only warn and ignore the option if not recognized
14267 # So say no if there are warnings other than the usual output.
14268 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14269 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14270 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14271 lt_cv_prog_compiler_pic_works_CXX
=yes
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14278 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14280 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14281 case $lt_prog_compiler_pic_CXX in
14283 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14286 lt_prog_compiler_pic_CXX
=
14287 lt_prog_compiler_can_build_shared_CXX
=no
14295 # Check to make sure the static flag actually works.
14297 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14299 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14300 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14301 $as_echo_n "(cached) " >&6
14303 lt_cv_prog_compiler_static_works_CXX
=no
14304 save_LDFLAGS
="$LDFLAGS"
14305 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14306 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14307 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14308 # The linker can only warn and ignore the option if not recognized
14309 # So say no if there are warnings
14310 if test -s conftest.err
; then
14311 # Append any errors to the config.log.
14312 cat conftest.err
1>&5
14313 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14314 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14315 if diff conftest.exp conftest.er2
>/dev
/null
; then
14316 lt_cv_prog_compiler_static_works_CXX
=yes
14319 lt_cv_prog_compiler_static_works_CXX
=yes
14323 LDFLAGS
="$save_LDFLAGS"
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14327 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14329 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14332 lt_prog_compiler_static_CXX
=
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14339 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14340 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14341 $as_echo_n "(cached) " >&6
14343 lt_cv_prog_compiler_c_o_CXX
=no
14344 $RM -r conftest
2>/dev
/null
14348 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14350 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14351 # Insert the option either (1) after the last *FLAGS variable, or
14352 # (2) before a word containing "conftest.", or (3) at the end.
14353 # Note that $ac_compile itself does not contain backslashes and begins
14354 # with a dollar sign (not a hyphen), so the echo should work correctly.
14355 lt_compile
=`echo "$ac_compile" | $SED \
14356 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14358 -e 's:$: $lt_compiler_flag:'`
14359 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14360 (eval "$lt_compile" 2>out
/conftest.err
)
14362 cat out
/conftest.err
>&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14366 # The compiler can only warn and ignore the option if not recognized
14367 # So say no if there are warnings
14368 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14369 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14370 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14371 lt_cv_prog_compiler_c_o_CXX
=yes
14376 # SGI C++ compiler will create directory out/ii_files/ for
14377 # template instantiation
14378 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14379 $RM out
/* && rmdir out
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14386 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14391 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14392 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14393 $as_echo_n "(cached) " >&6
14395 lt_cv_prog_compiler_c_o_CXX
=no
14396 $RM -r conftest
2>/dev
/null
14400 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14402 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14403 # Insert the option either (1) after the last *FLAGS variable, or
14404 # (2) before a word containing "conftest.", or (3) at the end.
14405 # Note that $ac_compile itself does not contain backslashes and begins
14406 # with a dollar sign (not a hyphen), so the echo should work correctly.
14407 lt_compile
=`echo "$ac_compile" | $SED \
14408 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14410 -e 's:$: $lt_compiler_flag:'`
14411 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14412 (eval "$lt_compile" 2>out
/conftest.err
)
14414 cat out
/conftest.err
>&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14418 # The compiler can only warn and ignore the option if not recognized
14419 # So say no if there are warnings
14420 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14421 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14422 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14423 lt_cv_prog_compiler_c_o_CXX
=yes
14428 # SGI C++ compiler will create directory out/ii_files/ for
14429 # template instantiation
14430 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14431 $RM out
/* && rmdir out
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14438 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14443 hard_links
="nottested"
14444 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14445 # do not overwrite the value of need_locks provided by the user
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14447 $as_echo_n "checking if we can lock with hard links... " >&6; }
14450 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14452 ln conftest.a conftest.b
2>&5 || hard_links
=no
14453 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14455 $as_echo "$hard_links" >&6; }
14456 if test "$hard_links" = no
; then
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14458 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14468 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14470 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14473 # If we're using GNU nm, then we don't want the "-C" option.
14474 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14475 # Also, AIX nm treats weak defined symbols like other global defined
14476 # symbols, whereas GNU nm marks them as "W".
14477 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14478 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'
14480 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'
14484 export_symbols_cmds_CXX
="$ltdll_cmds"
14486 cygwin
* | mingw
* | cegcc
*)
14487 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'
14490 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14493 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14496 $as_echo "$ld_shlibs_CXX" >&6; }
14497 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14499 with_gnu_ld_CXX
=$with_gnu_ld
14507 # Do we need to explicitly link libc?
14509 case "x$archive_cmds_need_lc_CXX" in
14511 # Assume -lc should be added
14512 archive_cmds_need_lc_CXX
=yes
14514 if test "$enable_shared" = yes && test "$GCC" = yes; then
14515 case $archive_cmds_CXX in
14517 # FIXME: we may have to deal with multi-command sequences.
14520 # Test whether the compiler implicitly links with -lc since on some
14521 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14522 # to ld, don't add -lc before -lgcc.
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14524 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14525 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14526 $as_echo_n "(cached) " >&6
14529 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14531 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14532 (eval $ac_compile) 2>&5
14534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14535 test $ac_status = 0; } 2>conftest.err
; then
14538 libobjs
=conftest.
$ac_objext
14540 wl
=$lt_prog_compiler_wl_CXX
14541 pic_flag
=$lt_prog_compiler_pic_CXX
14547 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14548 allow_undefined_flag_CXX
=
14549 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14550 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14553 test $ac_status = 0; }
14555 lt_cv_archive_cmds_need_lc_CXX
=no
14557 lt_cv_archive_cmds_need_lc_CXX
=yes
14559 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14561 cat conftest.err
1>&5
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14567 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14568 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14639 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14641 library_names_spec
=
14642 libname_spec
='lib$name'
14646 postuninstall_cmds
=
14650 shlibpath_overrides_runpath
=unknown
14652 dynamic_linker
="$host_os ld.so"
14653 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14654 need_lib_prefix
=unknown
14655 hardcode_into_libs
=no
14657 # when you set need_version to no, make sure it does not cause -set_version
14658 # flags to be left without arguments
14659 need_version
=unknown
14664 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14665 shlibpath_var
=LIBPATH
14667 # AIX 3 has no versioning support, so we append a major version to the name.
14668 soname_spec
='${libname}${release}${shared_ext}$major'
14675 hardcode_into_libs
=yes
14676 if test "$host_cpu" = ia64
; then
14677 # AIX 5 supports IA64
14678 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14679 shlibpath_var
=LD_LIBRARY_PATH
14681 # With GCC up to 2.95.x, collect2 would create an import file
14682 # for dependence libraries. The import file would start with
14683 # the line `#! .'. This would cause the generated library to
14684 # depend on `.', always an invalid library. This was fixed in
14685 # development snapshots of GCC prior to 3.0.
14687 aix4 | aix4.
[01] | aix4.
[01].
*)
14688 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14690 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14693 can_build_shared
=no
14697 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14698 # soname into executable. Probably we can add versioning support to
14699 # collect2, so additional links can be useful in future.
14700 if test "$aix_use_runtimelinking" = yes; then
14701 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14702 # instead of lib<name>.a to let people know that these are not
14703 # typical AIX shared libraries.
14704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706 # We preserve .a as extension for shared libraries through AIX4.2
14707 # and later when we are not doing run time linking.
14708 library_names_spec
='${libname}${release}.a $libname.a'
14709 soname_spec
='${libname}${release}${shared_ext}$major'
14711 shlibpath_var
=LIBPATH
14718 # Since July 2007 AmigaOS4 officially supports .so libraries.
14719 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14723 library_names_spec
='$libname.ixlibrary $libname.a'
14724 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14725 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'
14731 library_names_spec
='${libname}${shared_ext}'
14732 dynamic_linker
="$host_os ld.so"
14733 shlibpath_var
=LIBRARY_PATH
14739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec
='${libname}${release}${shared_ext}$major'
14741 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14742 shlibpath_var
=LD_LIBRARY_PATH
14743 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14744 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14745 # the default ld.so.conf also contains /usr/contrib/lib and
14746 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14747 # libtool to hard-code these into programs
14750 cygwin
* | mingw
* | pw32
* | cegcc
*)
14751 version_type
=windows
14756 case $GCC,$host_os in
14757 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14758 library_names_spec
='$libname.dll.a'
14759 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14760 postinstall_cmds
='base_file=`basename \${file}`~
14761 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14762 dldir=$destdir/`dirname \$dlpath`~
14763 test -d \$dldir || mkdir -p \$dldir~
14764 $install_prog $dir/$dlname \$dldir/$dlname~
14765 chmod a+x \$dldir/$dlname~
14766 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14767 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14769 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14770 dlpath=$dir/\$dldll~
14772 shlibpath_overrides_runpath
=yes
14776 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14777 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14781 # MinGW DLLs use traditional 'lib' prefix
14782 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14785 # pw32 DLLs use 'pw' prefix rather than 'lib'
14786 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14792 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14795 dynamic_linker
='Win32 ld.exe'
14796 # FIXME: first we should search . and the directory the executable is in
14800 darwin
* | rhapsody
*)
14801 dynamic_linker
="$host_os dyld"
14802 version_type
=darwin
14805 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14806 soname_spec
='${libname}${release}${major}$shared_ext'
14807 shlibpath_overrides_runpath
=yes
14808 shlibpath_var
=DYLD_LIBRARY_PATH
14809 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14811 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14819 soname_spec
='${libname}${release}${shared_ext}$major'
14820 shlibpath_var
=LD_LIBRARY_PATH
14823 freebsd
* | dragonfly
*)
14824 # DragonFly does not have aout. When/if they implement a new
14825 # versioning mechanism, adjust this.
14826 if test -x /usr
/bin
/objformat
; then
14827 objformat
=`/usr/bin/objformat`
14830 freebsd
[23].
*) objformat
=aout
;;
14831 *) objformat
=elf
;;
14834 version_type
=freebsd-
$objformat
14835 case $version_type in
14837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14842 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14846 shlibpath_var
=LD_LIBRARY_PATH
14849 shlibpath_overrides_runpath
=yes
14851 freebsd3.
[01]* | freebsdelf3.
[01]*)
14852 shlibpath_overrides_runpath
=yes
14853 hardcode_into_libs
=yes
14855 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14856 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14857 shlibpath_overrides_runpath
=no
14858 hardcode_into_libs
=yes
14860 *) # from 4.6 on, and DragonFly
14861 shlibpath_overrides_runpath
=yes
14862 hardcode_into_libs
=yes
14871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14872 soname_spec
='${libname}${release}${shared_ext}$major'
14873 shlibpath_var
=LD_LIBRARY_PATH
14874 hardcode_into_libs
=yes
14881 dynamic_linker
="$host_os runtime_loader"
14882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14883 soname_spec
='${libname}${release}${shared_ext}$major'
14884 shlibpath_var
=LIBRARY_PATH
14885 shlibpath_overrides_runpath
=yes
14886 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14887 hardcode_into_libs
=yes
14890 hpux9
* | hpux10
* | hpux11
*)
14891 # Give a soname corresponding to the major version so that dld.sl refuses to
14892 # link against other versions.
14899 hardcode_into_libs
=yes
14900 dynamic_linker
="$host_os dld.so"
14901 shlibpath_var
=LD_LIBRARY_PATH
14902 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14904 soname_spec
='${libname}${release}${shared_ext}$major'
14905 if test "X$HPUX_IA64_MODE" = X32
; then
14906 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14908 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14910 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14914 hardcode_into_libs
=yes
14915 dynamic_linker
="$host_os dld.sl"
14916 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14917 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14919 soname_spec
='${libname}${release}${shared_ext}$major'
14920 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14921 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14925 dynamic_linker
="$host_os dld.sl"
14926 shlibpath_var
=SHLIB_PATH
14927 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14929 soname_spec
='${libname}${release}${shared_ext}$major'
14932 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14933 postinstall_cmds
='chmod 555 $lib'
14934 # or fails outright, so override atomically:
14935 install_override_mode
=555
14942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14943 soname_spec
='${libname}${release}${shared_ext}$major'
14944 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14945 shlibpath_var
=LD_LIBRARY_PATH
14946 shlibpath_overrides_runpath
=no
14947 hardcode_into_libs
=yes
14950 irix5
* | irix6
* | nonstopux
*)
14952 nonstopux
*) version_type
=nonstopux
;;
14954 if test "$lt_cv_prog_gnu_ld" = yes; then
14962 soname_spec
='${libname}${release}${shared_ext}$major'
14963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14965 irix5
* | nonstopux
*)
14966 libsuff
= shlibsuff
=
14969 case $LD in # libtool.m4 will add one of these switches to LD
14970 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14971 libsuff
= shlibsuff
= libmagic
=32-bit;;
14972 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14973 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14974 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14975 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14976 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14980 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14981 shlibpath_overrides_runpath
=no
14982 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14983 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14984 hardcode_into_libs
=yes
14987 # No shared lib support for Linux oldld, aout, or coff.
14988 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14992 # This must be Linux ELF.
14993 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14998 soname_spec
='${libname}${release}${shared_ext}$major'
14999 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15000 shlibpath_var
=LD_LIBRARY_PATH
15001 shlibpath_overrides_runpath
=no
15003 # Some binutils ld are patched to set DT_RUNPATH
15004 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15005 $as_echo_n "(cached) " >&6
15007 lt_cv_shlibpath_overrides_runpath
=no
15008 save_LDFLAGS
=$LDFLAGS
15009 save_libdir
=$libdir
15010 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15011 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15023 if ac_fn_cxx_try_link
"$LINENO"; then :
15024 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15025 lt_cv_shlibpath_overrides_runpath
=yes
15028 rm -f core conftest.err conftest.
$ac_objext \
15029 conftest
$ac_exeext conftest.
$ac_ext
15030 LDFLAGS
=$save_LDFLAGS
15031 libdir
=$save_libdir
15035 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15037 # This implies no fast_install, which is unacceptable.
15038 # Some rework will be needed to allow for fast_install
15039 # before this can be enabled.
15040 hardcode_into_libs
=yes
15042 # Append ld.so.conf contents to the search path
15043 if test -f /etc
/ld.so.conf
; then
15044 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' ' '`
15045 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15048 # We used to test for /lib/ld.so.1 and disable shared libraries on
15049 # powerpc, because MkLinux only supported shared libraries with the
15050 # GNU dynamic linker. Since this was broken with cross compilers,
15051 # most powerpc-linux boxes support dynamic linking these days and
15052 # people can always --disable-shared, the test was removed, and we
15053 # assume the GNU/Linux dynamic linker is in use.
15054 dynamic_linker
='GNU/Linux ld.so'
15061 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15063 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15064 dynamic_linker
='NetBSD (a.out) ld.so'
15066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15067 soname_spec
='${libname}${release}${shared_ext}$major'
15068 dynamic_linker
='NetBSD ld.elf_so'
15070 shlibpath_var
=LD_LIBRARY_PATH
15071 shlibpath_overrides_runpath
=yes
15072 hardcode_into_libs
=yes
15077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15078 shlibpath_var
=LD_LIBRARY_PATH
15079 shlibpath_overrides_runpath
=yes
15086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15087 soname_spec
='${libname}${release}${shared_ext}$major'
15088 shlibpath_var
=LD_LIBRARY_PATH
15089 shlibpath_overrides_runpath
=no
15090 hardcode_into_libs
=yes
15091 dynamic_linker
='ldqnx.so'
15096 sys_lib_dlsearch_path_spec
="/usr/lib"
15098 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15100 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15101 *) need_version
=no
;;
15103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15104 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15105 shlibpath_var
=LD_LIBRARY_PATH
15106 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15108 openbsd2.
[89] | openbsd2.
[89].
*)
15109 shlibpath_overrides_runpath
=no
15112 shlibpath_overrides_runpath
=yes
15116 shlibpath_overrides_runpath
=yes
15121 libname_spec
='$name'
15124 library_names_spec
='$libname${shared_ext} $libname.a'
15125 dynamic_linker
='OS/2 ld.exe'
15126 shlibpath_var
=LIBPATH
15129 osf3
* | osf4
* | osf5
*)
15133 soname_spec
='${libname}${release}${shared_ext}$major'
15134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15135 shlibpath_var
=LD_LIBRARY_PATH
15136 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15137 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15149 soname_spec
='${libname}${release}${shared_ext}$major'
15150 shlibpath_var
=LD_LIBRARY_PATH
15151 shlibpath_overrides_runpath
=yes
15152 hardcode_into_libs
=yes
15153 # ldd complains unless libraries are executable
15154 postinstall_cmds
='chmod +x $lib'
15159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15160 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15161 shlibpath_var
=LD_LIBRARY_PATH
15162 shlibpath_overrides_runpath
=yes
15163 if test "$with_gnu_ld" = yes; then
15171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15172 soname_spec
='${libname}${release}${shared_ext}$major'
15173 shlibpath_var
=LD_LIBRARY_PATH
15174 case $host_vendor in
15176 shlibpath_overrides_runpath
=no
15178 runpath_var
=LD_RUN_PATH
15186 shlibpath_overrides_runpath
=no
15187 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15193 if test -d /usr
/nec
;then
15195 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15196 soname_spec
='$libname${shared_ext}.$major'
15197 shlibpath_var
=LD_LIBRARY_PATH
15201 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15202 version_type
=freebsd-elf
15205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15206 soname_spec
='${libname}${release}${shared_ext}$major'
15207 shlibpath_var
=LD_LIBRARY_PATH
15208 shlibpath_overrides_runpath
=yes
15209 hardcode_into_libs
=yes
15210 if test "$with_gnu_ld" = yes; then
15211 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15213 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15216 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15220 sys_lib_dlsearch_path_spec
='/usr/lib'
15224 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15229 shlibpath_var
=LD_LIBRARY_PATH
15230 shlibpath_overrides_runpath
=no
15231 hardcode_into_libs
=yes
15236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15237 soname_spec
='${libname}${release}${shared_ext}$major'
15238 shlibpath_var
=LD_LIBRARY_PATH
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15246 $as_echo "$dynamic_linker" >&6; }
15247 test "$dynamic_linker" = no
&& can_build_shared
=no
15249 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15250 if test "$GCC" = yes; then
15251 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15254 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15255 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15257 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15258 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15299 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15300 hardcode_action_CXX
=
15301 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15302 test -n "$runpath_var_CXX" ||
15303 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15305 # We can hardcode non-existent directories.
15306 if test "$hardcode_direct_CXX" != no
&&
15307 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15308 # have to relink, otherwise we might link with an installed library
15309 # when we should be linking with a yet-to-be-installed one
15310 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15311 test "$hardcode_minus_L_CXX" != no
; then
15312 # Linking always hardcodes the temporary library directory.
15313 hardcode_action_CXX
=relink
15315 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15316 hardcode_action_CXX
=immediate
15319 # We cannot hardcode anything, or else we can only hardcode existing
15321 hardcode_action_CXX
=unsupported
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15324 $as_echo "$hardcode_action_CXX" >&6; }
15326 if test "$hardcode_action_CXX" = relink ||
15327 test "$inherit_rpath_CXX" = yes; then
15328 # Fast installation is not supported
15329 enable_fast_install
=no
15330 elif test "$shlibpath_overrides_runpath" = yes ||
15331 test "$enable_shared" = no
; then
15332 # Fast installation is not necessary
15333 enable_fast_install
=needless
15342 fi # test -n "$compiler"
15348 with_gnu_ld
=$lt_save_with_gnu_ld
15349 lt_cv_path_LDCXX
=$lt_cv_path_LD
15350 lt_cv_path_LD
=$lt_save_path_LD
15351 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15352 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15353 fi # test "$_lt_caught_CXX_error" != yes
15356 ac_cpp
='$CPP $CPPFLAGS'
15357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15373 ac_config_commands
="$ac_config_commands libtool"
15378 # Only expand once:
15382 for ac_prog
in gawk mawk nawk
awk
15384 # Extract the first word of "$ac_prog", so it can be a program name with args.
15385 set dummy
$ac_prog; ac_word
=$2
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15387 $as_echo_n "checking for $ac_word... " >&6; }
15388 if test "${ac_cv_prog_AWK+set}" = set; then :
15389 $as_echo_n "(cached) " >&6
15391 if test -n "$AWK"; then
15392 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
15394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15395 for as_dir
in $PATH
15398 test -z "$as_dir" && as_dir
=.
15399 for ac_exec_ext
in '' $ac_executable_extensions; do
15400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15401 ac_cv_prog_AWK
="$ac_prog"
15402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15411 AWK
=$ac_cv_prog_AWK
15412 if test -n "$AWK"; then
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
15414 $as_echo "$AWK" >&6; }
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15417 $as_echo "no" >&6; }
15421 test -n "$AWK" && break
15425 "") as_fn_error
"can't build without awk" "$LINENO" 5 ;;
15431 # The cast to long int works around a bug in the HP C Compiler
15432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15434 # This bug is HP SR number 8606223364.
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15436 $as_echo_n "checking size of void *... " >&6; }
15437 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15438 $as_echo_n "(cached) " >&6
15440 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15443 if test "$ac_cv_type_void_p" = yes; then
15444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15446 { as_fn_set_status
77
15447 as_fn_error
"cannot compute sizeof (void *)
15448 See \`config.log' for more details." "$LINENO" 5; }; }
15450 ac_cv_sizeof_void_p
=0
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15456 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15460 cat >>confdefs.h
<<_ACEOF
15461 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15466 if test "${multilib}" = "yes"; then
15467 multilib_arg
="--enable-multilib"
15472 # Get target configury.
15473 unset TSAN_SUPPORTED
15474 unset LSAN_SUPPORTED
15475 .
${srcdir}/configure.tgt
15476 if test "x$TSAN_SUPPORTED" = "xyes"; then
15477 TSAN_SUPPORTED_TRUE
=
15478 TSAN_SUPPORTED_FALSE
='#'
15480 TSAN_SUPPORTED_TRUE
='#'
15481 TSAN_SUPPORTED_FALSE
=
15484 if test "x$LSAN_SUPPORTED" = "xyes"; then
15485 LSAN_SUPPORTED_TRUE
=
15486 LSAN_SUPPORTED_FALSE
='#'
15488 LSAN_SUPPORTED_TRUE
='#'
15489 LSAN_SUPPORTED_FALSE
=
15493 # Check for functions needed.
15494 for ac_func
in clock_getres clock_gettime clock_settime
15496 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15497 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15498 eval as_val
=\$
$as_ac_var
15499 if test "x$as_val" = x
""yes; then :
15500 cat >>confdefs.h
<<_ACEOF
15501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15508 # Common libraries that we need to link against for all sanitizer libs.
15509 link_sanitizer_common
='-lpthread -ldl -lm'
15511 # Set up the set of additional libraries that we need to link against for libasan.
15512 link_libasan
=$link_sanitizer_common
15515 # Set up the set of additional libraries that we need to link against for libtsan.
15516 link_libtsan
=$link_sanitizer_common
15519 # Set up the set of additional libraries that we need to link against for libubsan.
15520 link_libubsan
=$link_sanitizer_common
15523 # Set up the set of additional libraries that we need to link against for liblsan.
15524 link_liblsan
=$link_sanitizer_common
15527 # At least for glibc, clock_gettime is in librt. But don't pull that
15528 # in if it still doesn't give us the function we want. This
15529 # test is copied from libgomp.
15530 if test $ac_cv_func_clock_gettime = no
; then
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
15532 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15533 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
15534 $as_echo_n "(cached) " >&6
15536 ac_check_lib_save_LIBS
=$LIBS
15538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15539 /* end confdefs.h. */
15541 /* Override any GCC internal prototype to avoid an error.
15542 Use char because int might match the return type of a GCC
15543 builtin and then its argument prototype would still apply. */
15547 char clock_gettime ();
15551 return clock_gettime ();
15556 if ac_fn_c_try_link
"$LINENO"; then :
15557 ac_cv_lib_rt_clock_gettime
=yes
15559 ac_cv_lib_rt_clock_gettime
=no
15561 rm -f core conftest.err conftest.
$ac_objext \
15562 conftest
$ac_exeext conftest.
$ac_ext
15563 LIBS
=$ac_check_lib_save_LIBS
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
15566 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15567 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
15568 link_libasan
="-lrt $link_libasan"
15569 link_libtsan
="-lrt $link_libtsan"
15570 # Other sanitizers do not override clock_* API
15577 *-*-darwin*) MAC_INTERPOSE
=true
; enable_static
=no
;;
15578 *) MAC_INTERPOSE
=false
;;
15580 if $MAC_INTERPOSE; then
15581 USING_MAC_INTERPOSE_TRUE
=
15582 USING_MAC_INTERPOSE_FALSE
='#'
15584 USING_MAC_INTERPOSE_TRUE
='#'
15585 USING_MAC_INTERPOSE_FALSE
=
15589 backtrace_supported
=yes
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for necessary platform features" >&5
15592 $as_echo_n "checking for necessary platform features... " >&6; }
15595 # Some old Linux distributions miss required syscalls.
15596 sanitizer_supported
=no
15597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15599 #include <sys/syscall.h>
15604 syscall (__NR_gettid);
15605 syscall (__NR_futex);
15606 syscall (__NR_exit_group);
15612 if ac_fn_c_try_compile
"$LINENO"; then :
15613 sanitizer_supported
=yes
15615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15618 sanitizer_supported
=yes
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sanitizer_supported" >&5
15622 $as_echo "$sanitizer_supported" >&6; }
15623 if test "$sanitizer_supported" = yes; then
15624 SANITIZER_SUPPORTED_TRUE
=
15625 SANITIZER_SUPPORTED_FALSE
='#'
15627 SANITIZER_SUPPORTED_TRUE
='#'
15628 SANITIZER_SUPPORTED_FALSE
=
15632 # Test for __sync support.
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
15634 $as_echo_n "checking __sync extensions... " >&6; }
15635 if test "${libsanitizer_cv_sys_sync+set}" = set; then :
15636 $as_echo_n "(cached) " >&6
15638 if test -n "${with_target_subdir}"; then
15639 libsanitizer_cv_sys_sync
=yes
15641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15642 /* end confdefs.h. */
15647 __sync_bool_compare_and_swap (&i, i, i);
15648 __sync_lock_test_and_set (&i, 1);
15649 __sync_lock_release (&i);
15654 if ac_fn_c_try_link
"$LINENO"; then :
15655 libsanitizer_cv_sys_sync
=yes
15657 libsanitizer_cv_sys_sync
=no
15659 rm -f core conftest.err conftest.
$ac_objext \
15660 conftest
$ac_exeext conftest.
$ac_ext
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_sync" >&5
15664 $as_echo "$libsanitizer_cv_sys_sync" >&6; }
15665 if test "$libsanitizer_cv_sys_sync" = "yes"; then
15667 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
15671 # Test for __atomic support.
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
15673 $as_echo_n "checking __atomic extensions... " >&6; }
15674 if test "${libsanitizer_cv_sys_atomic+set}" = set; then :
15675 $as_echo_n "(cached) " >&6
15677 if test -n "${with_target_subdir}"; then
15678 libsanitizer_cv_sys_atomic
=yes
15680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15686 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
15687 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
15692 if ac_fn_c_try_link
"$LINENO"; then :
15693 libsanitizer_cv_sys_atomic
=yes
15695 libsanitizer_cv_sys_atomic
=no
15697 rm -f core conftest.err conftest.
$ac_objext \
15698 conftest
$ac_exeext conftest.
$ac_ext
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_atomic" >&5
15702 $as_echo "$libsanitizer_cv_sys_atomic" >&6; }
15703 if test "$libsanitizer_cv_sys_atomic" = "yes"; then
15705 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
15709 # The library needs to be able to read the executable itself. Compile
15710 # a file to determine the executable format. The awk script
15711 # filetype.awk prints out the file type.
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
15713 $as_echo_n "checking output filetype... " >&6; }
15714 if test "${libsanitizer_cv_sys_filetype+set}" = set; then :
15715 $as_echo_n "(cached) " >&6
15718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h. */
15729 if ac_fn_c_try_compile
"$LINENO"; then :
15730 filetype
=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
15732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15734 as_fn_error
"compiler failed
15735 See \`config.log' for more details." "$LINENO" 5; }
15737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15738 libsanitizer_cv_sys_filetype
=$filetype
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_filetype" >&5
15741 $as_echo "$libsanitizer_cv_sys_filetype" >&6; }
15743 # Match the file type to decide what files to compile.
15745 case "$libsanitizer_cv_sys_filetype" in
15746 elf
*) FORMAT_FILE
="elf.lo" ;;
15747 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
15748 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
15749 FORMAT_FILE
="unknown.lo"
15750 backtrace_supported
=no
15757 case "$libsanitizer_cv_sys_filetype" in
15758 elf32
) elfsize
=32 ;;
15759 elf64
) elfsize
=64 ;;
15762 cat >>confdefs.h
<<_ACEOF
15763 #define BACKTRACE_ELF_SIZE $elfsize
15767 BACKTRACE_SUPPORTED
=0
15768 if test "$backtrace_supported" = "yes"; then
15769 BACKTRACE_SUPPORTED
=1
15775 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15777 acx_cv_header_stdint
=stddef.h
15778 acx_cv_header_stdint_kind
="(already complete)"
15779 for i
in stdint.h
$inttype_headers; do
15780 unset ac_cv_type_uintptr_t
15781 unset ac_cv_type_uintmax_t
15782 unset ac_cv_type_int_least32_t
15783 unset ac_cv_type_int_fast32_t
15784 unset ac_cv_type_uint64_t
15785 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15786 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15789 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
15790 acx_cv_header_stdint
=$i
15795 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15798 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15801 acx_cv_header_stdint_kind
="(mostly complete)"
15804 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15807 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
15810 acx_cv_header_stdint_kind
="(mostly complete)"
15813 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15816 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
15819 acx_cv_header_stdint_kind
="(mostly complete)"
15822 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15825 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15828 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15833 if test "$acx_cv_header_stdint" = stddef.h
; then
15834 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15835 for i
in stdint.h
$inttype_headers; do
15836 unset ac_cv_type_uintptr_t
15837 unset ac_cv_type_uint32_t
15838 unset ac_cv_type_uint64_t
15839 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15840 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15843 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
15844 acx_cv_header_stdint
=$i
15849 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15852 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15856 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15859 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15866 if test "$acx_cv_header_stdint" = stddef.h
; then
15867 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15868 for i
in sys
/types.h
$inttype_headers; do
15869 unset ac_cv_type_u_int32_t
15870 unset ac_cv_type_u_int64_t
15871 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15872 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15875 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
15876 acx_cv_header_stdint
=$i
15881 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15884 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
15891 if test "$acx_cv_header_stdint" = stddef.h
; then
15892 acx_cv_header_stdint_kind
="(using manual detection)"
15895 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15896 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15897 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15898 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15899 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15901 # ----------------- Summarize what we found so far
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15904 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15906 case `$as_basename -- gstdint.h ||
15907 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15908 Xgstdint.h : 'X\(//\)$' \| \
15909 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15910 $as_echo X/gstdint.h |
15911 sed '/^.*\/\([^/][^/]*\)\/*$/{
15924 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15925 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15926 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15927 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15932 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15934 # ----------------- done included file, check C basic types --------
15936 # Lacking an uintptr_t? Test size of void *
15937 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15938 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15939 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15940 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15941 # This bug is HP SR number 8606223364.
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15943 $as_echo_n "checking size of void *... " >&6; }
15944 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15945 $as_echo_n "(cached) " >&6
15947 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15950 if test "$ac_cv_type_void_p" = yes; then
15951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15953 { as_fn_set_status
77
15954 as_fn_error
"cannot compute sizeof (void *)
15955 See \`config.log' for more details." "$LINENO" 5; }; }
15957 ac_cv_sizeof_void_p
=0
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15963 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15967 cat >>confdefs.h
<<_ACEOF
15968 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15974 # Lacking an uint64_t? Test size of long
15975 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15976 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15977 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15978 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15979 # This bug is HP SR number 8606223364.
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15981 $as_echo_n "checking size of long... " >&6; }
15982 if test "${ac_cv_sizeof_long+set}" = set; then :
15983 $as_echo_n "(cached) " >&6
15985 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15988 if test "$ac_cv_type_long" = yes; then
15989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15991 { as_fn_set_status
77
15992 as_fn_error
"cannot compute sizeof (long)
15993 See \`config.log' for more details." "$LINENO" 5; }; }
15995 ac_cv_sizeof_long
=0
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16001 $as_echo "$ac_cv_sizeof_long" >&6; }
16005 cat >>confdefs.h
<<_ACEOF
16006 #define SIZEOF_LONG $ac_cv_sizeof_long
16012 if test $acx_cv_header_stdint = stddef.h
; then
16013 # Lacking a good header? Test size of everything and deduce all types.
16014 # The cast to long int works around a bug in the HP C Compiler
16015 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16016 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16017 # This bug is HP SR number 8606223364.
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16019 $as_echo_n "checking size of int... " >&6; }
16020 if test "${ac_cv_sizeof_int+set}" = set; then :
16021 $as_echo_n "(cached) " >&6
16023 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16026 if test "$ac_cv_type_int" = yes; then
16027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16029 { as_fn_set_status
77
16030 as_fn_error
"cannot compute sizeof (int)
16031 See \`config.log' for more details." "$LINENO" 5; }; }
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16039 $as_echo "$ac_cv_sizeof_int" >&6; }
16043 cat >>confdefs.h
<<_ACEOF
16044 #define SIZEOF_INT $ac_cv_sizeof_int
16048 # The cast to long int works around a bug in the HP C Compiler
16049 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16050 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16051 # This bug is HP SR number 8606223364.
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16053 $as_echo_n "checking size of short... " >&6; }
16054 if test "${ac_cv_sizeof_short+set}" = set; then :
16055 $as_echo_n "(cached) " >&6
16057 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16060 if test "$ac_cv_type_short" = yes; then
16061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16063 { as_fn_set_status
77
16064 as_fn_error
"cannot compute sizeof (short)
16065 See \`config.log' for more details." "$LINENO" 5; }; }
16067 ac_cv_sizeof_short
=0
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16073 $as_echo "$ac_cv_sizeof_short" >&6; }
16077 cat >>confdefs.h
<<_ACEOF
16078 #define SIZEOF_SHORT $ac_cv_sizeof_short
16082 # The cast to long int works around a bug in the HP C Compiler
16083 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16084 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16085 # This bug is HP SR number 8606223364.
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16087 $as_echo_n "checking size of char... " >&6; }
16088 if test "${ac_cv_sizeof_char+set}" = set; then :
16089 $as_echo_n "(cached) " >&6
16091 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16094 if test "$ac_cv_type_char" = yes; then
16095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16097 { as_fn_set_status
77
16098 as_fn_error
"cannot compute sizeof (char)
16099 See \`config.log' for more details." "$LINENO" 5; }; }
16101 ac_cv_sizeof_char
=0
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16107 $as_echo "$ac_cv_sizeof_char" >&6; }
16111 cat >>confdefs.h
<<_ACEOF
16112 #define SIZEOF_CHAR $ac_cv_sizeof_char
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16118 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16119 case "$ac_cv_sizeof_char" in
16120 1) acx_cv_type_int8_t
=char
;;
16121 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16124 $as_echo "$acx_cv_type_int8_t" >&6; }
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16127 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16128 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16129 2:*) acx_cv_type_int16_t
=int
;;
16130 *:2) acx_cv_type_int16_t
=short
;;
16131 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16134 $as_echo "$acx_cv_type_int16_t" >&6; }
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16137 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16138 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16139 4:*) acx_cv_type_int32_t
=int
;;
16140 *:4) acx_cv_type_int32_t
=long
;;
16141 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16144 $as_echo "$acx_cv_type_int32_t" >&6; }
16147 # These tests are here to make the output prettier
16149 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16150 case "$ac_cv_sizeof_long" in
16151 8) acx_cv_type_int64_t
=long
;;
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16154 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16156 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16159 # Now we can use the above types
16161 if test "$ac_cv_type_uintptr_t" != yes; then
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16163 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16164 case $ac_cv_sizeof_void_p in
16165 2) acx_cv_type_intptr_t
=int16_t
;;
16166 4) acx_cv_type_intptr_t
=int32_t
;;
16167 8) acx_cv_type_intptr_t
=int64_t
;;
16168 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16171 $as_echo "$acx_cv_type_intptr_t" >&6; }
16174 # ----------------- done all checks, emit header -------------
16175 ac_config_commands
="$ac_config_commands gstdint.h"
16180 for ac_header
in sys
/mman.h alloca.h
16182 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16183 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16184 eval as_val
=\$
$as_ac_Header
16185 if test "x$as_val" = x
""yes; then :
16186 cat >>confdefs.h
<<_ACEOF
16187 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16194 if test "$ac_cv_header_sys_mman_h" = "no"; then
16197 if test -n "${with_target_subdir}"; then
16198 # When built as a GCC target library, we can't do a link test. We
16199 # simply assume that if we have mman.h, we have mmap.
16202 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
16203 if test "x$ac_cv_func_mmap" = x
""yes; then :
16211 if test "$have_mmap" = "no"; then
16213 ALLOC_FILE
=alloc.lo
16215 VIEW_FILE
=mmapio.lo
16216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16217 /* end confdefs.h. */
16219 #include <sys/mman.h>
16220 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
16221 #error no MAP_ANONYMOUS
16225 if ac_fn_c_try_cpp
"$LINENO"; then :
16228 ALLOC_FILE
=alloc.lo
16230 rm -f conftest.err conftest.
$ac_ext
16235 BACKTRACE_USES_MALLOC
=0
16236 if test "$ALLOC_FILE" = "alloc.lo"; then
16237 BACKTRACE_USES_MALLOC
=1
16241 # Don't care about thread support
16242 BACKTRACE_SUPPORTS_THREADS
=0
16245 # Check for dl_iterate_phdr.
16246 for ac_header
in link.h
16248 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
16249 if test "x$ac_cv_header_link_h" = x
""yes; then :
16250 cat >>confdefs.h
<<_ACEOF
16251 #define HAVE_LINK_H 1
16258 if test "$ac_cv_header_link_h" = "no"; then
16259 have_dl_iterate_phdr
=no
16261 # When built as a GCC target library, we can't do a link test.
16262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16263 /* end confdefs.h. */
16267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16268 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
16269 have_dl_iterate_phdr
=yes
16271 have_dl_iterate_phdr
=no
16277 # Avoid dl_iterate_phdr on Solaris 10, where it is in the
16278 # header file but is only in -ldl.
16279 have_dl_iterate_phdr
=no
;;
16282 if test "$have_dl_iterate_phdr" = "yes"; then
16284 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
16288 # Check for the fcntl function.
16289 if test -n "${with_target_subdir}"; then
16291 *-*-mingw*) have_fcntl
=no
;;
16292 *) have_fcntl
=yes ;;
16295 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
16296 if test "x$ac_cv_func_fcntl" = x
""yes; then :
16303 if test "$have_fcntl" = "yes"; then
16305 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
16309 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
16310 if test "x$ac_cv_have_decl_strnlen" = x
""yes; then :
16316 cat >>confdefs.h
<<_ACEOF
16317 #define HAVE_DECL_STRNLEN $ac_have_decl
16321 # Check for getexecname function.
16322 if test -n "${with_target_subdir}"; then
16324 *-*-solaris2*) have_getexecname
=yes ;;
16325 *) have_getexecname
=no
;;
16328 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
16329 if test "x$ac_cv_func_getexecname" = x
""yes; then :
16330 have_getexecname
=yes
16332 have_getexecname
=no
16336 if test "$have_getexecname" = "yes"; then
16338 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
16342 if test "x${BACKTRACE_SUPPORTED}x${BACKTRACE_USES_MALLOC}" = "x1x0"; then
16343 LIBBACKTRACE_SUPPORTED_TRUE
=
16344 LIBBACKTRACE_SUPPORTED_FALSE
='#'
16346 LIBBACKTRACE_SUPPORTED_TRUE
='#'
16347 LIBBACKTRACE_SUPPORTED_FALSE
=
16352 ac_config_files
="$ac_config_files Makefile libsanitizer.spec libbacktrace/backtrace-supported.h"
16354 ac_config_headers
="$ac_config_headers config.h"
16357 ac_config_files
="$ac_config_files interception/Makefile sanitizer_common/Makefile libbacktrace/Makefile lsan/Makefile asan/Makefile ubsan/Makefile"
16360 if test "x$TSAN_SUPPORTED" = "xyes"; then
16361 ac_config_files
="$ac_config_files tsan/Makefile"
16365 cat >confcache
<<\_ACEOF
16366 # This file is a shell script that caches the results of configure
16367 # tests run on this system so they can be shared between configure
16368 # scripts and configure runs, see configure's option --config-cache.
16369 # It is not useful on other systems. If it contains results you don't
16370 # want to keep, you may remove or edit it.
16372 # config.status only pays attention to the cache file if you give it
16373 # the --recheck option to rerun configure.
16375 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16376 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16377 # following values.
16381 # The following way of writing the cache mishandles newlines in values,
16382 # but we know of no workaround that is simple, portable, and efficient.
16383 # So, we kill variables containing newlines.
16384 # Ultrix sh set writes to stderr and can't be redirected directly,
16385 # and sets the high bit in the cache file unless we assign to the vars.
16387 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16388 eval ac_val
=\$
$ac_var
16392 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16393 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16396 _ | IFS | as_nl
) ;; #(
16397 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16398 *) { eval $ac_var=; unset $ac_var;} ;;
16404 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16405 *${as_nl}ac_space
=\
*)
16406 # `set' does not quote correctly, so add quotes: double-quote
16407 # substitution turns \\\\ into \\, and sed turns \\ into \.
16410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16413 # `set' quotes correctly as required by POSIX, so do not add quotes.
16414 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16425 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16427 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16428 if test -w "$cache_file"; then
16429 test "x$cache_file" != "x/dev/null" &&
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16431 $as_echo "$as_me: updating cache $cache_file" >&6;}
16432 cat confcache
>$cache_file
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16435 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16440 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16441 # Let make expand exec_prefix.
16442 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16444 DEFS
=-DHAVE_CONFIG_H
16448 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16449 # 1. Remove the extension, and $U if already installed.
16450 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16451 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16452 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16453 # will be set to the directory where LIBOBJS objects are built.
16454 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16455 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16457 LIBOBJS
=$ac_libobjs
16459 LTLIBOBJS
=$ac_ltlibobjs
16462 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16463 as_fn_error
"conditional \"AMDEP\" was never defined.
16464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16466 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16467 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16470 if test -n "$EXEEXT"; then
16472 am__EXEEXT_FALSE
='#'
16474 am__EXEEXT_TRUE
='#'
16478 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16479 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16482 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16483 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
16484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16486 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16487 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
16488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16490 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
16491 as_fn_error
"conditional \"TSAN_SUPPORTED\" was never defined.
16492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16494 if test -z "${LSAN_SUPPORTED_TRUE}" && test -z "${LSAN_SUPPORTED_FALSE}"; then
16495 as_fn_error
"conditional \"LSAN_SUPPORTED\" was never defined.
16496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16498 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
16499 as_fn_error
"conditional \"USING_MAC_INTERPOSE\" was never defined.
16500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16502 if test -z "${SANITIZER_SUPPORTED_TRUE}" && test -z "${SANITIZER_SUPPORTED_FALSE}"; then
16503 as_fn_error
"conditional \"SANITIZER_SUPPORTED\" was never defined.
16504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16506 if test -z "${LIBBACKTRACE_SUPPORTED_TRUE}" && test -z "${LIBBACKTRACE_SUPPORTED_FALSE}"; then
16507 as_fn_error
"conditional \"LIBBACKTRACE_SUPPORTED\" was never defined.
16508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16511 : ${CONFIG_STATUS=./config.status}
16513 ac_clean_files_save
=$ac_clean_files
16514 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16516 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16520 # Generated by $as_me.
16521 # Run this file to recreate the current configuration.
16522 # Compiler output produced by configure, useful for debugging
16523 # configure, is in config.log if it exists.
16526 ac_cs_recheck=false
16529 SHELL=\${CONFIG_SHELL-$SHELL}
16532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16533 ## -------------------- ##
16534 ## M4sh Initialization. ##
16535 ## -------------------- ##
16537 # Be more Bourne compatible
16538 DUALCASE
=1; export DUALCASE
# for MKS sh
16539 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16542 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16543 # is contrary to our usage. Disable this feature.
16544 alias -g '${1+"$@"}'='"$@"'
16545 setopt NO_GLOB_SUBST
16547 case `(set -o) 2>/dev/null` in #(
16559 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16560 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16563 # Prefer a ksh shell builtin over an external printf program on Solaris,
16564 # but without wasting forks for bash or zsh.
16565 if test -z "$BASH_VERSION$ZSH_VERSION" \
16566 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16567 as_echo='print
-r --'
16568 as_echo_n='print
-rn --'
16569 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16570 as_echo='printf %s
\n'
16571 as_echo_n='printf %s
'
16573 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16574 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16575 as_echo_n='/usr
/ucb
/echo -n'
16577 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16578 as_echo_n_body='eval
16582 expr "X$arg" : "X\\(.*\\)$as_nl";
16583 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16585 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16587 export as_echo_n_body
16588 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16590 export as_echo_body
16591 as_echo='sh
-c $as_echo_body as_echo
'
16594 # The user is always right.
16595 if test "${PATH_SEPARATOR+set}" != set; then
16597 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16598 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16605 # We need space, tab and new line, in precisely that order. Quoting is
16606 # there to prevent editors from complaining about space-tab.
16607 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16608 # splitting by setting IFS to empty value.)
16611 # Find who we are. Look in the path if we contain no directory separator.
16613 *[\\/]* ) as_myself=$0 ;;
16614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16615 for as_dir in $PATH
16618 test -z "$as_dir" && as_dir=.
16619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16625 # We did not find ourselves, most probably we were run as `sh COMMAND'
16626 # in which case we are not to be found in the path.
16627 if test "x$as_myself" = x
; then
16630 if test ! -f "$as_myself"; then
16631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16635 # Unset variables that we do not need and which cause bugs (e.g. in
16636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16637 # suppresses any "Segmentation fault" message there. '((' could
16638 # trigger a bug in pdksh 5.2.14.
16639 for as_var
in BASH_ENV ENV MAIL MAILPATH
16640 do eval test x\
${$as_var+set} = xset \
16641 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16654 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16657 # as_fn_error ERROR [LINENO LOG_FD]
16658 # ---------------------------------
16659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16661 # script with status $?, using 1 if that was 0.
16664 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16666 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16669 $as_echo "$as_me: error: $1" >&2
16670 as_fn_exit
$as_status
16674 # as_fn_set_status STATUS
16675 # -----------------------
16676 # Set $? to STATUS, without forking.
16677 as_fn_set_status
()
16680 } # as_fn_set_status
16682 # as_fn_exit STATUS
16683 # -----------------
16684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16688 as_fn_set_status
$1
16694 # Portably unset VAR.
16697 { eval $1=; unset $1;}
16699 as_unset
=as_fn_unset
16700 # as_fn_append VAR VALUE
16701 # ----------------------
16702 # Append the text in VALUE to the end of the definition contained in VAR. Take
16703 # advantage of any shell optimizations that allow amortized linear growth over
16704 # repeated appends, instead of the typical quadratic growth present in naive
16706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16707 eval 'as_fn_append ()
16718 # as_fn_arith ARG...
16719 # ------------------
16720 # Perform arithmetic evaluation on the ARGs, and store the result in the
16721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16722 # must be portable across $(()) and expr.
16723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16724 eval 'as_fn_arith ()
16731 as_val
=`expr "$@" || test $? -eq 1`
16736 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16737 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16743 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16744 as_basename
=basename
16749 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16755 as_me
=`$as_basename -- "$0" ||
16756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16757 X"$0" : 'X\(//\)$' \| \
16758 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16760 sed '/^.*\/\([^/][^/]*\)\/*$/{
16774 # Avoid depending upon Character Ranges.
16775 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16776 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16777 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16778 as_cr_digits
='0123456789'
16779 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16781 ECHO_C
= ECHO_N
= ECHO_T
=
16782 case `echo -n x` in #(((((
16784 case `echo 'xy\c'` in
16785 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16787 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16794 rm -f conf$$ conf$$.exe conf$$.
file
16795 if test -d conf$$.dir
; then
16796 rm -f conf$$.dir
/conf$$.
file
16799 mkdir conf$$.dir
2>/dev
/null
16801 if (echo >conf$$.
file) 2>/dev
/null
; then
16802 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16804 # ... but there are two gotchas:
16805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16807 # In both cases, we have to default to `cp -p'.
16808 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16810 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16818 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16819 rmdir conf$$.dir
2>/dev
/null
16824 # Create "$as_dir" as a directory, including parents if necessary.
16829 -*) as_dir
=.
/$as_dir;;
16831 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16835 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16836 *) as_qdir
=$as_dir;;
16838 as_dirs
="'$as_qdir' $as_dirs"
16839 as_dir
=`$as_dirname -- "$as_dir" ||
16840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16841 X"$as_dir" : 'X\(//\)[^/]' \| \
16842 X"$as_dir" : 'X\(//\)$' \| \
16843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16844 $as_echo X"$as_dir" |
16845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16849 /^X\(\/\/\)[^/].*/{
16862 test -d "$as_dir" && break
16864 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16865 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16869 if mkdir
-p .
2>/dev
/null
; then
16870 as_mkdir_p
='mkdir -p "$as_dir"'
16872 test -d .
/-p && rmdir .
/-p
16876 if test -x / >/dev
/null
2>&1; then
16877 as_test_x
='test -x'
16879 if ls -dL / >/dev
/null
2>&1; then
16886 if test -d "$1"; then
16892 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16893 ???[sx]*):;;*)false;;esac;fi
16897 as_executable_p
=$as_test_x
16899 # Sed expression to map a string onto a valid CPP name.
16900 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16902 # Sed expression to map a string onto a valid variable name.
16903 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16907 ## ----------------------------------- ##
16908 ## Main body of $CONFIG_STATUS script. ##
16909 ## ----------------------------------- ##
16911 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16914 # Save the log message, to keep $0 and so on meaningful, and to
16915 # report actual input values of CONFIG_FILES etc. instead of their
16916 # values after options handling.
16918 This file was extended by package-unused $as_me version-unused, which was
16919 generated by GNU Autoconf 2.64. Invocation command line was
16921 CONFIG_FILES = $CONFIG_FILES
16922 CONFIG_HEADERS = $CONFIG_HEADERS
16923 CONFIG_LINKS = $CONFIG_LINKS
16924 CONFIG_COMMANDS = $CONFIG_COMMANDS
16927 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16932 case $ac_config_files in *"
16933 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16936 case $ac_config_headers in *"
16937 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16942 # Files that config.status was made for.
16943 config_files="$ac_config_files"
16944 config_headers="$ac_config_headers"
16945 config_commands="$ac_config_commands"
16949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16951 \`$as_me' instantiates files and other configuration actions
16952 from templates according to the current configuration. Unless the files
16953 and actions are specified as TAGs, all are instantiated by default.
16955 Usage: $0 [OPTION]... [TAG]...
16957 -h, --help print this help, then exit
16958 -V, --version print version number and configuration settings, then exit
16959 -q, --quiet, --silent
16960 do not print progress messages
16961 -d, --debug don't remove temporary files
16962 --recheck update $as_me by reconfiguring in the same conditions
16963 --file=FILE[:TEMPLATE]
16964 instantiate the configuration file FILE
16965 --header=FILE[:TEMPLATE]
16966 instantiate the configuration header FILE
16968 Configuration files:
16971 Configuration headers:
16974 Configuration commands:
16977 Report bugs to <libsanitizer>."
16980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16982 package-unused config.status version-unused
16983 configured by $0, generated by GNU Autoconf 2.64,
16984 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16986 Copyright (C) 2009 Free Software Foundation, Inc.
16987 This config.status script is free software; the Free Software Foundation
16988 gives unlimited permission to copy, distribute and modify it."
16995 test -n "\$AWK" || AWK=awk
16998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16999 # The default lists apply if the user does not specify any file.
17005 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17006 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17017 # Handling of the options.
17018 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17020 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17021 $as_echo "$ac_cs_version"; exit ;;
17022 --debug |
--debu |
--deb |
--de |
--d |
-d )
17024 --file |
--fil |
--fi |
--f )
17027 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17029 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17030 ac_need_defaults
=false
;;
17031 --header |
--heade |
--head |
--hea )
17034 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17036 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17037 ac_need_defaults
=false
;;
17039 # Conflict between --help and --header
17040 as_fn_error
"ambiguous option: \`$1'
17041 Try \`$0 --help' for more information.";;
17042 --help |
--hel |
-h )
17043 $as_echo "$ac_cs_usage"; exit ;;
17044 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17045 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17048 # This is an error.
17049 -*) as_fn_error
"unrecognized option: \`$1'
17050 Try \`$0 --help' for more information." ;;
17052 *) as_fn_append ac_config_targets
" $1"
17053 ac_need_defaults
=false
;;
17059 ac_configure_extra_args
=
17061 if $ac_cs_silent; then
17063 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17068 if \$ac_cs_recheck; then
17069 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17071 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17072 CONFIG_SHELL='$SHELL'
17073 export CONFIG_SHELL
17078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17082 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17083 ## Running $as_me. ##
17089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17093 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17098 with_multisubdir="$with_multisubdir"
17099 with_multisrctop="$with_multisrctop"
17100 with_target_subdir="$with_target_subdir"
17101 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17102 multi_basedir="$multi_basedir"
17103 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17106 GFORTRAN="$GFORTRAN"
17110 # The HP-UX ksh and POSIX shell print the target directory to stdout
17111 # if CDPATH is set.
17112 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17114 sed_quote_subst='$sed_quote_subst'
17115 double_quote_subst='$double_quote_subst'
17116 delay_variable_subst='$delay_variable_subst'
17117 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17118 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17119 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17120 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17121 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17122 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17123 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17124 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17125 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17126 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17127 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17128 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17129 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17130 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17131 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17132 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17133 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17134 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17135 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17136 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17137 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17138 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17139 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17140 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17141 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17142 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17143 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17144 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17145 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17146 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17147 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17148 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17149 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17150 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17151 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17152 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17153 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17154 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17155 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17156 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17157 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17158 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17159 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17160 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17161 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17162 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17163 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17164 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17165 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"`'
17166 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17167 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17168 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17169 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17170 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17171 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17172 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17173 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17174 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17175 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17176 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17177 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17178 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17179 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17180 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17181 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17182 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17183 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17184 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17185 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17186 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17187 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17188 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17189 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17190 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17191 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17192 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17193 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17194 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17195 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17196 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17197 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17198 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17199 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17200 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17201 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17202 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17203 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17204 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17205 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17206 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17207 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17208 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17209 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17210 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17211 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17212 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17213 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17214 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17215 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17216 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17217 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17218 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17219 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17220 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17221 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17222 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17223 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17224 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17225 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17226 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17227 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17228 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17229 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17230 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17231 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17232 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17233 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17234 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17235 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17236 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17237 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17238 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17239 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17240 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17241 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17242 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17243 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17244 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17245 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17246 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17247 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17248 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17249 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17250 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17251 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17252 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17253 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17254 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17255 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17256 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17257 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17258 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17259 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17260 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17261 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17262 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17263 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17264 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17265 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17266 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17267 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17268 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17269 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17270 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17271 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17272 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17273 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17274 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17275 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17276 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17277 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17278 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
17279 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17280 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17281 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17282 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17283 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17284 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17285 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17286 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17287 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17288 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17289 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17290 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17291 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17294 LTCFLAGS='$LTCFLAGS'
17295 compiler='$compiler_DEFAULT'
17297 # A function that is used when there is no print builtin or printf.
17298 func_fallback_echo ()
17300 eval 'cat <<_LTECHO_EOF
17305 # Quote evaled strings.
17319 deplibs_check_method \
17328 lt_cv_sys_global_symbol_pipe \
17329 lt_cv_sys_global_symbol_to_cdecl \
17330 lt_cv_sys_global_symbol_to_c_name_address \
17331 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17332 lt_prog_compiler_no_builtin_flag \
17333 lt_prog_compiler_wl \
17334 lt_prog_compiler_pic \
17335 lt_prog_compiler_static \
17336 lt_cv_prog_compiler_c_o \
17344 export_dynamic_flag_spec \
17345 whole_archive_flag_spec \
17346 compiler_needs_object \
17348 allow_undefined_flag \
17349 no_undefined_flag \
17350 hardcode_libdir_flag_spec \
17351 hardcode_libdir_flag_spec_ld \
17352 hardcode_libdir_separator \
17357 variables_saved_for_relink \
17359 library_names_spec \
17361 install_override_mode \
17365 compiler_lib_search_dirs \
17370 compiler_lib_search_path \
17374 lt_prog_compiler_no_builtin_flag_CXX \
17375 lt_prog_compiler_wl_CXX \
17376 lt_prog_compiler_pic_CXX \
17377 lt_prog_compiler_static_CXX \
17378 lt_cv_prog_compiler_c_o_CXX \
17379 export_dynamic_flag_spec_CXX \
17380 whole_archive_flag_spec_CXX \
17381 compiler_needs_object_CXX \
17383 allow_undefined_flag_CXX \
17384 no_undefined_flag_CXX \
17385 hardcode_libdir_flag_spec_CXX \
17386 hardcode_libdir_flag_spec_ld_CXX \
17387 hardcode_libdir_separator_CXX \
17388 fix_srcfile_path_CXX \
17389 exclude_expsyms_CXX \
17390 include_expsyms_CXX \
17391 file_list_spec_CXX \
17392 compiler_lib_search_dirs_CXX \
17393 predep_objects_CXX \
17394 postdep_objects_CXX \
17397 compiler_lib_search_path_CXX; do
17398 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17399 *[\\\\\\\`\\"\\\$]*)
17400 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17403 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17408 # Double-quote double-evaled strings.
17409 for var in reload_cmds \
17410 old_postinstall_cmds \
17411 old_postuninstall_cmds \
17413 extract_expsyms_cmds \
17414 old_archive_from_new_cmds \
17415 old_archive_from_expsyms_cmds \
17417 archive_expsym_cmds \
17419 module_expsym_cmds \
17420 export_symbols_cmds \
17423 postuninstall_cmds \
17425 sys_lib_search_path_spec \
17426 sys_lib_dlsearch_path_spec \
17428 old_archive_cmds_CXX \
17429 old_archive_from_new_cmds_CXX \
17430 old_archive_from_expsyms_cmds_CXX \
17432 archive_expsym_cmds_CXX \
17434 module_expsym_cmds_CXX \
17435 export_symbols_cmds_CXX \
17436 prelink_cmds_CXX; do
17437 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17438 *[\\\\\\\`\\"\\\$]*)
17439 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17442 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17447 ac_aux_dir='$ac_aux_dir'
17448 xsi_shell='$xsi_shell'
17449 lt_shell_append='$lt_shell_append'
17451 # See if we are running on zsh, and set the options which allow our
17452 # commands through without removal of \ escapes INIT.
17453 if test -n "\${ZSH_VERSION+set}" ; then
17454 setopt NO_GLOB_SUBST
17460 TIMESTAMP='$TIMESTAMP'
17471 acx_cv_header_stdint="$acx_cv_header_stdint"
17472 acx_cv_type_int8_t="$acx_cv_type_int8_t"
17473 acx_cv_type_int16_t="$acx_cv_type_int16_t"
17474 acx_cv_type_int32_t="$acx_cv_type_int32_t"
17475 acx_cv_type_int64_t="$acx_cv_type_int64_t"
17476 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
17477 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
17478 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
17479 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17480 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17481 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
17482 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17483 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17484 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
17489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17491 # Handling of arguments.
17492 for ac_config_target
in $ac_config_targets
17494 case $ac_config_target in
17495 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17496 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17497 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17498 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
17499 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17500 "libsanitizer.spec") CONFIG_FILES
="$CONFIG_FILES libsanitizer.spec" ;;
17501 "libbacktrace/backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES libbacktrace/backtrace-supported.h" ;;
17502 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17503 "interception/Makefile") CONFIG_FILES
="$CONFIG_FILES interception/Makefile" ;;
17504 "sanitizer_common/Makefile") CONFIG_FILES
="$CONFIG_FILES sanitizer_common/Makefile" ;;
17505 "libbacktrace/Makefile") CONFIG_FILES
="$CONFIG_FILES libbacktrace/Makefile" ;;
17506 "lsan/Makefile") CONFIG_FILES
="$CONFIG_FILES lsan/Makefile" ;;
17507 "asan/Makefile") CONFIG_FILES
="$CONFIG_FILES asan/Makefile" ;;
17508 "ubsan/Makefile") CONFIG_FILES
="$CONFIG_FILES ubsan/Makefile" ;;
17509 "tsan/Makefile") CONFIG_FILES
="$CONFIG_FILES tsan/Makefile" ;;
17511 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17516 # If the user did not use the arguments to specify the items to instantiate,
17517 # then the envvar interface is used. Set only those that are not.
17518 # We use the long form for the default assignment because of an extremely
17519 # bizarre bug on SunOS 4.1.3.
17520 if $ac_need_defaults; then
17521 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17522 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17523 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17526 # Have a temporary directory for convenience. Make it in the build tree
17527 # simply because there is no reason against having it here, and in addition,
17528 # creating and moving files from /tmp can sometimes cause problems.
17529 # Hook for its removal unless debugging.
17530 # Note that there is a small window in which the directory will not be cleaned:
17531 # after its creation but before its name has been assigned to `$tmp'.
17535 trap 'exit_status=$?
17536 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17538 trap 'as_fn_exit 1' 1 2 13 15
17540 # Create a (secure) tmp directory for tmp files.
17543 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17544 test -n "$tmp" && test -d "$tmp"
17547 tmp
=.
/conf$$
-$RANDOM
17548 (umask 077 && mkdir
"$tmp")
17549 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17551 # Set up the scripts for CONFIG_FILES section.
17552 # No need to generate them if there are no CONFIG_FILES.
17553 # This happens for instance with `./config.status config.h'.
17554 if test -n "$CONFIG_FILES"; then
17557 ac_cr
=`echo X | tr X '\015'`
17558 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17559 # But we know of no other shell where ac_cr would be empty at this
17560 # point, so we can use a bashism as a fallback.
17561 if test "x$ac_cr" = x
; then
17562 eval ac_cr
=\$
\'\\r
\'
17564 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17565 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17568 ac_cs_awk_cr
=$ac_cr
17571 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17576 echo "cat >conf$$subs.awk <<_ACEOF" &&
17577 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17579 } >conf$$subs.sh ||
17580 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17581 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17583 for ac_last_try in false false false false false :; do
17584 . ./conf$$subs.sh ||
17585 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17587 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17588 if test $ac_delim_n = $ac_delim_num; then
17590 elif $ac_last_try; then
17591 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17593 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17596 rm -f conf$$subs.sh
17598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17599 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17603 s/^/S["/; s
/!.
*/"]=/
17613 s/\(.\{148\}\).*/\1/
17615 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17620 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17627 s/\(.\{148\}\).*/\1/
17629 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17633 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17638 ' <conf$$subs.awk | sed '
17643 ' >>$CONFIG_STATUS || ac_write_fail=1
17644 rm -f conf$$subs.awk
17645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17647 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17648 for (key in S) S_is_set[key] = 1
17654 nfields = split(line, field, "@
")
17656 len = length(field[1])
17657 for (i = 2; i < nfields; i++) {
17659 keylen = length(key)
17660 if (S_is_set[key]) {
17662 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17663 len += length(value) + length(field[++i])
17674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17675 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17676 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17679 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17680 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17683 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17684 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17685 # trailing colons and then remove the whole line if VPATH becomes empty
17686 # (actually we leave an empty line to preserve line numbers).
17687 if test "x
$srcdir" = x.; then
17688 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17689 s/:*\$(srcdir):*/:/
17690 s/:*\${srcdir}:*/:/
17692 s/^\([^=]*=[ ]*\):*/\1/
17698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17699 fi # test -n "$CONFIG_FILES"
17701 # Set up the scripts for CONFIG_HEADERS section.
17702 # No need to generate them if there are no CONFIG_HEADERS.
17703 # This happens for instance with `./config.status Makefile'.
17704 if test -n "$CONFIG_HEADERS"; then
17705 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17709 # Transform confdefs.h into an awk script `defines.awk', embedded as
17710 # here-document in config.status, that substitutes the proper values into
17711 # config.h.in to produce config.h.
17713 # Create a delimiter string that does not exist in confdefs.h, to ease
17714 # handling of long lines.
17716 for ac_last_try in false false :; do
17717 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17718 if test -z "$ac_t"; then
17720 elif $ac_last_try; then
17721 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17723 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17727 # For the awk script, D is an array of macro values keyed by name,
17728 # likewise P contains macro parameters if any. Preserve backslash
17729 # newline sequences.
17731 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17733 s/.\{148\}/&'"$ac_delim"'/g
17736 s/^[ ]*#[ ]*define[ ][ ]*/ /
17743 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17745 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17749 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17750 D["\
1"]=" \
3\\\\\\n
"\\/p
17752 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17757 s/.\{148\}/&'"$ac_delim"'/g
17762 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17765 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17767 ' <confdefs.h | sed '
17768 s/'"$ac_delim"'/"\\\
17769 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17772 for (key in D) D_is_set[key] = 1
17775 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17777 split(line, arg, " ")
17778 if (arg[1] == "#") {
17782 defundef
= substr
(arg
[1], 2)
17785 split(mac1
, mac2
, "(") #)
17787 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17788 if (D_is_set
[macro
]) {
17789 # Preserve the white space surrounding the "#".
17790 print prefix
"define", macro P
[macro
] D
[macro
]
17793 # Replace #undef with comments. This is necessary, for example,
17794 # in the case of _POSIX_SOURCE, which is predefined and required
17795 # on some systems where configure will not decide to define it.
17796 if (defundef
== "undef") {
17797 print
"/*", prefix defundef
, macro
, "*/"
17805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17806 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17807 fi # test -n "$CONFIG_HEADERS"
17810 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17815 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17817 case $ac_mode$ac_tag in
17819 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17820 :[FH
]-) ac_tag
=-:-;;
17821 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17838 -) ac_f
="$tmp/stdin";;
17839 *) # Look for the file first in the build tree, then in the source tree
17840 # (if the path is not absolute). The absolute path cannot be DOS-style,
17841 # because $ac_f cannot contain `:'.
17845 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17847 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17849 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17850 as_fn_append ac_file_inputs
" '$ac_f'"
17853 # Let's still pretend it is `configure' which instantiates (i.e., don't
17854 # use $as_me), people would be surprised to read:
17855 # /* config.h. Generated by config.status. */
17856 configure_input
='Generated from '`
17857 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17859 if test x
"$ac_file" != x-
; then
17860 configure_input
="$ac_file. $configure_input"
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17862 $as_echo "$as_me: creating $ac_file" >&6;}
17864 # Neutralize special characters interpreted by sed in replacement strings.
17865 case $configure_input in #(
17866 *\
&* |
*\|
* |
*\\* )
17867 ac_sed_conf_input
=`$as_echo "$configure_input" |
17868 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17869 *) ac_sed_conf_input
=$configure_input;;
17873 *:-:* |
*:-) cat >"$tmp/stdin" \
17874 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17879 ac_dir
=`$as_dirname -- "$ac_file" ||
17880 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17881 X"$ac_file" : 'X\(//\)[^/]' \| \
17882 X"$ac_file" : 'X\(//\)$' \| \
17883 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17884 $as_echo X"$ac_file" |
17885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17889 /^X\(\/\/\)[^/].*/{
17902 as_dir
="$ac_dir"; as_fn_mkdir_p
17906 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17908 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17909 # A ".." for each directory in $ac_dir_suffix.
17910 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17911 case $ac_top_builddir_sub in
17912 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17913 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17916 ac_abs_top_builddir
=$ac_pwd
17917 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17918 # for backward compatibility:
17919 ac_top_builddir
=$ac_top_build_prefix
17922 .
) # We are building in place.
17924 ac_top_srcdir
=$ac_top_builddir_sub
17925 ac_abs_top_srcdir
=$ac_pwd ;;
17926 [\\/]* | ?
:[\\/]* ) # Absolute name.
17927 ac_srcdir
=$srcdir$ac_dir_suffix;
17928 ac_top_srcdir
=$srcdir
17929 ac_abs_top_srcdir
=$srcdir ;;
17930 *) # Relative name.
17931 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17932 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17933 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17935 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17945 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17946 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17948 ac_MKDIR_P
=$MKDIR_P
17950 [\\/$
]* | ?
:[\\/]* ) ;;
17951 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17956 # If the template does not know about datarootdir, expand it.
17957 # FIXME: This hack should be removed a few years after 2.60.
17958 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17969 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17970 *datarootdir
*) ac_datarootdir_seen
=yes;;
17971 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17973 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17976 ac_datarootdir_hack='
17977 s&@datadir@&$datadir&g
17978 s&@docdir@&$docdir&g
17979 s&@infodir@&$infodir&g
17980 s&@localedir@&$localedir&g
17981 s&@mandir@&$mandir&g
17982 s&\\\${datarootdir}&$datarootdir&g' ;;
17986 # Neutralize VPATH when `$srcdir' = `.'.
17987 # Shell code in configure.ac might set extrasub.
17988 # FIXME: do we really want to maintain this feature?
17989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17990 ac_sed_extra="$ac_vpsub
17993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17995 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17996 s|@configure_input@|
$ac_sed_conf_input|
;t t
17997 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17998 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17999 s
&@srcdir@
&$ac_srcdir&;t t
18000 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18001 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18002 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18003 s
&@builddir@
&$ac_builddir&;t t
18004 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18005 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18006 s
&@INSTALL@
&$ac_INSTALL&;t t
18007 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18008 $ac_datarootdir_hack
18010 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18011 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18013 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18014 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18015 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18017 which seems to be undefined. Please make sure it is defined." >&5
18018 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18019 which seems to be undefined. Please make sure it is defined." >&2;}
18023 -) cat "$tmp/out" && rm -f "$tmp/out";;
18024 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18026 || as_fn_error "could not create $ac_file" "$LINENO" 5
18032 if test x"$ac_file" != x-; then
18034 $as_echo "/* $configure_input */" \
18035 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18036 } >"$tmp/config.h" \
18037 || as_fn_error "could not create $ac_file" "$LINENO" 5
18038 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18040 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18043 mv "$tmp/config.h" "$ac_file" \
18044 || as_fn_error "could not create $ac_file" "$LINENO" 5
18047 $as_echo "/* $configure_input */" \
18048 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18049 || as_fn_error "could not create -" "$LINENO" 5
18051 # Compute "$ac_file"'s index
in $config_headers.
18054 for _am_header
in $config_headers :; do
18055 case $_am_header in
18056 $_am_arg |
$_am_arg:* )
18059 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18062 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18063 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18064 X"$_am_arg" : 'X\(//\)[^/]' \| \
18065 X"$_am_arg" : 'X\(//\)$' \| \
18066 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18067 $as_echo X"$_am_arg" |
18068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18072 /^X\(\/\/\)[^/].*/{
18084 s/.*/./; q'`/stamp-h
$_am_stamp_count
18087 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18088 $as_echo "$as_me: executing $ac_file commands" >&6;}
18093 case $ac_file$ac_mode in
18094 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18095 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18096 # are listed without --file. Let's play safe and only enable the eval
18097 # if we detect the quoting.
18098 case $CONFIG_FILES in
18099 *\'*) eval set x
"$CONFIG_FILES" ;;
18100 *) set x
$CONFIG_FILES ;;
18105 # Strip MF so we end up with the name of the file.
18106 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18107 # Check whether this is an Automake generated Makefile or not.
18108 # We used to match only the files named `Makefile.in', but
18109 # some people rename them; so instead we look at the file content.
18110 # Grep'ing the first line is not enough: some people post-process
18111 # each Makefile.in and add a new line on top of each file to say so.
18112 # Grep'ing the whole file is not good either: AIX grep has a line
18113 # limit of 2048, but all sed's we know have understand at least 4000.
18114 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18115 dirpart
=`$as_dirname -- "$mf" ||
18116 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18117 X"$mf" : 'X\(//\)[^/]' \| \
18118 X"$mf" : 'X\(//\)$' \| \
18119 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18125 /^X\(\/\/\)[^/].*/{
18141 # Extract the definition of DEPDIR, am__include, and am__quote
18142 # from the Makefile without running `make'.
18143 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18144 test -z "$DEPDIR" && continue
18145 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18146 test -z "am__include" && continue
18147 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18148 # When using ansi2knr, U may be empty or an underscore; expand it
18149 U
=`sed -n 's/^U = //p' < "$mf"`
18150 # Find all dependency output files, they are included files with
18151 # $(DEPDIR) in their names. We invoke sed twice because it is the
18152 # simplest approach to changing $(DEPDIR) to its actual value in the
18154 for file in `sed -n "
18155 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18156 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18157 # Make sure the directory exists.
18158 test -f "$dirpart/$file" && continue
18159 fdir
=`$as_dirname -- "$file" ||
18160 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18161 X"$file" : 'X\(//\)[^/]' \| \
18162 X"$file" : 'X\(//\)$' \| \
18163 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18164 $as_echo X"$file" |
18165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18169 /^X\(\/\/\)[^/].*/{
18182 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18183 # echo "creating $dirpart/$file"
18184 echo '# dummy' > "$dirpart/$file"
18190 # Only add multilib support code if we just rebuilt the top-level
18192 case " $CONFIG_FILES " in
18194 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18199 # See if we are running on zsh, and set the options which allow our
18200 # commands through without removal of \ escapes.
18201 if test -n "${ZSH_VERSION+set}" ; then
18202 setopt NO_GLOB_SUBST
18205 cfgfile
="${ofile}T"
18206 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18209 cat <<_LT_EOF >> "$cfgfile"
18212 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18213 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18214 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18215 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18217 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18218 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18219 # Written by Gordon Matzigkeit, 1996
18221 # This file is part of GNU Libtool.
18223 # GNU Libtool is free software; you can redistribute it and/or
18224 # modify it under the terms of the GNU General Public License as
18225 # published by the Free Software Foundation; either version 2 of
18226 # the License, or (at your option) any later version.
18228 # As a special exception to the GNU General Public License,
18229 # if you distribute this file as part of a program or library that
18230 # is built using GNU Libtool, you may include this file under the
18231 # same distribution terms that you use for the rest of that program.
18233 # GNU Libtool is distributed in the hope that it will be useful,
18234 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18235 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18236 # GNU General Public License for more details.
18238 # You should have received a copy of the GNU General Public License
18239 # along with GNU Libtool; see the file COPYING. If not, a copy
18240 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18241 # obtained by writing to the Free Software Foundation, Inc.,
18242 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18245 # The names of the tagged configurations supported by this script.
18246 available_tags="CXX "
18248 # ### BEGIN LIBTOOL CONFIG
18250 # Which release of libtool.m4 was used?
18251 macro_version=$macro_version
18252 macro_revision=$macro_revision
18254 # Whether or not to build shared libraries.
18255 build_libtool_libs=$enable_shared
18257 # Whether or not to build static libraries.
18258 build_old_libs=$enable_static
18260 # What type of objects to build.
18263 # Whether or not to optimize for fast installation.
18264 fast_install=$enable_fast_install
18266 # Shell to use when invoking shell scripts.
18269 # An echo program that protects backslashes.
18273 host_alias=$host_alias
18277 # The build system.
18278 build_alias=$build_alias
18282 # A sed program that does not truncate output.
18285 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18286 Xsed="\$SED -e 1s/^X//"
18288 # A grep program that handles long lines.
18294 # A literal string matcher.
18297 # A BSD- or MS-compatible name lister.
18300 # Whether we need soft or hard links.
18303 # What is the maximum length of a command?
18304 max_cmd_len=$max_cmd_len
18306 # Object file suffix (normally "o").
18309 # Executable file suffix (normally "").
18312 # whether the shell understands "unset".
18315 # turn spaces into newlines.
18318 # turn newlines into spaces.
18321 # An object symbol dumper.
18322 OBJDUMP=$lt_OBJDUMP
18324 # Method to check whether dependent libraries are shared objects.
18325 deplibs_check_method=$lt_deplibs_check_method
18327 # Command to use when deplibs_check_method == "file_magic".
18328 file_magic_cmd=$lt_file_magic_cmd
18332 AR_FLAGS=$lt_AR_FLAGS
18334 # A symbol stripping program.
18337 # Commands used to install an old-style archive.
18339 old_postinstall_cmds=$lt_old_postinstall_cmds
18340 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18342 # Whether to use a lock for old archive extraction.
18343 lock_old_archive_extraction=$lock_old_archive_extraction
18348 # LTCC compiler flags.
18349 LTCFLAGS=$lt_CFLAGS
18351 # Take the output of nm and produce a listing of raw symbols and C names.
18352 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18354 # Transform the output of nm in a proper C declaration.
18355 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18357 # Transform the output of nm in a C name address pair.
18358 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18360 # Transform the output of nm in a C name address pair when lib prefix is needed.
18361 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18363 # The name of the directory that contains temporary libtool files.
18366 # Used to examine libraries when file_magic_cmd begins with "file".
18367 MAGIC_CMD=$MAGIC_CMD
18369 # Must we lock files when doing compilation?
18370 need_locks=$lt_need_locks
18372 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18373 DSYMUTIL=$lt_DSYMUTIL
18375 # Tool to change global to local symbols on Mac OS X.
18378 # Tool to manipulate fat objects and archives on Mac OS X.
18381 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18384 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18385 OTOOL64=$lt_OTOOL64
18387 # Old archive suffix (normally "a").
18390 # Shared library suffix (normally ".so").
18391 shrext_cmds=$lt_shrext_cmds
18393 # The commands to extract the exported symbol list from a shared archive.
18394 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18396 # Variables whose values should be saved in libtool wrapper scripts and
18397 # restored at link time.
18398 variables_saved_for_relink=$lt_variables_saved_for_relink
18400 # Do we need the "lib" prefix for modules?
18401 need_lib_prefix=$need_lib_prefix
18403 # Do we need a version for libraries?
18404 need_version=$need_version
18406 # Library versioning type.
18407 version_type=$version_type
18409 # Shared library runtime path variable.
18410 runpath_var=$runpath_var
18412 # Shared library path variable.
18413 shlibpath_var=$shlibpath_var
18415 # Is shlibpath searched before the hard-coded library search path?
18416 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18418 # Format of library name prefix.
18419 libname_spec=$lt_libname_spec
18421 # List of archive names. First name is the real one, the rest are links.
18422 # The last name is the one that the linker finds with -lNAME
18423 library_names_spec=$lt_library_names_spec
18425 # The coded name of the library, if different from the real name.
18426 soname_spec=$lt_soname_spec
18428 # Permission mode override for installation of shared libraries.
18429 install_override_mode=$lt_install_override_mode
18431 # Command to use after installation of a shared archive.
18432 postinstall_cmds=$lt_postinstall_cmds
18434 # Command to use after uninstallation of a shared archive.
18435 postuninstall_cmds=$lt_postuninstall_cmds
18437 # Commands used to finish a libtool library installation in a directory.
18438 finish_cmds=$lt_finish_cmds
18440 # As "finish_cmds", except a single script fragment to be evaled but
18442 finish_eval=$lt_finish_eval
18444 # Whether we should hardcode library paths into libraries.
18445 hardcode_into_libs=$hardcode_into_libs
18447 # Compile-time system search path for libraries.
18448 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18450 # Run-time system search path for libraries.
18451 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18453 # Whether dlopen is supported.
18454 dlopen_support=$enable_dlopen
18456 # Whether dlopen of programs is supported.
18457 dlopen_self=$enable_dlopen_self
18459 # Whether dlopen of statically linked programs is supported.
18460 dlopen_self_static=$enable_dlopen_self_static
18462 # Commands to strip libraries.
18463 old_striplib=$lt_old_striplib
18464 striplib=$lt_striplib
18467 # The linker used to build libraries.
18470 # How to create reloadable object files.
18471 reload_flag=$lt_reload_flag
18472 reload_cmds=$lt_reload_cmds
18474 # Commands used to build an old-style archive.
18475 old_archive_cmds=$lt_old_archive_cmds
18477 # A language specific compiler.
18480 # Is the compiler the GNU compiler?
18483 # Compiler flag to turn off builtin functions.
18484 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18486 # How to pass a linker flag through the compiler.
18487 wl=$lt_lt_prog_compiler_wl
18489 # Additional compiler flags for building library objects.
18490 pic_flag=$lt_lt_prog_compiler_pic
18492 # Compiler flag to prevent dynamic linking.
18493 link_static_flag=$lt_lt_prog_compiler_static
18495 # Does compiler simultaneously support -c and -o options?
18496 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18498 # Whether or not to add -lc for building shared libraries.
18499 build_libtool_need_lc=$archive_cmds_need_lc
18501 # Whether or not to disallow shared libs when runtime libs are static.
18502 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18504 # Compiler flag to allow reflexive dlopens.
18505 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18507 # Compiler flag to generate shared objects directly from archives.
18508 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18510 # Whether the compiler copes with passing no objects directly.
18511 compiler_needs_object=$lt_compiler_needs_object
18513 # Create an old-style archive from a shared archive.
18514 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18516 # Create a temporary old-style archive to link instead of a shared archive.
18517 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18519 # Commands used to build a shared archive.
18520 archive_cmds=$lt_archive_cmds
18521 archive_expsym_cmds=$lt_archive_expsym_cmds
18523 # Commands used to build a loadable module if different from building
18524 # a shared archive.
18525 module_cmds=$lt_module_cmds
18526 module_expsym_cmds=$lt_module_expsym_cmds
18528 # Whether we are building with GNU ld or not.
18529 with_gnu_ld=$lt_with_gnu_ld
18531 # Flag that allows shared libraries with undefined symbols to be built.
18532 allow_undefined_flag=$lt_allow_undefined_flag
18534 # Flag that enforces no undefined symbols.
18535 no_undefined_flag=$lt_no_undefined_flag
18537 # Flag to hardcode \$libdir into a binary during linking.
18538 # This must work even if \$libdir does not exist
18539 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18541 # If ld is used when linking, flag to hardcode \$libdir into a binary
18542 # during linking. This must work even if \$libdir does not exist.
18543 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18545 # Whether we need a single "-rpath" flag with a separated argument.
18546 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18548 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18549 # DIR into the resulting binary.
18550 hardcode_direct=$hardcode_direct
18552 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18553 # DIR into the resulting binary and the resulting library dependency is
18554 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18555 # library is relocated.
18556 hardcode_direct_absolute=$hardcode_direct_absolute
18558 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18559 # into the resulting binary.
18560 hardcode_minus_L=$hardcode_minus_L
18562 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18563 # into the resulting binary.
18564 hardcode_shlibpath_var=$hardcode_shlibpath_var
18566 # Set to "yes" if building a shared library automatically hardcodes DIR
18567 # into the library and all subsequent libraries and executables linked
18569 hardcode_automatic=$hardcode_automatic
18571 # Set to yes if linker adds runtime paths of dependent libraries
18572 # to runtime path list.
18573 inherit_rpath=$inherit_rpath
18575 # Whether libtool must link a program against all its dependency libraries.
18576 link_all_deplibs=$link_all_deplibs
18578 # Fix the shell variable \$srcfile for the compiler.
18579 fix_srcfile_path=$lt_fix_srcfile_path
18581 # Set to "yes" if exported symbols are required.
18582 always_export_symbols=$always_export_symbols
18584 # The commands to list exported symbols.
18585 export_symbols_cmds=$lt_export_symbols_cmds
18587 # Symbols that should not be listed in the preloaded symbols.
18588 exclude_expsyms=$lt_exclude_expsyms
18590 # Symbols that must always be exported.
18591 include_expsyms=$lt_include_expsyms
18593 # Commands necessary for linking programs (against libraries) with templates.
18594 prelink_cmds=$lt_prelink_cmds
18596 # Specify filename containing input files.
18597 file_list_spec=$lt_file_list_spec
18599 # How to hardcode a shared library path into an executable.
18600 hardcode_action=$hardcode_action
18602 # The directories searched by this compiler when creating a shared library.
18603 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18605 # Dependencies to place before and after the objects being linked to
18606 # create a shared library.
18607 predep_objects=$lt_predep_objects
18608 postdep_objects=$lt_postdep_objects
18609 predeps=$lt_predeps
18610 postdeps=$lt_postdeps
18612 # The library search path used internally by the compiler when linking
18613 # a shared library.
18614 compiler_lib_search_path=$lt_compiler_lib_search_path
18616 # ### END LIBTOOL CONFIG
18622 cat <<\_LT_EOF
>> "$cfgfile"
18623 # AIX sometimes has problems with the GCC collect2 program. For some
18624 # reason, if we set the COLLECT_NAMES environment variable, the problems
18625 # vanish in a puff of smoke.
18626 if test "X${COLLECT_NAMES+set}" != Xset
; then
18628 export COLLECT_NAMES
18635 ltmain
="$ac_aux_dir/ltmain.sh"
18638 # We use sed instead of cat because bash on DJGPP gets confused if
18639 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18640 # text mode, it properly converts lines to CR/LF. This bash problem
18641 # is reportedly fixed, but why not run on old versions too?
18642 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18643 ||
(rm -f "$cfgfile"; exit 1)
18647 cat << \_LT_EOF
>> "$cfgfile"
18649 # func_dirname file append nondir_replacement
18650 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18651 # otherwise set result to NONDIR_REPLACEMENT.
18655 */*) func_dirname_result
="${1%/*}${2}" ;;
18656 * ) func_dirname_result
="${3}" ;;
18660 # func_basename file
18663 func_basename_result
="${1##*/}"
18666 # func_dirname_and_basename file append nondir_replacement
18667 # perform func_basename and func_dirname in a single function
18669 # dirname: Compute the dirname of FILE. If nonempty,
18670 # add APPEND to the result, otherwise set result
18671 # to NONDIR_REPLACEMENT.
18672 # value returned in "$func_dirname_result"
18673 # basename: Compute filename of FILE.
18674 # value retuned in "$func_basename_result"
18675 # Implementation must be kept synchronized with func_dirname
18676 # and func_basename. For efficiency, we do not delegate to
18677 # those functions but instead duplicate the functionality here.
18678 func_dirname_and_basename
()
18681 */*) func_dirname_result
="${1%/*}${2}" ;;
18682 * ) func_dirname_result
="${3}" ;;
18684 func_basename_result
="${1##*/}"
18687 # func_stripname prefix suffix name
18688 # strip PREFIX and SUFFIX off of NAME.
18689 # PREFIX and SUFFIX must not contain globbing or regex special
18690 # characters, hashes, percent signs, but SUFFIX may contain a leading
18691 # dot (in which case that matches only a dot).
18694 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18695 # positional parameters, so assign one to ordinary parameter first.
18696 func_stripname_result
=${3}
18697 func_stripname_result
=${func_stripname_result#"${1}"}
18698 func_stripname_result
=${func_stripname_result%"${2}"}
18704 func_opt_split_opt
=${1%%=*}
18705 func_opt_split_arg
=${1#*=}
18712 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18713 *) func_lo2o_result
=${1} ;;
18717 # func_xform libobj-or-source
18720 func_xform_result
=${1%.*}.lo
18723 # func_arith arithmetic-term...
18726 func_arith_result
=$
(( $
* ))
18730 # STRING may not start with a hyphen.
18733 func_len_result
=${#1}
18738 *) # Bourne compatible functions.
18739 cat << \_LT_EOF
>> "$cfgfile"
18741 # func_dirname file append nondir_replacement
18742 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18743 # otherwise set result to NONDIR_REPLACEMENT.
18746 # Extract subdirectory from the argument.
18747 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18748 if test "X$func_dirname_result" = "X${1}"; then
18749 func_dirname_result
="${3}"
18751 func_dirname_result
="$func_dirname_result${2}"
18755 # func_basename file
18758 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18762 # func_stripname prefix suffix name
18763 # strip PREFIX and SUFFIX off of NAME.
18764 # PREFIX and SUFFIX must not contain globbing or regex special
18765 # characters, hashes, percent signs, but SUFFIX may contain a leading
18766 # dot (in which case that matches only a dot).
18767 # func_strip_suffix prefix name
18771 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18772 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18777 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18778 my_sed_long_arg
='1s/^-[^=]*=//'
18783 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18784 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18790 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18793 # func_xform libobj-or-source
18796 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18799 # func_arith arithmetic-term...
18802 func_arith_result
=`expr "$@"`
18806 # STRING may not start with a hyphen.
18809 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18815 case $lt_shell_append in
18817 cat << \_LT_EOF
>> "$cfgfile"
18819 # func_append var value
18820 # Append VALUE to the end of shell variable VAR.
18828 cat << \_LT_EOF
>> "$cfgfile"
18830 # func_append var value
18831 # Append VALUE to the end of shell variable VAR.
18842 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18843 ||
(rm -f "$cfgfile"; exit 1)
18845 mv -f "$cfgfile" "$ofile" ||
18846 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18850 cat <<_LT_EOF >> "$ofile"
18852 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18854 # The linker used to build libraries.
18857 # How to create reloadable object files.
18858 reload_flag=$lt_reload_flag_CXX
18859 reload_cmds=$lt_reload_cmds_CXX
18861 # Commands used to build an old-style archive.
18862 old_archive_cmds=$lt_old_archive_cmds_CXX
18864 # A language specific compiler.
18865 CC=$lt_compiler_CXX
18867 # Is the compiler the GNU compiler?
18870 # Compiler flag to turn off builtin functions.
18871 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18873 # How to pass a linker flag through the compiler.
18874 wl=$lt_lt_prog_compiler_wl_CXX
18876 # Additional compiler flags for building library objects.
18877 pic_flag=$lt_lt_prog_compiler_pic_CXX
18879 # Compiler flag to prevent dynamic linking.
18880 link_static_flag=$lt_lt_prog_compiler_static_CXX
18882 # Does compiler simultaneously support -c and -o options?
18883 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18885 # Whether or not to add -lc for building shared libraries.
18886 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18888 # Whether or not to disallow shared libs when runtime libs are static.
18889 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18891 # Compiler flag to allow reflexive dlopens.
18892 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18894 # Compiler flag to generate shared objects directly from archives.
18895 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18897 # Whether the compiler copes with passing no objects directly.
18898 compiler_needs_object=$lt_compiler_needs_object_CXX
18900 # Create an old-style archive from a shared archive.
18901 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18903 # Create a temporary old-style archive to link instead of a shared archive.
18904 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18906 # Commands used to build a shared archive.
18907 archive_cmds=$lt_archive_cmds_CXX
18908 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18910 # Commands used to build a loadable module if different from building
18911 # a shared archive.
18912 module_cmds=$lt_module_cmds_CXX
18913 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18915 # Whether we are building with GNU ld or not.
18916 with_gnu_ld=$lt_with_gnu_ld_CXX
18918 # Flag that allows shared libraries with undefined symbols to be built.
18919 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18921 # Flag that enforces no undefined symbols.
18922 no_undefined_flag=$lt_no_undefined_flag_CXX
18924 # Flag to hardcode \$libdir into a binary during linking.
18925 # This must work even if \$libdir does not exist
18926 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18928 # If ld is used when linking, flag to hardcode \$libdir into a binary
18929 # during linking. This must work even if \$libdir does not exist.
18930 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18932 # Whether we need a single "-rpath" flag with a separated argument.
18933 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18935 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18936 # DIR into the resulting binary.
18937 hardcode_direct=$hardcode_direct_CXX
18939 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18940 # DIR into the resulting binary and the resulting library dependency is
18941 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18942 # library is relocated.
18943 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18945 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18946 # into the resulting binary.
18947 hardcode_minus_L=$hardcode_minus_L_CXX
18949 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18950 # into the resulting binary.
18951 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18953 # Set to "yes" if building a shared library automatically hardcodes DIR
18954 # into the library and all subsequent libraries and executables linked
18956 hardcode_automatic=$hardcode_automatic_CXX
18958 # Set to yes if linker adds runtime paths of dependent libraries
18959 # to runtime path list.
18960 inherit_rpath=$inherit_rpath_CXX
18962 # Whether libtool must link a program against all its dependency libraries.
18963 link_all_deplibs=$link_all_deplibs_CXX
18965 # Fix the shell variable \$srcfile for the compiler.
18966 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18968 # Set to "yes" if exported symbols are required.
18969 always_export_symbols=$always_export_symbols_CXX
18971 # The commands to list exported symbols.
18972 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18974 # Symbols that should not be listed in the preloaded symbols.
18975 exclude_expsyms=$lt_exclude_expsyms_CXX
18977 # Symbols that must always be exported.
18978 include_expsyms=$lt_include_expsyms_CXX
18980 # Commands necessary for linking programs (against libraries) with templates.
18981 prelink_cmds=$lt_prelink_cmds_CXX
18983 # Specify filename containing input files.
18984 file_list_spec=$lt_file_list_spec_CXX
18986 # How to hardcode a shared library path into an executable.
18987 hardcode_action=$hardcode_action_CXX
18989 # The directories searched by this compiler when creating a shared library.
18990 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18992 # Dependencies to place before and after the objects being linked to
18993 # create a shared library.
18994 predep_objects=$lt_predep_objects_CXX
18995 postdep_objects=$lt_postdep_objects_CXX
18996 predeps=$lt_predeps_CXX
18997 postdeps=$lt_postdeps_CXX
18999 # The library search path used internally by the compiler when linking
19000 # a shared library.
19001 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19003 # ### END LIBTOOL TAG CONFIG: CXX
19008 if test "$GCC" = yes; then
19009 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
19011 echo "/* generated for $CC */" > tmp-stdint.h
19014 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19016 #ifndef GCC_GENERATED_STDINT_H
19017 #define GCC_GENERATED_STDINT_H 1
19019 #include <sys/types.h>
19022 if test "$acx_cv_header_stdint" != stdint.h
; then
19023 echo "#include <stddef.h>" >> tmp-stdint.h
19025 if test "$acx_cv_header_stdint" != stddef.h
; then
19026 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
19029 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19030 /* glibc uses these symbols as guards to prevent redefinitions. */
19031 #ifdef __int8_t_defined
19036 #ifdef __uint32_t_defined
19042 # ----------------- done header, emit basic int types -------------
19043 if test "$acx_cv_header_stdint" = stddef.h
; then
19044 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19048 #ifndef __uint8_t_defined
19049 #define __uint8_t_defined
19051 typedef unsigned $acx_cv_type_int8_t uint8_t;
19058 #ifndef __uint16_t_defined
19059 #define __uint16_t_defined
19061 typedef unsigned $acx_cv_type_int16_t uint16_t;
19068 #ifndef __uint32_t_defined
19069 #define __uint32_t_defined
19071 typedef unsigned $acx_cv_type_int32_t uint32_t;
19078 #ifndef __int8_t_defined
19079 #define __int8_t_defined
19081 typedef $acx_cv_type_int8_t int8_t;
19088 #ifndef __int16_t_defined
19089 #define __int16_t_defined
19091 typedef $acx_cv_type_int16_t int16_t;
19098 #ifndef __int32_t_defined
19099 #define __int32_t_defined
19101 typedef $acx_cv_type_int32_t int32_t;
19106 elif test "$ac_cv_type_u_int32_t" = yes; then
19107 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19109 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
19122 #ifndef __uint8_t_defined
19123 #define __uint8_t_defined
19125 typedef u_int8_t uint8_t;
19132 #ifndef __uint16_t_defined
19133 #define __uint16_t_defined
19135 typedef u_int16_t uint16_t;
19142 #ifndef __uint32_t_defined
19143 #define __uint32_t_defined
19145 typedef u_int32_t uint32_t;
19151 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19153 /* Some systems have guard macros to prevent redefinitions, define them. */
19175 # ------------- done basic int types, emit int64_t types ------------
19176 if test "$ac_cv_type_uint64_t" = yes; then
19177 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19179 /* system headers have good uint64_t and int64_t */
19187 elif test "$ac_cv_type_u_int64_t" = yes; then
19188 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19190 /* system headers have an u_int64_t (and int64_t) */
19196 #ifndef __uint64_t_defined
19197 #define __uint64_t_defined
19199 typedef u_int64_t uint64_t;
19204 elif test -n "$acx_cv_type_int64_t"; then
19205 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19207 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
19211 typedef $acx_cv_type_int64_t int64_t;
19216 #ifndef __uint64_t_defined
19217 #define __uint64_t_defined
19219 typedef unsigned $acx_cv_type_int64_t uint64_t;
19225 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19227 /* some common heuristics for int64_t, using compiler-specific tests */
19228 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
19231 #ifndef __int64_t_defined
19233 typedef long long int64_t;
19240 typedef unsigned long long uint64_t;
19244 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
19245 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
19246 does not implement __extension__. But that compiler doesn't define
19248 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
19249 # define __extension__
19255 __extension__ typedef long long int64_t;
19261 __extension__ typedef unsigned long long uint64_t;
19265 #elif !defined __STRICT_ANSI__
19266 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19271 typedef __int64 int64_t;
19277 typedef unsigned __int64 uint64_t;
19280 # endif /* compiler */
19282 #endif /* ANSI version */
19286 # ------------- done int64_t types, emit intptr types ------------
19287 if test "$ac_cv_type_uintptr_t" != yes; then
19288 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19290 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
19291 #ifndef __uintptr_t_defined
19293 typedef u$acx_cv_type_intptr_t uintptr_t;
19296 #ifndef __intptr_t_defined
19298 typedef $acx_cv_type_intptr_t intptr_t;
19304 # ------------- done intptr types, emit int_least types ------------
19305 if test "$ac_cv_type_int_least32_t" != yes; then
19306 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19308 /* Define int_least types */
19309 typedef int8_t int_least8_t;
19310 typedef int16_t int_least16_t;
19311 typedef int32_t int_least32_t;
19313 typedef int64_t int_least64_t;
19316 typedef uint8_t uint_least8_t;
19317 typedef uint16_t uint_least16_t;
19318 typedef uint32_t uint_least32_t;
19320 typedef uint64_t uint_least64_t;
19325 # ------------- done intptr types, emit int_fast types ------------
19326 if test "$ac_cv_type_int_fast32_t" != yes; then
19327 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19329 /* Define int_fast types. short is often slow */
19330 typedef int8_t int_fast8_t;
19331 typedef int int_fast16_t;
19332 typedef int32_t int_fast32_t;
19334 typedef int64_t int_fast64_t;
19337 typedef uint8_t uint_fast8_t;
19338 typedef unsigned int uint_fast16_t;
19339 typedef uint32_t uint_fast32_t;
19341 typedef uint64_t uint_fast64_t;
19346 if test "$ac_cv_type_uintmax_t" != yes; then
19347 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19349 /* Define intmax based on what we found */
19352 typedef int64_t intmax_t;
19354 typedef long intmax_t;
19359 typedef uint64_t uintmax_t;
19361 typedef unsigned long uintmax_t;
19367 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19369 #endif /* GCC_GENERATED_STDINT_H */
19372 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
19375 mv -f tmp-stdint.h gstdint.h
19379 "interception/Makefile":F
) cat > vpsed$$
<< \_EOF
19380 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19382 sed -f vpsed$$
$ac_file > tmp$$
19385 echo 'MULTISUBDIR =' >> $ac_file
19387 .
${multi_basedir}/config-ml.
in
19388 { ml_norecursion
=; unset ml_norecursion
;}
19390 "sanitizer_common/Makefile":F
) cat > vpsed$$
<< \_EOF
19391 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19393 sed -f vpsed$$
$ac_file > tmp$$
19396 echo 'MULTISUBDIR =' >> $ac_file
19398 .
${multi_basedir}/config-ml.
in
19399 { ml_norecursion
=; unset ml_norecursion
;}
19401 "libbacktrace/Makefile":F
) cat > vpsed$$
<< \_EOF
19402 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19404 sed -f vpsed$$
$ac_file > tmp$$
19407 echo 'MULTISUBDIR =' >> $ac_file
19409 .
${multi_basedir}/config-ml.
in
19410 { ml_norecursion
=; unset ml_norecursion
;}
19412 "lsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19413 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19415 sed -f vpsed$$
$ac_file > tmp$$
19418 echo 'MULTISUBDIR =' >> $ac_file
19420 .
${multi_basedir}/config-ml.
in
19421 { ml_norecursion
=; unset ml_norecursion
;}
19423 "asan/Makefile":F
) cat > vpsed$$
<< \_EOF
19424 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19426 sed -f vpsed$$
$ac_file > tmp$$
19429 echo 'MULTISUBDIR =' >> $ac_file
19431 .
${multi_basedir}/config-ml.
in
19432 { ml_norecursion
=; unset ml_norecursion
;}
19434 "ubsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19435 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19437 sed -f vpsed$$
$ac_file > tmp$$
19440 echo 'MULTISUBDIR =' >> $ac_file
19442 .
${multi_basedir}/config-ml.
in
19443 { ml_norecursion
=; unset ml_norecursion
;}
19445 "tsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19446 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19448 sed -f vpsed$$
$ac_file > tmp$$
19451 echo 'MULTISUBDIR =' >> $ac_file
19453 .
${multi_basedir}/config-ml.
in
19454 { ml_norecursion
=; unset ml_norecursion
;}
19463 ac_clean_files
=$ac_clean_files_save
19465 test $ac_write_fail = 0 ||
19466 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19469 # configure is writing to config.log, and then calls config.status.
19470 # config.status does its own redirection, appending to config.log.
19471 # Unfortunately, on DOS this fails, as config.log is still kept open
19472 # by configure, so config.status won't be able to write to it; its
19473 # output is simply discarded. So we exec the FD to /dev/null,
19474 # effectively closing config.log, so it can be properly (re)opened and
19475 # appended to by config.status. When coming back to configure, we
19476 # need to make the FD available again.
19477 if test "$no_create" != yes; then
19479 ac_config_status_args
=
19480 test "$silent" = yes &&
19481 ac_config_status_args
="$ac_config_status_args --quiet"
19483 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19485 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19486 # would make configure fail if this is the last instruction.
19487 $ac_cs_success || as_fn_exit $?
19489 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19491 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}