2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU TM Runtime Library 1.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='GNU TM Runtime Library'
589 PACKAGE_TARNAME
='libitm'
590 PACKAGE_VERSION
='1.0'
591 PACKAGE_STRING
='GNU TM Runtime Library 1.0'
593 PACKAGE_URL
='http://www.gnu.org/software/libitm/'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars
='am__EXEEXT_FALSE
648 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
649 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
650 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
651 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
652 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
653 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
661 MAINTAINER_MODE_FALSE
688 am__fastdepCCAS_FALSE
731 INSTALL_STRIP_PROGRAM
787 program_transform_name
800 enable_option_checking
801 enable_version_specific_runtime_libs
802 enable_generated_files_in_srcdir
806 enable_dependency_tracking
813 enable_maintainer_mode
819 with_gcc_major_version_only
821 ac_precious_vars
='build_alias
829 # Initialize some variables set by options.
831 ac_init_version
=false
832 ac_unrecognized_opts
=
834 # The variables have the same names as the options, with
835 # dashes changed to underlines.
843 program_transform_name
=s
,x
,x
,
851 # Installation directory options.
852 # These are left unexpanded so users can "make install exec_prefix=/foo"
853 # and all the variables that are supposed to be based on exec_prefix
854 # by default will actually change.
855 # Use braces instead of parens because sh, perl, etc. also accept them.
856 # (The list follows the same order as the GNU Coding Standards.)
857 bindir
='${exec_prefix}/bin'
858 sbindir
='${exec_prefix}/sbin'
859 libexecdir
='${exec_prefix}/libexec'
860 datarootdir
='${prefix}/share'
861 datadir
='${datarootdir}'
862 sysconfdir
='${prefix}/etc'
863 sharedstatedir
='${prefix}/com'
864 localstatedir
='${prefix}/var'
865 includedir
='${prefix}/include'
866 oldincludedir
='/usr/include'
867 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
868 infodir
='${datarootdir}/info'
873 libdir
='${exec_prefix}/lib'
874 localedir
='${datarootdir}/locale'
875 mandir
='${datarootdir}/man'
881 # If the previous option needs an argument, assign it.
882 if test -n "$ac_prev"; then
883 eval $ac_prev=\
$ac_option
889 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 # Accept the important Cygnus configure options, so we can diagnose typos.
896 case $ac_dashdash$ac_option in
900 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
902 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
905 -build |
--build |
--buil |
--bui |
--bu)
906 ac_prev
=build_alias
;;
907 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
908 build_alias
=$ac_optarg ;;
910 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
911 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
912 ac_prev
=cache_file
;;
913 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
914 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
915 cache_file
=$ac_optarg ;;
918 cache_file
=config.cache
;;
920 -datadir |
--datadir |
--datadi |
--datad)
922 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
923 datadir
=$ac_optarg ;;
925 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
926 |
--dataroo |
--dataro |
--datar)
927 ac_prev
=datarootdir
;;
928 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
929 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
930 datarootdir
=$ac_optarg ;;
932 -disable-* |
--disable-*)
933 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
936 as_fn_error $?
"invalid feature name: $ac_useropt"
937 ac_useropt_orig
=$ac_useropt
938 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
944 ac_unrecognized_sep
=', ';;
946 eval enable_
$ac_useropt=no
;;
948 -docdir |
--docdir |
--docdi |
--doc |
--do)
950 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
953 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
955 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
958 -enable-* |
--enable-*)
959 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
962 as_fn_error $?
"invalid feature name: $ac_useropt"
963 ac_useropt_orig
=$ac_useropt
964 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
970 ac_unrecognized_sep
=', ';;
972 eval enable_
$ac_useropt=\
$ac_optarg ;;
974 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
975 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
976 |
--exec |
--exe |
--ex)
977 ac_prev
=exec_prefix
;;
978 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
979 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
980 |
--exec=* |
--exe=* |
--ex=*)
981 exec_prefix
=$ac_optarg ;;
983 -gas |
--gas |
--ga |
--g)
984 # Obsolete; use --with-gas.
987 -help |
--help |
--hel |
--he |
-h)
989 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
990 ac_init_help
=recursive
;;
991 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
992 ac_init_help
=short
;;
994 -host |
--host |
--hos |
--ho)
995 ac_prev
=host_alias
;;
996 -host=* |
--host=* |
--hos=* |
--ho=*)
997 host_alias
=$ac_optarg ;;
999 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1001 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1003 htmldir
=$ac_optarg ;;
1005 -includedir |
--includedir |
--includedi |
--included |
--include \
1006 |
--includ |
--inclu |
--incl |
--inc)
1007 ac_prev
=includedir
;;
1008 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1009 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1010 includedir
=$ac_optarg ;;
1012 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1014 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1015 infodir
=$ac_optarg ;;
1017 -libdir |
--libdir |
--libdi |
--libd)
1019 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1020 libdir
=$ac_optarg ;;
1022 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1023 |
--libexe |
--libex |
--libe)
1024 ac_prev
=libexecdir
;;
1025 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1026 |
--libexe=* |
--libex=* |
--libe=*)
1027 libexecdir
=$ac_optarg ;;
1029 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1030 ac_prev
=localedir
;;
1031 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1032 localedir
=$ac_optarg ;;
1034 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1035 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1036 ac_prev
=localstatedir
;;
1037 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1038 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1039 localstatedir
=$ac_optarg ;;
1041 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1043 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1044 mandir
=$ac_optarg ;;
1046 -nfp |
--nfp |
--nf)
1047 # Obsolete; use --without-fp.
1050 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1051 |
--no-cr |
--no-c |
-n)
1054 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1055 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1058 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1059 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1060 |
--oldin |
--oldi |
--old |
--ol |
--o)
1061 ac_prev
=oldincludedir
;;
1062 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1063 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1064 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1065 oldincludedir
=$ac_optarg ;;
1067 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1069 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1070 prefix
=$ac_optarg ;;
1072 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1073 |
--program-pre |
--program-pr |
--program-p)
1074 ac_prev
=program_prefix
;;
1075 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1076 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1077 program_prefix
=$ac_optarg ;;
1079 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1080 |
--program-suf |
--program-su |
--program-s)
1081 ac_prev
=program_suffix
;;
1082 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1083 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1084 program_suffix
=$ac_optarg ;;
1086 -program-transform-name |
--program-transform-name \
1087 |
--program-transform-nam |
--program-transform-na \
1088 |
--program-transform-n |
--program-transform- \
1089 |
--program-transform |
--program-transfor \
1090 |
--program-transfo |
--program-transf \
1091 |
--program-trans |
--program-tran \
1092 |
--progr-tra |
--program-tr |
--program-t)
1093 ac_prev
=program_transform_name
;;
1094 -program-transform-name=* |
--program-transform-name=* \
1095 |
--program-transform-nam=* |
--program-transform-na=* \
1096 |
--program-transform-n=* |
--program-transform-=* \
1097 |
--program-transform=* |
--program-transfor=* \
1098 |
--program-transfo=* |
--program-transf=* \
1099 |
--program-trans=* |
--program-tran=* \
1100 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1101 program_transform_name
=$ac_optarg ;;
1103 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1105 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1106 pdfdir
=$ac_optarg ;;
1108 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1110 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1113 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1114 |
-silent |
--silent |
--silen |
--sile |
--sil)
1117 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1119 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1121 sbindir
=$ac_optarg ;;
1123 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1124 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1125 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1127 ac_prev
=sharedstatedir
;;
1128 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1129 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1130 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1132 sharedstatedir
=$ac_optarg ;;
1134 -site |
--site |
--sit)
1136 -site=* |
--site=* |
--sit=*)
1139 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1141 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1142 srcdir
=$ac_optarg ;;
1144 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1145 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1146 ac_prev
=sysconfdir
;;
1147 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1148 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1149 sysconfdir
=$ac_optarg ;;
1151 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1152 ac_prev
=target_alias
;;
1153 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1154 target_alias
=$ac_optarg ;;
1156 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1159 -version |
--version |
--versio |
--versi |
--vers |
-V)
1160 ac_init_version
=: ;;
1163 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1166 as_fn_error $?
"invalid package name: $ac_useropt"
1167 ac_useropt_orig
=$ac_useropt
1168 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1173 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1174 ac_unrecognized_sep
=', ';;
1176 eval with_
$ac_useropt=\
$ac_optarg ;;
1178 -without-* |
--without-*)
1179 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 as_fn_error $?
"invalid package name: $ac_useropt"
1183 ac_useropt_orig
=$ac_useropt
1184 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1189 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval with_
$ac_useropt=no
;;
1195 # Obsolete; use --with-x.
1198 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1199 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1200 ac_prev
=x_includes
;;
1201 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1202 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1203 x_includes
=$ac_optarg ;;
1205 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1206 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1207 ac_prev
=x_libraries
;;
1208 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1209 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1210 x_libraries
=$ac_optarg ;;
1212 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1213 Try \`$0 --help' for more information"
1217 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1218 # Reject names that are not valid shell variable names.
1219 case $ac_envvar in #(
1220 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1221 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1223 eval $ac_envvar=\
$ac_optarg
1224 export $ac_envvar ;;
1227 # FIXME: should be removed in autoconf 3.0.
1228 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1229 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1230 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1231 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1237 if test -n "$ac_prev"; then
1238 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1239 as_fn_error $?
"missing argument to $ac_option"
1242 if test -n "$ac_unrecognized_opts"; then
1243 case $enable_option_checking in
1245 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1246 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250 # Check all directory arguments for consistency.
1251 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1252 datadir sysconfdir sharedstatedir localstatedir includedir \
1253 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1254 libdir localedir mandir
1256 eval ac_val
=\$
$ac_var
1257 # Remove trailing slashes.
1260 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1261 eval $ac_var=\
$ac_val;;
1263 # Be sure to have absolute directory names.
1265 [\\/$
]* | ?
:[\\/]* ) continue;;
1266 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1268 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1271 # There might be people who depend on the old broken behavior: `$host'
1272 # used to hold the argument of --host etc.
1273 # FIXME: To remove some day.
1276 target
=$target_alias
1278 # FIXME: To remove some day.
1279 if test "x$host_alias" != x
; then
1280 if test "x$build_alias" = x
; then
1281 cross_compiling
=maybe
1282 elif test "x$build_alias" != "x$host_alias"; then
1288 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1290 test "$silent" = yes && exec 6>/dev
/null
1293 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1294 ac_ls_di
=`ls -di .` &&
1295 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1296 as_fn_error $?
"working directory cannot be determined"
1297 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1298 as_fn_error $?
"pwd does not report name of working directory"
1301 # Find the source files, if location was not specified.
1302 if test -z "$srcdir"; then
1303 ac_srcdir_defaulted
=yes
1304 # Try the directory containing this script, then the parent directory.
1305 ac_confdir
=`$as_dirname -- "$as_myself" ||
1306 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1307 X"$as_myself" : 'X\(//\)[^/]' \| \
1308 X"$as_myself" : 'X\(//\)$' \| \
1309 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1310 $as_echo X"$as_myself" |
1311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1329 if test ! -r "$srcdir/$ac_unique_file"; then
1333 ac_srcdir_defaulted
=no
1335 if test ! -r "$srcdir/$ac_unique_file"; then
1336 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1337 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1339 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1341 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1343 # When building in place, set srcdir=.
1344 if test "$ac_abs_confdir" = "$ac_pwd"; then
1347 # Remove unnecessary trailing slashes from srcdir.
1348 # Double slashes in file names in object file debugging info
1349 # mess up M-x gdb in Emacs.
1351 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1353 for ac_var
in $ac_precious_vars; do
1354 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1355 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1356 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1357 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1361 # Report the --help message.
1363 if test "$ac_init_help" = "long"; then
1364 # Omit some internal or obsolete options to make the list less imposing.
1365 # This message is too long to be a string in the A/UX 3.1 sh.
1367 \`configure' configures GNU TM Runtime Library 1.0 to adapt to many kinds of systems.
1369 Usage: $0 [OPTION]... [VAR=VALUE]...
1371 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1372 VAR=VALUE. See below for descriptions of some of the useful variables.
1374 Defaults for the options are specified in brackets.
1377 -h, --help display this help and exit
1378 --help=short display options specific to this package
1379 --help=recursive display the short help of all the included packages
1380 -V, --version display version information and exit
1381 -q, --quiet, --silent do not print \`checking ...' messages
1382 --cache-file=FILE cache test results in FILE [disabled]
1383 -C, --config-cache alias for \`--cache-file=config.cache'
1384 -n, --no-create do not create output files
1385 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1387 Installation directories:
1388 --prefix=PREFIX install architecture-independent files in PREFIX
1389 [$ac_default_prefix]
1390 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1393 By default, \`make install' will install all the files in
1394 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1395 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1396 for instance \`--prefix=\$HOME'.
1398 For better control, use the options below.
1400 Fine tuning of the installation directories:
1401 --bindir=DIR user executables [EPREFIX/bin]
1402 --sbindir=DIR system admin executables [EPREFIX/sbin]
1403 --libexecdir=DIR program executables [EPREFIX/libexec]
1404 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1405 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1406 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1407 --libdir=DIR object code libraries [EPREFIX/lib]
1408 --includedir=DIR C header files [PREFIX/include]
1409 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1410 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1411 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1412 --infodir=DIR info documentation [DATAROOTDIR/info]
1413 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1414 --mandir=DIR man documentation [DATAROOTDIR/man]
1415 --docdir=DIR documentation root [DATAROOTDIR/doc/libitm]
1416 --htmldir=DIR html documentation [DOCDIR]
1417 --dvidir=DIR dvi documentation [DOCDIR]
1418 --pdfdir=DIR pdf documentation [DOCDIR]
1419 --psdir=DIR ps documentation [DOCDIR]
1425 --program-prefix=PREFIX prepend PREFIX to installed program names
1426 --program-suffix=SUFFIX append SUFFIX to installed program names
1427 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1430 --build=BUILD configure
for building on BUILD
[guessed
]
1431 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1432 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1436 if test -n "$ac_init_help"; then
1437 case $ac_init_help in
1438 short | recursive
) echo "Configuration of GNU TM Runtime Library 1.0:";;
1443 --disable-option-checking ignore unrecognized
--enable/--with options
1444 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1445 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1446 --enable-version-specific-runtime-libs
1447 Specify that runtime libraries should be installed
1448 in a compiler-specific directory
[default
=no
]
1449 --enable-generated-files-in-srcdir
1450 put copies of generated files
in source dir intended
1451 for creating
source tarballs
for users without
1452 texinfo bison or flex.
[default
=no
]
1453 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1454 --disable-silent-rules verbose build output
(undo
: "make V=0")
1455 --enable-multilib build many library versions
(default
)
1456 --enable-dependency-tracking
1457 do not reject slow dependency extractors
1458 --disable-dependency-tracking
1459 speeds up one-time build
1460 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1461 --enable-static[=PKGS
] build static libraries
[default
=yes]
1462 --enable-fast-install[=PKGS
]
1463 optimize
for fast installation
[default
=yes]
1464 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1465 --enable-maintainer-mode
1466 enable make rules and dependencies not useful
(and
1467 sometimes confusing
) to the casual installer
1468 --enable-linux-futex use the Linux futex system call
[default
=default
]
1469 --enable-tls Use thread-local storage
[default
=yes]
1470 --enable-symvers=STYLE enables symbol versioning of the shared library
1472 --disable-werror disable building with
-Werror
1473 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1476 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1477 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1478 --with-toolexeclibdir=DIR
1479 install libraries built with a cross compiler within
1481 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1483 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1484 --with-gcc-major-version-only
1485 use only GCC major number
in filesystem paths
1487 Some influential environment variables
:
1488 CC C compiler
command
1489 CFLAGS C compiler flags
1490 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1491 nonstandard directory
<lib dir
>
1492 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1493 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1494 you have headers
in a nonstandard directory
<include dir
>
1495 CXX C
++ compiler
command
1496 CXXFLAGS C
++ compiler flags
1497 CCAS assembler compiler
command (defaults to CC
)
1498 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1500 CXXCPP C
++ preprocessor
1502 Use these variables to override the choices made by
`configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1505 Report bugs to the package provider.
1506 GNU TM Runtime Library home page: <http://www.gnu.org/software/libitm/>.
1507 General help using GNU software: <http://www.gnu.org/gethelp/>.
1512 if test "$ac_init_help" = "recursive"; then
1513 # If there are subdirs, report their specific --help.
1514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1515 test -d "$ac_dir" ||
1516 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1524 # A ".." for each directory in $ac_dir_suffix.
1525 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1526 case $ac_top_builddir_sub in
1527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1531 ac_abs_top_builddir=$ac_pwd
1532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1533 # for backward compatibility:
1534 ac_top_builddir=$ac_top_build_prefix
1537 .) # We are building in place.
1539 ac_top_srcdir=$ac_top_builddir_sub
1540 ac_abs_top_srcdir=$ac_pwd ;;
1541 [\\/]* | ?:[\\/]* ) # Absolute name.
1542 ac_srcdir=$srcdir$ac_dir_suffix;
1543 ac_top_srcdir=$srcdir
1544 ac_abs_top_srcdir=$srcdir ;;
1546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1547 ac_top_srcdir=$ac_top_build_prefix$srcdir
1548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1552 cd "$ac_dir" || { ac_status=$?; continue; }
1553 # Check for guested configure.
1554 if test -f "$ac_srcdir/configure.gnu"; then
1556 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1557 elif test -f "$ac_srcdir/configure"; then
1559 $SHELL "$ac_srcdir/configure" --help=recursive
1561 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563 cd "$ac_pwd" || { ac_status=$?; break; }
1567 test -n "$ac_init_help" && exit $ac_status
1568 if $ac_init_version; then
1570 GNU TM Runtime Library configure 1.0
1571 generated by GNU Autoconf 2.69
1573 Copyright (C) 2012 Free Software Foundation, Inc.
1574 This configure script is free software; the Free Software Foundation
1575 gives unlimited permission to copy, distribute and modify it.
1580 ## ------------------------ ##
1581 ## Autoconf initialization. ##
1582 ## ------------------------ ##
1584 # ac_fn_c_try_compile LINENO
1585 # --------------------------
1586 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1587 ac_fn_c_try_compile ()
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext
1591 if { { ac_try="$ac_compile"
1593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1594 *) ac_try_echo
=$ac_try;;
1596 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_compile") 2>conftest.err
1600 if test -s conftest.err
; then
1601 grep -v '^ *+' conftest.err
>conftest.er1
1602 cat conftest.er1
>&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest.
$ac_objext; then :
1612 $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.
$ac_ext >&5
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status
$ac_retval
1620 } # ac_fn_c_try_compile
1622 # ac_fn_cxx_try_compile LINENO
1623 # ----------------------------
1624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1625 ac_fn_cxx_try_compile
()
1627 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1628 rm -f conftest.
$ac_objext
1629 if { { ac_try
="$ac_compile"
1631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_compile") 2>conftest.err
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && {
1645 test -z "$ac_cxx_werror_flag" ||
1646 test ! -s conftest.err
1647 } && test -s conftest.$ac_objext; then :
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 as_fn_set_status $ac_retval
1658 } # ac_fn_cxx_try_compile
1660 # ac_fn_c_try_link LINENO
1661 # -----------------------
1662 # Try to link conftest.$ac_ext, and return whether this succeeded.
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 rm -f conftest.$ac_objext conftest$ac_exeext
1667 if { { ac_try="$ac_link"
1669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1670 *) ac_try_echo
=$ac_try;;
1672 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_link") 2>conftest.err
1676 if test -s conftest.err
; then
1677 grep -v '^ *+' conftest.err
>conftest.er1
1678 cat conftest.er1
>&5
1679 mv -f conftest.er1 conftest.err
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } && {
1683 test -z "$ac_c_werror_flag" ||
1684 test ! -s conftest.err
1685 } && test -s conftest
$ac_exeext && {
1686 test "$cross_compiling" = yes ||
1687 test -x conftest
$ac_exeext
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.
$ac_ext >&5
1696 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1697 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1698 # interfere with the next link command; also delete a directory that is
1699 # left behind by Apple's compiler. We do this before executing the actions.
1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status
$ac_retval
1704 } # ac_fn_c_try_link
1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1707 # -------------------------------------------------------
1708 # Tests whether HEADER exists and can be compiled using the include files in
1709 # INCLUDES, setting the cache variable VAR accordingly.
1710 ac_fn_c_check_header_compile
()
1712 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if eval \
${$3+:} false
; then :
1716 $as_echo_n "(cached) " >&6
1718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1723 if ac_fn_c_try_compile
"$LINENO"; then :
1728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732 $as_echo "$ac_res" >&6; }
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 } # ac_fn_c_check_header_compile
1737 # ac_fn_c_try_cpp LINENO
1738 # ----------------------
1739 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1742 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1743 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } > conftest.i && {
1759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1760 test ! -s conftest.err
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770 as_fn_set_status $ac_retval
1774 # ac_fn_c_try_run LINENO
1775 # ----------------------
1776 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1777 # that executables *can* be run.
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 if { { ac_try="$ac_link"
1783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1784 *) ac_try_echo
=$ac_try;;
1786 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_link") 2>&5
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1792 { { case "(($ac_try" in
1793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_try") 2>&5
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; }; }; then :
1804 $as_echo "$as_me: program exited with status $ac_status" >&5
1805 $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.$ac_ext >&5
1808 ac_retval=$ac_status
1810 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812 as_fn_set_status $ac_retval
1816 # ac_fn_c_check_func LINENO FUNC VAR
1817 # ----------------------------------
1818 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1819 ac_fn_c_check_func ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if eval \${$3+:} false; then :
1825 $as_echo_n "(cached) " >&6
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1831 #define $2 innocuous_$2
1833 /* System header to define __stub macros and hopefully few prototypes,
1834 which can conflict with char $2 (); below.
1835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1836 <limits.h> exists even on freestanding compilers. */
1839 # include <limits.h>
1841 # include <assert.h>
1846 /* Override any GCC internal prototype to avoid an error.
1847 Use char because int might match the return type of a GCC
1848 builtin and then its argument prototype would still apply. */
1853 /* The GNU C library defines this for functions which it implements
1854 to always fail with ENOSYS. Some functions are actually named
1855 something starting with __ and the normal name is an alias. */
1856 #if defined __stub_$2 || defined __stub___$2
1868 if ac_fn_c_try_link "$LINENO"; then :
1873 rm -f core conftest.err conftest.$ac_objext \
1874 conftest$ac_exeext conftest.$ac_ext
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 } # ac_fn_c_check_func
1883 # ac_fn_cxx_try_cpp LINENO
1884 # ------------------------
1885 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1886 ac_fn_cxx_try_cpp ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 if { { ac_try="$ac_cpp conftest.$ac_ext"
1891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1892 *) ac_try_echo
=$ac_try;;
1894 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1898 if test -s conftest.err
; then
1899 grep -v '^ *+' conftest.err
>conftest.er1
1900 cat conftest.er1
>&5
1901 mv -f conftest.er1 conftest.err
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; } > conftest.i
&& {
1905 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1906 test ! -s conftest.err
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.
$ac_ext >&5
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 as_fn_set_status
$ac_retval
1918 } # ac_fn_cxx_try_cpp
1920 # ac_fn_cxx_try_link LINENO
1921 # -------------------------
1922 # Try to link conftest.$ac_ext, and return whether this succeeded.
1923 ac_fn_cxx_try_link
()
1925 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1926 rm -f conftest.
$ac_objext conftest
$ac_exeext
1927 if { { ac_try
="$ac_link"
1929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1930 *) ac_try_echo=$ac_try;;
1932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1933 $as_echo "$ac_try_echo"; } >&5
1934 (eval "$ac_link") 2>conftest.err
1936 if test -s conftest.err; then
1937 grep -v '^ *+' conftest.err >conftest.er1
1938 cat conftest.er1 >&5
1939 mv -f conftest.er1 conftest.err
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; } && {
1943 test -z "$ac_cxx_werror_flag" ||
1944 test ! -s conftest.err
1945 } && test -s conftest$ac_exeext && {
1946 test "$cross_compiling" = yes ||
1947 test -x conftest$ac_exeext
1951 $as_echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.$ac_ext >&5
1956 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1957 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1958 # interfere with the next link command; also delete a directory that is
1959 # left behind by Apple's compiler. We do this before executing the actions.
1960 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962 as_fn_set_status $ac_retval
1964 } # ac_fn_cxx_try_link
1966 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1967 # -------------------------------------------------------
1968 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1969 # the include files in INCLUDES and setting the cache variable VAR
1971 ac_fn_c_check_header_mongrel ()
1973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974 if eval \${$3+:} false; then :
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976 $as_echo_n "checking for $2... " >&6; }
1977 if eval \${$3+:} false; then :
1978 $as_echo_n "(cached) " >&6
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982 $as_echo "$ac_res" >&6; }
1984 # Is the header compilable?
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1986 $as_echo_n "checking $2 usability... " >&6; }
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1992 if ac_fn_c_try_compile "$LINENO"; then :
1993 ac_header_compiler=yes
1995 ac_header_compiler=no
1997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1999 $as_echo "$ac_header_compiler" >&6; }
2001 # Is the header present?
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2003 $as_echo_n "checking $2 presence... " >&6; }
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2008 if ac_fn_c_try_cpp "$LINENO"; then :
2009 ac_header_preproc=yes
2011 ac_header_preproc=no
2013 rm -f conftest.err conftest.i conftest.$ac_ext
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2015 $as_echo "$ac_header_preproc" >&6; }
2017 # So? What about this header?
2018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2021 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2023 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2027 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2029 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2031 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2033 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2035 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2039 $as_echo_n "checking for $2... " >&6; }
2040 if eval \${$3+:} false; then :
2041 $as_echo_n "(cached) " >&6
2043 eval "$3=\$ac_header_compiler"
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 $as_echo "$ac_res" >&6; }
2049 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2051 } # ac_fn_c_check_header_mongrel
2053 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2054 # -------------------------------------------
2055 # Tests whether TYPE exists after having included INCLUDES, setting cache
2056 # variable VAR accordingly.
2057 ac_fn_c_check_type ()
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2061 $as_echo_n "checking for $2... " >&6; }
2062 if eval \${$3+:} false; then :
2063 $as_echo_n "(cached) " >&6
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2078 if ac_fn_c_try_compile "$LINENO"; then :
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2091 if ac_fn_c_try_compile "$LINENO"; then :
2096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2102 $as_echo "$ac_res" >&6; }
2103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105 } # ac_fn_c_check_type
2107 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2108 # --------------------------------------------
2109 # Tries to find the compile-time value of EXPR in a program that includes
2110 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2112 ac_fn_c_compute_int ()
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 if test "$cross_compiling" = yes; then
2116 # Depending upon the size, compute the lo and hi bounds.
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2123 static int test_array [1 - 2 * !(($2) >= 0)];
2125 return test_array [0];
2131 if ac_fn_c_try_compile "$LINENO"; then :
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2140 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2142 return test_array [0];
2148 if ac_fn_c_try_compile "$LINENO"; then :
2149 ac_hi=$ac_mid; break
2151 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2152 if test $ac_lo -le $ac_mid; then
2156 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2162 /* end confdefs.h. */
2167 static int test_array [1 - 2 * !(($2) < 0)];
2169 return test_array [0];
2175 if ac_fn_c_try_compile "$LINENO"; then :
2178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2179 /* end confdefs.h. */
2184 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2186 return test_array [0];
2192 if ac_fn_c_try_compile "$LINENO"; then :
2193 ac_lo=$ac_mid; break
2195 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2196 if test $ac_mid -le $ac_hi; then
2200 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 # Binary search between lo and hi bounds.
2211 while test "x$ac_lo" != "x$ac_hi"; do
2212 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2219 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2221 return test_array [0];
2227 if ac_fn_c_try_compile "$LINENO"; then :
2230 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2235 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240 /* end confdefs.h. */
2242 static long int longval () { return $2; }
2243 static unsigned long int ulongval () { return $2; }
2250 FILE *f = fopen ("conftest.val", "w");
2255 long int i = longval ();
2258 fprintf (f, "%ld", i);
2262 unsigned long int i = ulongval ();
2265 fprintf (f, "%lu", i);
2267 /* Do not output a trailing newline, as this causes \r\n confusion
2268 on some platforms. */
2269 return ferror (f) || fclose (f) != 0;
2275 if ac_fn_c_try_run "$LINENO"; then :
2276 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2280 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2281 conftest.$ac_objext conftest.beam conftest.$ac_ext
2285 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2286 as_fn_set_status $ac_retval
2288 } # ac_fn_c_compute_int
2290 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2291 # ---------------------------------------------
2292 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2294 ac_fn_c_check_decl ()
2296 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2297 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2298 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2300 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2301 if eval \${$3+:} false; then :
2302 $as_echo_n "(cached) " >&6
2304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2305 /* end confdefs.h. */
2310 #ifndef $as_decl_name
2312 (void) $as_decl_use;
2314 (void) $as_decl_name;
2322 if ac_fn_c_try_compile "$LINENO"; then :
2327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2331 $as_echo "$ac_res" >&6; }
2332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2334 } # ac_fn_c_check_decl
2335 cat >config.log <<_ACEOF
2336 This file contains any messages produced by compilers while
2337 running configure, to aid debugging if configure makes a mistake.
2339 It was created by GNU TM Runtime Library $as_me 1.0, which was
2340 generated by GNU Autoconf 2.69. Invocation command line was
2352 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2353 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2354 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2355 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2356 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2358 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2359 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2361 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2362 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2363 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2364 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2365 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2366 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2367 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir=.
2376 $as_echo "PATH: $as_dir"
2392 # Keep a trace of the command line.
2393 # Strip out --no-create and --no-recursion so they do not pile up.
2394 # Strip out --silent because we don't want to record it for future runs.
2395 # Also quote any args containing shell meta-characters.
2396 # Make two passes to allow for proper duplicate-argument suppression.
2400 ac_must_keep_next=false
2406 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2407 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2408 | -silent | --silent | --silen | --sile | --sil)
2411 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2414 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2416 as_fn_append ac_configure_args1 " '$ac_arg'"
2417 if test $ac_must_keep_next = true; then
2418 ac_must_keep_next=false # Got value, back to normal.
2421 *=* | --config-cache | -C | -disable-* | --disable-* \
2422 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2423 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2424 | -with-* | --with-* | -without-* | --without-* | --x)
2425 case "$ac_configure_args0 " in
2426 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2429 -* ) ac_must_keep_next=true ;;
2432 as_fn_append ac_configure_args " '$ac_arg'"
2437 { ac_configure_args0=; unset ac_configure_args0;}
2438 { ac_configure_args1=; unset ac_configure_args1;}
2440 # When interrupted or exit'd, cleanup temporary files, and complete
2441 # config.log. We remove comments because anyway the quotes in there
2442 # would cause problems or look ugly.
2443 # WARNING: Use '\'' to represent an apostrophe within the trap.
2444 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2445 trap 'exit_status=$?
2446 # Save into config.log some information that might help in debugging.
2450 $as_echo "## ---------------- ##
2451 ## Cache variables. ##
2452 ## ---------------- ##"
2454 # The following way of writing the cache mishandles newlines in values,
2456 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2457 eval ac_val=\$$ac_var
2461 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2465 _ | IFS | as_nl) ;; #(
2466 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2467 *) { eval $ac_var=; unset $ac_var;} ;;
2472 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2473 *${as_nl}ac_space=\ *)
2475 "s/'\''/'\''\\\\'\'''\''/g;
2476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2479 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2486 $as_echo "## ----------------- ##
2487 ## Output variables. ##
2488 ## ----------------- ##"
2490 for ac_var in $ac_subst_vars
2492 eval ac_val=\$$ac_var
2494 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2496 $as_echo "$ac_var='\''$ac_val'\''"
2500 if test -n "$ac_subst_files"; then
2501 $as_echo "## ------------------- ##
2502 ## File substitutions. ##
2503 ## ------------------- ##"
2505 for ac_var in $ac_subst_files
2507 eval ac_val=\$$ac_var
2509 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2511 $as_echo "$ac_var='\''$ac_val'\''"
2516 if test -s confdefs.h; then
2517 $as_echo "## ----------- ##
2524 test "$ac_signal" != 0 &&
2525 $as_echo "$as_me: caught signal $ac_signal"
2526 $as_echo "$as_me: exit $exit_status"
2528 rm -f core *.core core.conftest.* &&
2529 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2532 for ac_signal in 1 2 13 15; do
2533 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2537 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2538 rm -f -r conftest* confdefs.h
2540 $as_echo "/* confdefs.h */" > confdefs.h
2542 # Predefined preprocessor variables.
2544 cat >>confdefs.h <<_ACEOF
2545 #define PACKAGE_NAME "$PACKAGE_NAME"
2548 cat >>confdefs.h <<_ACEOF
2549 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2552 cat >>confdefs.h <<_ACEOF
2553 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2556 cat >>confdefs.h <<_ACEOF
2557 #define PACKAGE_STRING "$PACKAGE_STRING"
2560 cat >>confdefs.h <<_ACEOF
2561 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2564 cat >>confdefs.h <<_ACEOF
2565 #define PACKAGE_URL "$PACKAGE_URL"
2569 # Let the site file select an alternate cache file if it wants to.
2570 # Prefer an explicitly selected file to automatically selected ones.
2573 if test -n "$CONFIG_SITE"; then
2574 # We do not want a PATH search for config.site.
2575 case $CONFIG_SITE in #((
2576 -*) ac_site_file1=./$CONFIG_SITE;;
2577 */*) ac_site_file1=$CONFIG_SITE;;
2578 *) ac_site_file1=./$CONFIG_SITE;;
2580 elif test "x$prefix" != xNONE; then
2581 ac_site_file1=$prefix/share/config.site
2582 ac_site_file2=$prefix/etc/config.site
2584 ac_site_file1=$ac_default_prefix/share/config.site
2585 ac_site_file2=$ac_default_prefix/etc/config.site
2587 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2589 test "x$ac_site_file" = xNONE && continue
2590 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2592 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2593 sed 's/^/| /' "$ac_site_file" >&5
2595 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2597 as_fn_error $? "failed to load site
script $ac_site_file
2598 See \
`config.log' for more details" "$LINENO" 5; }
2602 if test -r "$cache_file"; then
2603 # Some versions of bash will fail to source /dev/null (special files
2604 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2605 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2607 $as_echo "$as_me: loading cache $cache_file" >&6;}
2609 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2610 *) . "./$cache_file";;
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2615 $as_echo "$as_me: creating cache $cache_file" >&6;}
2619 # Check that the precious variables saved in the cache have kept the same
2621 ac_cache_corrupted=false
2622 for ac_var in $ac_precious_vars; do
2623 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2624 eval ac_new_set=\$ac_env_${ac_var}_set
2625 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2626 eval ac_new_val=\$ac_env_${ac_var}_value
2627 case $ac_old_set,$ac_new_set in
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2630 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2631 ac_cache_corrupted=: ;;
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2634 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2635 ac_cache_corrupted=: ;;
2638 if test "x$ac_old_val" != "x$ac_new_val"; then
2639 # differences in whitespace do not lead to failure.
2640 ac_old_val_w=`echo x
$ac_old_val`
2641 ac_new_val_w=`echo x
$ac_new_val`
2642 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2644 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2645 ac_cache_corrupted=:
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2648 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2649 eval $ac_var=\$ac_old_val
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2652 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2654 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2657 # Pass precious variables to config.status.
2658 if test "$ac_new_set" = set; then
2660 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2661 *) ac_arg=$ac_var=$ac_new_val ;;
2663 case " $ac_configure_args " in
2664 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2665 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2669 if $ac_cache_corrupted; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2673 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2674 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2676 ## -------------------- ##
2677 ## Main body of script. ##
2678 ## -------------------- ##
2681 ac_cpp='$CPP $CPPFLAGS'
2682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2690 ac_config_headers="$ac_config_headers config.h"
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2698 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2699 # Check whether --enable-version-specific-runtime-libs was given.
2700 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2701 enableval=$enable_version_specific_runtime_libs;
2702 case "$enableval" in
2704 *) as_fn_error $? "Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2708 enable_version_specific_runtime_libs=no
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2713 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2715 # We would like our source tree to be readonly. However when releases or
2716 # pre-releases are generated, the flex/bison generated files as well as the
2717 # various formats of manuals need to be included along with the rest of the
2718 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2721 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2722 # Check whether --enable-generated-files-in-srcdir was given.
2723 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2724 enableval=$enable_generated_files_in_srcdir;
2725 case "$enableval" in
2727 *) as_fn_error $? "Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2731 enable_generated_files_in_srcdir=no
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2736 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2737 if test "$enable_generated_files_in_srcdir" = yes; then
2750 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2752 # You will slowly go insane if you do not grok the following fact: when
2753 # building this library, the top-level /target/ becomes the library's /host/.
2755 # configure then causes --target to default to --host, exactly like any
2756 # other package using autoconf. Therefore, 'target' and 'host' will
2757 # always be the same. This makes sense both for native and cross compilers
2758 # just think about it for a little while. :-)
2760 # Also, if this library is being configured as part of a cross compiler, the
2761 # top-level configure script will pass the "real" host as $with_cross_host.
2763 # Do not delete or change the following two lines. For why, see
2764 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2766 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2767 if test -f "$ac_dir/install-sh"; then
2769 ac_install_sh="$ac_aux_dir/install-sh -c"
2771 elif test -f "$ac_dir/install.sh"; then
2773 ac_install_sh="$ac_aux_dir/install.sh -c"
2775 elif test -f "$ac_dir/shtool"; then
2777 ac_install_sh="$ac_aux_dir/shtool install -c"
2781 if test -z "$ac_aux_dir"; then
2782 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2785 # These three variables are undocumented and unsupported,
2786 # and are intended to be withdrawn in a future Autoconf release.
2787 # They can cause serious problems if a builder's source tree is in a directory
2788 # whose full name contains unusual characters.
2789 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2790 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2791 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2794 # Make sure we can run config.sub.
2795 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2796 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2799 $as_echo_n "checking build system type... " >&6; }
2800 if ${ac_cv_build+:} false; then :
2801 $as_echo_n "(cached) " >&6
2803 ac_build_alias=$build_alias
2804 test "x$ac_build_alias" = x &&
2805 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2806 test "x$ac_build_alias" = x &&
2807 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2808 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2809 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2813 $as_echo "$ac_cv_build" >&6; }
2814 case $ac_cv_build in
2816 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2819 ac_save_IFS=$IFS; IFS='-'
2825 # Remember, the first character of IFS is used to create $*,
2826 # except with old shells:
2829 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2833 $as_echo_n "checking host system type... " >&6; }
2834 if ${ac_cv_host+:} false; then :
2835 $as_echo_n "(cached) " >&6
2837 if test "x$host_alias" = x; then
2838 ac_cv_host=$ac_cv_build
2840 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2841 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2846 $as_echo "$ac_cv_host" >&6; }
2849 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2852 ac_save_IFS=$IFS; IFS='-'
2858 # Remember, the first character of IFS is used to create $*,
2859 # except with old shells:
2862 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2866 $as_echo_n "checking target system type... " >&6; }
2867 if ${ac_cv_target+:} false; then :
2868 $as_echo_n "(cached) " >&6
2870 if test "x$target_alias" = x; then
2871 ac_cv_target=$ac_cv_host
2873 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2874 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2879 $as_echo "$ac_cv_target" >&6; }
2880 case $ac_cv_target in
2882 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2884 target=$ac_cv_target
2885 ac_save_IFS=$IFS; IFS='-'
2891 # Remember, the first character of IFS is used to create $*,
2892 # except with old shells:
2895 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2898 # The aliases save the names the user supplied, while $host etc.
2899 # will get canonicalized.
2900 test -n "$target_alias" &&
2901 test "$program_prefix$program_suffix$program_transform_name" = \
2903 program_prefix=${target_alias}-
2905 target_alias=${target_alias-$host_alias}
2907 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2908 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2909 # 1.9.0: minimum required version
2910 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2911 # of other PACKAGE_* variables will, however, and there's nothing
2912 # we can do about that; they come from AC_INIT).
2913 # no-dist: we don't want 'dist' and related rules.
2914 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2915 # file in the top srcdir, etc, etc), so stop complaining.
2916 # -Wall: turns on all automake warnings...
2917 # -Wno-portability: ...except this one, since GNU make is required.
2918 # -Wno-override: ... and this one, since we do want this in testsuite.
2919 am__api_version='1.15'
2921 # Find a good install program. We prefer a C program (faster),
2922 # so one script is as good as another. But avoid the broken or
2923 # incompatible versions:
2924 # SysV /etc/install, /usr/sbin/install
2925 # SunOS /usr/etc/install
2926 # IRIX /sbin/install
2928 # AmigaOS /C/install, which installs bootblocks on floppy discs
2929 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2930 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2931 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2932 # OS/2's system install, which has a completely different semantic
2933 # ./install, which can be erroneously created by make from ./install.sh.
2934 # Reject install programs that cannot install multiple files.
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2936 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2937 if test -z "$INSTALL"; then
2938 if ${ac_cv_path_install+:} false; then :
2939 $as_echo_n "(cached) " >&6
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir=.
2946 # Account for people who put trailing slashes in PATH elements.
2947 case $as_dir/ in #((
2948 ./ | .// | /[cC]/* | \
2949 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2950 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2953 # OSF1 and SCO ODT 3.0 have their own names for install.
2954 # Don't use installbsd from OSF since it installs stuff as root
2956 for ac_prog in ginstall scoinst install; do
2957 for ac_exec_ext in '' $ac_executable_extensions; do
2958 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2959 if test $ac_prog = install &&
2960 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2961 # AIX install. It has an incompatible calling convention.
2963 elif test $ac_prog = install &&
2964 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2965 # program-specific install script used by HP pwplus--don't use.
2968 rm -rf conftest.one conftest.two conftest.dir
2969 echo one > conftest.one
2970 echo two > conftest.two
2972 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2973 test -s conftest.one && test -s conftest.two &&
2974 test -s conftest.dir/conftest.one &&
2975 test -s conftest.dir/conftest.two
2977 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2990 rm -rf conftest.one conftest.two conftest.dir
2993 if test "${ac_cv_path_install+set}" = set; then
2994 INSTALL=$ac_cv_path_install
2996 # As a last resort, use the slow shell script. Don't cache a
2997 # value for INSTALL within a source directory, because that will
2998 # break other packages using the cache if that directory is
2999 # removed, or if the value is a relative name.
3000 INSTALL=$ac_install_sh
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3004 $as_echo "$INSTALL" >&6; }
3006 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3007 # It thinks the first close brace ends the variable substitution.
3008 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3010 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3012 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3015 $as_echo_n "checking whether build environment is sane... " >&6; }
3016 # Reject unsafe characters in $srcdir or the absolute working directory
3017 # name. Accept space and tab only in the latter.
3021 *[\\\"\#\$\&\'\`$am_lf]*)
3022 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3025 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3026 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3029 # Do 'set' in a subshell so we don't clobber the current shell's
3030 # arguments. Must try -L first in case configure is actually a
3031 # symlink; some systems play weird games with the mod time of symlinks
3032 # (eg FreeBSD returns the mod time of the symlink's containing
3036 for am_try
in 1 2; do
3037 echo "timestamp, slept: $am_has_slept" > conftest.
file
3038 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3039 if test "$*" = "X"; then
3041 set X
`ls -t "$srcdir/configure" conftest.file`
3043 if test "$*" != "X $srcdir/configure conftest.file" \
3044 && test "$*" != "X conftest.file $srcdir/configure"; then
3046 # If neither matched, then we have a broken ls. This can happen
3047 # if, for instance, CONFIG_SHELL is bash and it inherits a
3048 # broken ls alias from the environment. This has actually
3049 # happened. Such a system could not be considered "sane".
3050 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3051 alias in your environment" "$LINENO" 5
3053 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3060 test "$2" = conftest.
file
3066 as_fn_error $?
"newly created file is older than distributed files!
3067 Check your system clock" "$LINENO" 5
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3070 $as_echo "yes" >&6; }
3071 # If we didn't sleep, we still need to ensure time stamps of config.status and
3072 # generated files are strictly newer.
3074 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3081 test "$program_prefix" != NONE
&&
3082 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3083 # Use a double $ so make ignores it.
3084 test "$program_suffix" != NONE
&&
3085 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3086 # Double any \ or $.
3087 # By default was `s,x,x', remove it if useless.
3088 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3089 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3091 # Expand $ac_aux_dir to an absolute path.
3092 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3094 if test x
"${MISSING+set}" != xset
; then
3097 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3099 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3102 # Use eval to expand $SHELL
3103 if eval "$MISSING --is-lightweight"; then
3104 am_missing_run
="$MISSING "
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3108 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3111 if test x
"${install_sh+set}" != xset
; then
3114 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3116 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3120 # Installed binaries are usually stripped using 'strip' when the user
3121 # run "make install-strip". However 'strip' might not be the right
3122 # tool to use in cross-compilation environments, therefore Automake
3123 # will honor the 'STRIP' environment variable to overrule this program.
3124 if test "$cross_compiling" != no
; then
3125 if test -n "$ac_tool_prefix"; then
3126 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3127 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3129 $as_echo_n "checking for $ac_word... " >&6; }
3130 if ${ac_cv_prog_STRIP+:} false
; then :
3131 $as_echo_n "(cached) " >&6
3133 if test -n "$STRIP"; then
3134 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3140 test -z "$as_dir" && as_dir
=.
3141 for ac_exec_ext
in '' $ac_executable_extensions; do
3142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3143 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 STRIP
=$ac_cv_prog_STRIP
3154 if test -n "$STRIP"; then
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3156 $as_echo "$STRIP" >&6; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 $as_echo "no" >&6; }
3164 if test -z "$ac_cv_prog_STRIP"; then
3166 # Extract the first word of "strip", so it can be a program name with args.
3167 set dummy strip
; ac_word
=$2
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3169 $as_echo_n "checking for $ac_word... " >&6; }
3170 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3171 $as_echo_n "(cached) " >&6
3173 if test -n "$ac_ct_STRIP"; then
3174 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3180 test -z "$as_dir" && as_dir
=.
3181 for ac_exec_ext
in '' $ac_executable_extensions; do
3182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3183 ac_cv_prog_ac_ct_STRIP
="strip"
3184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3194 if test -n "$ac_ct_STRIP"; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3196 $as_echo "$ac_ct_STRIP" >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3202 if test "x$ac_ct_STRIP" = x
; then
3205 case $cross_compiling:$ac_tool_warned in
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3209 ac_tool_warned
=yes ;;
3214 STRIP
="$ac_cv_prog_STRIP"
3218 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3221 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3222 if test -z "$MKDIR_P"; then
3223 if ${ac_cv_path_mkdir+:} false
; then :
3224 $as_echo_n "(cached) " >&6
3226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3227 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3230 test -z "$as_dir" && as_dir
=.
3231 for ac_prog
in mkdir gmkdir
; do
3232 for ac_exec_ext
in '' $ac_executable_extensions; do
3233 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3234 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3235 'mkdir (GNU coreutils) '* | \
3236 'mkdir (coreutils) '* | \
3237 'mkdir (fileutils) '4.1*)
3238 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3248 test -d .
/--version && rmdir .
/--version
3249 if test "${ac_cv_path_mkdir+set}" = set; then
3250 MKDIR_P
="$ac_cv_path_mkdir -p"
3252 # As a last resort, use the slow shell script. Don't cache a
3253 # value for MKDIR_P within a source directory, because that will
3254 # break other packages using the cache if that directory is
3255 # removed, or if the value is a relative name.
3256 MKDIR_P
="$ac_install_sh -d"
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3260 $as_echo "$MKDIR_P" >&6; }
3262 for ac_prog
in gawk mawk nawk
awk
3264 # Extract the first word of "$ac_prog", so it can be a program name with args.
3265 set dummy
$ac_prog; ac_word
=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_AWK+:} false
; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$AWK"; then
3272 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir
=.
3279 for ac_exec_ext
in '' $ac_executable_extensions; do
3280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3281 ac_cv_prog_AWK
="$ac_prog"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 if test -n "$AWK"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3294 $as_echo "$AWK" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3301 test -n "$AWK" && break
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3305 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3307 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3308 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3309 $as_echo_n "(cached) " >&6
3311 cat >conftest.
make <<\_ACEOF
3314 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3316 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3317 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3319 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3321 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3325 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3327 $as_echo "yes" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3332 SET_MAKE
="MAKE=${MAKE-make}"
3335 rm -rf .tst
2>/dev
/null
3336 mkdir .tst
2>/dev
/null
3337 if test -d .tst
; then
3342 rmdir .tst
2>/dev
/null
3344 # Check whether --enable-silent-rules was given.
3345 if test "${enable_silent_rules+set}" = set; then :
3346 enableval
=$enable_silent_rules;
3349 case $enable_silent_rules in # (((
3350 yes) AM_DEFAULT_VERBOSITY
=0;;
3351 no
) AM_DEFAULT_VERBOSITY
=1;;
3352 *) AM_DEFAULT_VERBOSITY
=1;;
3354 am_make
=${MAKE-make}
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3356 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3357 if ${am_cv_make_support_nested_variables+:} false
; then :
3358 $as_echo_n "(cached) " >&6
3360 if $as_echo 'TRUE=$(BAR$(V))
3366 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3367 am_cv_make_support_nested_variables
=yes
3369 am_cv_make_support_nested_variables
=no
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3373 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3374 if test $am_cv_make_support_nested_variables = yes; then
3376 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3378 AM_V
=$AM_DEFAULT_VERBOSITY
3379 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3383 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3384 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3385 # is not polluted with repeated "-I."
3386 am__isrc
=' -I$(srcdir)'
3387 # test to see if srcdir already configured
3388 if test -f $srcdir/config.status
; then
3389 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3393 # test whether we have cygpath
3394 if test -z "$CYGPATH_W"; then
3395 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3396 CYGPATH_W
='cygpath -w'
3403 # Define the identity of the package.
3408 cat >>confdefs.h
<<_ACEOF
3409 #define PACKAGE "$PACKAGE"
3413 cat >>confdefs.h
<<_ACEOF
3414 #define VERSION "$VERSION"
3417 # Some tools Automake needs.
3419 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3422 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3425 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3428 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3431 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3433 # For better backward compatibility. To be removed once Automake 1.9.x
3434 # dies out for good. For more background, see:
3435 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3436 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3437 mkdir_p
='$(MKDIR_P)'
3439 # We need awk for the "check" target (and possibly the TAP driver). The
3440 # system "awk" is bad on some platforms.
3441 # Always define AMTAR for backward compatibility. Yes, it's still used
3442 # in the wild :-( We should find a proper way to deprecate it ...
3446 # We'll loop over all known methods to create a tar archive until one works.
3447 _am_tools
='gnutar pax cpio none'
3449 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3456 # POSIX will say in a future version that running "rm -f" with no argument
3457 # is OK; and we want to be able to make that assumption in our Makefile
3458 # recipes. So use an aggressive probe to check that the usage we want is
3459 # actually supported "in the wild" to an acceptable degree.
3460 # See automake bug#10828.
3461 # To make any issue more visible, cause the running configure to be aborted
3462 # by default if the 'rm' program in use doesn't match our expectations; the
3463 # user can still override this though.
3464 if rm -f && rm -fr && rm -rf; then : OK
; else
3468 Your 'rm' program seems unable to run without file operands specified
3469 on the command line, even when the '-f' option is present. This is contrary
3470 to the behaviour of most rm programs out there, and not conforming with
3471 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3473 Please tell bug-automake@gnu.org about your system, including the value
3474 of your $PATH and any error possibly output before this message. This
3475 can help us improve future automake versions.
3478 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3479 echo 'Configuration will proceed anyway, since you have set the' >&2
3480 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3484 Aborting the configuration process, to ensure you take notice of the issue.
3486 You can download and install GNU coreutils to get an 'rm' implementation
3487 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3489 If you want to complete the configuration process using your problematic
3490 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3491 to "yes", and re-run configure.
3494 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3498 # Default to --enable-multilib
3499 # Check whether --enable-multilib was given.
3500 if test "${enable_multilib+set}" = set; then :
3501 enableval
=$enable_multilib; case "$enableval" in
3502 yes) multilib
=yes ;;
3504 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3511 # We may get other options which we leave undocumented:
3512 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3513 # See config-ml.in if you want the gory details.
3515 if test "$srcdir" = "."; then
3516 if test "$with_target_subdir" != "."; then
3517 multi_basedir
="$srcdir/$with_multisrctop../.."
3519 multi_basedir
="$srcdir/$with_multisrctop.."
3522 multi_basedir
="$srcdir/.."
3526 # Even if the default multilib is not a cross compilation,
3527 # it may be that some of the other multilibs are.
3528 if test $cross_compiling = no
&& test $multilib = yes \
3529 && test "x${with_multisubdir}" != x
; then
3530 cross_compiling
=maybe
3533 ac_config_commands
="$ac_config_commands default-1"
3537 # Check whether --with-toolexeclibdir was given.
3538 if test "${with_toolexeclibdir+set}" = set; then :
3539 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
3543 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
3547 with_toolexeclibdir
=no
3552 # Calculate toolexeclibdir
3553 # Also toolexecdir, though it's only used in toolexeclibdir
3554 case ${enable_version_specific_runtime_libs} in
3556 # Need the gcc compiler version to know where to install libraries
3557 # and header files if --enable-version-specific-runtime-libs option
3559 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3560 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3563 if test -n "$with_cross_host" &&
3564 test x
"$with_cross_host" != x
"no"; then
3565 # Install a library built with a cross compiler in tooldir, not libdir.
3566 toolexecdir
='$(exec_prefix)/$(target_alias)'
3567 case ${with_toolexeclibdir} in
3569 toolexeclibdir
='$(toolexecdir)/lib'
3572 toolexeclibdir
=${with_toolexeclibdir}
3576 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3577 toolexeclibdir
='$(libdir)'
3579 multi_os_directory
=`$CC -print-multi-os-directory`
3580 case $multi_os_directory in
3581 .
) ;; # Avoid trailing /.
3582 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3589 # Check the compiler.
3590 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3591 # We must force CC to /not/ be precious variables; otherwise
3592 # the wrong, non-multilib-adjusted value will be used in multilibs.
3593 # As a side effect, we have to subst CFLAGS ourselves.
3598 ac_cpp
='$CPP $CPPFLAGS'
3599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3602 if test -n "$ac_tool_prefix"; then
3603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3604 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_CC+:} false
; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -n "$CC"; then
3611 ac_cv_prog_CC
="$CC" # Let the user override the test.
3613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir
=.
3618 for ac_exec_ext
in '' $ac_executable_extensions; do
3619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 if test -n "$CC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3633 $as_echo "$CC" >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3641 if test -z "$ac_cv_prog_CC"; then
3643 # Extract the first word of "gcc", so it can be a program name with args.
3644 set dummy gcc
; ac_word
=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3648 $as_echo_n "(cached) " >&6
3650 if test -n "$ac_ct_CC"; then
3651 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir
=.
3658 for ac_exec_ext
in '' $ac_executable_extensions; do
3659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3660 ac_cv_prog_ac_ct_CC
="gcc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3671 if test -n "$ac_ct_CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3673 $as_echo "$ac_ct_CC" >&6; }
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3679 if test "x$ac_ct_CC" = x
; then
3682 case $cross_compiling:$ac_tool_warned in
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3686 ac_tool_warned
=yes ;;
3694 if test -z "$CC"; then
3695 if test -n "$ac_tool_prefix"; then
3696 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3697 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if ${ac_cv_prog_CC+:} false
; then :
3701 $as_echo_n "(cached) " >&6
3703 if test -n "$CC"; then
3704 ac_cv_prog_CC
="$CC" # Let the user override the test.
3706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3710 test -z "$as_dir" && as_dir
=.
3711 for ac_exec_ext
in '' $ac_executable_extensions; do
3712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3713 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 if test -n "$CC"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 $as_echo "$CC" >&6; }
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3735 if test -z "$CC"; then
3736 # Extract the first word of "cc", so it can be a program name with args.
3737 set dummy cc
; ac_word
=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if ${ac_cv_prog_CC+:} false
; then :
3741 $as_echo_n "(cached) " >&6
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC
="$CC" # Let the user override the test.
3747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir
=.
3752 for ac_exec_ext
in '' $ac_executable_extensions; do
3753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3754 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3755 ac_prog_rejected
=yes
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 if test $ac_prog_rejected = yes; then
3767 # We found a bogon in the path, so make sure we never use it.
3768 set dummy
$ac_cv_prog_CC
3770 if test $# != 0; then
3771 # We chose a different compiler from the bogus one.
3772 # However, it has the same basename, so the bogon will be chosen
3773 # first if we set CC to just the basename; use the full file name.
3775 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3781 if test -n "$CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3783 $as_echo "$CC" >&6; }
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3791 if test -z "$CC"; then
3792 if test -n "$ac_tool_prefix"; then
3793 for ac_prog
in cl.exe
3795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3796 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_CC+:} false
; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$CC"; then
3803 ac_cv_prog_CC
="$CC" # Let the user override the test.
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir
=.
3810 for ac_exec_ext
in '' $ac_executable_extensions; do
3811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3832 test -n "$CC" && break
3835 if test -z "$CC"; then
3837 for ac_prog
in cl.exe
3839 # Extract the first word of "$ac_prog", so it can be a program name with args.
3840 set dummy
$ac_prog; ac_word
=$2
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3842 $as_echo_n "checking for $ac_word... " >&6; }
3843 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3844 $as_echo_n "(cached) " >&6
3846 if test -n "$ac_ct_CC"; then
3847 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3853 test -z "$as_dir" && as_dir
=.
3854 for ac_exec_ext
in '' $ac_executable_extensions; do
3855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3856 ac_cv_prog_ac_ct_CC
="$ac_prog"
3857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3866 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3867 if test -n "$ac_ct_CC"; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3869 $as_echo "$ac_ct_CC" >&6; }
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3876 test -n "$ac_ct_CC" && break
3879 if test "x$ac_ct_CC" = x
; then
3882 case $cross_compiling:$ac_tool_warned in
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3886 ac_tool_warned
=yes ;;
3895 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3897 as_fn_error $?
"no acceptable C compiler found in \$PATH
3898 See \`config.log' for more details" "$LINENO" 5; }
3900 # Provide some information about the compiler.
3901 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3904 for ac_option
in --version -v -V -qversion; do
3905 { { ac_try
="$ac_compiler $ac_option >&5"
3907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3908 *) ac_try_echo=$ac_try;;
3910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3911 $as_echo "$ac_try_echo"; } >&5
3912 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3914 if test -s conftest.err; then
3916 ... rest of stderr output deleted ...
3917 10q' conftest.err >conftest.er1
3918 cat conftest.er1 >&5
3920 rm -f conftest.er1 conftest.err
3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922 test $ac_status = 0; }
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3936 ac_clean_files_save=$ac_clean_files
3937 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3938 # Try to create an executable without -o first, disregard a.out.
3939 # It will help us diagnose broken compilers, and finding out an intuition
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3942 $as_echo_n "checking whether the C compiler works... " >&6; }
3943 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3945 # The possible output files:
3946 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3949 for ac_file in $ac_files
3952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3953 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3958 if { { ac_try="$ac_link_default"
3960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3961 *) ac_try_echo
=$ac_try;;
3963 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3964 $as_echo "$ac_try_echo"; } >&5
3965 (eval "$ac_link_default") 2>&5
3967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968 test $ac_status = 0; }; then :
3969 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3970 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3971 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3972 # so that the user can short-circuit this test for compilers unknown to
3974 for ac_file
in $ac_files ''
3976 test -f "$ac_file" ||
continue
3978 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3981 # We found the default executable, but exeext='' is most
3985 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3987 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3989 # We set ac_cv_exeext here because the later test for it is not
3990 # safe: cross compilers may not add the suffix if given an `-o'
3991 # argument, so we may need to know it at that point already.
3992 # Even if this section looks crufty: it has the advantage of
3999 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4004 if test -z "$ac_file"; then :
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4007 $as_echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.
$ac_ext >&5
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error
77 "C compiler cannot create executables
4013 See \`config.log' for more details" "$LINENO" 5; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4019 $as_echo_n "checking for C compiler default output file name... " >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4021 $as_echo "$ac_file" >&6; }
4022 ac_exeext
=$ac_cv_exeext
4024 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4025 ac_clean_files
=$ac_clean_files_save
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4027 $as_echo_n "checking for suffix of executables... " >&6; }
4028 if { { ac_try
="$ac_link"
4030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link") 2>&5
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4040 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4041 # work properly (i.e., refer to `conftest.exe'), while it won't with
4043 for ac_file
in conftest.exe conftest conftest.
*; do
4044 test -f "$ac_file" ||
continue
4046 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4047 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4056 See \`config.log' for more details" "$LINENO" 5; }
4058 rm -f conftest conftest
$ac_cv_exeext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4060 $as_echo "$ac_cv_exeext" >&6; }
4062 rm -f conftest.
$ac_ext
4063 EXEEXT
=$ac_cv_exeext
4065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4071 FILE *f = fopen ("conftest.out", "w");
4072 return ferror (f) || fclose (f) != 0;
4078 ac_clean_files
="$ac_clean_files conftest.out"
4079 # Check that the compiler produces executables we can run. If not, either
4080 # the compiler is broken, or we cross compile.
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4082 $as_echo_n "checking whether we are cross compiling... " >&6; }
4083 if test "$cross_compiling" != yes; then
4084 { { ac_try
="$ac_link"
4086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_link") 2>&5
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }
4095 if { ac_try='./conftest$ac_cv_exeext'
4096 { { case "(($ac_try" in
4097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4098 *) ac_try_echo
=$ac_try;;
4100 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_try") 2>&5
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; }; then
4108 if test "$cross_compiling" = maybe
; then
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error $?
"cannot run C compiled programs.
4114 If you meant to cross compile, use \`--host'.
4115 See \`config.log' for more details" "$LINENO" 5; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4120 $as_echo "$cross_compiling" >&6; }
4122 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4123 ac_clean_files
=$ac_clean_files_save
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4125 $as_echo_n "checking for suffix of object files... " >&6; }
4126 if ${ac_cv_objext+:} false
; then :
4127 $as_echo_n "(cached) " >&6
4129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4140 rm -f conftest.o conftest.obj
4141 if { { ac_try
="$ac_compile"
4143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147 $as_echo "$ac_try_echo"; } >&5
4148 (eval "$ac_compile") 2>&5
4150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151 test $ac_status = 0; }; then :
4152 for ac_file in conftest.o conftest.obj conftest.*; do
4153 test -f "$ac_file" || continue;
4155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4156 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4161 $as_echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4166 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4167 See \
`config.log' for more details" "$LINENO" 5; }
4169 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4172 $as_echo "$ac_cv_objext" >&6; }
4173 OBJEXT=$ac_cv_objext
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4176 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4177 if ${ac_cv_c_compiler_gnu+:} false; then :
4178 $as_echo_n "(cached) " >&6
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4194 if ac_fn_c_try_compile "$LINENO"; then :
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4204 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4205 if test $ac_compiler_gnu = yes; then
4210 ac_test_CFLAGS=${CFLAGS+set}
4211 ac_save_CFLAGS=$CFLAGS
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4213 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4214 if ${ac_cv_prog_cc_g+:} false; then :
4215 $as_echo_n "(cached) " >&6
4217 ac_save_c_werror_flag=$ac_c_werror_flag
4218 ac_c_werror_flag=yes
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4232 if ac_fn_c_try_compile "$LINENO"; then :
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4247 if ac_fn_c_try_compile "$LINENO"; then :
4250 ac_c_werror_flag=$ac_save_c_werror_flag
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4263 if ac_fn_c_try_compile "$LINENO"; then :
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 ac_c_werror_flag=$ac_save_c_werror_flag
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4274 $as_echo "$ac_cv_prog_cc_g" >&6; }
4275 if test "$ac_test_CFLAGS" = set; then
4276 CFLAGS=$ac_save_CFLAGS
4277 elif test $ac_cv_prog_cc_g = yes; then
4278 if test "$GCC" = yes; then
4284 if test "$GCC" = yes; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4291 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4292 if ${ac_cv_prog_cc_c89+:} false; then :
4293 $as_echo_n "(cached) " >&6
4295 ac_cv_prog_cc_c89=no
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4302 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4303 struct buf { int x; };
4304 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4305 static char *e (p, i)
4311 static char *f (char * (*g) (char **, int), char **p, ...)
4316 s = g (p, va_arg (v,int));
4321 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4322 function prototypes and stuff, but not '\xHH' hex character constants.
4323 These don't provoke an error unfortunately, instead are silently treated
4324 as 'x'. The following induces an error, until -std is added to get
4325 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4326 array size at least. It's necessary to write '\x00'==0 to get something
4327 that's true only with -std. */
4328 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4330 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4331 inside strings and character constants. */
4333 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4335 int test (int i, double x);
4336 struct s1 {int (*f) (int a);};
4337 struct s2 {int (*f) (double a);};
4338 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4344 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4349 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4350 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4352 CC="$ac_save_CC $ac_arg"
4353 if ac_fn_c_try_compile "$LINENO"; then :
4354 ac_cv_prog_cc_c89=$ac_arg
4356 rm -f core conftest.err conftest.$ac_objext
4357 test "x$ac_cv_prog_cc_c89" != "xno" && break
4359 rm -f conftest.$ac_ext
4364 case "x$ac_cv_prog_cc_c89" in
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4367 $as_echo "none needed" >&6; } ;;
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4370 $as_echo "unsupported" >&6; } ;;
4372 CC="$CC $ac_cv_prog_cc_c89"
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4374 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4376 if test "x$ac_cv_prog_cc_c89" != xno; then :
4381 ac_cpp='$CPP $CPPFLAGS'
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4387 ac_cpp='$CPP $CPPFLAGS'
4388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4392 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4393 if ${am_cv_prog_cc_c_o+:} false; then :
4394 $as_echo_n "(cached) " >&6
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4407 # Make sure it works both with $CC and with simple cc.
4408 # Following AC_PROG_CC_C_O, we do the test twice because some
4409 # compilers refuse to overwrite an existing .o file with -o,
4410 # though they will create one.
4411 am_cv_prog_cc_c_o=yes
4413 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4414 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } \
4418 && test -f conftest2.$ac_objext; then
4421 am_cv_prog_cc_c_o=no
4425 rm -f core conftest*
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4429 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4430 if test "$am_cv_prog_cc_c_o" != yes; then
4431 # Losing compiler, so override with the script.
4432 # FIXME: It is wrong to rewrite CC.
4433 # But if we don't then we get into trouble of one sort or another.
4434 # A longer-term fix would be to have automake use am__CC in this case,
4435 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4436 CC="$am_aux_dir/compile $CC"
4439 ac_cpp='$CPP $CPPFLAGS'
4440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4444 DEPDIR="${am__leading_dot}deps"
4446 ac_config_commands="$ac_config_commands depfiles"
4449 am_make=${MAKE-make}
4450 cat > confinc << 'END'
4452 @echo this is the am__doit target
4455 # If we don't find an include directive, just comment out the code.
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4457 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4461 # First try GNU make style include.
4462 echo "include confinc" > confmf
4463 # Ignore all kinds of additional output from 'make'.
4464 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4465 *the\ am__doit\ target*)
4471 # Now try BSD make style include.
4472 if test "$am__include" = "#"; then
4473 echo '.include "confinc"' > confmf
4474 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4475 *the\ am__doit\ target*)
4476 am__include=.include
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4485 $as_echo "$_am_result" >&6; }
4486 rm -f confinc confmf
4488 # Check whether --enable-dependency-tracking was given.
4489 if test "${enable_dependency_tracking+set}" = set; then :
4490 enableval=$enable_dependency_tracking;
4493 if test "x$enable_dependency_tracking" != xno; then
4494 am_depcomp="$ac_aux_dir/depcomp"
4498 if test "x$enable_dependency_tracking" != xno; then
4508 depcc="$CC" am_compiler_list=
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4511 $as_echo_n "checking dependency style of $depcc... " >&6; }
4512 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4513 $as_echo_n "(cached) " >&6
4515 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4516 # We make a subdir and do the tests there. Otherwise we can end up
4517 # making bogus files that we don't know about and never remove. For
4518 # instance it was reported that on HP-UX the gcc test will end up
4519 # making a dummy file named 'D' -- because '-MD' means "put the output
4523 # Copy depcomp to subdir because otherwise we won't find it if we're
4524 # using a relative directory.
4525 cp "$am_depcomp" conftest.dir
4527 # We will build objects and dependencies in a subdirectory because
4528 # it helps to detect inapplicable dependency modes. For instance
4529 # both Tru64's cc and ICC support -MD to output dependencies as a
4530 # side effect of compilation, but ICC will put the dependencies in
4531 # the current directory while Tru64 will put them in the object
4535 am_cv_CC_dependencies_compiler_type=none
4536 if test "$am_compiler_list" = ""; then
4537 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4540 case " $depcc " in #(
4541 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4544 for depmode in $am_compiler_list; do
4545 # Setup a source with many dependencies, because some compilers
4546 # like to wrap large dependency lists on column 80 (with \), and
4547 # we should not choose a depcomp mode which is confused by this.
4549 # We need to recreate these files for each test, as the compiler may
4550 # overwrite some of them when testing with obscure command lines.
4551 # This happens at least with the AIX C compiler.
4553 for i in 1 2 3 4 5 6; do
4554 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4555 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4556 # Solaris 10 /bin/sh.
4557 echo '/* dummy */' > sub/conftst$i.h
4559 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4561 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4562 # mode. It turns out that the SunPro C++ compiler does not properly
4563 # handle '-M -o', and we need to detect this. Also, some Intel
4564 # versions had trouble with output in subdirs.
4565 am__obj=sub/conftest.${OBJEXT-o}
4566 am__minus_obj="-o $am__obj"
4569 # This depmode causes a compiler race in universal mode.
4570 test "$am__universal" = false || continue
4573 # After this tag, mechanisms are not by side-effect, so they'll
4574 # only be used when explicitly requested.
4575 if test "x$enable_dependency_tracking" = xyes; then
4581 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4582 # This compiler won't grok '-c -o', but also, the minuso test has
4583 # not run yet. These depmodes are late enough in the game, and
4584 # so weak that their functioning should not be impacted.
4585 am__obj=conftest.${OBJEXT-o}
4590 if depmode=$depmode \
4591 source=sub/conftest.c object=$am__obj \
4592 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4593 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4594 >/dev/null 2>conftest.err &&
4595 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4596 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4597 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4598 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4599 # icc doesn't choke on unknown options, it will just issue warnings
4600 # or remarks (even with -Werror). So we grep stderr for any message
4601 # that says an option was ignored or not supported.
4602 # When given -MP, icc 7.0 and 7.1 complain thusly:
4603 # icc: Command line warning: ignoring option '-M'; no argument required
4604 # The diagnosis changed in icc 8.0:
4605 # icc: Command line remark: option '-MP' not supported
4606 if (grep 'ignoring option' conftest.err ||
4607 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4608 am_cv_CC_dependencies_compiler_type=$depmode
4617 am_cv_CC_dependencies_compiler_type=none
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4622 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4623 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4626 test "x$enable_dependency_tracking" != xno \
4627 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4629 am__fastdepCC_FALSE='#'
4631 am__fastdepCC_TRUE='#'
4632 am__fastdepCC_FALSE=
4637 ac_cpp='$CXXCPP $CPPFLAGS'
4638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4641 if test -z "$CXX"; then
4642 if test -n "$CCC"; then
4645 if test -n "$ac_tool_prefix"; then
4646 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if ${ac_cv_prog_CXX+:} false; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -n "$CXX"; then
4656 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir=.
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 if test -n "$CXX"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4678 $as_echo "$CXX" >&6; }
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4685 test -n "$CXX" && break
4688 if test -z "$CXX"; then
4690 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4692 # Extract the first word of "$ac_prog", so it can be a program name with args.
4693 set dummy $ac_prog; ac_word=$2
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4695 $as_echo_n "checking for $ac_word... " >&6; }
4696 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4697 $as_echo_n "(cached) " >&6
4699 if test -n "$ac_ct_CXX"; then
4700 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706 test -z "$as_dir" && as_dir=.
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4709 ac_cv_prog_ac_ct_CXX="$ac_prog"
4710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4719 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4720 if test -n "$ac_ct_CXX"; then
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4722 $as_echo "$ac_ct_CXX" >&6; }
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4729 test -n "$ac_ct_CXX" && break
4732 if test "x$ac_ct_CXX" = x; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned=yes ;;
4747 # Provide some information about the compiler.
4748 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4751 for ac_option in --version -v -V -qversion; do
4752 { { ac_try="$ac_compiler $ac_option >&5"
4754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4755 *) ac_try_echo
=$ac_try;;
4757 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4758 $as_echo "$ac_try_echo"; } >&5
4759 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4761 if test -s conftest.err
; then
4763 ... rest of stderr output deleted ...
4764 10q' conftest.err
>conftest.er1
4765 cat conftest.er1
>&5
4767 rm -f conftest.er1 conftest.err
4768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4769 test $ac_status = 0; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4773 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4774 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4775 $as_echo_n "(cached) " >&6
4777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4791 if ac_fn_cxx_try_compile
"$LINENO"; then :
4796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4797 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4801 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4802 if test $ac_compiler_gnu = yes; then
4807 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4808 ac_save_CXXFLAGS
=$CXXFLAGS
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4810 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4811 if ${ac_cv_prog_cxx_g+:} false
; then :
4812 $as_echo_n "(cached) " >&6
4814 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4815 ac_cxx_werror_flag
=yes
4818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4819 /* end confdefs.h. */
4829 if ac_fn_cxx_try_compile
"$LINENO"; then :
4830 ac_cv_prog_cxx_g
=yes
4833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4834 /* end confdefs.h. */
4844 if ac_fn_cxx_try_compile
"$LINENO"; then :
4847 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4860 if ac_fn_cxx_try_compile
"$LINENO"; then :
4861 ac_cv_prog_cxx_g
=yes
4863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4868 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4871 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4872 if test "$ac_test_CXXFLAGS" = set; then
4873 CXXFLAGS
=$ac_save_CXXFLAGS
4874 elif test $ac_cv_prog_cxx_g = yes; then
4875 if test "$GXX" = yes; then
4881 if test "$GXX" = yes; then
4888 ac_cpp
='$CPP $CPPFLAGS'
4889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4893 depcc
="$CXX" am_compiler_list
=
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4896 $as_echo_n "checking dependency style of $depcc... " >&6; }
4897 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4898 $as_echo_n "(cached) " >&6
4900 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4901 # We make a subdir and do the tests there. Otherwise we can end up
4902 # making bogus files that we don't know about and never remove. For
4903 # instance it was reported that on HP-UX the gcc test will end up
4904 # making a dummy file named 'D' -- because '-MD' means "put the output
4908 # Copy depcomp to subdir because otherwise we won't find it if we're
4909 # using a relative directory.
4910 cp "$am_depcomp" conftest.dir
4912 # We will build objects and dependencies in a subdirectory because
4913 # it helps to detect inapplicable dependency modes. For instance
4914 # both Tru64's cc and ICC support -MD to output dependencies as a
4915 # side effect of compilation, but ICC will put the dependencies in
4916 # the current directory while Tru64 will put them in the object
4920 am_cv_CXX_dependencies_compiler_type
=none
4921 if test "$am_compiler_list" = ""; then
4922 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4925 case " $depcc " in #(
4926 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4929 for depmode
in $am_compiler_list; do
4930 # Setup a source with many dependencies, because some compilers
4931 # like to wrap large dependency lists on column 80 (with \), and
4932 # we should not choose a depcomp mode which is confused by this.
4934 # We need to recreate these files for each test, as the compiler may
4935 # overwrite some of them when testing with obscure command lines.
4936 # This happens at least with the AIX C compiler.
4938 for i
in 1 2 3 4 5 6; do
4939 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4940 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4941 # Solaris 10 /bin/sh.
4942 echo '/* dummy */' > sub
/conftst
$i.h
4944 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4946 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4947 # mode. It turns out that the SunPro C++ compiler does not properly
4948 # handle '-M -o', and we need to detect this. Also, some Intel
4949 # versions had trouble with output in subdirs.
4950 am__obj
=sub
/conftest.
${OBJEXT-o}
4951 am__minus_obj
="-o $am__obj"
4954 # This depmode causes a compiler race in universal mode.
4955 test "$am__universal" = false ||
continue
4958 # After this tag, mechanisms are not by side-effect, so they'll
4959 # only be used when explicitly requested.
4960 if test "x$enable_dependency_tracking" = xyes
; then
4966 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4967 # This compiler won't grok '-c -o', but also, the minuso test has
4968 # not run yet. These depmodes are late enough in the game, and
4969 # so weak that their functioning should not be impacted.
4970 am__obj
=conftest.
${OBJEXT-o}
4975 if depmode
=$depmode \
4976 source=sub
/conftest.c object
=$am__obj \
4977 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4978 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4979 >/dev
/null
2>conftest.err
&&
4980 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4981 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4982 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4983 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4984 # icc doesn't choke on unknown options, it will just issue warnings
4985 # or remarks (even with -Werror). So we grep stderr for any message
4986 # that says an option was ignored or not supported.
4987 # When given -MP, icc 7.0 and 7.1 complain thusly:
4988 # icc: Command line warning: ignoring option '-M'; no argument required
4989 # The diagnosis changed in icc 8.0:
4990 # icc: Command line remark: option '-MP' not supported
4991 if (grep 'ignoring option' conftest.err ||
4992 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4993 am_cv_CXX_dependencies_compiler_type
=$depmode
5002 am_cv_CXX_dependencies_compiler_type
=none
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5007 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5008 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5011 test "x$enable_dependency_tracking" != xno \
5012 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5013 am__fastdepCXX_TRUE
=
5014 am__fastdepCXX_FALSE
='#'
5016 am__fastdepCXX_TRUE
='#'
5017 am__fastdepCXX_FALSE
=
5021 # By default we simply use the C compiler to build assembly code.
5023 test "${CCAS+set}" = set || CCAS
=$CC
5024 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
5028 depcc
="$CCAS" am_compiler_list
=
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5031 $as_echo_n "checking dependency style of $depcc... " >&6; }
5032 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
5033 $as_echo_n "(cached) " >&6
5035 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5036 # We make a subdir and do the tests there. Otherwise we can end up
5037 # making bogus files that we don't know about and never remove. For
5038 # instance it was reported that on HP-UX the gcc test will end up
5039 # making a dummy file named 'D' -- because '-MD' means "put the output
5043 # Copy depcomp to subdir because otherwise we won't find it if we're
5044 # using a relative directory.
5045 cp "$am_depcomp" conftest.dir
5047 # We will build objects and dependencies in a subdirectory because
5048 # it helps to detect inapplicable dependency modes. For instance
5049 # both Tru64's cc and ICC support -MD to output dependencies as a
5050 # side effect of compilation, but ICC will put the dependencies in
5051 # the current directory while Tru64 will put them in the object
5055 am_cv_CCAS_dependencies_compiler_type
=none
5056 if test "$am_compiler_list" = ""; then
5057 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5062 for depmode
in $am_compiler_list; do
5063 # Setup a source with many dependencies, because some compilers
5064 # like to wrap large dependency lists on column 80 (with \), and
5065 # we should not choose a depcomp mode which is confused by this.
5067 # We need to recreate these files for each test, as the compiler may
5068 # overwrite some of them when testing with obscure command lines.
5069 # This happens at least with the AIX C compiler.
5071 for i
in 1 2 3 4 5 6; do
5072 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5073 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5074 # Solaris 10 /bin/sh.
5075 echo '/* dummy */' > sub
/conftst
$i.h
5077 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5079 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5080 # mode. It turns out that the SunPro C++ compiler does not properly
5081 # handle '-M -o', and we need to detect this. Also, some Intel
5082 # versions had trouble with output in subdirs.
5083 am__obj
=sub
/conftest.
${OBJEXT-o}
5084 am__minus_obj
="-o $am__obj"
5087 # This depmode causes a compiler race in universal mode.
5088 test "$am__universal" = false ||
continue
5091 # After this tag, mechanisms are not by side-effect, so they'll
5092 # only be used when explicitly requested.
5093 if test "x$enable_dependency_tracking" = xyes
; then
5099 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5100 # This compiler won't grok '-c -o', but also, the minuso test has
5101 # not run yet. These depmodes are late enough in the game, and
5102 # so weak that their functioning should not be impacted.
5103 am__obj
=conftest.
${OBJEXT-o}
5108 if depmode
=$depmode \
5109 source=sub
/conftest.c object
=$am__obj \
5110 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5111 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5112 >/dev
/null
2>conftest.err
&&
5113 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5114 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5115 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5116 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5117 # icc doesn't choke on unknown options, it will just issue warnings
5118 # or remarks (even with -Werror). So we grep stderr for any message
5119 # that says an option was ignored or not supported.
5120 # When given -MP, icc 7.0 and 7.1 complain thusly:
5121 # icc: Command line warning: ignoring option '-M'; no argument required
5122 # The diagnosis changed in icc 8.0:
5123 # icc: Command line remark: option '-MP' not supported
5124 if (grep 'ignoring option' conftest.err ||
5125 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5126 am_cv_CCAS_dependencies_compiler_type
=$depmode
5135 am_cv_CCAS_dependencies_compiler_type
=none
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5140 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5141 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
5144 test "x$enable_dependency_tracking" != xno \
5145 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
5146 am__fastdepCCAS_TRUE
=
5147 am__fastdepCCAS_FALSE
='#'
5149 am__fastdepCCAS_TRUE
='#'
5150 am__fastdepCCAS_FALSE
=
5158 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
5159 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
5160 # in both places for now and restore CFLAGS at the end of config.
5161 save_CFLAGS
="$CFLAGS"
5163 # Find other programs we need.
5164 if test -n "$ac_tool_prefix"; then
5165 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5166 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if ${ac_cv_prog_AR+:} false
; then :
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$AR"; then
5173 ac_cv_prog_AR
="$AR" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 if test -n "$AR"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5195 $as_echo "$AR" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5203 if test -z "$ac_cv_prog_AR"; then
5205 # Extract the first word of "ar", so it can be a program name with args.
5206 set dummy
ar; ac_word
=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$ac_ct_AR"; then
5213 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir
=.
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_ac_ct_AR
="ar"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5233 if test -n "$ac_ct_AR"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5235 $as_echo "$ac_ct_AR" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5241 if test "x$ac_ct_AR" = x
; then
5244 case $cross_compiling:$ac_tool_warned in
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5248 ac_tool_warned
=yes ;;
5256 if test -n "$ac_tool_prefix"; then
5257 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
5258 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if ${ac_cv_prog_NM+:} false
; then :
5262 $as_echo_n "(cached) " >&6
5264 if test -n "$NM"; then
5265 ac_cv_prog_NM
="$NM" # Let the user override the test.
5267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5271 test -z "$as_dir" && as_dir
=.
5272 for ac_exec_ext
in '' $ac_executable_extensions; do
5273 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5274 ac_cv_prog_NM
="${ac_tool_prefix}nm"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 if test -n "$NM"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
5287 $as_echo "$NM" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5295 if test -z "$ac_cv_prog_NM"; then
5297 # Extract the first word of "nm", so it can be a program name with args.
5298 set dummy nm
; ac_word
=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -n "$ac_ct_NM"; then
5305 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir
=.
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_ac_ct_NM
="nm"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5325 if test -n "$ac_ct_NM"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
5327 $as_echo "$ac_ct_NM" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5333 if test "x$ac_ct_NM" = x
; then
5336 case $cross_compiling:$ac_tool_warned in
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5340 ac_tool_warned
=yes ;;
5348 if test -n "$ac_tool_prefix"; then
5349 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5350 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if ${ac_cv_prog_RANLIB+:} false
; then :
5354 $as_echo_n "(cached) " >&6
5356 if test -n "$RANLIB"; then
5357 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir
=.
5364 for ac_exec_ext
in '' $ac_executable_extensions; do
5365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 RANLIB
=$ac_cv_prog_RANLIB
5377 if test -n "$RANLIB"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5379 $as_echo "$RANLIB" >&6; }
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5387 if test -z "$ac_cv_prog_RANLIB"; then
5388 ac_ct_RANLIB
=$RANLIB
5389 # Extract the first word of "ranlib", so it can be a program name with args.
5390 set dummy ranlib
; ac_word
=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5394 $as_echo_n "(cached) " >&6
5396 if test -n "$ac_ct_RANLIB"; then
5397 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir
=.
5404 for ac_exec_ext
in '' $ac_executable_extensions; do
5405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5406 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5417 if test -n "$ac_ct_RANLIB"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5419 $as_echo "$ac_ct_RANLIB" >&6; }
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5425 if test "x$ac_ct_RANLIB" = x
; then
5426 RANLIB
="ranlib-not-found-in-path-error"
5428 case $cross_compiling:$ac_tool_warned in
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5432 ac_tool_warned
=yes ;;
5434 RANLIB
=$ac_ct_RANLIB
5437 RANLIB
="$ac_cv_prog_RANLIB"
5440 # Extract the first word of "perl", so it can be a program name with args.
5441 set dummy perl
; ac_word
=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5443 $as_echo_n "checking for $ac_word... " >&6; }
5444 if ${ac_cv_path_PERL+:} false
; then :
5445 $as_echo_n "(cached) " >&6
5449 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir
=.
5457 for ac_exec_ext
in '' $ac_executable_extensions; do
5458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
5471 PERL
=$ac_cv_path_PERL
5472 if test -n "$PERL"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5474 $as_echo "$PERL" >&6; }
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5482 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5484 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5485 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5486 $as_echo_n "(cached) " >&6
5488 cat >conftest.
make <<\_ACEOF
5491 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5493 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5494 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5496 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5498 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5502 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5504 $as_echo "yes" >&6; }
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5509 SET_MAKE
="MAKE=${MAKE-make}"
5514 # See if makeinfo has been installed and is modern enough
5515 # that we can use it.
5517 # Extract the first word of "makeinfo", so it can be a program name with args.
5518 set dummy makeinfo
; ac_word
=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_prog_MAKEINFO+:} false
; then :
5522 $as_echo_n "(cached) " >&6
5524 if test -n "$MAKEINFO"; then
5525 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5531 test -z "$as_dir" && as_dir
=.
5532 for ac_exec_ext
in '' $ac_executable_extensions; do
5533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_MAKEINFO
="makeinfo"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 MAKEINFO
=$ac_cv_prog_MAKEINFO
5545 if test -n "$MAKEINFO"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
5547 $as_echo "$MAKEINFO" >&6; }
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5554 if test -n "$MAKEINFO"; then
5555 # Found it, now check the version.
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
5557 $as_echo_n "checking for modern makeinfo... " >&6; }
5558 if ${gcc_cv_prog_makeinfo_modern+:} false
; then :
5559 $as_echo_n "(cached) " >&6
5561 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
5562 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5564 case $ac_prog_version in
5565 '') gcc_cv_prog_makeinfo_modern
=no
;;
5566 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
5567 *) gcc_cv_prog_makeinfo_modern
=no
;;
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
5572 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
5574 gcc_cv_prog_makeinfo_modern
=no
5576 if test $gcc_cv_prog_makeinfo_modern = no
; then
5577 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
5580 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
5582 BUILD_INFO_FALSE
='#'
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5594 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5599 macro_version
='2.2.7a'
5600 macro_revision
='1.3134'
5614 ltmain
="$ac_aux_dir/ltmain.sh"
5616 # Backslashify metacharacters that are still active within
5617 # double-quoted strings.
5618 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5620 # Same as above, but do not quote variable references.
5621 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5623 # Sed substitution to delay expansion of an escaped shell variable in a
5624 # double_quote_subst'ed string.
5625 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5627 # Sed substitution to delay expansion of an escaped single quote.
5628 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5630 # Sed substitution to avoid accidental globbing in evaled expressions
5631 no_glob_subst
='s/\*/\\\*/g'
5633 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5634 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5635 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5638 $as_echo_n "checking how to print strings... " >&6; }
5639 # Test print first, because it will be a builtin if present.
5640 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5641 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5643 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5646 # Use this function as a fallback that always works.
5647 func_fallback_echo ()
5649 eval 'cat <<_LTECHO_EOF
5653 ECHO='func_fallback_echo
'
5656 # func_echo_all arg...
5657 # Invoke $ECHO with all args, space-separated.
5664 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5665 $as_echo "printf" >&6; } ;;
5666 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5667 $as_echo "print -r" >&6; } ;;
5668 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5669 $as_echo "cat" >&6; } ;;
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5686 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5687 if ${ac_cv_path_SED+:} false; then :
5688 $as_echo_n "(cached) " >&6
5690 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5691 for ac_i in 1 2 3 4 5 6 7; do
5692 ac_script="$ac_script$as_nl$ac_script"
5694 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5695 { ac_script=; unset ac_script;}
5696 if test -z "$SED"; then
5697 ac_path_SED_found=false
5698 # Loop through the user's path and
test for each of PROGNAME-LIST
5699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5703 test -z "$as_dir" && as_dir
=.
5704 for ac_prog
in sed gsed
; do
5705 for ac_exec_ext
in '' $ac_executable_extensions; do
5706 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5707 as_fn_executable_p
"$ac_path_SED" ||
continue
5708 # Check for GNU ac_path_SED and select it if it is found.
5709 # Check for GNU $ac_path_SED
5710 case `"$ac_path_SED" --version 2>&1` in
5712 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5715 $as_echo_n 0123456789 >"conftest.in"
5718 cat "conftest.in" "conftest.in" >"conftest.tmp"
5719 mv "conftest.tmp" "conftest.in"
5720 cp "conftest.in" "conftest.nl"
5721 $as_echo '' >> "conftest.nl"
5722 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5723 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5724 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5725 if test $ac_count -gt ${ac_path_SED_max-0}; then
5726 # Best one so far, save it but keep looking for a better one
5727 ac_cv_path_SED
="$ac_path_SED"
5728 ac_path_SED_max
=$ac_count
5730 # 10*(2^10) chars as input seems more than enough
5731 test $ac_count -gt 10 && break
5733 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5736 $ac_path_SED_found && break 3
5741 if test -z "$ac_cv_path_SED"; then
5742 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5750 $as_echo "$ac_cv_path_SED" >&6; }
5751 SED
="$ac_cv_path_SED"
5754 test -z "$SED" && SED
=sed
5755 Xsed
="$SED -e 1s/^X//"
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5768 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5769 if ${ac_cv_path_GREP+:} false
; then :
5770 $as_echo_n "(cached) " >&6
5772 if test -z "$GREP"; then
5773 ac_path_GREP_found
=false
5774 # Loop through the user's path and test for each of PROGNAME-LIST
5775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5776 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5779 test -z "$as_dir" && as_dir
=.
5780 for ac_prog
in grep ggrep
; do
5781 for ac_exec_ext
in '' $ac_executable_extensions; do
5782 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5783 as_fn_executable_p
"$ac_path_GREP" ||
continue
5784 # Check for GNU ac_path_GREP and select it if it is found.
5785 # Check for GNU $ac_path_GREP
5786 case `"$ac_path_GREP" --version 2>&1` in
5788 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5791 $as_echo_n 0123456789 >"conftest.in"
5794 cat "conftest.in" "conftest.in" >"conftest.tmp"
5795 mv "conftest.tmp" "conftest.in"
5796 cp "conftest.in" "conftest.nl"
5797 $as_echo 'GREP' >> "conftest.nl"
5798 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5799 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5800 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5801 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5802 # Best one so far, save it but keep looking for a better one
5803 ac_cv_path_GREP
="$ac_path_GREP"
5804 ac_path_GREP_max
=$ac_count
5806 # 10*(2^10) chars as input seems more than enough
5807 test $ac_count -gt 10 && break
5809 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5812 $ac_path_GREP_found && break 3
5817 if test -z "$ac_cv_path_GREP"; then
5818 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5821 ac_cv_path_GREP
=$GREP
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5826 $as_echo "$ac_cv_path_GREP" >&6; }
5827 GREP
="$ac_cv_path_GREP"
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5831 $as_echo_n "checking for egrep... " >&6; }
5832 if ${ac_cv_path_EGREP+:} false
; then :
5833 $as_echo_n "(cached) " >&6
5835 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5836 then ac_cv_path_EGREP
="$GREP -E"
5838 if test -z "$EGREP"; then
5839 ac_path_EGREP_found
=false
5840 # Loop through the user's path and test for each of PROGNAME-LIST
5841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5842 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5845 test -z "$as_dir" && as_dir
=.
5846 for ac_prog
in egrep; do
5847 for ac_exec_ext
in '' $ac_executable_extensions; do
5848 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5849 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5850 # Check for GNU ac_path_EGREP and select it if it is found.
5851 # Check for GNU $ac_path_EGREP
5852 case `"$ac_path_EGREP" --version 2>&1` in
5854 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5857 $as_echo_n 0123456789 >"conftest.in"
5860 cat "conftest.in" "conftest.in" >"conftest.tmp"
5861 mv "conftest.tmp" "conftest.in"
5862 cp "conftest.in" "conftest.nl"
5863 $as_echo 'EGREP' >> "conftest.nl"
5864 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5865 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5866 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5867 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5868 # Best one so far, save it but keep looking for a better one
5869 ac_cv_path_EGREP
="$ac_path_EGREP"
5870 ac_path_EGREP_max
=$ac_count
5872 # 10*(2^10) chars as input seems more than enough
5873 test $ac_count -gt 10 && break
5875 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5878 $ac_path_EGREP_found && break 3
5883 if test -z "$ac_cv_path_EGREP"; then
5884 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5887 ac_cv_path_EGREP
=$EGREP
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5893 $as_echo "$ac_cv_path_EGREP" >&6; }
5894 EGREP
="$ac_cv_path_EGREP"
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5898 $as_echo_n "checking for fgrep... " >&6; }
5899 if ${ac_cv_path_FGREP+:} false
; then :
5900 $as_echo_n "(cached) " >&6
5902 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5903 then ac_cv_path_FGREP
="$GREP -F"
5905 if test -z "$FGREP"; then
5906 ac_path_FGREP_found
=false
5907 # Loop through the user's path and test for each of PROGNAME-LIST
5908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5909 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5912 test -z "$as_dir" && as_dir
=.
5913 for ac_prog
in fgrep
; do
5914 for ac_exec_ext
in '' $ac_executable_extensions; do
5915 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5916 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5917 # Check for GNU ac_path_FGREP and select it if it is found.
5918 # Check for GNU $ac_path_FGREP
5919 case `"$ac_path_FGREP" --version 2>&1` in
5921 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5924 $as_echo_n 0123456789 >"conftest.in"
5927 cat "conftest.in" "conftest.in" >"conftest.tmp"
5928 mv "conftest.tmp" "conftest.in"
5929 cp "conftest.in" "conftest.nl"
5930 $as_echo 'FGREP' >> "conftest.nl"
5931 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5932 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5933 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5934 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5935 # Best one so far, save it but keep looking for a better one
5936 ac_cv_path_FGREP
="$ac_path_FGREP"
5937 ac_path_FGREP_max
=$ac_count
5939 # 10*(2^10) chars as input seems more than enough
5940 test $ac_count -gt 10 && break
5942 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5945 $ac_path_FGREP_found && break 3
5950 if test -z "$ac_cv_path_FGREP"; then
5951 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5954 ac_cv_path_FGREP
=$FGREP
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5960 $as_echo "$ac_cv_path_FGREP" >&6; }
5961 FGREP
="$ac_cv_path_FGREP"
5964 test -z "$GREP" && GREP
=grep
5984 # Check whether --with-gnu-ld was given.
5985 if test "${with_gnu_ld+set}" = set; then :
5986 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5992 if test "$GCC" = yes; then
5993 # Check if gcc -print-prog-name=ld gives a path.
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5995 $as_echo_n "checking for ld used by $CC... " >&6; }
5998 # gcc leaves a trailing carriage return which upsets mingw
5999 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6001 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6004 # Accept absolute paths.
6006 re_direlt
='/[^/][^/]*/\.\./'
6007 # Canonicalize the pathname of ld
6008 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6009 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6010 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6012 test -z "$LD" && LD
="$ac_prog"
6015 # If it fails, then pretend we aren't using GCC.
6019 # If it is relative, then search for the first ld in PATH.
6023 elif test "$with_gnu_ld" = yes; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6025 $as_echo_n "checking for GNU ld... " >&6; }
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6028 $as_echo_n "checking for non-GNU ld... " >&6; }
6030 if ${lt_cv_path_LD+:} false
; then :
6031 $as_echo_n "(cached) " >&6
6033 if test -z "$LD"; then
6034 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6035 for ac_dir
in $PATH; do
6037 test -z "$ac_dir" && ac_dir
=.
6038 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6039 lt_cv_path_LD
="$ac_dir/$ac_prog"
6040 # Check to see if the program is GNU ld. I'd rather use --version,
6041 # but apparently some variants of GNU ld only accept -v.
6042 # Break only if it was the GNU/non-GNU ld that we prefer.
6043 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6044 *GNU
* |
*'with BFD'*)
6045 test "$with_gnu_ld" != no
&& break
6048 test "$with_gnu_ld" != yes && break
6055 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6060 if test -n "$LD"; then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6062 $as_echo "$LD" >&6; }
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6065 $as_echo "no" >&6; }
6067 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6069 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6070 if ${lt_cv_prog_gnu_ld+:} false
; then :
6071 $as_echo_n "(cached) " >&6
6073 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6074 case `$LD -v 2>&1 </dev/null` in
6075 *GNU
* |
*'with BFD'*)
6076 lt_cv_prog_gnu_ld
=yes
6079 lt_cv_prog_gnu_ld
=no
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6084 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6085 with_gnu_ld
=$lt_cv_prog_gnu_ld
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6096 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6097 if ${lt_cv_path_NM+:} false
; then :
6098 $as_echo_n "(cached) " >&6
6100 if test -n "$NM"; then
6101 # Let the user override the test.
6104 lt_nm_to_check
="${ac_tool_prefix}nm"
6105 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6106 lt_nm_to_check
="$lt_nm_to_check nm"
6108 for lt_tmp_nm
in $lt_nm_to_check; do
6109 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6110 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6112 test -z "$ac_dir" && ac_dir
=.
6113 tmp_nm
="$ac_dir/$lt_tmp_nm"
6114 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6115 # Check to see if the nm accepts a BSD-compat flag.
6116 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6117 # nm: unknown option "B" ignored
6118 # Tru64's nm complains that /dev/null is an invalid object file
6119 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6120 */dev
/null
* |
*'Invalid file or object type'*)
6121 lt_cv_path_NM
="$tmp_nm -B"
6125 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6127 lt_cv_path_NM
="$tmp_nm -p"
6131 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6132 continue # so that we can try to find one that supports BSD flags
6141 : ${lt_cv_path_NM=no}
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6145 $as_echo "$lt_cv_path_NM" >&6; }
6146 if test "$lt_cv_path_NM" != "no"; then
6149 # Didn't find any BSD compatible name lister, look for dumpbin.
6150 if test -n "$DUMPBIN"; then :
6151 # Let the user override the test.
6153 if test -n "$ac_tool_prefix"; then
6154 for ac_prog
in dumpbin
"link -dump"
6156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6157 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6159 $as_echo_n "checking for $ac_word... " >&6; }
6160 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6161 $as_echo_n "(cached) " >&6
6163 if test -n "$DUMPBIN"; then
6164 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6170 test -z "$as_dir" && as_dir
=.
6171 for ac_exec_ext
in '' $ac_executable_extensions; do
6172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6173 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 DUMPBIN
=$ac_cv_prog_DUMPBIN
6184 if test -n "$DUMPBIN"; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6186 $as_echo "$DUMPBIN" >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 $as_echo "no" >&6; }
6193 test -n "$DUMPBIN" && break
6196 if test -z "$DUMPBIN"; then
6197 ac_ct_DUMPBIN
=$DUMPBIN
6198 for ac_prog
in dumpbin
"link -dump"
6200 # Extract the first word of "$ac_prog", so it can be a program name with args.
6201 set dummy
$ac_prog; ac_word
=$2
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203 $as_echo_n "checking for $ac_word... " >&6; }
6204 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6205 $as_echo_n "(cached) " >&6
6207 if test -n "$ac_ct_DUMPBIN"; then
6208 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6214 test -z "$as_dir" && as_dir
=.
6215 for ac_exec_ext
in '' $ac_executable_extensions; do
6216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6217 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6228 if test -n "$ac_ct_DUMPBIN"; then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6230 $as_echo "$ac_ct_DUMPBIN" >&6; }
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6233 $as_echo "no" >&6; }
6237 test -n "$ac_ct_DUMPBIN" && break
6240 if test "x$ac_ct_DUMPBIN" = x
; then
6243 case $cross_compiling:$ac_tool_warned in
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247 ac_tool_warned
=yes ;;
6249 DUMPBIN
=$ac_ct_DUMPBIN
6253 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6255 DUMPBIN
="$DUMPBIN -symbols"
6263 if test "$DUMPBIN" != ":"; then
6267 test -z "$NM" && NM
=nm
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6275 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6276 if ${lt_cv_nm_interface+:} false
; then :
6277 $as_echo_n "(cached) " >&6
6279 lt_cv_nm_interface
="BSD nm"
6280 echo "int some_variable = 0;" > conftest.
$ac_ext
6281 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6282 (eval "$ac_compile" 2>conftest.err
)
6283 cat conftest.err
>&5
6284 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6285 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6286 cat conftest.err
>&5
6287 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6288 cat conftest.out
>&5
6289 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6290 lt_cv_nm_interface
="MS dumpbin"
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6295 $as_echo "$lt_cv_nm_interface" >&6; }
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6298 $as_echo_n "checking whether ln -s works... " >&6; }
6300 if test "$LN_S" = "ln -s"; then
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6302 $as_echo "yes" >&6; }
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6305 $as_echo "no, using $LN_S" >&6; }
6308 # find the maximum length of command line arguments
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6310 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6311 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6312 $as_echo_n "(cached) " >&6
6319 # On DJGPP, this test can blow up pretty badly due to problems in libc
6320 # (any single argument exceeding 2000 bytes causes a buffer overrun
6321 # during glob expansion). Even if it were fixed, the result of this
6322 # check would be larger than it should be.
6323 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6327 # Under GNU Hurd, this test is not required because there is
6328 # no limit to the length of command line arguments.
6329 # Libtool will interpret -1 as no limit whatsoever
6330 lt_cv_sys_max_cmd_len
=-1;
6333 cygwin
* | mingw
* | cegcc
*)
6334 # On Win9x/ME, this test blows up -- it succeeds, but takes
6335 # about 5 minutes as the teststring grows exponentially.
6336 # Worse, since 9x/ME are not pre-emptively multitasking,
6337 # you end up with a "frozen" computer, even though with patience
6338 # the test eventually succeeds (with a max line length of 256k).
6339 # Instead, let's just punt: use the minimum linelength reported by
6340 # all of the supported platforms: 8192 (on NT/2K/XP).
6341 lt_cv_sys_max_cmd_len
=8192;
6345 # On MiNT this can take a long time and run out of memory.
6346 lt_cv_sys_max_cmd_len
=8192;
6350 # On AmigaOS with pdksh, this test takes hours, literally.
6351 # So we just punt and use a minimum line length of 8192.
6352 lt_cv_sys_max_cmd_len
=8192;
6355 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6356 # This has been around since 386BSD, at least. Likely further.
6357 if test -x /sbin
/sysctl
; then
6358 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6359 elif test -x /usr
/sbin
/sysctl
; then
6360 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6362 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6364 # And add a safety zone
6365 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6366 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6370 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6371 lt_cv_sys_max_cmd_len
=196608
6375 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6376 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6377 # nice to cause kernel panics so lets avoid the loop below.
6378 # First set a reasonable default.
6379 lt_cv_sys_max_cmd_len
=16384
6381 if test -x /sbin
/sysconfig
; then
6382 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6383 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6388 lt_cv_sys_max_cmd_len
=102400
6390 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6391 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6392 if test -n "$kargmax"; then
6393 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6395 lt_cv_sys_max_cmd_len
=32768
6399 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6400 if test -n "$lt_cv_sys_max_cmd_len"; then
6401 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6402 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6404 # Make teststring a little bigger before we do anything with it.
6405 # a 1K string should be a reasonable start.
6406 for i
in 1 2 3 4 5 6 7 8 ; do
6407 teststring
=$teststring$teststring
6409 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6410 # If test is not a shell built-in, we'll probably end up computing a
6411 # maximum length that is only half of the actual maximum length, but
6413 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6414 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6415 test $i != 17 # 1/2 MB should be enough
6418 teststring
=$teststring$teststring
6420 # Only check the string length outside the loop.
6421 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6423 # Add a significant safety factor because C++ compilers can tack on
6424 # massive amounts of additional arguments before passing them to the
6425 # linker. It appears as though 1/2 is a usable value.
6426 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6433 if test -n $lt_cv_sys_max_cmd_len ; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6435 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6438 $as_echo "none" >&6; }
6440 max_cmd_len
=$lt_cv_sys_max_cmd_len
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6452 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6453 # Try some XSI features
6456 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6458 && eval 'test $(( 1 + 1 )) -eq 2 \
6459 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6462 $as_echo "$xsi_shell" >&6; }
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6466 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6468 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6470 && lt_shell_append=yes
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6472 $as_echo "$lt_shell_append" >&6; }
6475 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6485 # test EBCDIC or ASCII
6486 case `echo X|tr X '\101'` in
6487 A) # ASCII based system
6488 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6489 lt_SP2NL='tr \040 \012'
6490 lt_NL2SP='tr \015\012 \040\040'
6492 *) # EBCDIC based system
6493 lt_SP2NL='tr \100 \n'
6494 lt_NL2SP='tr \r\n \100\100'
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6507 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6508 if ${lt_cv_ld_reload_flag+:} false; then :
6509 $as_echo_n "(cached
) " >&6
6511 lt_cv_ld_reload_flag='-r'
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6514 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6515 reload_flag=$lt_cv_ld_reload_flag
6516 case $reload_flag in
6518 *) reload_flag=" $reload_flag" ;;
6520 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6523 if test "$GCC" = yes; then
6524 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6526 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6539 if test -n "$ac_tool_prefix"; then
6540 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6541 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6543 $as_echo_n "checking
for $ac_word...
" >&6; }
6544 if ${ac_cv_prog_OBJDUMP+:} false; then :
6545 $as_echo_n "(cached
) " >&6
6547 if test -n "$OBJDUMP"; then
6548 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6557 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6567 OBJDUMP=$ac_cv_prog_OBJDUMP
6568 if test -n "$OBJDUMP"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6570 $as_echo "$OBJDUMP" >&6; }
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6573 $as_echo "no
" >&6; }
6578 if test -z "$ac_cv_prog_OBJDUMP"; then
6579 ac_ct_OBJDUMP=$OBJDUMP
6580 # Extract the first word of "objdump
", so it can be a program name with args.
6581 set dummy objdump; ac_word=$2
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6583 $as_echo_n "checking
for $ac_word...
" >&6; }
6584 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6585 $as_echo_n "(cached
) " >&6
6587 if test -n "$ac_ct_OBJDUMP"; then
6588 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6594 test -z "$as_dir" && as_dir=.
6595 for ac_exec_ext in '' $ac_executable_extensions; do
6596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6597 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6607 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6608 if test -n "$ac_ct_OBJDUMP"; then
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6610 $as_echo "$ac_ct_OBJDUMP" >&6; }
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6613 $as_echo "no
" >&6; }
6616 if test "x
$ac_ct_OBJDUMP" = x; then
6619 case $cross_compiling:$ac_tool_warned in
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6622 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6623 ac_tool_warned=yes ;;
6625 OBJDUMP=$ac_ct_OBJDUMP
6628 OBJDUMP="$ac_cv_prog_OBJDUMP"
6631 test -z "$OBJDUMP" && OBJDUMP=objdump
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6642 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6643 if ${lt_cv_deplibs_check_method+:} false; then :
6644 $as_echo_n "(cached
) " >&6
6646 lt_cv_file_magic_cmd='$MAGIC_CMD'
6647 lt_cv_file_magic_test_file=
6648 lt_cv_deplibs_check_method='unknown'
6649 # Need to set the preceding variable on all platforms that support
6650 # interlibrary dependencies.
6651 # 'none' -- dependencies not supported.
6652 # `unknown' -- same as none, but documents that we really don't know.
6653 # 'pass_all' -- all dependencies passed with no checks.
6654 # 'test_compile' -- check by making test program.
6655 # 'file_magic [[regex]]' -- check by looking for files in library path
6656 # which responds to the $file_magic_cmd with a given extended regex.
6657 # If you have `file' or equivalent on your system and you're not sure
6658 # whether `pass_all' will *always* work, you probably want this one.
6662 lt_cv_deplibs_check_method=pass_all
6666 lt_cv_deplibs_check_method=pass_all
6670 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6671 lt_cv_file_magic_cmd='/usr/bin/file -L'
6672 lt_cv_file_magic_test_file=/shlib/libc.so
6676 # func_win32_libid is a shell function defined in ltmain.sh
6677 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6678 lt_cv_file_magic_cmd='func_win32_libid'
6682 # Base MSYS/MinGW do not provide the 'file' command needed by
6683 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6684 # unless we find 'file', for example because we are cross-compiling.
6685 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6686 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6687 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6688 lt_cv_file_magic_cmd='func_win32_libid'
6690 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6691 lt_cv_file_magic_cmd='$OBJDUMP -f'
6696 # use the weaker test based on 'objdump'. See mingw*.
6697 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6698 lt_cv_file_magic_cmd='$OBJDUMP -f'
6701 darwin* | rhapsody*)
6702 lt_cv_deplibs_check_method=pass_all
6705 freebsd* | dragonfly*)
6706 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6709 # Not sure whether the presence of OpenBSD here was a mistake.
6710 # Let's accept both of them until this is cleared up.
6711 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6712 lt_cv_file_magic_cmd=/usr/bin/file
6713 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6717 lt_cv_deplibs_check_method=pass_all
6722 lt_cv_deplibs_check_method=pass_all
6726 lt_cv_deplibs_check_method=pass_all
6729 hpux10.20* | hpux11*)
6730 lt_cv_file_magic_cmd=/usr/bin/file
6733 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6734 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6737 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]'
6738 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6741 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6742 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6748 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6749 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6752 irix5* | irix6* | nonstopux*)
6754 *-32|*"-32 ") libmagic=32-bit;;
6755 *-n32|*"-n32 ") libmagic=N32;;
6756 *-64|*"-64 ") libmagic=64-bit;;
6757 *) libmagic=never-match;;
6759 lt_cv_deplibs_check_method=pass_all
6762 # This must be Linux ELF.
6763 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6764 lt_cv_deplibs_check_method=pass_all
6768 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6769 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6771 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6776 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6777 lt_cv_file_magic_cmd=/usr/bin/file
6778 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6782 lt_cv_deplibs_check_method=pass_all
6786 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6787 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6789 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6793 osf3* | osf4* | osf5*)
6794 lt_cv_deplibs_check_method=pass_all
6798 lt_cv_deplibs_check_method=pass_all
6802 lt_cv_deplibs_check_method=pass_all
6805 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6806 lt_cv_deplibs_check_method=pass_all
6810 case $host_vendor in
6812 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]'
6813 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6816 lt_cv_deplibs_check_method=pass_all
6819 lt_cv_file_magic_cmd='/bin/file'
6820 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6823 lt_cv_file_magic_cmd='/bin/file'
6824 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6825 lt_cv_file_magic_test_file=/lib/libc.so
6828 lt_cv_deplibs_check_method=pass_all
6831 lt_cv_deplibs_check_method=pass_all
6837 lt_cv_deplibs_check_method=pass_all
6840 # Assume VxWorks cross toolchains are built on Linux, possibly
6841 # as canadian for Windows hosts.
6842 lt_cv_deplibs_check_method=pass_all
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6848 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6849 file_magic_cmd=$lt_cv_file_magic_cmd
6850 deplibs_check_method=$lt_cv_deplibs_check_method
6851 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6864 if test -n "$ac_tool_prefix"; then
6865 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6866 set dummy ${ac_tool_prefix}ar; ac_word=$2
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6868 $as_echo_n "checking
for $ac_word...
" >&6; }
6869 if ${ac_cv_prog_AR+:} false; then :
6870 $as_echo_n "(cached
) " >&6
6872 if test -n "$AR"; then
6873 ac_cv_prog_AR="$AR" # Let the user override the test.
6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 test -z "$as_dir" && as_dir=.
6880 for ac_exec_ext in '' $ac_executable_extensions; do
6881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6882 ac_cv_prog_AR="${ac_tool_prefix}ar"
6883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6893 if test -n "$AR"; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6895 $as_echo "$AR" >&6; }
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6898 $as_echo "no
" >&6; }
6903 if test -z "$ac_cv_prog_AR"; then
6905 # Extract the first word of "ar", so it can be a program name with args.
6906 set dummy ar; ac_word=$2
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6908 $as_echo_n "checking
for $ac_word...
" >&6; }
6909 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6910 $as_echo_n "(cached
) " >&6
6912 if test -n "$ac_ct_AR"; then
6913 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir=.
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6922 ac_cv_prog_ac_ct_AR="ar"
6923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6932 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6933 if test -n "$ac_ct_AR"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6935 $as_echo "$ac_ct_AR" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6938 $as_echo "no
" >&6; }
6941 if test "x
$ac_ct_AR" = x; then
6944 case $cross_compiling:$ac_tool_warned in
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6947 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6948 ac_tool_warned=yes ;;
6956 test -z "$AR" && AR=ar
6957 test -z "$AR_FLAGS" && AR_FLAGS=cru
6969 if test -n "$ac_tool_prefix"; then
6970 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6971 set dummy ${ac_tool_prefix}strip; ac_word=$2
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6973 $as_echo_n "checking
for $ac_word...
" >&6; }
6974 if ${ac_cv_prog_STRIP+:} false; then :
6975 $as_echo_n "(cached
) " >&6
6977 if test -n "$STRIP"; then
6978 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984 test -z "$as_dir" && as_dir=.
6985 for ac_exec_ext in '' $ac_executable_extensions; do
6986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6987 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6997 STRIP=$ac_cv_prog_STRIP
6998 if test -n "$STRIP"; then
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7000 $as_echo "$STRIP" >&6; }
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7003 $as_echo "no
" >&6; }
7008 if test -z "$ac_cv_prog_STRIP"; then
7010 # Extract the first word of "strip
", so it can be a program name with args.
7011 set dummy strip; ac_word=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7013 $as_echo_n "checking
for $ac_word...
" >&6; }
7014 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7015 $as_echo_n "(cached
) " >&6
7017 if test -n "$ac_ct_STRIP"; then
7018 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024 test -z "$as_dir" && as_dir=.
7025 for ac_exec_ext in '' $ac_executable_extensions; do
7026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7027 ac_cv_prog_ac_ct_STRIP="strip
"
7028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7037 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7038 if test -n "$ac_ct_STRIP"; then
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7040 $as_echo "$ac_ct_STRIP" >&6; }
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7043 $as_echo "no
" >&6; }
7046 if test "x
$ac_ct_STRIP" = x; then
7049 case $cross_compiling:$ac_tool_warned in
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7052 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7053 ac_tool_warned=yes ;;
7058 STRIP="$ac_cv_prog_STRIP"
7061 test -z "$STRIP" && STRIP=:
7068 if test -n "$ac_tool_prefix"; then
7069 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7070 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7072 $as_echo_n "checking
for $ac_word...
" >&6; }
7073 if ${ac_cv_prog_RANLIB+:} false; then :
7074 $as_echo_n "(cached
) " >&6
7076 if test -n "$RANLIB"; then
7077 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 test -z "$as_dir" && as_dir=.
7084 for ac_exec_ext in '' $ac_executable_extensions; do
7085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7086 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7096 RANLIB=$ac_cv_prog_RANLIB
7097 if test -n "$RANLIB"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7099 $as_echo "$RANLIB" >&6; }
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7102 $as_echo "no
" >&6; }
7107 if test -z "$ac_cv_prog_RANLIB"; then
7108 ac_ct_RANLIB=$RANLIB
7109 # Extract the first word of "ranlib
", so it can be a program name with args.
7110 set dummy ranlib; ac_word=$2
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7112 $as_echo_n "checking
for $ac_word...
" >&6; }
7113 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7114 $as_echo_n "(cached
) " >&6
7116 if test -n "$ac_ct_RANLIB"; then
7117 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 test -z "$as_dir" && as_dir=.
7124 for ac_exec_ext in '' $ac_executable_extensions; do
7125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7126 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7136 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7137 if test -n "$ac_ct_RANLIB"; then
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7139 $as_echo "$ac_ct_RANLIB" >&6; }
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7142 $as_echo "no
" >&6; }
7145 if test "x
$ac_ct_RANLIB" = x; then
7148 case $cross_compiling:$ac_tool_warned in
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7151 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7152 ac_tool_warned=yes ;;
7154 RANLIB=$ac_ct_RANLIB
7157 RANLIB="$ac_cv_prog_RANLIB"
7160 test -z "$RANLIB" && RANLIB=:
7167 # Determine commands to create old-style static archives.
7168 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7169 old_postinstall_cmds='chmod 644 $oldlib'
7170 old_postuninstall_cmds=
7172 if test -n "$RANLIB"; then
7175 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7178 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7181 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7186 lock_old_archive_extraction=yes ;;
7188 lock_old_archive_extraction=no ;;
7229 # If no C compiler was specified, use CC.
7232 # If no C compiler flags were specified, use CFLAGS.
7233 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7235 # Allow CC to be a program name with arguments.
7239 # Check for command to grab the raw symbol name followed by C symbol from nm.
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7241 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7242 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7243 $as_echo_n "(cached
) " >&6
7246 # These are sane defaults that work on at least a few old systems.
7247 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7249 # Character class describing NM global symbol codes.
7250 symcode='[BCDEGRST]'
7252 # Regexp to match symbols that can be accessed directly from C.
7253 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7255 # Define system-specific variables.
7260 cygwin* | mingw* | pw32* | cegcc*)
7261 symcode='[ABCDGISTW]'
7264 if test "$host_cpu" = ia64; then
7265 symcode='[ABCDEGRST]'
7269 symcode='[BCDEGRST]'
7272 symcode='[BCDEGQRST]'
7283 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7291 # If we're using GNU nm, then use its standard symbol codes.
7292 case `$NM -V 2>&1` in
7293 *GNU* | *'with BFD'*)
7294 symcode='[ABCDGIRSTW]' ;;
7297 # Transform an extracted symbol line into a proper C declaration.
7298 # Some systems (esp. on ia64) link data and code symbols differently,
7299 # so use this general approach.
7300 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7302 # Transform an extracted symbol line into symbol name and symbol address
7303 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7304 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'"
7306 # Handle CRLF in mingw tool chain
7310 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7314 # Try without a prefix underscore, then with it.
7315 for ac_symprfx in "" "_
"; do
7317 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7318 symxfrm="\\1 $ac_symprfx\\2 \\2"
7320 # Write the raw and C identifiers.
7321 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7322 # Fake it for dumpbin and say T for any non-static function
7323 # and D for any global variable.
7324 # Also find C++ and __fastcall symbols from MSVC++,
7325 # which start with @ or ?.
7326 lt_cv_sys_global_symbol_pipe="$AWK '"\
7327 " {last_section=section; section=\$ 3};"\
7328 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7329 " \$ 0!~/External *\|/{next};"\
7330 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7331 " {if(hide[section]) next};"\
7332 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7333 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7334 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7335 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7336 " ' prfx
=^
$ac_symprfx"
7338 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7341 # Check to see that the pipe works correctly.
7345 cat > conftest.$ac_ext <<_LT_EOF
7350 void nm_test_func(void);
7351 void nm_test_func(void){}
7355 int main(){nm_test_var='a';nm_test_func();return(0);}
7358 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7359 (eval $ac_compile) 2>&5
7361 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7362 test $ac_status = 0; }; then
7363 # Now try to grab the symbols.
7365 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7366 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7368 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7369 test $ac_status = 0; } && test -s "$nlist"; then
7370 # Try sorting and uniquifying the output.
7371 if sort "$nlist" | uniq > "$nlist"T; then
7372 mv -f "$nlist"T "$nlist"
7377 # Make sure that we snagged all the symbols we need.
7378 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7379 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7380 cat <<_LT_EOF > conftest.$ac_ext
7386 # Now generate the symbol file.
7387 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7389 cat <<_LT_EOF >> conftest.$ac_ext
7391 /* The mapping between symbol names and symbols. */
7396 lt__PROGRAM__LTX_preloaded_symbols[] =
7398 { "@PROGRAM@
", (void *) 0 },
7400 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7401 cat <<\_LT_EOF >> conftest.$ac_ext
7405 /* This works around a problem in FreeBSD linker */
7406 #ifdef FREEBSD_WORKAROUND
7407 static const void *lt_preloaded_setup() {
7408 return lt__PROGRAM__LTX_preloaded_symbols;
7416 # Now try linking the two files.
7417 mv conftest.$ac_objext conftstm.$ac_objext
7418 lt_save_LIBS="$LIBS"
7419 lt_save_CFLAGS="$CFLAGS"
7420 LIBS="conftstm.
$ac_objext"
7421 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7422 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7423 (eval $ac_link) 2>&5
7425 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7426 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7429 LIBS="$lt_save_LIBS"
7430 CFLAGS="$lt_save_CFLAGS"
7432 echo "cannot
find nm_test_func
in $nlist" >&5
7435 echo "cannot
find nm_test_var
in $nlist" >&5
7438 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7441 echo "$progname: failed program was
:" >&5
7442 cat conftest.$ac_ext >&5
7444 rm -rf conftest* conftst*
7446 # Do not use the global_symbol_pipe unless it works.
7447 if test "$pipe_works" = yes; then
7450 lt_cv_sys_global_symbol_pipe=
7456 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7457 lt_cv_sys_global_symbol_to_cdecl=
7459 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7461 $as_echo "failed
" >&6; }
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7464 $as_echo "ok
" >&6; }
7489 # Check whether --enable-libtool-lock was given.
7490 if test "${enable_libtool_lock+set}" = set; then :
7491 enableval=$enable_libtool_lock;
7494 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7496 # Some flags need to be propagated to the compiler or linker for good
7500 # Find out which ABI we are using.
7501 echo 'int i;' > conftest.$ac_ext
7502 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7503 (eval $ac_compile) 2>&5
7505 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7506 test $ac_status = 0; }; then
7507 case `/usr/bin/file conftest.$ac_objext` in
7519 # Find out which ABI we are using.
7520 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7521 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7522 (eval $ac_compile) 2>&5
7524 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7525 test $ac_status = 0; }; then
7526 if test "$lt_cv_prog_gnu_ld" = yes; then
7527 case `/usr/bin/file conftest.$ac_objext` in
7529 LD="${LD-ld} -melf32bsmip"
7532 LD="${LD-ld} -melf32bmipn32"
7535 LD="${LD-ld} -melf64bmip"
7539 case `/usr/bin/file conftest.$ac_objext` in
7555 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7556 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7557 # Find out which ABI we are using.
7558 echo 'int i;' > conftest.$ac_ext
7559 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7560 (eval $ac_compile) 2>&5
7562 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7563 test $ac_status = 0; }; then
7564 case `/usr/bin/file conftest.o` in
7567 x86_64-*kfreebsd*-gnu)
7568 LD="${LD-ld} -m elf_i386_fbsd
"
7571 case `/usr/bin/file conftest.o` in
7573 LD="${LD-ld} -m elf32_x86_64
"
7576 LD="${LD-ld} -m elf_i386
"
7580 powerpc64le-*linux*)
7581 LD="${LD-ld} -m elf32lppclinux
"
7584 LD="${LD-ld} -m elf32ppclinux
"
7587 LD="${LD-ld} -m elf_s390
"
7590 LD="${LD-ld} -m elf32_sparc
"
7596 x86_64-*kfreebsd*-gnu)
7597 LD="${LD-ld} -m elf_x86_64_fbsd
"
7600 LD="${LD-ld} -m elf_x86_64
"
7603 LD="${LD-ld} -m elf64lppc
"
7606 LD="${LD-ld} -m elf64ppc
"
7608 s390*-*linux*|s390*-*tpf*)
7609 LD="${LD-ld} -m elf64_s390
"
7612 LD="${LD-ld} -m elf64_sparc
"
7622 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7623 SAVE_CFLAGS="$CFLAGS"
7624 CFLAGS="$CFLAGS -belf"
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7626 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7627 if ${lt_cv_cc_needs_belf+:} false; then :
7628 $as_echo_n "(cached
) " >&6
7631 ac_cpp='$CPP $CPPFLAGS'
7632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7637 /* end confdefs.h. */
7647 if ac_fn_c_try_link "$LINENO"; then :
7648 lt_cv_cc_needs_belf=yes
7650 lt_cv_cc_needs_belf=no
7652 rm -f core conftest.err conftest.$ac_objext \
7653 conftest$ac_exeext conftest.$ac_ext
7655 ac_cpp='$CPP $CPPFLAGS'
7656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7662 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7663 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7664 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7665 CFLAGS="$SAVE_CFLAGS"
7669 # Find out which ABI we are using.
7670 echo 'int i;' > conftest.$ac_ext
7671 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7672 (eval $ac_compile) 2>&5
7674 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7675 test $ac_status = 0; }; then
7676 case `/usr/bin/file conftest.o` in
7678 case $lt_cv_prog_gnu_ld in
7679 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7681 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7693 need_locks="$enable_libtool_lock"
7697 rhapsody* | darwin*)
7698 if test -n "$ac_tool_prefix"; then
7699 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7700 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7702 $as_echo_n "checking
for $ac_word...
" >&6; }
7703 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7704 $as_echo_n "(cached
) " >&6
7706 if test -n "$DSYMUTIL"; then
7707 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7713 test -z "$as_dir" && as_dir=.
7714 for ac_exec_ext in '' $ac_executable_extensions; do
7715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7716 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7717 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7726 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7727 if test -n "$DSYMUTIL"; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7729 $as_echo "$DSYMUTIL" >&6; }
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7732 $as_echo "no
" >&6; }
7737 if test -z "$ac_cv_prog_DSYMUTIL"; then
7738 ac_ct_DSYMUTIL=$DSYMUTIL
7739 # Extract the first word of "dsymutil
", so it can be a program name with args.
7740 set dummy dsymutil; ac_word=$2
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7742 $as_echo_n "checking
for $ac_word...
" >&6; }
7743 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7744 $as_echo_n "(cached
) " >&6
7746 if test -n "$ac_ct_DSYMUTIL"; then
7747 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir=.
7754 for ac_exec_ext in '' $ac_executable_extensions; do
7755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7756 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7766 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7767 if test -n "$ac_ct_DSYMUTIL"; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7769 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7772 $as_echo "no
" >&6; }
7775 if test "x
$ac_ct_DSYMUTIL" = x; then
7778 case $cross_compiling:$ac_tool_warned in
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7781 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7782 ac_tool_warned=yes ;;
7784 DSYMUTIL=$ac_ct_DSYMUTIL
7787 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7790 if test -n "$ac_tool_prefix"; then
7791 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7792 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7794 $as_echo_n "checking
for $ac_word...
" >&6; }
7795 if ${ac_cv_prog_NMEDIT+:} false; then :
7796 $as_echo_n "(cached
) " >&6
7798 if test -n "$NMEDIT"; then
7799 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7805 test -z "$as_dir" && as_dir=.
7806 for ac_exec_ext in '' $ac_executable_extensions; do
7807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7808 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7818 NMEDIT=$ac_cv_prog_NMEDIT
7819 if test -n "$NMEDIT"; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7821 $as_echo "$NMEDIT" >&6; }
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7824 $as_echo "no
" >&6; }
7829 if test -z "$ac_cv_prog_NMEDIT"; then
7830 ac_ct_NMEDIT=$NMEDIT
7831 # Extract the first word of "nmedit
", so it can be a program name with args.
7832 set dummy nmedit; ac_word=$2
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7834 $as_echo_n "checking
for $ac_word...
" >&6; }
7835 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7836 $as_echo_n "(cached
) " >&6
7838 if test -n "$ac_ct_NMEDIT"; then
7839 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7845 test -z "$as_dir" && as_dir=.
7846 for ac_exec_ext in '' $ac_executable_extensions; do
7847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7848 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7858 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7859 if test -n "$ac_ct_NMEDIT"; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7861 $as_echo "$ac_ct_NMEDIT" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7864 $as_echo "no
" >&6; }
7867 if test "x
$ac_ct_NMEDIT" = x; then
7870 case $cross_compiling:$ac_tool_warned in
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7873 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7874 ac_tool_warned=yes ;;
7876 NMEDIT=$ac_ct_NMEDIT
7879 NMEDIT="$ac_cv_prog_NMEDIT"
7882 if test -n "$ac_tool_prefix"; then
7883 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7884 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7886 $as_echo_n "checking
for $ac_word...
" >&6; }
7887 if ${ac_cv_prog_LIPO+:} false; then :
7888 $as_echo_n "(cached
) " >&6
7890 if test -n "$LIPO"; then
7891 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7910 LIPO=$ac_cv_prog_LIPO
7911 if test -n "$LIPO"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7913 $as_echo "$LIPO" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7916 $as_echo "no
" >&6; }
7921 if test -z "$ac_cv_prog_LIPO"; then
7923 # Extract the first word of "lipo
", so it can be a program name with args.
7924 set dummy lipo; ac_word=$2
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7926 $as_echo_n "checking
for $ac_word...
" >&6; }
7927 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7928 $as_echo_n "(cached
) " >&6
7930 if test -n "$ac_ct_LIPO"; then
7931 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940 ac_cv_prog_ac_ct_LIPO="lipo
"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7950 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7951 if test -n "$ac_ct_LIPO"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7953 $as_echo "$ac_ct_LIPO" >&6; }
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7956 $as_echo "no
" >&6; }
7959 if test "x
$ac_ct_LIPO" = x; then
7962 case $cross_compiling:$ac_tool_warned in
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7965 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7966 ac_tool_warned=yes ;;
7971 LIPO="$ac_cv_prog_LIPO"
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}otool; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7978 $as_echo_n "checking
for $ac_word...
" >&6; }
7979 if ${ac_cv_prog_OTOOL+:} false; then :
7980 $as_echo_n "(cached
) " >&6
7982 if test -n "$OTOOL"; then
7983 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8002 OTOOL=$ac_cv_prog_OTOOL
8003 if test -n "$OTOOL"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8005 $as_echo "$OTOOL" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8008 $as_echo "no
" >&6; }
8013 if test -z "$ac_cv_prog_OTOOL"; then
8015 # Extract the first word of "otool
", so it can be a program name with args.
8016 set dummy otool; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8018 $as_echo_n "checking
for $ac_word...
" >&6; }
8019 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8020 $as_echo_n "(cached
) " >&6
8022 if test -n "$ac_ct_OTOOL"; then
8023 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_ac_ct_OTOOL="otool
"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8042 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8043 if test -n "$ac_ct_OTOOL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8045 $as_echo "$ac_ct_OTOOL" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8048 $as_echo "no
" >&6; }
8051 if test "x
$ac_ct_OTOOL" = x; then
8054 case $cross_compiling:$ac_tool_warned in
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8057 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8058 ac_tool_warned=yes ;;
8063 OTOOL="$ac_cv_prog_OTOOL"
8066 if test -n "$ac_tool_prefix"; then
8067 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8068 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8070 $as_echo_n "checking
for $ac_word...
" >&6; }
8071 if ${ac_cv_prog_OTOOL64+:} false; then :
8072 $as_echo_n "(cached
) " >&6
8074 if test -n "$OTOOL64"; then
8075 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8094 OTOOL64=$ac_cv_prog_OTOOL64
8095 if test -n "$OTOOL64"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8097 $as_echo "$OTOOL64" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8100 $as_echo "no
" >&6; }
8105 if test -z "$ac_cv_prog_OTOOL64"; then
8106 ac_ct_OTOOL64=$OTOOL64
8107 # Extract the first word of "otool64
", so it can be a program name with args.
8108 set dummy otool64; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8110 $as_echo_n "checking
for $ac_word...
" >&6; }
8111 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8112 $as_echo_n "(cached
) " >&6
8114 if test -n "$ac_ct_OTOOL64"; then
8115 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8134 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8135 if test -n "$ac_ct_OTOOL64"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8137 $as_echo "$ac_ct_OTOOL64" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8140 $as_echo "no
" >&6; }
8143 if test "x
$ac_ct_OTOOL64" = x; then
8146 case $cross_compiling:$ac_tool_warned in
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8149 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8150 ac_tool_warned=yes ;;
8152 OTOOL64=$ac_ct_OTOOL64
8155 OTOOL64="$ac_cv_prog_OTOOL64"
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8185 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8186 if ${lt_cv_apple_cc_single_mod+:} false; then :
8187 $as_echo_n "(cached
) " >&6
8189 lt_cv_apple_cc_single_mod=no
8190 if test -z "${LT_MULTI_MODULE}"; then
8191 # By default we will add the -single_module flag. You can override
8192 # by either setting the environment variable LT_MULTI_MODULE
8193 # non-empty at configure time, or by adding -multi_module to the
8195 rm -rf libconftest.dylib*
8196 echo "int foo
(void
){return 1;}" > conftest.c
8197 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8198 -dynamiclib -Wl,-single_module conftest.c
" >&5
8199 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8200 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8202 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8203 lt_cv_apple_cc_single_mod=yes
8205 cat conftest.err >&5
8207 rm -rf libconftest.dylib*
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8212 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8214 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8215 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8216 $as_echo_n "(cached
) " >&6
8218 lt_cv_ld_exported_symbols_list=no
8219 save_LDFLAGS=$LDFLAGS
8220 echo "_main
" > conftest.sym
8221 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8223 /* end confdefs.h. */
8233 if ac_fn_c_try_link "$LINENO"; then :
8234 lt_cv_ld_exported_symbols_list=yes
8236 lt_cv_ld_exported_symbols_list=no
8238 rm -f core conftest.err conftest.$ac_objext \
8239 conftest$ac_exeext conftest.$ac_ext
8240 LDFLAGS="$save_LDFLAGS"
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8244 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8246 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8247 if ${lt_cv_ld_force_load+:} false; then :
8248 $as_echo_n "(cached
) " >&6
8250 lt_cv_ld_force_load=no
8251 cat > conftest.c << _LT_EOF
8252 int forced_loaded() { return 2;}
8254 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8255 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8256 echo "$AR cru libconftest.a conftest.o
" >&5
8257 $AR cru libconftest.a conftest.o 2>&5
8258 cat > conftest.c << _LT_EOF
8259 int main() { return 0;}
8261 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8262 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8264 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8265 lt_cv_ld_force_load=yes
8267 cat conftest.err >&5
8269 rm -f conftest.err libconftest.a conftest conftest.c
8270 rm -rf conftest.dSYM
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8274 $as_echo "$lt_cv_ld_force_load" >&6; }
8275 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8276 # build without first building modern cctools / linker.
8277 case $host_cpu-$host_os in
8278 *-rhapsody* | *-darwin1.[012])
8279 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8281 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8283 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8284 # deployment target is forced to an earlier version.
8285 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8286 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8289 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8296 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8297 _lt_dar_single_mod='$single_module'
8299 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8300 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8302 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8304 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8305 _lt_dsymutil='~$DSYMUTIL $lib || :'
8313 ac_cpp='$CPP $CPPFLAGS'
8314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8318 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8319 # On Suns, sometimes $CPP names a directory.
8320 if test -n "$CPP" && test -d "$CPP"; then
8323 if test -z "$CPP"; then
8324 if ${ac_cv_prog_CPP+:} false; then :
8325 $as_echo_n "(cached
) " >&6
8327 # Double quotes because CPP needs to be expanded
8328 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8331 for ac_c_preproc_warn_flag in '' yes
8333 # Use a header file that comes with gcc, so configuring glibc
8334 # with a fresh cross-compiler works.
8335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8336 # <limits.h> exists even on freestanding compilers.
8337 # On the NeXT, cc -E runs the code through the compiler's parser,
8338 # not just through cpp. "Syntax error
" is here to catch this case.
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8342 # include <limits.h>
8344 # include <assert.h>
8348 if ac_fn_c_try_cpp "$LINENO"; then :
8351 # Broken: fails on valid input.
8354 rm -f conftest.err conftest.i conftest.$ac_ext
8356 # OK, works on sane cases. Now check whether nonexistent headers
8357 # can be detected and how.
8358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8360 #include <ac_nonexistent.h>
8362 if ac_fn_c_try_cpp "$LINENO"; then :
8363 # Broken: success on invalid input.
8366 # Passes both tests.
8370 rm -f conftest.err conftest.i conftest.$ac_ext
8373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8374 rm -f conftest.i conftest.err conftest.$ac_ext
8375 if $ac_preproc_ok; then :
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8388 $as_echo "$CPP" >&6; }
8390 for ac_c_preproc_warn_flag in '' yes
8392 # Use a header file that comes with gcc, so configuring glibc
8393 # with a fresh cross-compiler works.
8394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8395 # <limits.h> exists even on freestanding compilers.
8396 # On the NeXT, cc -E runs the code through the compiler's parser,
8397 # not just through cpp. "Syntax error
" is here to catch this case.
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8401 # include <limits.h>
8403 # include <assert.h>
8407 if ac_fn_c_try_cpp "$LINENO"; then :
8410 # Broken: fails on valid input.
8413 rm -f conftest.err conftest.i conftest.$ac_ext
8415 # OK, works on sane cases. Now check whether nonexistent headers
8416 # can be detected and how.
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8419 #include <ac_nonexistent.h>
8421 if ac_fn_c_try_cpp "$LINENO"; then :
8422 # Broken: success on invalid input.
8425 # Passes both tests.
8429 rm -f conftest.err conftest.i conftest.$ac_ext
8432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8433 rm -f conftest.i conftest.err conftest.$ac_ext
8434 if $ac_preproc_ok; then :
8437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8439 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8440 See \`config.log' for more details
" "$LINENO" 5; }
8444 ac_cpp='$CPP $CPPFLAGS'
8445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8451 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8452 if ${ac_cv_header_stdc+:} false; then :
8453 $as_echo_n "(cached
) " >&6
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8470 if ac_fn_c_try_compile "$LINENO"; then :
8471 ac_cv_header_stdc=yes
8473 ac_cv_header_stdc=no
8475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8477 if test $ac_cv_header_stdc = yes; then
8478 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8484 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8485 $EGREP "memchr
" >/dev/null 2>&1; then :
8488 ac_cv_header_stdc=no
8494 if test $ac_cv_header_stdc = yes; then
8495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8501 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8502 $EGREP "free
" >/dev/null 2>&1; then :
8505 ac_cv_header_stdc=no
8511 if test $ac_cv_header_stdc = yes; then
8512 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8513 if test "$cross_compiling" = yes; then :
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8520 #if ((' ' & 0x0FF) == 0x020)
8521 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8522 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8524 # define ISLOWER(c) \
8525 (('a' <= (c) && (c) <= 'i') \
8526 || ('j' <= (c) && (c) <= 'r') \
8527 || ('s' <= (c) && (c) <= 'z'))
8528 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8531 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8536 for (i = 0; i < 256; i++)
8537 if (XOR (islower (i), ISLOWER (i))
8538 || toupper (i) != TOUPPER (i))
8543 if ac_fn_c_try_run "$LINENO"; then :
8546 ac_cv_header_stdc=no
8548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8549 conftest.$ac_objext conftest.beam conftest.$ac_ext
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8555 $as_echo "$ac_cv_header_stdc" >&6; }
8556 if test $ac_cv_header_stdc = yes; then
8558 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8562 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8563 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8564 inttypes.h stdint.h unistd.h
8566 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8567 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8569 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8570 cat >>confdefs.h
<<_ACEOF
8571 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8579 for ac_header
in dlfcn.h
8581 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8583 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8584 cat >>confdefs.h
<<_ACEOF
8585 #define HAVE_DLFCN_H 1
8607 # Check whether --enable-shared was given.
8608 if test "${enable_shared+set}" = set; then :
8609 enableval
=$enable_shared; p
=${PACKAGE-default}
8611 yes) enable_shared
=yes ;;
8612 no
) enable_shared
=no
;;
8615 # Look at the argument we got. We use all the common list separators.
8616 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8617 for pkg
in $enableval; do
8619 if test "X$pkg" = "X$p"; then
8638 # Check whether --enable-static was given.
8639 if test "${enable_static+set}" = set; then :
8640 enableval
=$enable_static; p
=${PACKAGE-default}
8642 yes) enable_static
=yes ;;
8643 no
) enable_static
=no
;;
8646 # Look at the argument we got. We use all the common list separators.
8647 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8648 for pkg
in $enableval; do
8650 if test "X$pkg" = "X$p"; then
8670 # Check whether --with-pic was given.
8671 if test "${with_pic+set}" = set; then :
8672 withval
=$with_pic; pic_mode
="$withval"
8678 test -z "$pic_mode" && pic_mode
=default
8686 # Check whether --enable-fast-install was given.
8687 if test "${enable_fast_install+set}" = set; then :
8688 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8690 yes) enable_fast_install
=yes ;;
8691 no
) enable_fast_install
=no
;;
8693 enable_fast_install
=no
8694 # Look at the argument we got. We use all the common list separators.
8695 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8696 for pkg
in $enableval; do
8698 if test "X$pkg" = "X$p"; then
8699 enable_fast_install
=yes
8706 enable_fast_install
=yes
8719 # This can be used to rebuild libtool when needed
8720 LIBTOOL_DEPS
="$ltmain"
8722 # Always use our own libtool.
8723 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8750 test -z "$LN_S" && LN_S
="ln -s"
8765 if test -n "${ZSH_VERSION+set}" ; then
8766 setopt NO_GLOB_SUBST
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8770 $as_echo_n "checking for objdir... " >&6; }
8771 if ${lt_cv_objdir+:} false
; then :
8772 $as_echo_n "(cached) " >&6
8774 rm -f .libs
2>/dev
/null
8775 mkdir .libs
2>/dev
/null
8776 if test -d .libs
; then
8779 # MS-DOS does not allow filenames that begin with a dot.
8782 rmdir .libs
2>/dev
/null
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8785 $as_echo "$lt_cv_objdir" >&6; }
8786 objdir
=$lt_cv_objdir
8792 cat >>confdefs.h
<<_ACEOF
8793 #define LT_OBJDIR "$lt_cv_objdir/"
8801 # AIX sometimes has problems with the GCC collect2 program. For some
8802 # reason, if we set the COLLECT_NAMES environment variable, the problems
8803 # vanish in a puff of smoke.
8804 if test "X${COLLECT_NAMES+set}" != Xset
; then
8806 export COLLECT_NAMES
8813 can_build_shared
=yes
8815 # All known linkers require a `.a' archive for static linking (except MSVC,
8816 # which needs '.lib').
8819 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8822 old_CFLAGS
="$CFLAGS"
8824 # Set sane defaults for various variables
8825 test -z "$CC" && CC
=cc
8826 test -z "$LTCC" && LTCC
=$CC
8827 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8828 test -z "$LD" && LD
=ld
8829 test -z "$ac_objext" && ac_objext
=o
8831 for cc_temp
in $compiler""; do
8833 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8834 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8839 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8842 # Only perform the check for file, if the check method requires it
8843 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8844 case $deplibs_check_method in
8846 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8848 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8849 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8850 $as_echo_n "(cached) " >&6
8854 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8857 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8858 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8859 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8860 for ac_dir
in $ac_dummy; do
8862 test -z "$ac_dir" && ac_dir
=.
8863 if test -f $ac_dir/${ac_tool_prefix}file; then
8864 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8865 if test -n "$file_magic_test_file"; then
8866 case $deplibs_check_method in
8868 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8869 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8870 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8871 $EGREP "$file_magic_regex" > /dev
/null
; then
8876 *** Warning: the command libtool uses to detect shared libraries,
8877 *** $file_magic_cmd, produces output that libtool cannot recognize.
8878 *** The result is that libtool may fail to recognize shared libraries
8879 *** as such. This will affect the creation of libtool libraries that
8880 *** depend on shared libraries, but programs linked with such libtool
8881 *** libraries will work regardless of this problem. Nevertheless, you
8882 *** may want to report the problem to your system manager and/or to
8883 *** bug-libtool@gnu.org
8893 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8898 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8899 if test -n "$MAGIC_CMD"; then
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8901 $as_echo "$MAGIC_CMD" >&6; }
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8904 $as_echo "no" >&6; }
8911 if test -z "$lt_cv_path_MAGIC_CMD"; then
8912 if test -n "$ac_tool_prefix"; then
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8914 $as_echo_n "checking for file... " >&6; }
8915 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8916 $as_echo_n "(cached) " >&6
8920 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8923 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8924 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8925 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8926 for ac_dir
in $ac_dummy; do
8928 test -z "$ac_dir" && ac_dir
=.
8929 if test -f $ac_dir/file; then
8930 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8931 if test -n "$file_magic_test_file"; then
8932 case $deplibs_check_method in
8934 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8935 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8936 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8937 $EGREP "$file_magic_regex" > /dev
/null
; then
8942 *** Warning: the command libtool uses to detect shared libraries,
8943 *** $file_magic_cmd, produces output that libtool cannot recognize.
8944 *** The result is that libtool may fail to recognize shared libraries
8945 *** as such. This will affect the creation of libtool libraries that
8946 *** depend on shared libraries, but programs linked with such libtool
8947 *** libraries will work regardless of this problem. Nevertheless, you
8948 *** may want to report the problem to your system manager and/or to
8949 *** bug-libtool@gnu.org
8959 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8964 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8965 if test -n "$MAGIC_CMD"; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8967 $as_echo "$MAGIC_CMD" >&6; }
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8970 $as_echo "no" >&6; }
8983 # Use C for the default configuration in the libtool script
8987 ac_cpp
='$CPP $CPPFLAGS'
8988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8993 # Source file extension for C test sources.
8996 # Object file extension for compiled C test sources.
9000 # Code to be used in simple compile tests
9001 lt_simple_compile_test_code
="int some_variable = 0;"
9003 # Code to be used in simple link tests
9004 lt_simple_link_test_code
='int main(){return(0);}'
9012 # If no C compiler was specified, use CC.
9015 # If no C compiler flags were specified, use CFLAGS.
9016 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9018 # Allow CC to be a program name with arguments.
9021 # Save the default compiler, since it gets overwritten when the other
9022 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9023 compiler_DEFAULT
=$CC
9025 # save warnings/boilerplate of simple test code
9026 ac_outfile
=conftest.
$ac_objext
9027 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9028 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9029 _lt_compiler_boilerplate
=`cat conftest.err`
9032 ac_outfile
=conftest.
$ac_objext
9033 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9034 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9035 _lt_linker_boilerplate
=`cat conftest.err`
9040 ## There is no encapsulation within the following macros, do not change
9041 ## the running order or otherwise move them around unless you know exactly
9042 ## what you are doing...
9043 if test -n "$compiler"; then
9045 lt_prog_compiler_no_builtin_flag
=
9047 if test "$GCC" = yes; then
9048 case $cc_basename in
9050 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9052 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9056 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9057 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9058 $as_echo_n "(cached) " >&6
9060 lt_cv_prog_compiler_rtti_exceptions
=no
9061 ac_outfile
=conftest.
$ac_objext
9062 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9063 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9064 # Insert the option either (1) after the last *FLAGS variable, or
9065 # (2) before a word containing "conftest.", or (3) at the end.
9066 # Note that $ac_compile itself does not contain backslashes and begins
9067 # with a dollar sign (not a hyphen), so the echo should work correctly.
9068 # The option is referenced via a variable to avoid confusing sed.
9069 lt_compile
=`echo "$ac_compile" | $SED \
9070 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9071 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9072 -e 's:$: $lt_compiler_flag:'`
9073 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9074 (eval "$lt_compile" 2>conftest.err
)
9076 cat conftest.err
>&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 if (exit $ac_status) && test -s "$ac_outfile"; then
9079 # The compiler can only warn and ignore the option if not recognized
9080 # So say no if there are warnings other than the usual output.
9081 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9082 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9083 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9084 lt_cv_prog_compiler_rtti_exceptions
=yes
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9091 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9093 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9094 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9106 lt_prog_compiler_wl
=
9107 lt_prog_compiler_pic
=
9108 lt_prog_compiler_static
=
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9111 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9113 if test "$GCC" = yes; then
9114 lt_prog_compiler_wl
='-Wl,'
9115 lt_prog_compiler_static
='-static'
9119 # All AIX code is PIC.
9120 if test "$host_cpu" = ia64
; then
9121 # AIX 5 now supports IA64 processor
9122 lt_prog_compiler_static
='-Bstatic'
9124 lt_prog_compiler_pic
='-fPIC'
9130 # see comment about AmigaOS4 .so support
9131 lt_prog_compiler_pic
='-fPIC'
9134 # FIXME: we need at least 68020 code to build shared libraries, but
9135 # adding the `-m68020' flag to GCC prevents building anything better,
9137 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9142 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9143 # PIC is the default for these OSes.
9146 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9147 # This hack is so that the source file can tell whether it is being
9148 # built for inclusion in a dll (and should export symbols for example).
9149 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9150 # (--disable-auto-import) libraries
9151 lt_prog_compiler_pic
='-DDLL_EXPORT'
9154 darwin
* | rhapsody
*)
9155 # PIC is the default on this platform
9156 # Common symbols not allowed in MH_DYLIB files
9157 lt_prog_compiler_pic
='-fno-common'
9161 # PIC is the default for Haiku.
9162 # The "-static" flag exists, but is broken.
9163 lt_prog_compiler_static
=
9167 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9168 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9169 # sets the default TLS model and affects inlining.
9175 lt_prog_compiler_pic
='-fPIC'
9181 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9182 # Instead, we relocate shared libraries at runtime.
9186 # Just because we use GCC doesn't mean we suddenly get shared libraries
9187 # on systems that don't support them.
9188 lt_prog_compiler_can_build_shared
=no
9193 # QNX uses GNU C++, but need to define -shared option too, otherwise
9195 lt_prog_compiler_pic
='-fPIC -shared'
9199 if test -d /usr
/nec
; then
9200 lt_prog_compiler_pic
=-Kconform_pic
9205 lt_prog_compiler_pic
='-fPIC'
9209 case $cc_basename in
9210 nvcc
*) # Cuda Compiler Driver 2.2
9211 lt_prog_compiler_wl
='-Xlinker '
9212 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9216 # PORTME Check for flag to pass linker flags through the system compiler.
9219 lt_prog_compiler_wl
='-Wl,'
9220 if test "$host_cpu" = ia64
; then
9221 # AIX 5 now supports IA64 processor
9222 lt_prog_compiler_static
='-Bstatic'
9224 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9228 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9229 # This hack is so that the source file can tell whether it is being
9230 # built for inclusion in a dll (and should export symbols for example).
9231 lt_prog_compiler_pic
='-DDLL_EXPORT'
9234 hpux9
* | hpux10
* | hpux11
*)
9235 lt_prog_compiler_wl
='-Wl,'
9236 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9243 lt_prog_compiler_pic
='+Z'
9246 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9247 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9250 irix5
* | irix6
* | nonstopux
*)
9251 lt_prog_compiler_wl
='-Wl,'
9252 # PIC (with -KPIC) is the default.
9253 lt_prog_compiler_static
='-non_shared'
9256 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9257 case $cc_basename in
9258 # old Intel for x86_64 which still supported -KPIC.
9260 lt_prog_compiler_wl
='-Wl,'
9261 lt_prog_compiler_pic
='-KPIC'
9262 lt_prog_compiler_static
='-static'
9264 # icc used to be incompatible with GCC.
9265 # ICC 10 doesn't accept -KPIC any more.
9267 lt_prog_compiler_wl
='-Wl,'
9268 lt_prog_compiler_pic
='-fPIC'
9269 lt_prog_compiler_static
='-static'
9271 # Lahey Fortran 8.1.
9273 lt_prog_compiler_wl
='-Wl,'
9274 lt_prog_compiler_pic
='--shared'
9275 lt_prog_compiler_static
='--static'
9277 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9278 # Portland Group compilers (*not* the Pentium gcc compiler,
9279 # which looks to be a dead project)
9280 lt_prog_compiler_wl
='-Wl,'
9281 lt_prog_compiler_pic
='-fpic'
9282 lt_prog_compiler_static
='-Bstatic'
9285 lt_prog_compiler_wl
='-Wl,'
9286 # All Alpha code is PIC.
9287 lt_prog_compiler_static
='-non_shared'
9289 xl
* | bgxl
* | bgf
* | mpixl
*)
9290 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9291 lt_prog_compiler_wl
='-Wl,'
9292 lt_prog_compiler_pic
='-qpic'
9293 lt_prog_compiler_static
='-qstaticlink'
9296 case `$CC -V 2>&1 | sed 5q` in
9297 *Sun\ F
* |
*Sun
*Fortran
*)
9298 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9299 lt_prog_compiler_pic
='-KPIC'
9300 lt_prog_compiler_static
='-Bstatic'
9301 lt_prog_compiler_wl
=''
9305 lt_prog_compiler_pic
='-KPIC'
9306 lt_prog_compiler_static
='-Bstatic'
9307 lt_prog_compiler_wl
='-Wl,'
9315 lt_prog_compiler_pic
='-KPIC'
9316 lt_prog_compiler_static
='-Bstatic'
9320 # QNX uses GNU C++, but need to define -shared option too, otherwise
9322 lt_prog_compiler_pic
='-fPIC -shared'
9325 osf3
* | osf4
* | osf5
*)
9326 lt_prog_compiler_wl
='-Wl,'
9327 # All OSF/1 code is PIC.
9328 lt_prog_compiler_static
='-non_shared'
9332 lt_prog_compiler_static
='-non_shared'
9336 lt_prog_compiler_pic
='-KPIC'
9337 lt_prog_compiler_static
='-Bstatic'
9338 case $cc_basename in
9340 lt_prog_compiler_wl
='-Qoption ld ';;
9342 lt_prog_compiler_wl
='-Wl,';;
9347 lt_prog_compiler_wl
='-Qoption ld '
9348 lt_prog_compiler_pic
='-PIC'
9349 lt_prog_compiler_static
='-Bstatic'
9352 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9353 lt_prog_compiler_wl
='-Wl,'
9354 lt_prog_compiler_pic
='-KPIC'
9355 lt_prog_compiler_static
='-Bstatic'
9359 if test -d /usr
/nec
;then
9360 lt_prog_compiler_pic
='-Kconform_pic'
9361 lt_prog_compiler_static
='-Bstatic'
9365 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9366 lt_prog_compiler_wl
='-Wl,'
9367 lt_prog_compiler_pic
='-KPIC'
9368 lt_prog_compiler_static
='-Bstatic'
9372 lt_prog_compiler_wl
='-Wl,'
9373 lt_prog_compiler_can_build_shared
=no
9377 lt_prog_compiler_pic
='-pic'
9378 lt_prog_compiler_static
='-Bstatic'
9382 lt_prog_compiler_can_build_shared
=no
9388 # For platforms which do not support PIC, -DPIC is meaningless:
9390 lt_prog_compiler_pic
=
9393 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9397 $as_echo "$lt_prog_compiler_pic" >&6; }
9405 # Check to make sure the PIC flag actually works.
9407 if test -n "$lt_prog_compiler_pic"; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9409 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9410 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9411 $as_echo_n "(cached) " >&6
9413 lt_cv_prog_compiler_pic_works
=no
9414 ac_outfile
=conftest.
$ac_objext
9415 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9416 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9417 # Insert the option either (1) after the last *FLAGS variable, or
9418 # (2) before a word containing "conftest.", or (3) at the end.
9419 # Note that $ac_compile itself does not contain backslashes and begins
9420 # with a dollar sign (not a hyphen), so the echo should work correctly.
9421 # The option is referenced via a variable to avoid confusing sed.
9422 lt_compile
=`echo "$ac_compile" | $SED \
9423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9425 -e 's:$: $lt_compiler_flag:'`
9426 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9427 (eval "$lt_compile" 2>conftest.err
)
9429 cat conftest.err
>&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 if (exit $ac_status) && test -s "$ac_outfile"; then
9432 # The compiler can only warn and ignore the option if not recognized
9433 # So say no if there are warnings other than the usual output.
9434 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9435 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9436 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9437 lt_cv_prog_compiler_pic_works
=yes
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9444 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9446 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9447 case $lt_prog_compiler_pic in
9449 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9452 lt_prog_compiler_pic
=
9453 lt_prog_compiler_can_build_shared
=no
9464 # Check to make sure the static flag actually works.
9466 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9468 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9469 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9470 $as_echo_n "(cached) " >&6
9472 lt_cv_prog_compiler_static_works
=no
9473 save_LDFLAGS
="$LDFLAGS"
9474 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9475 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9476 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9477 # The linker can only warn and ignore the option if not recognized
9478 # So say no if there are warnings
9479 if test -s conftest.err
; then
9480 # Append any errors to the config.log.
9481 cat conftest.err
1>&5
9482 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9483 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9484 if diff conftest.exp conftest.er2
>/dev
/null
; then
9485 lt_cv_prog_compiler_static_works
=yes
9488 lt_cv_prog_compiler_static_works
=yes
9492 LDFLAGS
="$save_LDFLAGS"
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9496 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9498 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9501 lt_prog_compiler_static
=
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9511 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9512 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9513 $as_echo_n "(cached) " >&6
9515 lt_cv_prog_compiler_c_o
=no
9516 $RM -r conftest
2>/dev
/null
9520 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9522 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9523 # Insert the option either (1) after the last *FLAGS variable, or
9524 # (2) before a word containing "conftest.", or (3) at the end.
9525 # Note that $ac_compile itself does not contain backslashes and begins
9526 # with a dollar sign (not a hyphen), so the echo should work correctly.
9527 lt_compile
=`echo "$ac_compile" | $SED \
9528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9530 -e 's:$: $lt_compiler_flag:'`
9531 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9532 (eval "$lt_compile" 2>out
/conftest.err
)
9534 cat out
/conftest.err
>&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9538 # The compiler can only warn and ignore the option if not recognized
9539 # So say no if there are warnings
9540 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9541 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9542 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9543 lt_cv_prog_compiler_c_o
=yes
9548 # SGI C++ compiler will create directory out/ii_files/ for
9549 # template instantiation
9550 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9551 $RM out
/* && rmdir out
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9558 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9566 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9567 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9568 $as_echo_n "(cached) " >&6
9570 lt_cv_prog_compiler_c_o
=no
9571 $RM -r conftest
2>/dev
/null
9575 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9577 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9578 # Insert the option either (1) after the last *FLAGS variable, or
9579 # (2) before a word containing "conftest.", or (3) at the end.
9580 # Note that $ac_compile itself does not contain backslashes and begins
9581 # with a dollar sign (not a hyphen), so the echo should work correctly.
9582 lt_compile
=`echo "$ac_compile" | $SED \
9583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9585 -e 's:$: $lt_compiler_flag:'`
9586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9587 (eval "$lt_compile" 2>out
/conftest.err
)
9589 cat out
/conftest.err
>&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9593 # The compiler can only warn and ignore the option if not recognized
9594 # So say no if there are warnings
9595 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9596 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9597 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9598 lt_cv_prog_compiler_c_o
=yes
9603 # SGI C++ compiler will create directory out/ii_files/ for
9604 # template instantiation
9605 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9606 $RM out
/* && rmdir out
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9613 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9618 hard_links
="nottested"
9619 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9620 # do not overwrite the value of need_locks provided by the user
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9622 $as_echo_n "checking if we can lock with hard links... " >&6; }
9625 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9627 ln conftest.a conftest.b
2>&5 || hard_links
=no
9628 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9630 $as_echo "$hard_links" >&6; }
9631 if test "$hard_links" = no
; then
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9633 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9646 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9649 allow_undefined_flag
=
9650 always_export_symbols
=no
9652 archive_expsym_cmds
=
9653 compiler_needs_object
=no
9654 enable_shared_with_static_runtimes
=no
9655 export_dynamic_flag_spec
=
9656 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9657 hardcode_automatic
=no
9659 hardcode_direct_absolute
=no
9660 hardcode_libdir_flag_spec
=
9661 hardcode_libdir_flag_spec_ld
=
9662 hardcode_libdir_separator
=
9664 hardcode_shlibpath_var
=unsupported
9666 link_all_deplibs
=unknown
9669 old_archive_from_new_cmds
=
9670 old_archive_from_expsyms_cmds
=
9671 thread_safe_flag_spec
=
9672 whole_archive_flag_spec
=
9673 # include_expsyms should be a list of space-separated symbols to be *always*
9674 # included in the symbol list
9676 # exclude_expsyms can be an extended regexp of symbols to exclude
9677 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9678 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9679 # as well as any symbol that contains `d'.
9680 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9681 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9682 # platforms (ab)use it in PIC code, but their linkers get confused if
9683 # the symbol is explicitly referenced. Since portable code cannot
9684 # rely on this symbol name, it's probably fine to never include it in
9685 # preloaded symbol tables.
9686 # Exclude shared library initialization/finalization symbols.
9687 extract_expsyms_cmds
=
9690 cygwin
* | mingw
* | pw32
* | cegcc
*)
9691 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9692 # When not using gcc, we currently assume that we are using
9693 # Microsoft Visual C++.
9694 if test "$GCC" != yes; then
9699 # we just hope/assume this is gcc and not c89 (= MSVC++)
9709 # On some targets, GNU ld is compatible enough with the native linker
9710 # that we're better off using the native interface for both.
9711 lt_use_gnu_ld_interface
=no
9712 if test "$with_gnu_ld" = yes; then
9715 # The AIX port of GNU ld has always aspired to compatibility
9716 # with the native linker. However, as the warning in the GNU ld
9717 # block says, versions before 2.19.5* couldn't really create working
9718 # shared libraries, regardless of the interface used.
9719 case `$LD -v 2>&1` in
9720 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9721 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9722 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9724 lt_use_gnu_ld_interface
=yes
9729 lt_use_gnu_ld_interface
=yes
9734 if test "$lt_use_gnu_ld_interface" = yes; then
9735 # If archive_cmds runs LD, not CC, wlarc should be empty
9738 # Set some defaults for GNU ld with shared library support. These
9739 # are reset later if shared libraries are not supported. Putting them
9740 # here allows them to be overridden if necessary.
9741 runpath_var
=LD_RUN_PATH
9742 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9743 export_dynamic_flag_spec
='${wl}--export-dynamic'
9744 # ancient GNU ld didn't support --whole-archive et. al.
9745 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9746 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9748 whole_archive_flag_spec
=
9750 supports_anon_versioning
=no
9751 case `$LD -v 2>&1` in
9752 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9753 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9754 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9755 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9756 *\
2.11.
*) ;; # other 2.11 versions
9757 *) supports_anon_versioning
=yes ;;
9760 # See if GNU ld supports shared libraries.
9763 # On AIX/PPC, the GNU linker is very broken
9764 if test "$host_cpu" != ia64
; then
9768 *** Warning: the GNU linker, at least up to release 2.19, is reported
9769 *** to be unable to reliably create shared libraries on AIX.
9770 *** Therefore, libtool is disabling shared libraries support. If you
9771 *** really care for shared libraries, you may want to install binutils
9772 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9773 *** You will then need to restart the configuration process.
9782 # see comment about AmigaOS4 .so support
9783 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9784 archive_expsym_cmds
=''
9787 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)'
9788 hardcode_libdir_flag_spec
='-L$libdir'
9789 hardcode_minus_L
=yes
9795 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9796 allow_undefined_flag
=unsupported
9797 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9798 # support --undefined. This deserves some investigation. FIXME
9799 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9805 cygwin
* | mingw
* | pw32
* | cegcc
*)
9806 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9807 # as there is no search path for DLLs.
9808 hardcode_libdir_flag_spec
='-L$libdir'
9809 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9810 allow_undefined_flag
=unsupported
9811 always_export_symbols
=no
9812 enable_shared_with_static_runtimes
=yes
9813 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9815 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9816 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9817 # If the export-symbols file already is a .def file (1st line
9818 # is EXPORTS), use it as is; otherwise, prepend...
9819 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9820 cp $export_symbols $output_objdir/$soname.def;
9822 echo EXPORTS > $output_objdir/$soname.def;
9823 cat $export_symbols >> $output_objdir/$soname.def;
9825 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9832 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9833 link_all_deplibs
=yes
9838 hardcode_shlibpath_var
=no
9839 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9840 export_dynamic_flag_spec
='${wl}-E'
9841 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9842 # Instead, shared libraries are loaded at an image base (0x10000000 by
9843 # default) and relocated if they conflict, which is a slow very memory
9844 # consuming and fragmenting process. To avoid this, we pick a random,
9845 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9846 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9847 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9848 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'
9851 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9853 if test "$host_os" = linux-dietlibc
; then
9854 case $cc_basename in
9855 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9858 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9859 && test "$tmp_diet" = no
9861 tmp_addflag
=' $pic_flag'
9862 tmp_sharedflag
='-shared'
9863 case $cc_basename,$host_cpu in
9864 pgcc
*) # Portland Group C compiler
9865 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'
9866 tmp_addflag
=' $pic_flag'
9868 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9869 # Portland Group f77 and f90 compilers
9870 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'
9871 tmp_addflag
=' $pic_flag -Mnomain' ;;
9872 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9873 tmp_addflag
=' -i_dynamic' ;;
9874 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9875 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9876 ifc
* | ifort
*) # Intel Fortran compiler
9877 tmp_addflag
=' -nofor_main' ;;
9878 lf95
*) # Lahey Fortran 8.1
9879 whole_archive_flag_spec
=
9880 tmp_sharedflag
='--shared' ;;
9881 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9882 tmp_sharedflag
='-qmkshrobj'
9884 nvcc
*) # Cuda Compiler Driver 2.2
9885 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'
9886 compiler_needs_object
=yes
9889 case `$CC -V 2>&1 | sed 5q` in
9890 *Sun\ C
*) # Sun C 5.9
9891 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'
9892 compiler_needs_object
=yes
9893 tmp_sharedflag
='-G' ;;
9894 *Sun\ F
*) # Sun Fortran 8.3
9895 tmp_sharedflag
='-G' ;;
9897 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9899 if test "x$supports_anon_versioning" = xyes
; then
9900 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9901 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9902 echo "local: *; };" >> $output_objdir/$libname.ver~
9903 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9906 case $cc_basename in
9907 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9908 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9909 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9910 hardcode_libdir_flag_spec
=
9911 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9912 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9913 if test "x$supports_anon_versioning" = xyes
; then
9914 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9915 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9916 echo "local: *; };" >> $output_objdir/$libname.ver~
9917 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9927 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9928 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9931 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9932 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9937 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9941 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9942 *** create shared libraries on Solaris systems. Therefore, libtool
9943 *** is disabling shared libraries support. We urge you to upgrade GNU
9944 *** binutils to release 2.9.1 or newer. Another option is to modify
9945 *** your PATH or compiler configuration so that the native linker is
9946 *** used, and then restart.
9949 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9950 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9951 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9957 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9958 case `$LD -v 2>&1` in
9959 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9963 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9964 *** reliably create shared libraries on SCO systems. Therefore, libtool
9965 *** is disabling shared libraries support. We urge you to upgrade GNU
9966 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9967 *** your PATH or compiler configuration so that the native linker is
9968 *** used, and then restart.
9973 # For security reasons, it is highly recommended that you always
9974 # use absolute paths for naming shared libraries, and exclude the
9975 # DT_RUNPATH tag from executables and libraries. But doing so
9976 # requires that you compile everything twice, which is a pain.
9977 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9978 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9979 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9980 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9989 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9992 hardcode_shlibpath_var
=no
9996 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9997 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9998 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10005 if test "$ld_shlibs" = no
; then
10007 hardcode_libdir_flag_spec
=
10008 export_dynamic_flag_spec
=
10009 whole_archive_flag_spec
=
10012 # PORTME fill in a description of your system's linker (not GNU ld)
10015 allow_undefined_flag
=unsupported
10016 always_export_symbols
=yes
10017 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'
10018 # Note: this linker hardcodes the directories in LIBPATH if there
10019 # are no directories specified by -L.
10020 hardcode_minus_L
=yes
10021 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10022 # Neither direct hardcoding nor static linking is supported with a
10024 hardcode_direct
=unsupported
10029 if test "$host_cpu" = ia64
; then
10030 # On IA64, the linker does run time linking by default, so we don't
10031 # have to do anything special.
10032 aix_use_runtimelinking
=no
10033 exp_sym_flag
='-Bexport'
10036 # If we're using GNU nm, then we don't want the "-C" option.
10037 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10038 # Also, AIX nm treats weak defined symbols like other global
10039 # defined symbols, whereas GNU nm marks them as "W".
10040 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10041 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'
10043 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10045 aix_use_runtimelinking
=no
10047 # Test if we are trying to use run time linking or normal
10048 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10049 # need to do runtime linking.
10050 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10051 for ld_flag
in $LDFLAGS; do
10052 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10053 aix_use_runtimelinking
=yes
10060 exp_sym_flag
='-bexport'
10061 no_entry_flag
='-bnoentry'
10064 # When large executables or shared objects are built, AIX ld can
10065 # have problems creating the table of contents. If linking a library
10066 # or program results in "error TOC overflow" add -mminimal-toc to
10067 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10068 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10071 hardcode_direct
=yes
10072 hardcode_direct_absolute
=yes
10073 hardcode_libdir_separator
=':'
10074 link_all_deplibs
=yes
10075 file_list_spec
='${wl}-f,'
10077 if test "$GCC" = yes; then
10078 case $host_os in aix4.
[012]|aix4.
[012].
*)
10079 # We only want to do this on AIX 4.2 and lower, the check
10080 # below for broken collect2 doesn't work under 4.3+
10081 collect2name
=`${CC} -print-prog-name=collect2`
10082 if test -f "$collect2name" &&
10083 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10085 # We have reworked collect2
10088 # We have old collect2
10089 hardcode_direct
=unsupported
10090 # It fails to find uninstalled libraries when the uninstalled
10091 # path is not listed in the libpath. Setting hardcode_minus_L
10092 # to unsupported forces relinking
10093 hardcode_minus_L
=yes
10094 hardcode_libdir_flag_spec
='-L$libdir'
10095 hardcode_libdir_separator
=
10099 shared_flag
='-shared'
10100 if test "$aix_use_runtimelinking" = yes; then
10101 shared_flag
="$shared_flag "'${wl}-G'
10105 if test "$host_cpu" = ia64
; then
10106 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10107 # chokes on -Wl,-G. The following line is correct:
10110 if test "$aix_use_runtimelinking" = yes; then
10111 shared_flag
='${wl}-G'
10113 shared_flag
='${wl}-bM:SRE'
10118 export_dynamic_flag_spec
='${wl}-bexpall'
10119 # It seems that -bexpall does not export symbols beginning with
10120 # underscore (_), so it is better to generate a list of symbols to export.
10121 always_export_symbols
=yes
10122 if test "$aix_use_runtimelinking" = yes; then
10123 # Warning - without using the other runtime loading flags (-brtl),
10124 # -berok will link without error, but may produce a broken library.
10125 allow_undefined_flag
='-berok'
10126 # Determine the default libpath from the value encoded in an
10127 # empty executable.
10128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10139 if ac_fn_c_try_link
"$LINENO"; then :
10141 lt_aix_libpath_sed
='
10142 /Import File Strings/,/^$/ {
10148 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10149 # Check for a 64-bit object if we didn't find anything.
10150 if test -z "$aix_libpath"; then
10151 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10154 rm -f core conftest.err conftest.
$ac_objext \
10155 conftest
$ac_exeext conftest.
$ac_ext
10156 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10158 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10159 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"
10161 if test "$host_cpu" = ia64
; then
10162 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10163 allow_undefined_flag
="-z nodefs"
10164 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"
10166 # Determine the default libpath from the value encoded in an
10167 # empty executable.
10168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10179 if ac_fn_c_try_link
"$LINENO"; then :
10181 lt_aix_libpath_sed
='
10182 /Import File Strings/,/^$/ {
10188 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10189 # Check for a 64-bit object if we didn't find anything.
10190 if test -z "$aix_libpath"; then
10191 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10194 rm -f core conftest.err conftest.
$ac_objext \
10195 conftest
$ac_exeext conftest.
$ac_ext
10196 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10198 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10199 # Warning - without using the other run time loading flags,
10200 # -berok will link without error, but may produce a broken library.
10201 no_undefined_flag
=' ${wl}-bernotok'
10202 allow_undefined_flag
=' ${wl}-berok'
10203 if test "$with_gnu_ld" = yes; then
10204 # We only use this code for GNU lds that support --whole-archive.
10205 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10207 # Exported symbols can be pulled into shared objects from archives
10208 whole_archive_flag_spec
='$convenience'
10210 archive_cmds_need_lc
=yes
10211 # This is similar to how AIX traditionally builds its shared libraries.
10212 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'
10220 # see comment about AmigaOS4 .so support
10221 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10222 archive_expsym_cmds
=''
10225 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)'
10226 hardcode_libdir_flag_spec
='-L$libdir'
10227 hardcode_minus_L
=yes
10233 export_dynamic_flag_spec
=-rdynamic
10236 cygwin
* | mingw
* | pw32
* | cegcc
*)
10237 # When not using gcc, we currently assume that we are using
10238 # Microsoft Visual C++.
10239 # hardcode_libdir_flag_spec is actually meaningless, as there is
10240 # no search path for DLLs.
10241 hardcode_libdir_flag_spec
=' '
10242 allow_undefined_flag
=unsupported
10243 # Tell ltmain to make .lib files, not .a files.
10245 # Tell ltmain to make .dll files, not .so files.
10247 # FIXME: Setting linknames here is a bad hack.
10248 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10249 # The linker will automatically build a .lib file if we build a DLL.
10250 old_archive_from_new_cmds
='true'
10251 # FIXME: Should let the user specify the lib program.
10252 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10253 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10254 enable_shared_with_static_runtimes
=yes
10257 darwin
* | rhapsody
*)
10260 archive_cmds_need_lc
=no
10262 hardcode_automatic
=yes
10263 hardcode_shlibpath_var
=unsupported
10264 if test "$lt_cv_ld_force_load" = "yes"; then
10265 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\"`'
10267 whole_archive_flag_spec
=''
10269 link_all_deplibs
=yes
10270 allow_undefined_flag
="$_lt_dar_allow_undefined"
10271 case $cc_basename in
10272 ifort
*) _lt_dar_can_shared
=yes ;;
10273 *) _lt_dar_can_shared
=$GCC ;;
10275 if test "$_lt_dar_can_shared" = "yes"; then
10276 output_verbose_link_cmd
=func_echo_all
10277 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10278 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10279 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}"
10280 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}"
10289 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10290 hardcode_libdir_flag_spec
='-L$libdir'
10291 hardcode_shlibpath_var
=no
10294 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10295 # support. Future versions do this automatically, but an explicit c++rt0.o
10296 # does not break anything, and helps significantly (at the cost of a little
10299 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10300 hardcode_libdir_flag_spec
='-R$libdir'
10301 hardcode_direct
=yes
10302 hardcode_shlibpath_var
=no
10305 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10307 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10308 hardcode_direct
=yes
10309 hardcode_minus_L
=yes
10310 hardcode_shlibpath_var
=no
10313 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10314 freebsd
* | dragonfly
*)
10315 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10316 hardcode_libdir_flag_spec
='-R$libdir'
10317 hardcode_direct
=yes
10318 hardcode_shlibpath_var
=no
10322 if test "$GCC" = yes; then
10323 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'
10325 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'
10327 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10328 hardcode_libdir_separator
=:
10329 hardcode_direct
=yes
10331 # hardcode_minus_L: Not really in the search PATH,
10332 # but as the default location of the library.
10333 hardcode_minus_L
=yes
10334 export_dynamic_flag_spec
='${wl}-E'
10338 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10339 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10341 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10343 if test "$with_gnu_ld" = no
; then
10344 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10345 hardcode_libdir_flag_spec_ld
='+b $libdir'
10346 hardcode_libdir_separator
=:
10347 hardcode_direct
=yes
10348 hardcode_direct_absolute
=yes
10349 export_dynamic_flag_spec
='${wl}-E'
10350 # hardcode_minus_L: Not really in the search PATH,
10351 # but as the default location of the library.
10352 hardcode_minus_L
=yes
10357 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10360 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10363 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10366 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10372 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10379 # Older versions of the 11.00 compiler do not understand -b yet
10380 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10382 $as_echo_n "checking if $CC understands -b... " >&6; }
10383 if ${lt_cv_prog_compiler__b+:} false
; then :
10384 $as_echo_n "(cached) " >&6
10386 lt_cv_prog_compiler__b
=no
10387 save_LDFLAGS
="$LDFLAGS"
10388 LDFLAGS
="$LDFLAGS -b"
10389 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10390 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10391 # The linker can only warn and ignore the option if not recognized
10392 # So say no if there are warnings
10393 if test -s conftest.err
; then
10394 # Append any errors to the config.log.
10395 cat conftest.err
1>&5
10396 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10397 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10398 if diff conftest.exp conftest.er2
>/dev
/null
; then
10399 lt_cv_prog_compiler__b
=yes
10402 lt_cv_prog_compiler__b
=yes
10406 LDFLAGS
="$save_LDFLAGS"
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10410 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10412 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10413 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10415 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10421 if test "$with_gnu_ld" = no
; then
10422 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10423 hardcode_libdir_separator
=:
10428 hardcode_shlibpath_var
=no
10431 hardcode_direct
=yes
10432 hardcode_direct_absolute
=yes
10433 export_dynamic_flag_spec
='${wl}-E'
10435 # hardcode_minus_L: Not really in the search PATH,
10436 # but as the default location of the library.
10437 hardcode_minus_L
=yes
10443 irix5
* | irix6
* | nonstopux
*)
10444 if test "$GCC" = yes; then
10445 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'
10446 # Try to use the -exported_symbol ld option, if it does not
10447 # work, assume that -exports_file does not work either and
10448 # implicitly export all symbols.
10449 save_LDFLAGS
="$LDFLAGS"
10450 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10455 if ac_fn_c_try_link
"$LINENO"; then :
10456 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'
10459 rm -f core conftest.err conftest.
$ac_objext \
10460 conftest
$ac_exeext conftest.
$ac_ext
10461 LDFLAGS
="$save_LDFLAGS"
10463 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'
10464 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'
10466 archive_cmds_need_lc
='no'
10467 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10468 hardcode_libdir_separator
=:
10470 link_all_deplibs
=yes
10474 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10475 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10477 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10479 hardcode_libdir_flag_spec
='-R$libdir'
10480 hardcode_direct
=yes
10481 hardcode_shlibpath_var
=no
10485 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10486 hardcode_direct
=yes
10487 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10488 hardcode_libdir_separator
=:
10489 hardcode_shlibpath_var
=no
10496 if test -f /usr
/libexec
/ld.so
; then
10497 hardcode_direct
=yes
10498 hardcode_shlibpath_var
=no
10499 hardcode_direct_absolute
=yes
10500 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10501 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10502 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10503 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10504 export_dynamic_flag_spec
='${wl}-E'
10507 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10508 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10509 hardcode_libdir_flag_spec
='-R$libdir'
10512 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10513 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10523 hardcode_libdir_flag_spec
='-L$libdir'
10524 hardcode_minus_L
=yes
10525 allow_undefined_flag
=unsupported
10526 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'
10527 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10531 if test "$GCC" = yes; then
10532 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10533 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'
10535 allow_undefined_flag
=' -expect_unresolved \*'
10536 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'
10538 archive_cmds_need_lc
='no'
10539 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10540 hardcode_libdir_separator
=:
10543 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10544 if test "$GCC" = yes; then
10545 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10546 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'
10547 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10549 allow_undefined_flag
=' -expect_unresolved \*'
10550 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'
10551 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~
10552 $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'
10554 # Both c and cxx compiler support -rpath directly
10555 hardcode_libdir_flag_spec
='-rpath $libdir'
10557 archive_cmds_need_lc
='no'
10558 hardcode_libdir_separator
=:
10562 no_undefined_flag
=' -z defs'
10563 if test "$GCC" = yes; then
10565 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10566 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10567 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10569 case `$CC -V 2>&1` in
10572 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10573 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10574 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10578 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10579 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10580 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10584 hardcode_libdir_flag_spec
='-R$libdir'
10585 hardcode_shlibpath_var
=no
10587 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10589 # The compiler driver will combine and reorder linker options,
10590 # but understands `-z linker_flag'. GCC discards it without `$wl',
10591 # but is careful enough not to reorder.
10592 # Supported since Solaris 2.6 (maybe 2.5.1?)
10593 if test "$GCC" = yes; then
10594 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10596 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10600 link_all_deplibs
=yes
10604 if test "x$host_vendor" = xsequent
; then
10605 # Use $CC to link under sequent, because it throws in some extra .o
10606 # files that make .init and .fini sections work.
10607 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10609 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10611 hardcode_libdir_flag_spec
='-L$libdir'
10612 hardcode_direct
=yes
10613 hardcode_minus_L
=yes
10614 hardcode_shlibpath_var
=no
10618 case $host_vendor in
10620 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10621 hardcode_direct
=yes # is this really true???
10624 ## LD is ld it makes a PLAMLIB
10625 ## CC just makes a GrossModule.
10626 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10627 reload_cmds
='$CC -r -o $output$reload_objs'
10631 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10632 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10635 runpath_var
='LD_RUN_PATH'
10636 hardcode_shlibpath_var
=no
10640 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10641 hardcode_shlibpath_var
=no
10642 export_dynamic_flag_spec
='-Bexport'
10646 if test -d /usr
/nec
; then
10647 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10648 hardcode_shlibpath_var
=no
10649 runpath_var
=LD_RUN_PATH
10650 hardcode_runpath_var
=yes
10655 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10656 no_undefined_flag
='${wl}-z,text'
10657 archive_cmds_need_lc
=no
10658 hardcode_shlibpath_var
=no
10659 runpath_var
='LD_RUN_PATH'
10661 if test "$GCC" = yes; then
10662 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10663 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10665 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10666 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10670 sysv5
* | sco3.2v5
* | sco5v6
*)
10671 # Note: We can NOT use -z defs as we might desire, because we do not
10672 # link with -lc, and that would cause any symbols used from libc to
10673 # always be unresolved, which means just about no library would
10674 # ever link correctly. If we're not using GNU ld we use -z text
10675 # though, which does catch some bad symbols but isn't as heavy-handed
10677 no_undefined_flag
='${wl}-z,text'
10678 allow_undefined_flag
='${wl}-z,nodefs'
10679 archive_cmds_need_lc
=no
10680 hardcode_shlibpath_var
=no
10681 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10682 hardcode_libdir_separator
=':'
10683 link_all_deplibs
=yes
10684 export_dynamic_flag_spec
='${wl}-Bexport'
10685 runpath_var
='LD_RUN_PATH'
10687 if test "$GCC" = yes; then
10688 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10689 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10691 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10692 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10697 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10698 hardcode_libdir_flag_spec
='-L$libdir'
10699 hardcode_shlibpath_var
=no
10707 if test x
$host_vendor = xsni
; then
10709 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10710 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10717 $as_echo "$ld_shlibs" >&6; }
10718 test "$ld_shlibs" = no
&& can_build_shared
=no
10720 with_gnu_ld
=$with_gnu_ld
10737 # Do we need to explicitly link libc?
10739 case "x$archive_cmds_need_lc" in
10741 # Assume -lc should be added
10742 archive_cmds_need_lc
=yes
10744 if test "$enable_shared" = yes && test "$GCC" = yes; then
10745 case $archive_cmds in
10747 # FIXME: we may have to deal with multi-command sequences.
10750 # Test whether the compiler implicitly links with -lc since on some
10751 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10752 # to ld, don't add -lc before -lgcc.
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10754 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10755 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10756 $as_echo_n "(cached) " >&6
10759 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10761 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10762 (eval $ac_compile) 2>&5
10764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10765 test $ac_status = 0; } 2>conftest.err
; then
10768 libobjs
=conftest.
$ac_objext
10770 wl
=$lt_prog_compiler_wl
10771 pic_flag
=$lt_prog_compiler_pic
10777 lt_save_allow_undefined_flag
=$allow_undefined_flag
10778 allow_undefined_flag
=
10779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10780 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10783 test $ac_status = 0; }
10785 lt_cv_archive_cmds_need_lc
=no
10787 lt_cv_archive_cmds_need_lc
=yes
10789 allow_undefined_flag
=$lt_save_allow_undefined_flag
10791 cat conftest.err
1>&5
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10797 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10798 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10962 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10964 if test "$GCC" = yes; then
10966 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10967 *) lt_awk_arg
="/^libraries:/" ;;
10970 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10971 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10973 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10974 case $lt_search_path_spec in
10976 # if the path contains ";" then we assume it to be the separator
10977 # otherwise default to the standard path separator (i.e. ":") - it is
10978 # assumed that no part of a normal pathname contains ";" but that should
10979 # okay in the real world where ";" in dirpaths is itself problematic.
10980 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10983 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10986 # Ok, now we have the path, separated by spaces, we can step through it
10987 # and add multilib dir if necessary.
10988 lt_tmp_lt_search_path_spec
=
10989 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10990 for lt_sys_path
in $lt_search_path_spec; do
10991 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10992 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10994 test -d "$lt_sys_path" && \
10995 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10998 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10999 BEGIN {RS=" "; FS="/|\n";} {
11002 for (lt_i = NF; lt_i > 0; lt_i--) {
11003 if ($lt_i != "" && $lt_i != ".") {
11004 if ($lt_i == "..") {
11007 if (lt_count == 0) {
11008 lt_foo="/" $lt_i lt_foo;
11015 if (lt_foo != "") { lt_freq[lt_foo]++; }
11016 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11018 # AWK program above erroneously prepends '/' to C:/dos/paths
11021 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11022 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11024 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11026 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11028 library_names_spec
=
11029 libname_spec
='lib$name'
11033 postuninstall_cmds
=
11037 shlibpath_overrides_runpath
=unknown
11039 dynamic_linker
="$host_os ld.so"
11040 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11041 need_lib_prefix
=unknown
11042 hardcode_into_libs
=no
11044 # when you set need_version to no, make sure it does not cause -set_version
11045 # flags to be left without arguments
11046 need_version
=unknown
11051 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11052 shlibpath_var
=LIBPATH
11054 # AIX 3 has no versioning support, so we append a major version to the name.
11055 soname_spec
='${libname}${release}${shared_ext}$major'
11062 hardcode_into_libs
=yes
11063 if test "$host_cpu" = ia64
; then
11064 # AIX 5 supports IA64
11065 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11066 shlibpath_var
=LD_LIBRARY_PATH
11068 # With GCC up to 2.95.x, collect2 would create an import file
11069 # for dependence libraries. The import file would start with
11070 # the line `#! .'. This would cause the generated library to
11071 # depend on `.', always an invalid library. This was fixed in
11072 # development snapshots of GCC prior to 3.0.
11074 aix4 | aix4.
[01] | aix4.
[01].
*)
11075 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11077 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11080 can_build_shared
=no
11084 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11085 # soname into executable. Probably we can add versioning support to
11086 # collect2, so additional links can be useful in future.
11087 if test "$aix_use_runtimelinking" = yes; then
11088 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11089 # instead of lib<name>.a to let people know that these are not
11090 # typical AIX shared libraries.
11091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11093 # We preserve .a as extension for shared libraries through AIX4.2
11094 # and later when we are not doing run time linking.
11095 library_names_spec
='${libname}${release}.a $libname.a'
11096 soname_spec
='${libname}${release}${shared_ext}$major'
11098 shlibpath_var
=LIBPATH
11105 # Since July 2007 AmigaOS4 officially supports .so libraries.
11106 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110 library_names_spec
='$libname.ixlibrary $libname.a'
11111 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11112 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'
11118 library_names_spec
='${libname}${shared_ext}'
11119 dynamic_linker
="$host_os ld.so"
11120 shlibpath_var
=LIBRARY_PATH
11126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11127 soname_spec
='${libname}${release}${shared_ext}$major'
11128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11129 shlibpath_var
=LD_LIBRARY_PATH
11130 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11131 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11132 # the default ld.so.conf also contains /usr/contrib/lib and
11133 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11134 # libtool to hard-code these into programs
11137 cygwin
* | mingw
* | pw32
* | cegcc
*)
11138 version_type
=windows
11143 case $GCC,$host_os in
11144 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11145 library_names_spec
='$libname.dll.a'
11146 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11147 postinstall_cmds
='base_file=`basename \${file}`~
11148 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11149 dldir=$destdir/`dirname \$dlpath`~
11150 test -d \$dldir || mkdir -p \$dldir~
11151 $install_prog $dir/$dlname \$dldir/$dlname~
11152 chmod a+x \$dldir/$dlname~
11153 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11154 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11156 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11157 dlpath=$dir/\$dldll~
11159 shlibpath_overrides_runpath
=yes
11163 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11164 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11166 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11169 # MinGW DLLs use traditional 'lib' prefix
11170 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11173 # pw32 DLLs use 'pw' prefix rather than 'lib'
11174 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11180 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11183 dynamic_linker
='Win32 ld.exe'
11184 # FIXME: first we should search . and the directory the executable is in
11188 darwin
* | rhapsody
*)
11189 dynamic_linker
="$host_os dyld"
11190 version_type
=darwin
11193 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11194 soname_spec
='${libname}${release}${major}$shared_ext'
11195 shlibpath_overrides_runpath
=yes
11196 shlibpath_var
=DYLD_LIBRARY_PATH
11197 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11199 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11200 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11208 soname_spec
='${libname}${release}${shared_ext}$major'
11209 shlibpath_var
=LD_LIBRARY_PATH
11212 freebsd
* | dragonfly
*)
11213 # DragonFly does not have aout. When/if they implement a new
11214 # versioning mechanism, adjust this.
11215 if test -x /usr
/bin
/objformat
; then
11216 objformat
=`/usr/bin/objformat`
11219 freebsd
[23].
*) objformat
=aout
;;
11220 *) objformat
=elf
;;
11223 version_type
=freebsd-
$objformat
11224 case $version_type in
11226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11231 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11235 shlibpath_var
=LD_LIBRARY_PATH
11238 shlibpath_overrides_runpath
=yes
11240 freebsd3.
[01]* | freebsdelf3.
[01]*)
11241 shlibpath_overrides_runpath
=yes
11242 hardcode_into_libs
=yes
11244 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11245 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11246 shlibpath_overrides_runpath
=no
11247 hardcode_into_libs
=yes
11249 *) # from 4.6 on, and DragonFly
11250 shlibpath_overrides_runpath
=yes
11251 hardcode_into_libs
=yes
11260 dynamic_linker
="$host_os runtime_loader"
11261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11262 soname_spec
='${libname}${release}${shared_ext}$major'
11263 shlibpath_var
=LIBRARY_PATH
11264 shlibpath_overrides_runpath
=yes
11265 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11266 hardcode_into_libs
=yes
11269 hpux9
* | hpux10
* | hpux11
*)
11270 # Give a soname corresponding to the major version so that dld.sl refuses to
11271 # link against other versions.
11278 hardcode_into_libs
=yes
11279 dynamic_linker
="$host_os dld.so"
11280 shlibpath_var
=LD_LIBRARY_PATH
11281 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32
; then
11285 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11287 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11289 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11293 hardcode_into_libs
=yes
11294 dynamic_linker
="$host_os dld.sl"
11295 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11296 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11298 soname_spec
='${libname}${release}${shared_ext}$major'
11299 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11300 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11304 dynamic_linker
="$host_os dld.sl"
11305 shlibpath_var
=SHLIB_PATH
11306 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11308 soname_spec
='${libname}${release}${shared_ext}$major'
11311 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11312 postinstall_cmds
='chmod 555 $lib'
11313 # or fails outright, so override atomically:
11314 install_override_mode
=555
11321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11322 soname_spec
='${libname}${release}${shared_ext}$major'
11323 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11324 shlibpath_var
=LD_LIBRARY_PATH
11325 shlibpath_overrides_runpath
=no
11326 hardcode_into_libs
=yes
11329 irix5
* | irix6
* | nonstopux
*)
11331 nonstopux
*) version_type
=nonstopux
;;
11333 if test "$lt_cv_prog_gnu_ld" = yes; then
11341 soname_spec
='${libname}${release}${shared_ext}$major'
11342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11344 irix5
* | nonstopux
*)
11345 libsuff
= shlibsuff
=
11348 case $LD in # libtool.m4 will add one of these switches to LD
11349 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11350 libsuff
= shlibsuff
= libmagic
=32-bit;;
11351 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11352 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11353 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11354 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11355 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11359 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11360 shlibpath_overrides_runpath
=no
11361 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11362 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11363 hardcode_into_libs
=yes
11366 # No shared lib support for Linux oldld, aout, or coff.
11367 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11371 # This must be Linux ELF.
11373 # uclinux* changes (here and below) have been submitted to the libtool
11374 # project, but have not yet been accepted: they are GCC-local changes
11375 # for the time being. (See
11376 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11377 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11382 soname_spec
='${libname}${release}${shared_ext}$major'
11383 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11384 shlibpath_var
=LD_LIBRARY_PATH
11385 shlibpath_overrides_runpath
=no
11387 # Some binutils ld are patched to set DT_RUNPATH
11388 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11389 $as_echo_n "(cached) " >&6
11391 lt_cv_shlibpath_overrides_runpath
=no
11392 save_LDFLAGS
=$LDFLAGS
11393 save_libdir
=$libdir
11394 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11395 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h. */
11407 if ac_fn_c_try_link
"$LINENO"; then :
11408 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11409 lt_cv_shlibpath_overrides_runpath
=yes
11412 rm -f core conftest.err conftest.
$ac_objext \
11413 conftest
$ac_exeext conftest.
$ac_ext
11414 LDFLAGS
=$save_LDFLAGS
11415 libdir
=$save_libdir
11419 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11421 # This implies no fast_install, which is unacceptable.
11422 # Some rework will be needed to allow for fast_install
11423 # before this can be enabled.
11424 hardcode_into_libs
=yes
11426 # Append ld.so.conf contents to the search path
11427 if test -f /etc
/ld.so.conf
; then
11428 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' ' '`
11429 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11432 # We used to test for /lib/ld.so.1 and disable shared libraries on
11433 # powerpc, because MkLinux only supported shared libraries with the
11434 # GNU dynamic linker. Since this was broken with cross compilers,
11435 # most powerpc-linux boxes support dynamic linking these days and
11436 # people can always --disable-shared, the test was removed, and we
11437 # assume the GNU/Linux dynamic linker is in use.
11438 dynamic_linker
='GNU/Linux ld.so'
11445 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11447 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11448 dynamic_linker
='NetBSD (a.out) ld.so'
11450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11451 soname_spec
='${libname}${release}${shared_ext}$major'
11452 dynamic_linker
='NetBSD ld.elf_so'
11454 shlibpath_var
=LD_LIBRARY_PATH
11455 shlibpath_overrides_runpath
=yes
11456 hardcode_into_libs
=yes
11461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11462 shlibpath_var
=LD_LIBRARY_PATH
11463 shlibpath_overrides_runpath
=yes
11470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11471 soname_spec
='${libname}${release}${shared_ext}$major'
11472 shlibpath_var
=LD_LIBRARY_PATH
11473 shlibpath_overrides_runpath
=no
11474 hardcode_into_libs
=yes
11475 dynamic_linker
='ldqnx.so'
11480 sys_lib_dlsearch_path_spec
="/usr/lib"
11482 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11484 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11485 *) need_version
=no
;;
11487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11488 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11489 shlibpath_var
=LD_LIBRARY_PATH
11490 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11492 openbsd2.
[89] | openbsd2.
[89].
*)
11493 shlibpath_overrides_runpath
=no
11496 shlibpath_overrides_runpath
=yes
11500 shlibpath_overrides_runpath
=yes
11505 libname_spec
='$name'
11508 library_names_spec
='$libname${shared_ext} $libname.a'
11509 dynamic_linker
='OS/2 ld.exe'
11510 shlibpath_var
=LIBPATH
11513 osf3
* | osf4
* | osf5
*)
11517 soname_spec
='${libname}${release}${shared_ext}$major'
11518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11519 shlibpath_var
=LD_LIBRARY_PATH
11520 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11521 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11533 soname_spec
='${libname}${release}${shared_ext}$major'
11534 shlibpath_var
=LD_LIBRARY_PATH
11535 shlibpath_overrides_runpath
=yes
11536 hardcode_into_libs
=yes
11537 # ldd complains unless libraries are executable
11538 postinstall_cmds
='chmod +x $lib'
11543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11544 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11545 shlibpath_var
=LD_LIBRARY_PATH
11546 shlibpath_overrides_runpath
=yes
11547 if test "$with_gnu_ld" = yes; then
11555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11556 soname_spec
='${libname}${release}${shared_ext}$major'
11557 shlibpath_var
=LD_LIBRARY_PATH
11558 case $host_vendor in
11560 shlibpath_overrides_runpath
=no
11562 runpath_var
=LD_RUN_PATH
11570 shlibpath_overrides_runpath
=no
11571 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11577 if test -d /usr
/nec
;then
11579 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11580 soname_spec
='$libname${shared_ext}.$major'
11581 shlibpath_var
=LD_LIBRARY_PATH
11585 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11586 version_type
=freebsd-elf
11589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11590 soname_spec
='${libname}${release}${shared_ext}$major'
11591 shlibpath_var
=LD_LIBRARY_PATH
11592 shlibpath_overrides_runpath
=yes
11593 hardcode_into_libs
=yes
11594 if test "$with_gnu_ld" = yes; then
11595 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11597 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11600 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11604 sys_lib_dlsearch_path_spec
='/usr/lib'
11608 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11613 shlibpath_var
=LD_LIBRARY_PATH
11614 shlibpath_overrides_runpath
=no
11615 hardcode_into_libs
=yes
11620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11621 soname_spec
='${libname}${release}${shared_ext}$major'
11622 shlibpath_var
=LD_LIBRARY_PATH
11625 # Shared libraries for VwWorks, >= 7 only at this stage
11626 # and (fpic) still incompatible with "large" code models
11627 # in a few configurations. Only for RTP mode in any case,
11628 # and upon explicit request at configure time.
11631 case ${with_multisubdir}-${enable_shared} in
11638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11639 soname_spec
='${libname}${release}${shared_ext}$major'
11640 dynamic_linker
="$host_os module_loader"
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11649 $as_echo "$dynamic_linker" >&6; }
11650 test "$dynamic_linker" = no
&& can_build_shared
=no
11652 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11653 if test "$GCC" = yes; then
11654 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11657 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11658 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11660 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11661 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11756 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11758 if test -n "$hardcode_libdir_flag_spec" ||
11759 test -n "$runpath_var" ||
11760 test "X$hardcode_automatic" = "Xyes" ; then
11762 # We can hardcode non-existent directories.
11763 if test "$hardcode_direct" != no
&&
11764 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11765 # have to relink, otherwise we might link with an installed library
11766 # when we should be linking with a yet-to-be-installed one
11767 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11768 test "$hardcode_minus_L" != no
; then
11769 # Linking always hardcodes the temporary library directory.
11770 hardcode_action
=relink
11772 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11773 hardcode_action
=immediate
11776 # We cannot hardcode anything, or else we can only hardcode existing
11778 hardcode_action
=unsupported
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11781 $as_echo "$hardcode_action" >&6; }
11783 if test "$hardcode_action" = relink ||
11784 test "$inherit_rpath" = yes; then
11785 # Fast installation is not supported
11786 enable_fast_install
=no
11787 elif test "$shlibpath_overrides_runpath" = yes ||
11788 test "$enable_shared" = no
; then
11789 # Fast installation is not necessary
11790 enable_fast_install
=needless
11798 if test "x$enable_dlopen" != xyes
; then
11799 enable_dlopen
=unknown
11800 enable_dlopen_self
=unknown
11801 enable_dlopen_self_static
=unknown
11808 lt_cv_dlopen
="load_add_on"
11810 lt_cv_dlopen_self
=yes
11813 mingw
* | pw32
* | cegcc
*)
11814 lt_cv_dlopen
="LoadLibrary"
11819 lt_cv_dlopen
="dlopen"
11824 # if libdl is installed we need to link against it
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11826 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11827 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11828 $as_echo_n "(cached) " >&6
11830 ac_check_lib_save_LIBS
=$LIBS
11832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11850 if ac_fn_c_try_link
"$LINENO"; then :
11851 ac_cv_lib_dl_dlopen
=yes
11853 ac_cv_lib_dl_dlopen
=no
11855 rm -f core conftest.err conftest.
$ac_objext \
11856 conftest
$ac_exeext conftest.
$ac_ext
11857 LIBS
=$ac_check_lib_save_LIBS
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11860 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11861 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11862 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11865 lt_cv_dlopen
="dyld"
11867 lt_cv_dlopen_self
=yes
11874 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11875 if test "x$ac_cv_func_shl_load" = xyes
; then :
11876 lt_cv_dlopen
="shl_load"
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11879 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11880 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11881 $as_echo_n "(cached) " >&6
11883 ac_check_lib_save_LIBS
=$LIBS
11885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11888 /* Override any GCC internal prototype to avoid an error.
11889 Use char because int might match the return type of a GCC
11890 builtin and then its argument prototype would still apply. */
11898 return shl_load ();
11903 if ac_fn_c_try_link
"$LINENO"; then :
11904 ac_cv_lib_dld_shl_load
=yes
11906 ac_cv_lib_dld_shl_load
=no
11908 rm -f core conftest.err conftest.
$ac_objext \
11909 conftest
$ac_exeext conftest.
$ac_ext
11910 LIBS
=$ac_check_lib_save_LIBS
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11913 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11914 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11915 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11917 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11918 if test "x$ac_cv_func_dlopen" = xyes
; then :
11919 lt_cv_dlopen
="dlopen"
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11922 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11923 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11924 $as_echo_n "(cached) " >&6
11926 ac_check_lib_save_LIBS
=$LIBS
11928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11929 /* end confdefs.h. */
11931 /* Override any GCC internal prototype to avoid an error.
11932 Use char because int might match the return type of a GCC
11933 builtin and then its argument prototype would still apply. */
11946 if ac_fn_c_try_link
"$LINENO"; then :
11947 ac_cv_lib_dl_dlopen
=yes
11949 ac_cv_lib_dl_dlopen
=no
11951 rm -f core conftest.err conftest.
$ac_objext \
11952 conftest
$ac_exeext conftest.
$ac_ext
11953 LIBS
=$ac_check_lib_save_LIBS
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11956 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11957 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11958 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11961 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11962 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11963 $as_echo_n "(cached) " >&6
11965 ac_check_lib_save_LIBS
=$LIBS
11966 LIBS
="-lsvld $LIBS"
11967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11970 /* Override any GCC internal prototype to avoid an error.
11971 Use char because int might match the return type of a GCC
11972 builtin and then its argument prototype would still apply. */
11985 if ac_fn_c_try_link
"$LINENO"; then :
11986 ac_cv_lib_svld_dlopen
=yes
11988 ac_cv_lib_svld_dlopen
=no
11990 rm -f core conftest.err conftest.
$ac_objext \
11991 conftest
$ac_exeext conftest.
$ac_ext
11992 LIBS
=$ac_check_lib_save_LIBS
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11995 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11996 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11997 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12000 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12001 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12002 $as_echo_n "(cached) " >&6
12004 ac_check_lib_save_LIBS
=$LIBS
12006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12009 /* Override any GCC internal prototype to avoid an error.
12010 Use char because int might match the return type of a GCC
12011 builtin and then its argument prototype would still apply. */
12019 return dld_link ();
12024 if ac_fn_c_try_link
"$LINENO"; then :
12025 ac_cv_lib_dld_dld_link
=yes
12027 ac_cv_lib_dld_dld_link
=no
12029 rm -f core conftest.err conftest.
$ac_objext \
12030 conftest
$ac_exeext conftest.
$ac_ext
12031 LIBS
=$ac_check_lib_save_LIBS
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12034 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12035 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12036 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12057 if test "x$lt_cv_dlopen" != xno
; then
12063 case $lt_cv_dlopen in
12065 save_CPPFLAGS
="$CPPFLAGS"
12066 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12068 save_LDFLAGS
="$LDFLAGS"
12069 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12072 LIBS
="$lt_cv_dlopen_libs $LIBS"
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12075 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12076 if ${lt_cv_dlopen_self+:} false
; then :
12077 $as_echo_n "(cached) " >&6
12079 if test "$cross_compiling" = yes; then :
12080 lt_cv_dlopen_self
=cross
12082 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12083 lt_status
=$lt_dlunknown
12084 cat > conftest.
$ac_ext <<_LT_EOF
12085 #line 12085 "configure"
12086 #include "confdefs.h"
12095 # define LT_DLGLOBAL RTLD_GLOBAL
12098 # define LT_DLGLOBAL DL_GLOBAL
12100 # define LT_DLGLOBAL 0
12104 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12105 find out it does not work in some platform. */
12106 #ifndef LT_DLLAZY_OR_NOW
12108 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12111 # define LT_DLLAZY_OR_NOW DL_LAZY
12114 # define LT_DLLAZY_OR_NOW RTLD_NOW
12117 # define LT_DLLAZY_OR_NOW DL_NOW
12119 # define LT_DLLAZY_OR_NOW 0
12126 /* When -fvisbility=hidden is used, assume the code has been annotated
12127 correspondingly for the symbols needed. */
12128 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12129 void fnord () __attribute__((visibility("default")));
12132 void fnord () { int i=42; }
12135 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12136 int status = $lt_dlunknown;
12140 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12143 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12144 else puts (dlerror ());
12146 /* dlclose (self); */
12154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12155 (eval $ac_link) 2>&5
12157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12158 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12159 (.
/conftest
; exit; ) >&5 2>/dev
/null
12161 case x
$lt_status in
12162 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12163 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12164 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12167 # compilation failed
12168 lt_cv_dlopen_self
=no
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12176 $as_echo "$lt_cv_dlopen_self" >&6; }
12178 if test "x$lt_cv_dlopen_self" = xyes
; then
12179 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12181 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12182 if ${lt_cv_dlopen_self_static+:} false
; then :
12183 $as_echo_n "(cached) " >&6
12185 if test "$cross_compiling" = yes; then :
12186 lt_cv_dlopen_self_static
=cross
12188 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12189 lt_status
=$lt_dlunknown
12190 cat > conftest.
$ac_ext <<_LT_EOF
12191 #line 12191 "configure"
12192 #include "confdefs.h"
12201 # define LT_DLGLOBAL RTLD_GLOBAL
12204 # define LT_DLGLOBAL DL_GLOBAL
12206 # define LT_DLGLOBAL 0
12210 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12211 find out it does not work in some platform. */
12212 #ifndef LT_DLLAZY_OR_NOW
12214 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12217 # define LT_DLLAZY_OR_NOW DL_LAZY
12220 # define LT_DLLAZY_OR_NOW RTLD_NOW
12223 # define LT_DLLAZY_OR_NOW DL_NOW
12225 # define LT_DLLAZY_OR_NOW 0
12232 /* When -fvisbility=hidden is used, assume the code has been annotated
12233 correspondingly for the symbols needed. */
12234 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12235 void fnord () __attribute__((visibility("default")));
12238 void fnord () { int i=42; }
12241 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12242 int status = $lt_dlunknown;
12246 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12249 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12250 else puts (dlerror ());
12252 /* dlclose (self); */
12260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12261 (eval $ac_link) 2>&5
12263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12264 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12265 (.
/conftest
; exit; ) >&5 2>/dev
/null
12267 case x
$lt_status in
12268 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12269 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12270 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12273 # compilation failed
12274 lt_cv_dlopen_self_static
=no
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12282 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12285 CPPFLAGS
="$save_CPPFLAGS"
12286 LDFLAGS
="$save_LDFLAGS"
12291 case $lt_cv_dlopen_self in
12292 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12293 *) enable_dlopen_self
=unknown
;;
12296 case $lt_cv_dlopen_self_static in
12297 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12298 *) enable_dlopen_self_static
=unknown
;;
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12321 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12322 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12323 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12324 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12326 $as_echo "yes" >&6; }
12328 # FIXME - insert some real tests, host_os isn't really good enough
12331 if test -n "$STRIP" ; then
12332 striplib
="$STRIP -x"
12333 old_striplib
="$STRIP -S"
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12335 $as_echo "yes" >&6; }
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12338 $as_echo "no" >&6; }
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12343 $as_echo "no" >&6; }
12359 # Report which library types will actually be built
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12361 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12363 $as_echo "$can_build_shared" >&6; }
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12366 $as_echo_n "checking whether to build shared libraries... " >&6; }
12367 test "$can_build_shared" = "no" && enable_shared
=no
12369 # On AIX, shared libraries and static libraries use the same namespace, and
12370 # are all built from PIC.
12373 test "$enable_shared" = yes && enable_static
=no
12374 if test -n "$RANLIB"; then
12375 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12376 postinstall_cmds
='$RANLIB $lib'
12381 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12382 test "$enable_shared" = yes && enable_static
=no
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12387 $as_echo "$enable_shared" >&6; }
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12390 $as_echo_n "checking whether to build static libraries... " >&6; }
12391 # Make sure either enable_shared or enable_static is yes.
12392 test "$enable_shared" = yes || enable_static
=yes
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12394 $as_echo "$enable_static" >&6; }
12401 ac_cpp
='$CPP $CPPFLAGS'
12402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12408 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12409 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12410 (test "X$CXX" != "Xg++"))) ; then
12412 ac_cpp
='$CXXCPP $CPPFLAGS'
12413 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12414 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12415 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12417 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12418 if test -z "$CXXCPP"; then
12419 if ${ac_cv_prog_CXXCPP+:} false
; then :
12420 $as_echo_n "(cached) " >&6
12422 # Double quotes because CXXCPP needs to be expanded
12423 for CXXCPP
in "$CXX -E" "/lib/cpp"
12425 ac_preproc_ok
=false
12426 for ac_cxx_preproc_warn_flag
in '' yes
12428 # Use a header file that comes with gcc, so configuring glibc
12429 # with a fresh cross-compiler works.
12430 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12431 # <limits.h> exists even on freestanding compilers.
12432 # On the NeXT, cc -E runs the code through the compiler's parser,
12433 # not just through cpp. "Syntax error" is here to catch this case.
12434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12437 # include <limits.h>
12439 # include <assert.h>
12443 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12446 # Broken: fails on valid input.
12449 rm -f conftest.err conftest.i conftest.
$ac_ext
12451 # OK, works on sane cases. Now check whether nonexistent headers
12452 # can be detected and how.
12453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12455 #include <ac_nonexistent.h>
12457 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12458 # Broken: success on invalid input.
12461 # Passes both tests.
12465 rm -f conftest.err conftest.i conftest.
$ac_ext
12468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12469 rm -f conftest.i conftest.err conftest.
$ac_ext
12470 if $ac_preproc_ok; then :
12475 ac_cv_prog_CXXCPP
=$CXXCPP
12478 CXXCPP
=$ac_cv_prog_CXXCPP
12480 ac_cv_prog_CXXCPP
=$CXXCPP
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12483 $as_echo "$CXXCPP" >&6; }
12484 ac_preproc_ok
=false
12485 for ac_cxx_preproc_warn_flag
in '' yes
12487 # Use a header file that comes with gcc, so configuring glibc
12488 # with a fresh cross-compiler works.
12489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12490 # <limits.h> exists even on freestanding compilers.
12491 # On the NeXT, cc -E runs the code through the compiler's parser,
12492 # not just through cpp. "Syntax error" is here to catch this case.
12493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 # include <limits.h>
12498 # include <assert.h>
12502 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12505 # Broken: fails on valid input.
12508 rm -f conftest.err conftest.i conftest.
$ac_ext
12510 # OK, works on sane cases. Now check whether nonexistent headers
12511 # can be detected and how.
12512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12514 #include <ac_nonexistent.h>
12516 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12517 # Broken: success on invalid input.
12520 # Passes both tests.
12524 rm -f conftest.err conftest.i conftest.
$ac_ext
12527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12528 rm -f conftest.i conftest.err conftest.
$ac_ext
12529 if $ac_preproc_ok; then :
12532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12534 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12535 See \`config.log' for more details" "$LINENO" 5; }
12539 ac_cpp
='$CPP $CPPFLAGS'
12540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12545 _lt_caught_CXX_error
=yes
12549 ac_cpp
='$CXXCPP $CPPFLAGS'
12550 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12551 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12552 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12554 archive_cmds_need_lc_CXX
=no
12555 allow_undefined_flag_CXX
=
12556 always_export_symbols_CXX
=no
12557 archive_expsym_cmds_CXX
=
12558 compiler_needs_object_CXX
=no
12559 export_dynamic_flag_spec_CXX
=
12560 hardcode_direct_CXX
=no
12561 hardcode_direct_absolute_CXX
=no
12562 hardcode_libdir_flag_spec_CXX
=
12563 hardcode_libdir_flag_spec_ld_CXX
=
12564 hardcode_libdir_separator_CXX
=
12565 hardcode_minus_L_CXX
=no
12566 hardcode_shlibpath_var_CXX
=unsupported
12567 hardcode_automatic_CXX
=no
12568 inherit_rpath_CXX
=no
12570 module_expsym_cmds_CXX
=
12571 link_all_deplibs_CXX
=unknown
12572 old_archive_cmds_CXX
=$old_archive_cmds
12573 reload_flag_CXX
=$reload_flag
12574 reload_cmds_CXX
=$reload_cmds
12575 no_undefined_flag_CXX
=
12576 whole_archive_flag_spec_CXX
=
12577 enable_shared_with_static_runtimes_CXX
=no
12579 # Source file extension for C++ test sources.
12582 # Object file extension for compiled C++ test sources.
12586 # No sense in running all these tests if we already determined that
12587 # the CXX compiler isn't working. Some variables (like enable_shared)
12588 # are currently assumed to apply to all compilers on this platform,
12589 # and will be corrupted by setting them based on a non-working compiler.
12590 if test "$_lt_caught_CXX_error" != yes; then
12591 # Code to be used in simple compile tests
12592 lt_simple_compile_test_code
="int some_variable = 0;"
12594 # Code to be used in simple link tests
12595 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12597 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12604 # If no C compiler was specified, use CC.
12607 # If no C compiler flags were specified, use CFLAGS.
12608 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12610 # Allow CC to be a program name with arguments.
12614 # save warnings/boilerplate of simple test code
12615 ac_outfile
=conftest.
$ac_objext
12616 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12617 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12618 _lt_compiler_boilerplate
=`cat conftest.err`
12621 ac_outfile
=conftest.
$ac_objext
12622 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12623 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12624 _lt_linker_boilerplate
=`cat conftest.err`
12628 # Allow CC to be a program name with arguments.
12633 lt_save_with_gnu_ld
=$with_gnu_ld
12634 lt_save_path_LD
=$lt_cv_path_LD
12635 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12636 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12638 $as_unset lt_cv_prog_gnu_ld
12640 if test -n "${lt_cv_path_LDCXX+set}"; then
12641 lt_cv_path_LD
=$lt_cv_path_LDCXX
12643 $as_unset lt_cv_path_LD
12645 test -z "${LDCXX+set}" || LD
=$LDCXX
12649 for cc_temp
in $compiler""; do
12651 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12652 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12657 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12660 if test -n "$compiler"; then
12661 # We don't want -fno-exception when compiling C++ code, so set the
12662 # no_builtin_flag separately
12663 if test "$GXX" = yes; then
12664 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12666 lt_prog_compiler_no_builtin_flag_CXX
=
12669 if test "$GXX" = yes; then
12670 # Set up default GNU C++ configuration
12674 # Check whether --with-gnu-ld was given.
12675 if test "${with_gnu_ld+set}" = set; then :
12676 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12682 if test "$GCC" = yes; then
12683 # Check if gcc -print-prog-name=ld gives a path.
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12685 $as_echo_n "checking for ld used by $CC... " >&6; }
12688 # gcc leaves a trailing carriage return which upsets mingw
12689 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12691 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12694 # Accept absolute paths.
12696 re_direlt
='/[^/][^/]*/\.\./'
12697 # Canonicalize the pathname of ld
12698 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12699 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12700 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12702 test -z "$LD" && LD
="$ac_prog"
12705 # If it fails, then pretend we aren't using GCC.
12709 # If it is relative, then search for the first ld in PATH.
12710 with_gnu_ld
=unknown
12713 elif test "$with_gnu_ld" = yes; then
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12715 $as_echo_n "checking for GNU ld... " >&6; }
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12718 $as_echo_n "checking for non-GNU ld... " >&6; }
12720 if ${lt_cv_path_LD+:} false
; then :
12721 $as_echo_n "(cached) " >&6
12723 if test -z "$LD"; then
12724 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12725 for ac_dir
in $PATH; do
12727 test -z "$ac_dir" && ac_dir
=.
12728 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12729 lt_cv_path_LD
="$ac_dir/$ac_prog"
12730 # Check to see if the program is GNU ld. I'd rather use --version,
12731 # but apparently some variants of GNU ld only accept -v.
12732 # Break only if it was the GNU/non-GNU ld that we prefer.
12733 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12734 *GNU
* |
*'with BFD'*)
12735 test "$with_gnu_ld" != no
&& break
12738 test "$with_gnu_ld" != yes && break
12745 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12749 LD
="$lt_cv_path_LD"
12750 if test -n "$LD"; then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12752 $as_echo "$LD" >&6; }
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12757 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12759 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12760 if ${lt_cv_prog_gnu_ld+:} false
; then :
12761 $as_echo_n "(cached) " >&6
12763 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12764 case `$LD -v 2>&1 </dev/null` in
12765 *GNU
* |
*'with BFD'*)
12766 lt_cv_prog_gnu_ld
=yes
12769 lt_cv_prog_gnu_ld
=no
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12774 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12775 with_gnu_ld
=$lt_cv_prog_gnu_ld
12783 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12784 # archiving commands below assume that GNU ld is being used.
12785 if test "$with_gnu_ld" = yes; then
12786 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12787 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'
12789 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12790 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12792 # If archive_cmds runs LD, not CC, wlarc should be empty
12793 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12794 # investigate it a little bit more. (MM)
12797 # ancient GNU ld didn't support --whole-archive et. al.
12798 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12799 $GREP 'no-whole-archive' > /dev
/null
; then
12800 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12802 whole_archive_flag_spec_CXX
=
12808 # A generic and very simple default shared library creation
12809 # command for GNU C++ for the case where it uses the native
12810 # linker, instead of GNU ld. If possible, this setting should
12811 # overridden to take advantage of the native linker features on
12812 # the platform it is being used on.
12813 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12816 # Commands to make compiler produce verbose output that lists
12817 # what "hidden" libraries, object files and flags are used when
12818 # linking a shared library.
12819 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12827 # PORTME: fill in a description of your system's C++ link characteristics
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12829 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12833 # FIXME: insert proper C++ library support
12837 if test "$host_cpu" = ia64
; then
12838 # On IA64, the linker does run time linking by default, so we don't
12839 # have to do anything special.
12840 aix_use_runtimelinking
=no
12841 exp_sym_flag
='-Bexport'
12844 aix_use_runtimelinking
=no
12846 # Test if we are trying to use run time linking or normal
12847 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12848 # need to do runtime linking.
12849 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12850 for ld_flag
in $LDFLAGS; do
12853 aix_use_runtimelinking
=yes
12861 exp_sym_flag
='-bexport'
12862 no_entry_flag
='-bnoentry'
12865 # When large executables or shared objects are built, AIX ld can
12866 # have problems creating the table of contents. If linking a library
12867 # or program results in "error TOC overflow" add -mminimal-toc to
12868 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12869 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12871 archive_cmds_CXX
=''
12872 hardcode_direct_CXX
=yes
12873 hardcode_direct_absolute_CXX
=yes
12874 hardcode_libdir_separator_CXX
=':'
12875 link_all_deplibs_CXX
=yes
12876 file_list_spec_CXX
='${wl}-f,'
12878 if test "$GXX" = yes; then
12879 case $host_os in aix4.
[012]|aix4.
[012].
*)
12880 # We only want to do this on AIX 4.2 and lower, the check
12881 # below for broken collect2 doesn't work under 4.3+
12882 collect2name
=`${CC} -print-prog-name=collect2`
12883 if test -f "$collect2name" &&
12884 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12886 # We have reworked collect2
12889 # We have old collect2
12890 hardcode_direct_CXX
=unsupported
12891 # It fails to find uninstalled libraries when the uninstalled
12892 # path is not listed in the libpath. Setting hardcode_minus_L
12893 # to unsupported forces relinking
12894 hardcode_minus_L_CXX
=yes
12895 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12896 hardcode_libdir_separator_CXX
=
12899 shared_flag
='-shared'
12900 if test "$aix_use_runtimelinking" = yes; then
12901 shared_flag
="$shared_flag "'${wl}-G'
12905 if test "$host_cpu" = ia64
; then
12906 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12907 # chokes on -Wl,-G. The following line is correct:
12910 if test "$aix_use_runtimelinking" = yes; then
12911 shared_flag
='${wl}-G'
12913 shared_flag
='${wl}-bM:SRE'
12918 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12919 # It seems that -bexpall does not export symbols beginning with
12920 # underscore (_), so it is better to generate a list of symbols to
12922 always_export_symbols_CXX
=yes
12923 if test "$aix_use_runtimelinking" = yes; then
12924 # Warning - without using the other runtime loading flags (-brtl),
12925 # -berok will link without error, but may produce a broken library.
12926 allow_undefined_flag_CXX
='-berok'
12927 # Determine the default libpath from the value encoded in an empty
12929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12940 if ac_fn_cxx_try_link
"$LINENO"; then :
12942 lt_aix_libpath_sed
='
12943 /Import File Strings/,/^$/ {
12949 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12950 # Check for a 64-bit object if we didn't find anything.
12951 if test -z "$aix_libpath"; then
12952 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12955 rm -f core conftest.err conftest.
$ac_objext \
12956 conftest
$ac_exeext conftest.
$ac_ext
12957 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12959 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12961 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"
12963 if test "$host_cpu" = ia64
; then
12964 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12965 allow_undefined_flag_CXX
="-z nodefs"
12966 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"
12968 # Determine the default libpath from the value encoded in an
12969 # empty executable.
12970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12981 if ac_fn_cxx_try_link
"$LINENO"; then :
12983 lt_aix_libpath_sed
='
12984 /Import File Strings/,/^$/ {
12990 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12991 # Check for a 64-bit object if we didn't find anything.
12992 if test -z "$aix_libpath"; then
12993 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12996 rm -f core conftest.err conftest.
$ac_objext \
12997 conftest
$ac_exeext conftest.
$ac_ext
12998 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13000 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13001 # Warning - without using the other run time loading flags,
13002 # -berok will link without error, but may produce a broken library.
13003 no_undefined_flag_CXX
=' ${wl}-bernotok'
13004 allow_undefined_flag_CXX
=' ${wl}-berok'
13005 if test "$with_gnu_ld" = yes; then
13006 # We only use this code for GNU lds that support --whole-archive.
13007 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13009 # Exported symbols can be pulled into shared objects from archives
13010 whole_archive_flag_spec_CXX
='$convenience'
13012 archive_cmds_need_lc_CXX
=yes
13013 # This is similar to how AIX traditionally builds its shared
13015 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'
13021 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13022 allow_undefined_flag_CXX
=unsupported
13023 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13024 # support --undefined. This deserves some investigation. FIXME
13025 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13032 case $cc_basename in
13034 # FIXME: insert proper C++ library support
13040 cygwin
* | mingw
* | pw32
* | cegcc
*)
13041 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13042 # as there is no search path for DLLs.
13043 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13044 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13045 allow_undefined_flag_CXX
=unsupported
13046 always_export_symbols_CXX
=no
13047 enable_shared_with_static_runtimes_CXX
=yes
13049 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13050 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'
13051 # If the export-symbols file already is a .def file (1st line
13052 # is EXPORTS), use it as is; otherwise, prepend...
13053 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13054 cp $export_symbols $output_objdir/$soname.def;
13056 echo EXPORTS > $output_objdir/$soname.def;
13057 cat $export_symbols >> $output_objdir/$soname.def;
13059 $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'
13064 darwin
* | rhapsody
*)
13067 archive_cmds_need_lc_CXX
=no
13068 hardcode_direct_CXX
=no
13069 hardcode_automatic_CXX
=yes
13070 hardcode_shlibpath_var_CXX
=unsupported
13071 if test "$lt_cv_ld_force_load" = "yes"; then
13072 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\"`'
13074 whole_archive_flag_spec_CXX
=''
13076 link_all_deplibs_CXX
=yes
13077 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13078 case $cc_basename in
13079 ifort
*) _lt_dar_can_shared
=yes ;;
13080 *) _lt_dar_can_shared
=$GCC ;;
13082 if test "$_lt_dar_can_shared" = "yes"; then
13083 output_verbose_link_cmd
=func_echo_all
13084 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}"
13085 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13086 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}"
13087 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}"
13088 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13089 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}"
13090 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}"
13100 case $cc_basename in
13102 # FIXME: insert proper C++ library support
13106 # Green Hills C++ Compiler
13107 # FIXME: insert proper C++ library support
13111 # FIXME: insert proper C++ library support
13118 # C++ shared libraries reported to be fairly broken before
13124 archive_cmds_need_lc_CXX
=no
13127 freebsd
* | dragonfly
*)
13128 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13137 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13138 link_all_deplibs_CXX
=yes
13142 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13143 hardcode_libdir_separator_CXX
=:
13144 export_dynamic_flag_spec_CXX
='${wl}-E'
13145 hardcode_direct_CXX
=yes
13146 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13147 # but as the default
13148 # location of the library.
13150 case $cc_basename in
13152 # FIXME: insert proper C++ library support
13156 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'
13157 # Commands to make compiler produce verbose output that lists
13158 # what "hidden" libraries, object files and flags are used when
13159 # linking a shared library.
13161 # There doesn't appear to be a way to prevent this compiler from
13162 # explicitly linking system object files so we need to strip them
13163 # from the output so that they don't get included in the library
13165 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $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"'
13168 if test "$GXX" = yes; then
13169 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'
13171 # FIXME: insert proper C++ library support
13179 if test $with_gnu_ld = no
; then
13180 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13181 hardcode_libdir_separator_CXX
=:
13187 export_dynamic_flag_spec_CXX
='${wl}-E'
13193 hardcode_direct_CXX
=no
13194 hardcode_shlibpath_var_CXX
=no
13197 hardcode_direct_CXX
=yes
13198 hardcode_direct_absolute_CXX
=yes
13199 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13200 # but as the default
13201 # location of the library.
13205 case $cc_basename in
13207 # FIXME: insert proper C++ library support
13213 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13216 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13219 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13222 # Commands to make compiler produce verbose output that lists
13223 # what "hidden" libraries, object files and flags are used when
13224 # linking a shared library.
13226 # There doesn't appear to be a way to prevent this compiler from
13227 # explicitly linking system object files so we need to strip them
13228 # from the output so that they don't get included in the library
13230 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"'
13233 if test "$GXX" = yes; then
13234 if test $with_gnu_ld = no
; then
13237 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13240 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13243 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'
13248 # FIXME: insert proper C++ library support
13256 hardcode_direct_CXX
=no
13257 hardcode_shlibpath_var_CXX
=no
13258 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13259 export_dynamic_flag_spec_CXX
='${wl}-E'
13260 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13261 # Instead, shared libraries are loaded at an image base (0x10000000 by
13262 # default) and relocated if they conflict, which is a slow very memory
13263 # consuming and fragmenting process. To avoid this, we pick a random,
13264 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13265 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13266 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'
13267 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'
13270 case $cc_basename in
13273 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'
13275 # Archives containing C++ object files must be created using
13276 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13277 # necessary to make sure instantiated templates are included
13279 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13282 if test "$GXX" = yes; then
13283 if test "$with_gnu_ld" = no
; then
13284 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'
13286 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'
13289 link_all_deplibs_CXX
=yes
13292 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13293 hardcode_libdir_separator_CXX
=:
13294 inherit_rpath_CXX
=yes
13297 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13298 case $cc_basename in
13300 # Kuck and Associates, Inc. (KAI) C++ Compiler
13302 # KCC will only create a shared library if the output file
13303 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13304 # to its proper name (with version) after linking.
13305 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'
13306 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'
13307 # Commands to make compiler produce verbose output that lists
13308 # what "hidden" libraries, object files and flags are used when
13309 # linking a shared library.
13311 # There doesn't appear to be a way to prevent this compiler from
13312 # explicitly linking system object files so we need to strip them
13313 # from the output so that they don't get included in the library
13315 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"'
13317 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13318 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13320 # Archives containing C++ object files must be created using
13321 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13322 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13327 # version 8.0 and above of icpc choke on multiply defined symbols
13328 # if we add $predep_objects and $postdep_objects, however 7.1 and
13329 # earlier do not add the objects themselves.
13330 case `$CC -V 2>&1` in
13332 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13333 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'
13335 *) # Version 8.0 or newer
13338 ia64
*) tmp_idyn
=' -i_dynamic';;
13340 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13341 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'
13344 archive_cmds_need_lc_CXX
=no
13345 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13346 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13347 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13350 # Portland Group C++ compiler
13352 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13353 prelink_cmds_CXX
='tpldir=Template.dir~
13355 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13356 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13357 old_archive_cmds_CXX
='tpldir=Template.dir~
13359 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13360 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13362 archive_cmds_CXX
='tpldir=Template.dir~
13364 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13365 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13366 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13368 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13369 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13371 *) # Version 6 and above use weak symbols
13372 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13373 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'
13377 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13378 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13379 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'
13383 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13384 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'
13386 runpath_var
=LD_RUN_PATH
13387 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13388 hardcode_libdir_separator_CXX
=:
13390 # Commands to make compiler produce verbose output that lists
13391 # what "hidden" libraries, object files and flags are used when
13392 # linking a shared library.
13394 # There doesn't appear to be a way to prevent this compiler from
13395 # explicitly linking system object files so we need to strip them
13396 # from the output so that they don't get included in the library
13398 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'
13400 xl
* | mpixl
* | bgxl
*)
13401 # IBM XL 8.0 on PPC, with GNU ld
13402 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13403 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13404 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13405 if test "x$supports_anon_versioning" = xyes
; then
13406 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13407 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13408 echo "local: *; };" >> $output_objdir/$libname.ver~
13409 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13413 case `$CC -V 2>&1 | sed 5q` in
13416 no_undefined_flag_CXX
=' -zdefs'
13417 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13418 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'
13419 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13420 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'
13421 compiler_needs_object_CXX
=yes
13423 # Not sure whether something based on
13424 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13426 output_verbose_link_cmd
='func_echo_all'
13428 # Archives containing C++ object files must be created using
13429 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13430 # necessary to make sure instantiated templates are included
13432 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13440 # FIXME: insert proper C++ library support
13445 # FIXME: insert proper C++ library support
13450 case $cc_basename in
13452 # FIXME: insert proper C++ library support
13456 # FIXME: insert proper C++ library support
13463 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13464 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13466 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13467 hardcode_direct_CXX
=yes
13468 hardcode_shlibpath_var_CXX
=no
13470 # Workaround some broken pre-1.5 toolchains
13471 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13479 # C++ shared libraries are fairly broken
13484 if test -f /usr
/libexec
/ld.so
; then
13485 hardcode_direct_CXX
=yes
13486 hardcode_shlibpath_var_CXX
=no
13487 hardcode_direct_absolute_CXX
=yes
13488 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13489 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13490 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13491 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13492 export_dynamic_flag_spec_CXX
='${wl}-E'
13493 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13495 output_verbose_link_cmd
=func_echo_all
13501 osf3
* | osf4
* | osf5
*)
13502 case $cc_basename in
13504 # Kuck and Associates, Inc. (KAI) C++ Compiler
13506 # KCC will only create a shared library if the output file
13507 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13508 # to its proper name (with version) after linking.
13509 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'
13511 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13512 hardcode_libdir_separator_CXX
=:
13514 # Archives containing C++ object files must be created using
13515 # the KAI C++ compiler.
13517 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13518 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13522 # Rational C++ 2.4.1
13523 # FIXME: insert proper C++ library support
13529 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13530 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'
13531 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13534 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13535 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'
13536 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13537 echo "-hidden">> $lib.exp~
13538 $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~
13540 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13544 hardcode_libdir_separator_CXX
=:
13546 # Commands to make compiler produce verbose output that lists
13547 # what "hidden" libraries, object files and flags are used when
13548 # linking a shared library.
13550 # There doesn't appear to be a way to prevent this compiler from
13551 # explicitly linking system object files so we need to strip them
13552 # from the output so that they don't get included in the library
13554 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"'
13557 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13558 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13561 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'
13564 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'
13568 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13569 hardcode_libdir_separator_CXX
=:
13571 # Commands to make compiler produce verbose output that lists
13572 # what "hidden" libraries, object files and flags are used when
13573 # linking a shared library.
13574 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13577 # FIXME: insert proper C++ library support
13585 # FIXME: insert proper C++ library support
13590 case $cc_basename in
13593 # FIXME: insert proper C++ library support
13598 # FIXME: insert proper C++ library support
13602 # FIXME: insert proper C++ library support
13609 case $cc_basename in
13611 # Sun C++ 4.2, 5.x and Centerline C++
13612 archive_cmds_need_lc_CXX
=yes
13613 no_undefined_flag_CXX
=' -zdefs'
13614 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13615 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13616 $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'
13618 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13619 hardcode_shlibpath_var_CXX
=no
13621 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13623 # The compiler driver will combine and reorder linker options,
13624 # but understands `-z linker_flag'.
13625 # Supported since Solaris 2.6 (maybe 2.5.1?)
13626 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13629 link_all_deplibs_CXX
=yes
13631 output_verbose_link_cmd
='func_echo_all'
13633 # Archives containing C++ object files must be created using
13634 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13635 # necessary to make sure instantiated templates are included
13637 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13640 # Green Hills C++ Compiler
13641 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13643 # The C++ compiler must be used to create the archive.
13644 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13647 # GNU C++ compiler with Solaris linker
13648 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13649 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13650 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13651 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13652 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13653 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13655 # Commands to make compiler produce verbose output that lists
13656 # what "hidden" libraries, object files and flags are used when
13657 # linking a shared library.
13658 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13660 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13662 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13663 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13664 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13666 # Commands to make compiler produce verbose output that lists
13667 # what "hidden" libraries, object files and flags are used when
13668 # linking a shared library.
13669 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13672 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13674 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13676 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13684 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13685 no_undefined_flag_CXX
='${wl}-z,text'
13686 archive_cmds_need_lc_CXX
=no
13687 hardcode_shlibpath_var_CXX
=no
13688 runpath_var
='LD_RUN_PATH'
13690 case $cc_basename in
13692 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13693 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13696 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13697 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13702 sysv5
* | sco3.2v5
* | sco5v6
*)
13703 # Note: We can NOT use -z defs as we might desire, because we do not
13704 # link with -lc, and that would cause any symbols used from libc to
13705 # always be unresolved, which means just about no library would
13706 # ever link correctly. If we're not using GNU ld we use -z text
13707 # though, which does catch some bad symbols but isn't as heavy-handed
13709 no_undefined_flag_CXX
='${wl}-z,text'
13710 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13711 archive_cmds_need_lc_CXX
=no
13712 hardcode_shlibpath_var_CXX
=no
13713 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13714 hardcode_libdir_separator_CXX
=':'
13715 link_all_deplibs_CXX
=yes
13716 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13717 runpath_var
='LD_RUN_PATH'
13719 case $cc_basename in
13721 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13722 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13723 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13724 '"$old_archive_cmds_CXX"
13725 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13726 '"$reload_cmds_CXX"
13729 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13730 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13736 case $cc_basename in
13738 # NonStop-UX NCC 3.20
13739 # FIXME: insert proper C++ library support
13743 # FIXME: insert proper C++ library support
13750 # For VxWorks ports, we assume the use of a GNU linker with
13751 # standard elf conventions.
13756 # FIXME: insert proper C++ library support
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13762 $as_echo "$ld_shlibs_CXX" >&6; }
13763 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13769 ## There is no encapsulation within the following macros, do not change
13770 ## the running order or otherwise move them around unless you know exactly
13771 ## what you are doing...
13772 # Dependencies to place before and after the object being linked:
13773 predep_objects_CXX
=
13774 postdep_objects_CXX
=
13777 compiler_lib_search_path_CXX
=
13779 cat > conftest.
$ac_ext <<_LT_EOF
13783 Foo (void) { a = 0; }
13789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13790 (eval $ac_compile) 2>&5
13792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13793 test $ac_status = 0; }; then
13794 # Parse the compiler output and extract the necessary
13795 # objects, libraries and library flags.
13797 # Sentinel used to keep track of whether or not we are before
13798 # the conftest object file.
13799 pre_test_object_deps_done
=no
13801 for p
in `eval "$output_verbose_link_cmd"`; do
13805 # Some compilers place space between "-{L,R}" and the path.
13806 # Remove the space.
13807 if test $p = "-L" ||
13808 test $p = "-R"; then
13815 if test "$pre_test_object_deps_done" = no
; then
13818 # Internal compiler library paths should come after those
13819 # provided the user. The postdeps already come after the
13820 # user supplied libs so there is no need to process them.
13821 if test -z "$compiler_lib_search_path_CXX"; then
13822 compiler_lib_search_path_CXX
="${prev}${p}"
13824 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13827 # The "-l" case would never come before the object being
13828 # linked, so don't bother handling this case.
13831 if test -z "$postdeps_CXX"; then
13832 postdeps_CXX
="${prev}${p}"
13834 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13840 # This assumes that the test object file only shows up
13841 # once in the compiler output.
13842 if test "$p" = "conftest.$objext"; then
13843 pre_test_object_deps_done
=yes
13847 if test "$pre_test_object_deps_done" = no
; then
13848 if test -z "$predep_objects_CXX"; then
13849 predep_objects_CXX
="$p"
13851 predep_objects_CXX
="$predep_objects_CXX $p"
13854 if test -z "$postdep_objects_CXX"; then
13855 postdep_objects_CXX
="$p"
13857 postdep_objects_CXX
="$postdep_objects_CXX $p"
13862 *) ;; # Ignore the rest.
13870 echo "libtool.m4: error: problem compiling CXX test program"
13873 $RM -f confest.
$objext
13875 # PORTME: override above test on systems where it is broken
13878 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13879 # hack all around it, let's just trust "g++" to DTRT.
13880 predep_objects_CXX
=
13881 postdep_objects_CXX
=
13886 case `$CC -V 2>&1 | sed 5q` in
13890 # The more standards-conforming stlport4 library is
13891 # incompatible with the Cstd library. Avoid specifying
13892 # it if it's in CXXFLAGS. Ignore libCrun as
13893 # -library=stlport4 depends on it.
13894 case " $CXX $CXXFLAGS " in
13895 *" -library=stlport4 "*)
13896 solaris_use_stlport4
=yes
13900 if test "$solaris_use_stlport4" != yes; then
13901 postdeps_CXX
='-library=Cstd -library=Crun'
13908 case $cc_basename in
13910 # The more standards-conforming stlport4 library is
13911 # incompatible with the Cstd library. Avoid specifying
13912 # it if it's in CXXFLAGS. Ignore libCrun as
13913 # -library=stlport4 depends on it.
13914 case " $CXX $CXXFLAGS " in
13915 *" -library=stlport4 "*)
13916 solaris_use_stlport4
=yes
13920 # Adding this requires a known-good setup of shared libraries for
13921 # Sun compiler versions before 5.6, else PIC objects from an old
13922 # archive will be linked into the output, leading to subtle bugs.
13923 if test "$solaris_use_stlport4" != yes; then
13924 postdeps_CXX
='-library=Cstd -library=Crun'
13932 case " $postdeps_CXX " in
13933 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13935 compiler_lib_search_dirs_CXX
=
13936 if test -n "${compiler_lib_search_path_CXX}"; then
13937 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13970 lt_prog_compiler_wl_CXX
=
13971 lt_prog_compiler_pic_CXX
=
13972 lt_prog_compiler_static_CXX
=
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13975 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13977 # C++ specific cases for pic, static, wl, etc.
13978 if test "$GXX" = yes; then
13979 lt_prog_compiler_wl_CXX
='-Wl,'
13980 lt_prog_compiler_static_CXX
='-static'
13984 # All AIX code is PIC.
13985 if test "$host_cpu" = ia64
; then
13986 # AIX 5 now supports IA64 processor
13987 lt_prog_compiler_static_CXX
='-Bstatic'
13989 lt_prog_compiler_pic_CXX
='-fPIC'
13995 # see comment about AmigaOS4 .so support
13996 lt_prog_compiler_pic_CXX
='-fPIC'
13999 # FIXME: we need at least 68020 code to build shared libraries, but
14000 # adding the `-m68020' flag to GCC prevents building anything better,
14002 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14007 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14008 # PIC is the default for these OSes.
14010 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14011 # This hack is so that the source file can tell whether it is being
14012 # built for inclusion in a dll (and should export symbols for example).
14013 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14014 # (--disable-auto-import) libraries
14015 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14017 darwin
* | rhapsody
*)
14018 # PIC is the default on this platform
14019 # Common symbols not allowed in MH_DYLIB files
14020 lt_prog_compiler_pic_CXX
='-fno-common'
14023 # DJGPP does not support shared libraries at all
14024 lt_prog_compiler_pic_CXX
=
14027 # PIC is the default for Haiku.
14028 # The "-static" flag exists, but is broken.
14029 lt_prog_compiler_static_CXX
=
14032 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14033 # Instead, we relocate shared libraries at runtime.
14036 if test -d /usr
/nec
; then
14037 lt_prog_compiler_pic_CXX
=-Kconform_pic
14041 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14042 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14043 # sets the default TLS model and affects inlining.
14048 lt_prog_compiler_pic_CXX
='-fPIC'
14053 # QNX uses GNU C++, but need to define -shared option too, otherwise
14054 # it will coredump.
14055 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14058 lt_prog_compiler_pic_CXX
='-fPIC'
14064 # All AIX code is PIC.
14065 if test "$host_cpu" = ia64
; then
14066 # AIX 5 now supports IA64 processor
14067 lt_prog_compiler_static_CXX
='-Bstatic'
14069 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14073 case $cc_basename in
14075 # Green Hills C++ Compiler
14076 # _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"
14081 case $cc_basename in
14083 lt_prog_compiler_pic_CXX
='-KPIC'
14086 # Green Hills C++ Compiler
14087 lt_prog_compiler_pic_CXX
='-pic'
14093 freebsd
* | dragonfly
*)
14094 # FreeBSD uses GNU C++
14096 hpux9
* | hpux10
* | hpux11
*)
14097 case $cc_basename in
14099 lt_prog_compiler_wl_CXX
='-Wl,'
14100 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14101 if test "$host_cpu" != ia64
; then
14102 lt_prog_compiler_pic_CXX
='+Z'
14106 lt_prog_compiler_wl_CXX
='-Wl,'
14107 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14113 lt_prog_compiler_pic_CXX
='+Z'
14122 # This is c89, which is MS Visual C++ (no shared libs)
14123 # Anyone wants to do a port?
14125 irix5
* | irix6
* | nonstopux
*)
14126 case $cc_basename in
14128 lt_prog_compiler_wl_CXX
='-Wl,'
14129 lt_prog_compiler_static_CXX
='-non_shared'
14130 # CC pic flag -KPIC is the default.
14136 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14137 case $cc_basename in
14140 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14141 lt_prog_compiler_pic_CXX
='-fPIC'
14144 # old Intel C++ for x86_64 which still supported -KPIC.
14145 lt_prog_compiler_wl_CXX
='-Wl,'
14146 lt_prog_compiler_pic_CXX
='-KPIC'
14147 lt_prog_compiler_static_CXX
='-static'
14150 # Intel C++, used to be incompatible with GCC.
14151 # ICC 10 doesn't accept -KPIC any more.
14152 lt_prog_compiler_wl_CXX
='-Wl,'
14153 lt_prog_compiler_pic_CXX
='-fPIC'
14154 lt_prog_compiler_static_CXX
='-static'
14157 # Portland Group C++ compiler
14158 lt_prog_compiler_wl_CXX
='-Wl,'
14159 lt_prog_compiler_pic_CXX
='-fpic'
14160 lt_prog_compiler_static_CXX
='-Bstatic'
14164 # Make sure the PIC flag is empty. It appears that all Alpha
14165 # Linux and Compaq Tru64 Unix objects are PIC.
14166 lt_prog_compiler_pic_CXX
=
14167 lt_prog_compiler_static_CXX
='-non_shared'
14169 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14170 # IBM XL 8.0, 9.0 on PPC and BlueGene
14171 lt_prog_compiler_wl_CXX
='-Wl,'
14172 lt_prog_compiler_pic_CXX
='-qpic'
14173 lt_prog_compiler_static_CXX
='-qstaticlink'
14176 case `$CC -V 2>&1 | sed 5q` in
14179 lt_prog_compiler_pic_CXX
='-KPIC'
14180 lt_prog_compiler_static_CXX
='-Bstatic'
14181 lt_prog_compiler_wl_CXX
='-Qoption ld '
14192 case $cc_basename in
14194 lt_prog_compiler_pic_CXX
='-W c,exportall'
14203 # QNX uses GNU C++, but need to define -shared option too, otherwise
14204 # it will coredump.
14205 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14207 osf3
* | osf4
* | osf5
*)
14208 case $cc_basename in
14210 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14213 # Rational C++ 2.4.1
14214 lt_prog_compiler_pic_CXX
='-pic'
14217 # Digital/Compaq C++
14218 lt_prog_compiler_wl_CXX
='-Wl,'
14219 # Make sure the PIC flag is empty. It appears that all Alpha
14220 # Linux and Compaq Tru64 Unix objects are PIC.
14221 lt_prog_compiler_pic_CXX
=
14222 lt_prog_compiler_static_CXX
='-non_shared'
14231 case $cc_basename in
14233 # Sun C++ 4.2, 5.x and Centerline C++
14234 lt_prog_compiler_pic_CXX
='-KPIC'
14235 lt_prog_compiler_static_CXX
='-Bstatic'
14236 lt_prog_compiler_wl_CXX
='-Qoption ld '
14239 # Green Hills C++ Compiler
14240 lt_prog_compiler_pic_CXX
='-PIC'
14247 case $cc_basename in
14250 lt_prog_compiler_pic_CXX
='-pic'
14251 lt_prog_compiler_static_CXX
='-Bstatic'
14255 lt_prog_compiler_pic_CXX
='-pic'
14261 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14262 case $cc_basename in
14264 lt_prog_compiler_wl_CXX
='-Wl,'
14265 lt_prog_compiler_pic_CXX
='-KPIC'
14266 lt_prog_compiler_static_CXX
='-Bstatic'
14271 case $cc_basename in
14273 # NonStop-UX NCC 3.20
14274 lt_prog_compiler_pic_CXX
='-KPIC'
14283 lt_prog_compiler_can_build_shared_CXX
=no
14289 # For platforms which do not support PIC, -DPIC is meaningless:
14291 lt_prog_compiler_pic_CXX
=
14294 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14298 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14303 # Check to make sure the PIC flag actually works.
14305 if test -n "$lt_prog_compiler_pic_CXX"; then
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14307 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14308 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14309 $as_echo_n "(cached) " >&6
14311 lt_cv_prog_compiler_pic_works_CXX
=no
14312 ac_outfile
=conftest.
$ac_objext
14313 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14314 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14315 # Insert the option either (1) after the last *FLAGS variable, or
14316 # (2) before a word containing "conftest.", or (3) at the end.
14317 # Note that $ac_compile itself does not contain backslashes and begins
14318 # with a dollar sign (not a hyphen), so the echo should work correctly.
14319 # The option is referenced via a variable to avoid confusing sed.
14320 lt_compile
=`echo "$ac_compile" | $SED \
14321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14323 -e 's:$: $lt_compiler_flag:'`
14324 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14325 (eval "$lt_compile" 2>conftest.err
)
14327 cat conftest.err
>&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 if (exit $ac_status) && test -s "$ac_outfile"; then
14330 # The compiler can only warn and ignore the option if not recognized
14331 # So say no if there are warnings other than the usual output.
14332 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14333 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14334 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14335 lt_cv_prog_compiler_pic_works_CXX
=yes
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14342 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14344 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14345 case $lt_prog_compiler_pic_CXX in
14347 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14350 lt_prog_compiler_pic_CXX
=
14351 lt_prog_compiler_can_build_shared_CXX
=no
14359 # Check to make sure the static flag actually works.
14361 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14363 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14364 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14365 $as_echo_n "(cached) " >&6
14367 lt_cv_prog_compiler_static_works_CXX
=no
14368 save_LDFLAGS
="$LDFLAGS"
14369 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14370 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14371 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14372 # The linker can only warn and ignore the option if not recognized
14373 # So say no if there are warnings
14374 if test -s conftest.err
; then
14375 # Append any errors to the config.log.
14376 cat conftest.err
1>&5
14377 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14378 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14379 if diff conftest.exp conftest.er2
>/dev
/null
; then
14380 lt_cv_prog_compiler_static_works_CXX
=yes
14383 lt_cv_prog_compiler_static_works_CXX
=yes
14387 LDFLAGS
="$save_LDFLAGS"
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14391 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14393 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14396 lt_prog_compiler_static_CXX
=
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14403 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14404 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14405 $as_echo_n "(cached) " >&6
14407 lt_cv_prog_compiler_c_o_CXX
=no
14408 $RM -r conftest
2>/dev
/null
14412 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14414 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14415 # Insert the option either (1) after the last *FLAGS variable, or
14416 # (2) before a word containing "conftest.", or (3) at the end.
14417 # Note that $ac_compile itself does not contain backslashes and begins
14418 # with a dollar sign (not a hyphen), so the echo should work correctly.
14419 lt_compile
=`echo "$ac_compile" | $SED \
14420 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14421 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14422 -e 's:$: $lt_compiler_flag:'`
14423 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14424 (eval "$lt_compile" 2>out
/conftest.err
)
14426 cat out
/conftest.err
>&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14430 # The compiler can only warn and ignore the option if not recognized
14431 # So say no if there are warnings
14432 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14433 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14434 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14435 lt_cv_prog_compiler_c_o_CXX
=yes
14440 # SGI C++ compiler will create directory out/ii_files/ for
14441 # template instantiation
14442 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14443 $RM out
/* && rmdir out
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14450 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14455 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14456 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14457 $as_echo_n "(cached) " >&6
14459 lt_cv_prog_compiler_c_o_CXX
=no
14460 $RM -r conftest
2>/dev
/null
14464 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14466 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14467 # Insert the option either (1) after the last *FLAGS variable, or
14468 # (2) before a word containing "conftest.", or (3) at the end.
14469 # Note that $ac_compile itself does not contain backslashes and begins
14470 # with a dollar sign (not a hyphen), so the echo should work correctly.
14471 lt_compile
=`echo "$ac_compile" | $SED \
14472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14474 -e 's:$: $lt_compiler_flag:'`
14475 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14476 (eval "$lt_compile" 2>out
/conftest.err
)
14478 cat out
/conftest.err
>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14482 # The compiler can only warn and ignore the option if not recognized
14483 # So say no if there are warnings
14484 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14485 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14486 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14487 lt_cv_prog_compiler_c_o_CXX
=yes
14492 # SGI C++ compiler will create directory out/ii_files/ for
14493 # template instantiation
14494 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14495 $RM out
/* && rmdir out
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14502 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14507 hard_links
="nottested"
14508 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14509 # do not overwrite the value of need_locks provided by the user
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14511 $as_echo_n "checking if we can lock with hard links... " >&6; }
14514 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14516 ln conftest.a conftest.b
2>&5 || hard_links
=no
14517 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14519 $as_echo "$hard_links" >&6; }
14520 if test "$hard_links" = no
; then
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14522 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14532 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14534 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14537 # If we're using GNU nm, then we don't want the "-C" option.
14538 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14539 # Also, AIX nm treats weak defined symbols like other global defined
14540 # symbols, whereas GNU nm marks them as "W".
14541 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14542 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'
14544 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14548 export_symbols_cmds_CXX
="$ltdll_cmds"
14550 cygwin
* | mingw
* | cegcc
*)
14551 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'
14554 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14557 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14560 $as_echo "$ld_shlibs_CXX" >&6; }
14561 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14563 with_gnu_ld_CXX
=$with_gnu_ld
14571 # Do we need to explicitly link libc?
14573 case "x$archive_cmds_need_lc_CXX" in
14575 # Assume -lc should be added
14576 archive_cmds_need_lc_CXX
=yes
14578 if test "$enable_shared" = yes && test "$GCC" = yes; then
14579 case $archive_cmds_CXX in
14581 # FIXME: we may have to deal with multi-command sequences.
14584 # Test whether the compiler implicitly links with -lc since on some
14585 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14586 # to ld, don't add -lc before -lgcc.
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14588 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14589 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14590 $as_echo_n "(cached) " >&6
14593 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14596 (eval $ac_compile) 2>&5
14598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14599 test $ac_status = 0; } 2>conftest.err
; then
14602 libobjs
=conftest.
$ac_objext
14604 wl
=$lt_prog_compiler_wl_CXX
14605 pic_flag
=$lt_prog_compiler_pic_CXX
14611 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14612 allow_undefined_flag_CXX
=
14613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14614 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14617 test $ac_status = 0; }
14619 lt_cv_archive_cmds_need_lc_CXX
=no
14621 lt_cv_archive_cmds_need_lc_CXX
=yes
14623 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14625 cat conftest.err
1>&5
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14631 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14632 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14703 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14705 library_names_spec
=
14706 libname_spec
='lib$name'
14710 postuninstall_cmds
=
14714 shlibpath_overrides_runpath
=unknown
14716 dynamic_linker
="$host_os ld.so"
14717 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14718 need_lib_prefix
=unknown
14719 hardcode_into_libs
=no
14721 # when you set need_version to no, make sure it does not cause -set_version
14722 # flags to be left without arguments
14723 need_version
=unknown
14728 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14729 shlibpath_var
=LIBPATH
14731 # AIX 3 has no versioning support, so we append a major version to the name.
14732 soname_spec
='${libname}${release}${shared_ext}$major'
14739 hardcode_into_libs
=yes
14740 if test "$host_cpu" = ia64
; then
14741 # AIX 5 supports IA64
14742 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14743 shlibpath_var
=LD_LIBRARY_PATH
14745 # With GCC up to 2.95.x, collect2 would create an import file
14746 # for dependence libraries. The import file would start with
14747 # the line `#! .'. This would cause the generated library to
14748 # depend on `.', always an invalid library. This was fixed in
14749 # development snapshots of GCC prior to 3.0.
14751 aix4 | aix4.
[01] | aix4.
[01].
*)
14752 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14754 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14757 can_build_shared
=no
14761 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14762 # soname into executable. Probably we can add versioning support to
14763 # collect2, so additional links can be useful in future.
14764 if test "$aix_use_runtimelinking" = yes; then
14765 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14766 # instead of lib<name>.a to let people know that these are not
14767 # typical AIX shared libraries.
14768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14770 # We preserve .a as extension for shared libraries through AIX4.2
14771 # and later when we are not doing run time linking.
14772 library_names_spec
='${libname}${release}.a $libname.a'
14773 soname_spec
='${libname}${release}${shared_ext}$major'
14775 shlibpath_var
=LIBPATH
14782 # Since July 2007 AmigaOS4 officially supports .so libraries.
14783 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14787 library_names_spec
='$libname.ixlibrary $libname.a'
14788 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14789 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'
14795 library_names_spec
='${libname}${shared_ext}'
14796 dynamic_linker
="$host_os ld.so"
14797 shlibpath_var
=LIBRARY_PATH
14803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14804 soname_spec
='${libname}${release}${shared_ext}$major'
14805 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14806 shlibpath_var
=LD_LIBRARY_PATH
14807 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14808 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14809 # the default ld.so.conf also contains /usr/contrib/lib and
14810 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14811 # libtool to hard-code these into programs
14814 cygwin
* | mingw
* | pw32
* | cegcc
*)
14815 version_type
=windows
14820 case $GCC,$host_os in
14821 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14822 library_names_spec
='$libname.dll.a'
14823 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14824 postinstall_cmds
='base_file=`basename \${file}`~
14825 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14826 dldir=$destdir/`dirname \$dlpath`~
14827 test -d \$dldir || mkdir -p \$dldir~
14828 $install_prog $dir/$dlname \$dldir/$dlname~
14829 chmod a+x \$dldir/$dlname~
14830 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14831 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14833 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14834 dlpath=$dir/\$dldll~
14836 shlibpath_overrides_runpath
=yes
14840 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14841 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14845 # MinGW DLLs use traditional 'lib' prefix
14846 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14849 # pw32 DLLs use 'pw' prefix rather than 'lib'
14850 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14856 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14859 dynamic_linker
='Win32 ld.exe'
14860 # FIXME: first we should search . and the directory the executable is in
14864 darwin
* | rhapsody
*)
14865 dynamic_linker
="$host_os dyld"
14866 version_type
=darwin
14869 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14870 soname_spec
='${libname}${release}${major}$shared_ext'
14871 shlibpath_overrides_runpath
=yes
14872 shlibpath_var
=DYLD_LIBRARY_PATH
14873 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14875 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
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
=LD_LIBRARY_PATH
14887 freebsd
* | dragonfly
*)
14888 # DragonFly does not have aout. When/if they implement a new
14889 # versioning mechanism, adjust this.
14890 if test -x /usr
/bin
/objformat
; then
14891 objformat
=`/usr/bin/objformat`
14894 freebsd
[23].
*) objformat
=aout
;;
14895 *) objformat
=elf
;;
14898 version_type
=freebsd-
$objformat
14899 case $version_type in
14901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14906 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14910 shlibpath_var
=LD_LIBRARY_PATH
14913 shlibpath_overrides_runpath
=yes
14915 freebsd3.
[01]* | freebsdelf3.
[01]*)
14916 shlibpath_overrides_runpath
=yes
14917 hardcode_into_libs
=yes
14919 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14920 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14921 shlibpath_overrides_runpath
=no
14922 hardcode_into_libs
=yes
14924 *) # from 4.6 on, and DragonFly
14925 shlibpath_overrides_runpath
=yes
14926 hardcode_into_libs
=yes
14935 dynamic_linker
="$host_os runtime_loader"
14936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14937 soname_spec
='${libname}${release}${shared_ext}$major'
14938 shlibpath_var
=LIBRARY_PATH
14939 shlibpath_overrides_runpath
=yes
14940 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14941 hardcode_into_libs
=yes
14944 hpux9
* | hpux10
* | hpux11
*)
14945 # Give a soname corresponding to the major version so that dld.sl refuses to
14946 # link against other versions.
14953 hardcode_into_libs
=yes
14954 dynamic_linker
="$host_os dld.so"
14955 shlibpath_var
=LD_LIBRARY_PATH
14956 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14958 soname_spec
='${libname}${release}${shared_ext}$major'
14959 if test "X$HPUX_IA64_MODE" = X32
; then
14960 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14962 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14964 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14968 hardcode_into_libs
=yes
14969 dynamic_linker
="$host_os dld.sl"
14970 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14971 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14973 soname_spec
='${libname}${release}${shared_ext}$major'
14974 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14975 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14979 dynamic_linker
="$host_os dld.sl"
14980 shlibpath_var
=SHLIB_PATH
14981 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14983 soname_spec
='${libname}${release}${shared_ext}$major'
14986 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14987 postinstall_cmds
='chmod 555 $lib'
14988 # or fails outright, so override atomically:
14989 install_override_mode
=555
14996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14997 soname_spec
='${libname}${release}${shared_ext}$major'
14998 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14999 shlibpath_var
=LD_LIBRARY_PATH
15000 shlibpath_overrides_runpath
=no
15001 hardcode_into_libs
=yes
15004 irix5
* | irix6
* | nonstopux
*)
15006 nonstopux
*) version_type
=nonstopux
;;
15008 if test "$lt_cv_prog_gnu_ld" = yes; then
15016 soname_spec
='${libname}${release}${shared_ext}$major'
15017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15019 irix5
* | nonstopux
*)
15020 libsuff
= shlibsuff
=
15023 case $LD in # libtool.m4 will add one of these switches to LD
15024 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15025 libsuff
= shlibsuff
= libmagic
=32-bit;;
15026 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15027 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15028 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15029 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15030 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15034 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15035 shlibpath_overrides_runpath
=no
15036 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15037 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15038 hardcode_into_libs
=yes
15041 # No shared lib support for Linux oldld, aout, or coff.
15042 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15046 # This must be Linux ELF.
15048 # uclinux* changes (here and below) have been submitted to the libtool
15049 # project, but have not yet been accepted: they are GCC-local changes
15050 # for the time being. (See
15051 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15052 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15057 soname_spec
='${libname}${release}${shared_ext}$major'
15058 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15059 shlibpath_var
=LD_LIBRARY_PATH
15060 shlibpath_overrides_runpath
=no
15062 # Some binutils ld are patched to set DT_RUNPATH
15063 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15064 $as_echo_n "(cached) " >&6
15066 lt_cv_shlibpath_overrides_runpath
=no
15067 save_LDFLAGS
=$LDFLAGS
15068 save_libdir
=$libdir
15069 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15070 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15082 if ac_fn_cxx_try_link
"$LINENO"; then :
15083 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15084 lt_cv_shlibpath_overrides_runpath
=yes
15087 rm -f core conftest.err conftest.
$ac_objext \
15088 conftest
$ac_exeext conftest.
$ac_ext
15089 LDFLAGS
=$save_LDFLAGS
15090 libdir
=$save_libdir
15094 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15096 # This implies no fast_install, which is unacceptable.
15097 # Some rework will be needed to allow for fast_install
15098 # before this can be enabled.
15099 hardcode_into_libs
=yes
15101 # Append ld.so.conf contents to the search path
15102 if test -f /etc
/ld.so.conf
; then
15103 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' ' '`
15104 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15107 # We used to test for /lib/ld.so.1 and disable shared libraries on
15108 # powerpc, because MkLinux only supported shared libraries with the
15109 # GNU dynamic linker. Since this was broken with cross compilers,
15110 # most powerpc-linux boxes support dynamic linking these days and
15111 # people can always --disable-shared, the test was removed, and we
15112 # assume the GNU/Linux dynamic linker is in use.
15113 dynamic_linker
='GNU/Linux ld.so'
15120 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15122 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15123 dynamic_linker
='NetBSD (a.out) ld.so'
15125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15126 soname_spec
='${libname}${release}${shared_ext}$major'
15127 dynamic_linker
='NetBSD ld.elf_so'
15129 shlibpath_var
=LD_LIBRARY_PATH
15130 shlibpath_overrides_runpath
=yes
15131 hardcode_into_libs
=yes
15136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15137 shlibpath_var
=LD_LIBRARY_PATH
15138 shlibpath_overrides_runpath
=yes
15145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15146 soname_spec
='${libname}${release}${shared_ext}$major'
15147 shlibpath_var
=LD_LIBRARY_PATH
15148 shlibpath_overrides_runpath
=no
15149 hardcode_into_libs
=yes
15150 dynamic_linker
='ldqnx.so'
15155 sys_lib_dlsearch_path_spec
="/usr/lib"
15157 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15159 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15160 *) need_version
=no
;;
15162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15163 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15164 shlibpath_var
=LD_LIBRARY_PATH
15165 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15167 openbsd2.
[89] | openbsd2.
[89].
*)
15168 shlibpath_overrides_runpath
=no
15171 shlibpath_overrides_runpath
=yes
15175 shlibpath_overrides_runpath
=yes
15180 libname_spec
='$name'
15183 library_names_spec
='$libname${shared_ext} $libname.a'
15184 dynamic_linker
='OS/2 ld.exe'
15185 shlibpath_var
=LIBPATH
15188 osf3
* | osf4
* | osf5
*)
15192 soname_spec
='${libname}${release}${shared_ext}$major'
15193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15194 shlibpath_var
=LD_LIBRARY_PATH
15195 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15196 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15208 soname_spec
='${libname}${release}${shared_ext}$major'
15209 shlibpath_var
=LD_LIBRARY_PATH
15210 shlibpath_overrides_runpath
=yes
15211 hardcode_into_libs
=yes
15212 # ldd complains unless libraries are executable
15213 postinstall_cmds
='chmod +x $lib'
15218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15219 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15220 shlibpath_var
=LD_LIBRARY_PATH
15221 shlibpath_overrides_runpath
=yes
15222 if test "$with_gnu_ld" = yes; then
15230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15231 soname_spec
='${libname}${release}${shared_ext}$major'
15232 shlibpath_var
=LD_LIBRARY_PATH
15233 case $host_vendor in
15235 shlibpath_overrides_runpath
=no
15237 runpath_var
=LD_RUN_PATH
15245 shlibpath_overrides_runpath
=no
15246 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15252 if test -d /usr
/nec
;then
15254 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15255 soname_spec
='$libname${shared_ext}.$major'
15256 shlibpath_var
=LD_LIBRARY_PATH
15260 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15261 version_type
=freebsd-elf
15264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15265 soname_spec
='${libname}${release}${shared_ext}$major'
15266 shlibpath_var
=LD_LIBRARY_PATH
15267 shlibpath_overrides_runpath
=yes
15268 hardcode_into_libs
=yes
15269 if test "$with_gnu_ld" = yes; then
15270 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15272 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15275 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15279 sys_lib_dlsearch_path_spec
='/usr/lib'
15283 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15288 shlibpath_var
=LD_LIBRARY_PATH
15289 shlibpath_overrides_runpath
=no
15290 hardcode_into_libs
=yes
15295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15296 soname_spec
='${libname}${release}${shared_ext}$major'
15297 shlibpath_var
=LD_LIBRARY_PATH
15300 # Shared libraries for VwWorks, >= 7 only at this stage
15301 # and (fpic) still incompatible with "large" code models
15302 # in a few configurations. Only for RTP mode in any case,
15303 # and upon explicit request at configure time.
15306 case ${with_multisubdir}-${enable_shared} in
15313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15314 soname_spec
='${libname}${release}${shared_ext}$major'
15315 dynamic_linker
="$host_os module_loader"
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15324 $as_echo "$dynamic_linker" >&6; }
15325 test "$dynamic_linker" = no
&& can_build_shared
=no
15327 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15328 if test "$GCC" = yes; then
15329 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15332 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15333 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15335 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15336 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15377 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15378 hardcode_action_CXX
=
15379 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15380 test -n "$runpath_var_CXX" ||
15381 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15383 # We can hardcode non-existent directories.
15384 if test "$hardcode_direct_CXX" != no
&&
15385 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15386 # have to relink, otherwise we might link with an installed library
15387 # when we should be linking with a yet-to-be-installed one
15388 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15389 test "$hardcode_minus_L_CXX" != no
; then
15390 # Linking always hardcodes the temporary library directory.
15391 hardcode_action_CXX
=relink
15393 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15394 hardcode_action_CXX
=immediate
15397 # We cannot hardcode anything, or else we can only hardcode existing
15399 hardcode_action_CXX
=unsupported
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15402 $as_echo "$hardcode_action_CXX" >&6; }
15404 if test "$hardcode_action_CXX" = relink ||
15405 test "$inherit_rpath_CXX" = yes; then
15406 # Fast installation is not supported
15407 enable_fast_install
=no
15408 elif test "$shlibpath_overrides_runpath" = yes ||
15409 test "$enable_shared" = no
; then
15410 # Fast installation is not necessary
15411 enable_fast_install
=needless
15420 fi # test -n "$compiler"
15426 with_gnu_ld
=$lt_save_with_gnu_ld
15427 lt_cv_path_LDCXX
=$lt_cv_path_LD
15428 lt_cv_path_LD
=$lt_save_path_LD
15429 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15430 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15431 fi # test "$_lt_caught_CXX_error" != yes
15434 ac_cpp
='$CPP $CPPFLAGS'
15435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15451 ac_config_commands
="$ac_config_commands libtool"
15456 # Only expand once:
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
15464 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
15465 # Check whether --enable-maintainer-mode was given.
15466 if test "${enable_maintainer_mode+set}" = set; then :
15467 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
15469 USE_MAINTAINER_MODE
=no
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
15473 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15474 if test $USE_MAINTAINER_MODE = yes; then
15475 MAINTAINER_MODE_TRUE
=
15476 MAINTAINER_MODE_FALSE
='#'
15478 MAINTAINER_MODE_TRUE
='#'
15479 MAINTAINER_MODE_FALSE
=
15482 MAINT
=$MAINTAINER_MODE_TRUE
15486 # For libtool versioning info, format is CURRENT:REVISION:AGE
15487 libtool_VERSION
=1:0:0
15490 # Check header files.
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15492 $as_echo_n "checking for ANSI C header files... " >&6; }
15493 if ${ac_cv_header_stdc+:} false
; then :
15494 $as_echo_n "(cached) " >&6
15496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15498 #include <stdlib.h>
15499 #include <stdarg.h>
15500 #include <string.h>
15511 if ac_fn_c_try_compile
"$LINENO"; then :
15512 ac_cv_header_stdc
=yes
15514 ac_cv_header_stdc
=no
15516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15518 if test $ac_cv_header_stdc = yes; then
15519 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15521 /* end confdefs.h. */
15522 #include <string.h>
15525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15526 $EGREP "memchr" >/dev
/null
2>&1; then :
15529 ac_cv_header_stdc
=no
15535 if test $ac_cv_header_stdc = yes; then
15536 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15539 #include <stdlib.h>
15542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15543 $EGREP "free" >/dev
/null
2>&1; then :
15546 ac_cv_header_stdc
=no
15552 if test $ac_cv_header_stdc = yes; then
15553 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15554 if test "$cross_compiling" = yes; then :
15557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15558 /* end confdefs.h. */
15560 #include <stdlib.h>
15561 #if ((' ' & 0x0FF) == 0x020)
15562 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15563 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15565 # define ISLOWER(c) \
15566 (('a' <= (c) && (c) <= 'i') \
15567 || ('j' <= (c) && (c) <= 'r') \
15568 || ('s' <= (c) && (c) <= 'z'))
15569 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15572 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15577 for (i = 0; i < 256; i++)
15578 if (XOR (islower (i), ISLOWER (i))
15579 || toupper (i) != TOUPPER (i))
15584 if ac_fn_c_try_run
"$LINENO"; then :
15587 ac_cv_header_stdc
=no
15589 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15590 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15596 $as_echo "$ac_cv_header_stdc" >&6; }
15597 if test $ac_cv_header_stdc = yes; then
15599 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15604 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15605 if ${ac_cv_header_time+:} false
; then :
15606 $as_echo_n "(cached) " >&6
15608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15609 /* end confdefs.h. */
15610 #include <sys/types.h>
15611 #include <sys/time.h>
15617 if ((struct tm *) 0)
15623 if ac_fn_c_try_compile
"$LINENO"; then :
15624 ac_cv_header_time
=yes
15626 ac_cv_header_time
=no
15628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15631 $as_echo "$ac_cv_header_time" >&6; }
15632 if test $ac_cv_header_time = yes; then
15634 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
15639 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
15640 if ${gcc_cv_header_string+:} false
; then :
15641 $as_echo_n "(cached) " >&6
15643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15645 #include <string.h>
15646 #include <strings.h>
15655 if ac_fn_c_try_compile
"$LINENO"; then :
15656 gcc_cv_header_string
=yes
15658 gcc_cv_header_string
=no
15660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
15663 $as_echo "$gcc_cv_header_string" >&6; }
15664 if test $gcc_cv_header_string = yes; then
15666 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
15670 for ac_header
in unistd.h semaphore.h sys
/time.h sys
/auxv.h malloc.h
15672 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15673 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15674 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15675 cat >>confdefs.h
<<_ACEOF
15676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15686 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15688 acx_cv_header_stdint
=stddef.h
15689 acx_cv_header_stdint_kind
="(already complete)"
15690 for i
in stdint.h
$inttype_headers; do
15691 unset ac_cv_type_uintptr_t
15692 unset ac_cv_type_uintmax_t
15693 unset ac_cv_type_int_least32_t
15694 unset ac_cv_type_int_fast32_t
15695 unset ac_cv_type_uint64_t
15696 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15697 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15700 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
15701 acx_cv_header_stdint
=$i
15706 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15709 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
15712 acx_cv_header_stdint_kind
="(mostly complete)"
15715 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15718 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
15721 acx_cv_header_stdint_kind
="(mostly complete)"
15724 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15727 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
15730 acx_cv_header_stdint_kind
="(mostly complete)"
15733 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15736 if test "x$ac_cv_type_uint64_t" = xyes
; then :
15739 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15744 if test "$acx_cv_header_stdint" = stddef.h
; then
15745 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15746 for i
in stdint.h
$inttype_headers; do
15747 unset ac_cv_type_uintptr_t
15748 unset ac_cv_type_uint32_t
15749 unset ac_cv_type_uint64_t
15750 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15751 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15754 if test "x$ac_cv_type_uint32_t" = xyes
; then :
15755 acx_cv_header_stdint
=$i
15760 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15763 if test "x$ac_cv_type_uint64_t" = xyes
; then :
15767 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15770 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
15777 if test "$acx_cv_header_stdint" = stddef.h
; then
15778 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15779 for i
in sys
/types.h
$inttype_headers; do
15780 unset ac_cv_type_u_int32_t
15781 unset ac_cv_type_u_int64_t
15782 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15783 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15786 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
15787 acx_cv_header_stdint
=$i
15792 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15795 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
15802 if test "$acx_cv_header_stdint" = stddef.h
; then
15803 acx_cv_header_stdint_kind
="(using manual detection)"
15806 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15807 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15808 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15809 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15810 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15812 # ----------------- Summarize what we found so far
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15815 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15817 case `$as_basename -- gstdint.h ||
15818 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15819 Xgstdint.h : 'X\(//\)$' \| \
15820 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15821 $as_echo X/gstdint.h |
15822 sed '/^.*\/\([^/][^/]*\)\/*$/{
15835 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15836 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15837 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15838 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15843 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15845 # ----------------- done included file, check C basic types --------
15847 # Lacking an uintptr_t? Test size of void *
15848 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15849 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15851 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15852 # This bug is HP SR number 8606223364.
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15854 $as_echo_n "checking size of void *... " >&6; }
15855 if ${ac_cv_sizeof_void_p+:} false
; then :
15856 $as_echo_n "(cached) " >&6
15858 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15861 if test "$ac_cv_type_void_p" = yes; then
15862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15864 as_fn_error
77 "cannot compute sizeof (void *)
15865 See \`config.log' for more details" "$LINENO" 5; }
15867 ac_cv_sizeof_void_p
=0
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15873 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15877 cat >>confdefs.h
<<_ACEOF
15878 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15884 # Lacking an uint64_t? Test size of long
15885 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15886 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15888 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15889 # This bug is HP SR number 8606223364.
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15891 $as_echo_n "checking size of long... " >&6; }
15892 if ${ac_cv_sizeof_long+:} false
; then :
15893 $as_echo_n "(cached) " >&6
15895 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15898 if test "$ac_cv_type_long" = yes; then
15899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15901 as_fn_error
77 "cannot compute sizeof (long)
15902 See \`config.log' for more details" "$LINENO" 5; }
15904 ac_cv_sizeof_long
=0
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15910 $as_echo "$ac_cv_sizeof_long" >&6; }
15914 cat >>confdefs.h
<<_ACEOF
15915 #define SIZEOF_LONG $ac_cv_sizeof_long
15921 if test $acx_cv_header_stdint = stddef.h
; then
15922 # Lacking a good header? Test size of everything and deduce all types.
15923 # The cast to long int works around a bug in the HP C Compiler
15924 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15925 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15926 # This bug is HP SR number 8606223364.
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15928 $as_echo_n "checking size of int... " >&6; }
15929 if ${ac_cv_sizeof_int+:} false
; then :
15930 $as_echo_n "(cached) " >&6
15932 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15935 if test "$ac_cv_type_int" = yes; then
15936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15938 as_fn_error
77 "cannot compute sizeof (int)
15939 See \`config.log' for more details" "$LINENO" 5; }
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15947 $as_echo "$ac_cv_sizeof_int" >&6; }
15951 cat >>confdefs.h
<<_ACEOF
15952 #define SIZEOF_INT $ac_cv_sizeof_int
15956 # The cast to long int works around a bug in the HP C Compiler
15957 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15958 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15959 # This bug is HP SR number 8606223364.
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15961 $as_echo_n "checking size of short... " >&6; }
15962 if ${ac_cv_sizeof_short+:} false
; then :
15963 $as_echo_n "(cached) " >&6
15965 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15968 if test "$ac_cv_type_short" = yes; then
15969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15971 as_fn_error
77 "cannot compute sizeof (short)
15972 See \`config.log' for more details" "$LINENO" 5; }
15974 ac_cv_sizeof_short
=0
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15980 $as_echo "$ac_cv_sizeof_short" >&6; }
15984 cat >>confdefs.h
<<_ACEOF
15985 #define SIZEOF_SHORT $ac_cv_sizeof_short
15989 # The cast to long int works around a bug in the HP C Compiler
15990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15992 # This bug is HP SR number 8606223364.
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15994 $as_echo_n "checking size of char... " >&6; }
15995 if ${ac_cv_sizeof_char+:} false
; then :
15996 $as_echo_n "(cached) " >&6
15998 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16001 if test "$ac_cv_type_char" = yes; then
16002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16004 as_fn_error
77 "cannot compute sizeof (char)
16005 See \`config.log' for more details" "$LINENO" 5; }
16007 ac_cv_sizeof_char
=0
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16013 $as_echo "$ac_cv_sizeof_char" >&6; }
16017 cat >>confdefs.h
<<_ACEOF
16018 #define SIZEOF_CHAR $ac_cv_sizeof_char
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16024 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16025 case "$ac_cv_sizeof_char" in
16026 1) acx_cv_type_int8_t
=char
;;
16027 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16030 $as_echo "$acx_cv_type_int8_t" >&6; }
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16033 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16034 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16035 2:*) acx_cv_type_int16_t
=int
;;
16036 *:2) acx_cv_type_int16_t
=short
;;
16037 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16040 $as_echo "$acx_cv_type_int16_t" >&6; }
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16043 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16044 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16045 4:*) acx_cv_type_int32_t
=int
;;
16046 *:4) acx_cv_type_int32_t
=long
;;
16047 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16050 $as_echo "$acx_cv_type_int32_t" >&6; }
16053 # These tests are here to make the output prettier
16055 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16056 case "$ac_cv_sizeof_long" in
16057 8) acx_cv_type_int64_t
=long
;;
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16060 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16062 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16065 # Now we can use the above types
16067 if test "$ac_cv_type_uintptr_t" != yes; then
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16069 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16070 case $ac_cv_sizeof_void_p in
16071 2) acx_cv_type_intptr_t
=int16_t
;;
16072 4) acx_cv_type_intptr_t
=int32_t
;;
16073 8) acx_cv_type_intptr_t
=int64_t
;;
16074 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16077 $as_echo "$acx_cv_type_intptr_t" >&6; }
16080 # ----------------- done all checks, emit header -------------
16081 ac_config_commands
="$ac_config_commands gstdint.h"
16087 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
16088 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
16089 gcc_header_sys_mman_h
=yes
16091 gcc_header_sys_mman_h
=no
16095 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
16096 if test "x$ac_cv_func_mmap" = xyes
; then :
16102 if test "$gcc_header_sys_mman_h" != yes \
16103 ||
test "$gcc_func_mmap" != yes; then
16104 gcc_cv_func_mmap_file
=no
16105 gcc_cv_func_mmap_dev_zero
=no
16106 gcc_cv_func_mmap_anon
=no
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5
16109 $as_echo_n "checking whether read-only mmap of a plain file works... " >&6; }
16110 if ${gcc_cv_func_mmap_file+:} false
; then :
16111 $as_echo_n "(cached) " >&6
16113 # Add a system to this blacklist if
16114 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
16115 # memory area containing the same data that you'd get if you applied
16116 # read() to the same fd. The only system known to have a problem here
16117 # is VMS, where text files have record structure.
16120 gcc_cv_func_mmap_file
=no
;;
16122 gcc_cv_func_mmap_file
=yes;;
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_file" >&5
16126 $as_echo "$gcc_cv_func_mmap_file" >&6; }
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5
16128 $as_echo_n "checking whether mmap from /dev/zero works... " >&6; }
16129 if ${gcc_cv_func_mmap_dev_zero+:} false
; then :
16130 $as_echo_n "(cached) " >&6
16132 # Add a system to this blacklist if it has mmap() but /dev/zero
16133 # does not exist, or if mmapping /dev/zero does not give anonymous
16134 # zeroed pages with both the following properties:
16135 # 1. If you map N consecutive pages in with one call, and then
16136 # unmap any subset of those pages, the pages that were not
16137 # explicitly unmapped remain accessible.
16138 # 2. If you map two adjacent blocks of memory and then unmap them
16139 # both at once, they must both go away.
16140 # Systems known to be in this category are Windows (all variants),
16143 *vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
16144 gcc_cv_func_mmap_dev_zero
=no
;;
16146 gcc_cv_func_mmap_dev_zero
=yes;;
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_dev_zero" >&5
16150 $as_echo "$gcc_cv_func_mmap_dev_zero" >&6; }
16152 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5
16154 $as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; }
16155 if ${gcc_cv_decl_map_anon+:} false
; then :
16156 $as_echo_n "(cached) " >&6
16158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16160 #include <sys/types.h>
16161 #include <sys/mman.h>
16162 #include <unistd.h>
16164 #ifndef MAP_ANONYMOUS
16165 #define MAP_ANONYMOUS MAP_ANON
16171 int n = MAP_ANONYMOUS;
16176 if ac_fn_c_try_compile
"$LINENO"; then :
16177 gcc_cv_decl_map_anon
=yes
16179 gcc_cv_decl_map_anon
=no
16181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_decl_map_anon" >&5
16184 $as_echo "$gcc_cv_decl_map_anon" >&6; }
16186 if test $gcc_cv_decl_map_anon = no
; then
16187 gcc_cv_func_mmap_anon
=no
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5
16190 $as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; }
16191 if ${gcc_cv_func_mmap_anon+:} false
; then :
16192 $as_echo_n "(cached) " >&6
16194 # Add a system to this blacklist if it has mmap() and MAP_ANON or
16195 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
16196 # doesn't give anonymous zeroed pages with the same properties listed
16197 # above for use of /dev/zero.
16198 # Systems known to be in this category are Windows, VMS, and SCO Unix.
16200 *vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
16201 gcc_cv_func_mmap_anon
=no
;;
16203 gcc_cv_func_mmap_anon
=yes;;
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_anon" >&5
16207 $as_echo "$gcc_cv_func_mmap_anon" >&6; }
16211 if test $gcc_cv_func_mmap_file = yes; then
16213 $as_echo "#define HAVE_MMAP_FILE 1" >>confdefs.h
16216 if test $gcc_cv_func_mmap_dev_zero = yes; then
16218 $as_echo "#define HAVE_MMAP_DEV_ZERO 1" >>confdefs.h
16221 if test $gcc_cv_func_mmap_anon = yes; then
16223 $as_echo "#define HAVE_MMAP_ANON 1" >>confdefs.h
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16229 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16230 if ${ac_cv_c_bigendian+:} false
; then :
16231 $as_echo_n "(cached) " >&6
16233 ac_cv_c_bigendian
=unknown
16234 # See if we're dealing with a universal compiler.
16235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16236 /* end confdefs.h. */
16237 #ifndef __APPLE_CC__
16238 not a universal capable compiler
16243 if ac_fn_c_try_compile
"$LINENO"; then :
16245 # Check for potential -arch flags. It is not universal unless
16246 # there are at least two -arch flags with different values.
16249 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16250 if test -n "$ac_prev"; then
16252 i?
86 | x86_64 | ppc | ppc64
)
16253 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
16256 ac_cv_c_bigendian
=universal
16262 elif test "x$ac_word" = "x-arch"; then
16267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16268 if test $ac_cv_c_bigendian = unknown
; then
16269 # See if sys/param.h defines the BYTE_ORDER macro.
16270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16271 /* end confdefs.h. */
16272 #include <sys/types.h>
16273 #include <sys/param.h>
16278 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16279 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16281 bogus endian macros
16288 if ac_fn_c_try_compile
"$LINENO"; then :
16289 # It does; now see whether it defined to BIG_ENDIAN or not.
16290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16292 #include <sys/types.h>
16293 #include <sys/param.h>
16298 #if BYTE_ORDER != BIG_ENDIAN
16306 if ac_fn_c_try_compile
"$LINENO"; then :
16307 ac_cv_c_bigendian
=yes
16309 ac_cv_c_bigendian
=no
16311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16315 if test $ac_cv_c_bigendian = unknown
; then
16316 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16318 /* end confdefs.h. */
16319 #include <limits.h>
16324 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16325 bogus endian macros
16332 if ac_fn_c_try_compile
"$LINENO"; then :
16333 # It does; now see whether it defined to _BIG_ENDIAN or not.
16334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16336 #include <limits.h>
16341 #ifndef _BIG_ENDIAN
16349 if ac_fn_c_try_compile
"$LINENO"; then :
16350 ac_cv_c_bigendian
=yes
16352 ac_cv_c_bigendian
=no
16354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16358 if test $ac_cv_c_bigendian = unknown
; then
16359 # Compile a test program.
16360 if test "$cross_compiling" = yes; then :
16361 # Try to guess by grepping values from an object file.
16362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16363 /* end confdefs.h. */
16364 short int ascii_mm[] =
16365 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16366 short int ascii_ii[] =
16367 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16368 int use_ascii (int i) {
16369 return ascii_mm[i] + ascii_ii[i];
16371 short int ebcdic_ii[] =
16372 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16373 short int ebcdic_mm[] =
16374 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16375 int use_ebcdic (int i) {
16376 return ebcdic_mm[i] + ebcdic_ii[i];
16383 return use_ascii (foo) == use_ebcdic (foo);
16388 if ac_fn_c_try_compile
"$LINENO"; then :
16389 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
16390 ac_cv_c_bigendian
=yes
16392 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
16393 if test "$ac_cv_c_bigendian" = unknown
; then
16394 ac_cv_c_bigendian
=no
16396 # finding both strings is unlikely to happen, but who knows?
16397 ac_cv_c_bigendian
=unknown
16401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16405 $ac_includes_default
16410 /* Are we little or big endian? From Harbison&Steele. */
16414 char c[sizeof (long int)];
16417 return u.c[sizeof (long int) - 1] == 1;
16423 if ac_fn_c_try_run
"$LINENO"; then :
16424 ac_cv_c_bigendian
=no
16426 ac_cv_c_bigendian
=yes
16428 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16429 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16435 $as_echo "$ac_cv_c_bigendian" >&6; }
16436 case $ac_cv_c_bigendian in #(
16438 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16444 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16448 as_fn_error $?
"unknown endianness
16449 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16452 # I don't like the default behaviour of WORDS_BIGENDIAN undefined for LE.
16455 # Check to see if -pthread or -lpthread is needed. Prefer the former.
16456 # In case the pthread.h system header is not found, this test will fail.
16458 CFLAGS
="$CFLAGS -pthread"
16459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16461 #include <pthread.h>
16462 void *g(void *d) { return NULL; }
16466 pthread_t t; pthread_create(&t,NULL,g,NULL);
16471 if ac_fn_c_try_link
"$LINENO"; then :
16472 XPCFLAGS
=" -Wc,-pthread"
16474 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
16475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16477 #include <pthread.h>
16478 void *g(void *d) { return NULL; }
16482 pthread_t t; pthread_create(&t,NULL,g,NULL);
16487 if ac_fn_c_try_link
"$LINENO"; then :
16490 as_fn_error $?
"Pthreads are required to build libitm" "$LINENO" 5
16492 rm -f core conftest.err conftest.
$ac_objext \
16493 conftest
$ac_exeext conftest.
$ac_ext
16495 rm -f core conftest.err conftest.
$ac_objext \
16496 conftest
$ac_exeext conftest.
$ac_ext
16498 # Check for functions needed.
16499 for ac_func
in strtoull memalign posix_memalign getauxval
16501 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16502 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16503 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16504 cat >>confdefs.h
<<_ACEOF
16505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16512 # Check for broken semaphore implementation on darwin.
16513 # sem_init returns: sem_init error: Function not implemented.
16517 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
16522 # Check whether --enable-linux-futex was given.
16523 if test "${enable_linux_futex+set}" = set; then :
16524 enableval
=$enable_linux_futex;
16525 case "$enableval" in
16527 *) as_fn_error $?
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
16531 enable_linux_futex
=default
16536 *-linux* |
*-uclinux*)
16537 case "$enable_linux_futex" in
16539 # If headers don't have gettid/futex syscalls definition, then
16540 # default to no, otherwise there will be compile time failures.
16541 # Otherwise, default to yes. If we don't detect we are
16542 # compiled/linked against NPTL and not cross-compiling, check
16543 # if programs are run by default against NPTL and if not, issue
16545 enable_linux_futex
=no
16546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16548 #include <sys/syscall.h>
16549 #include <unistd.h>
16554 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16559 if ac_fn_c_try_link
"$LINENO"; then :
16561 LIBS
="-lpthread $LIBS"
16562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16563 /* end confdefs.h. */
16564 #ifndef _GNU_SOURCE
16565 #define _GNU_SOURCE 1
16567 #include <pthread.h>
16568 pthread_t th; void *status;
16572 pthread_tryjoin_np (th, &status);
16577 if ac_fn_c_try_link
"$LINENO"; then :
16578 enable_linux_futex
=yes
16580 if test x
$cross_compiling = xno
; then
16581 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
16582 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
16584 If so, please configure with --disable-linux-futex" >&5
16585 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
16586 If so, please configure with --disable-linux-futex" >&2;}
16589 enable_linux_futex
=yes
16591 rm -f core conftest.err conftest.
$ac_objext \
16592 conftest
$ac_exeext conftest.
$ac_ext
16595 rm -f core conftest.err conftest.
$ac_objext \
16596 conftest
$ac_exeext conftest.
$ac_ext
16599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16601 #include <sys/syscall.h>
16602 #include <unistd.h>
16607 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16612 if ac_fn_c_try_link
"$LINENO"; then :
16615 as_fn_error $?
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
16617 rm -f core conftest.err conftest.
$ac_objext \
16618 conftest
$ac_exeext conftest.
$ac_ext
16623 enable_linux_futex
=no
16626 if test x
$enable_linux_futex = xyes
; then
16631 # See if we support thread-local storage.
16634 # Check whether --enable-tls was given.
16635 if test "${enable_tls+set}" = set; then :
16636 enableval
=$enable_tls;
16637 case "$enableval" in
16639 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
16648 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
16649 if ${gcc_cv_have_tls+:} false
; then :
16650 $as_echo_n "(cached) " >&6
16653 if test "$cross_compiling" = yes; then :
16654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16656 __thread int a; int b; int main() { return a = b; }
16658 if ac_fn_c_try_link
"$LINENO"; then :
16659 chktls_save_LDFLAGS
="$LDFLAGS"
16661 *-*-linux* |
-*-uclinuxfdpic*)
16662 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
16665 chktls_save_CFLAGS
="$CFLAGS"
16666 CFLAGS
="-fPIC $CFLAGS"
16667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16669 int f() { return 0; }
16671 if ac_fn_c_try_link
"$LINENO"; then :
16672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16674 __thread int a; int b; int f() { return a = b; }
16676 if ac_fn_c_try_link
"$LINENO"; then :
16677 gcc_cv_have_tls
=yes
16681 rm -f core conftest.err conftest.
$ac_objext \
16682 conftest
$ac_exeext conftest.
$ac_ext
16684 gcc_cv_have_tls
=yes
16686 rm -f core conftest.err conftest.
$ac_objext \
16687 conftest
$ac_exeext conftest.
$ac_ext
16688 CFLAGS
="$chktls_save_CFLAGS"
16689 LDFLAGS
="$chktls_save_LDFLAGS"
16693 rm -f core conftest.err conftest.
$ac_objext \
16694 conftest
$ac_exeext conftest.
$ac_ext
16698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16700 __thread int a; int b; int main() { return a = b; }
16702 if ac_fn_c_try_run
"$LINENO"; then :
16703 chktls_save_LDFLAGS
="$LDFLAGS"
16704 LDFLAGS
="-static $LDFLAGS"
16705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16707 int main() { return 0; }
16709 if ac_fn_c_try_link
"$LINENO"; then :
16710 if test "$cross_compiling" = yes; then :
16711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16713 as_fn_error $?
"cannot run test program while cross compiling
16714 See \`config.log' for more details" "$LINENO" 5; }
16716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16718 __thread int a; int b; int main() { return a = b; }
16720 if ac_fn_c_try_run
"$LINENO"; then :
16721 gcc_cv_have_tls
=yes
16725 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16726 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16730 gcc_cv_have_tls
=yes
16732 rm -f core conftest.err conftest.
$ac_objext \
16733 conftest
$ac_exeext conftest.
$ac_ext
16734 LDFLAGS
="$chktls_save_LDFLAGS"
16735 if test $gcc_cv_have_tls = yes; then
16736 chktls_save_CFLAGS
="$CFLAGS"
16737 thread_CFLAGS
=failed
16738 for flag
in '' '-pthread' '-lpthread'; do
16739 CFLAGS
="$flag $chktls_save_CFLAGS"
16740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16741 /* end confdefs.h. */
16742 #include <pthread.h>
16743 void *g(void *d) { return NULL; }
16747 pthread_t t; pthread_create(&t,NULL,g,NULL);
16752 if ac_fn_c_try_link
"$LINENO"; then :
16753 thread_CFLAGS
="$flag"
16755 rm -f core conftest.err conftest.
$ac_objext \
16756 conftest
$ac_exeext conftest.
$ac_ext
16757 if test "X$thread_CFLAGS" != Xfailed
; then
16761 CFLAGS
="$chktls_save_CFLAGS"
16762 if test "X$thread_CFLAGS" != Xfailed
; then
16763 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
16764 if test "$cross_compiling" = yes; then :
16765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16767 as_fn_error $?
"cannot run test program while cross compiling
16768 See \`config.log' for more details" "$LINENO" 5; }
16770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16771 /* end confdefs.h. */
16772 #include <pthread.h>
16774 static int *volatile a_in_other_thread;
16776 thread_func (void *arg)
16778 a_in_other_thread = &a;
16785 void *thread_retval;
16786 int *volatile a_in_main_thread;
16787 a_in_main_thread = &a;
16788 if (pthread_create (&thread, (pthread_attr_t *)0,
16789 thread_func, (void *)0))
16791 if (pthread_join (thread, &thread_retval))
16793 return (a_in_other_thread == a_in_main_thread);
16798 if ac_fn_c_try_run
"$LINENO"; then :
16799 gcc_cv_have_tls
=yes
16803 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16804 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16807 CFLAGS
="$chktls_save_CFLAGS"
16813 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16814 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
16819 $as_echo "$gcc_cv_have_tls" >&6; }
16820 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
16822 $as_echo "#define HAVE_TLS 1" >>confdefs.h
16826 # See what sort of export controls are available.
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
16829 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
16830 if ${libitm_cv_have_attribute_visibility+:} false
; then :
16831 $as_echo_n "(cached) " >&6
16834 save_CFLAGS
="$CFLAGS"
16835 CFLAGS
="$CFLAGS -Werror"
16836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h. */
16838 void __attribute__((visibility("hidden"))) foo(void) { }
16847 if ac_fn_c_try_compile
"$LINENO"; then :
16848 libitm_cv_have_attribute_visibility
=yes
16850 libitm_cv_have_attribute_visibility
=no
16852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16853 CFLAGS
="$save_CFLAGS"
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_visibility" >&5
16856 $as_echo "$libitm_cv_have_attribute_visibility" >&6; }
16857 if test $libitm_cv_have_attribute_visibility = yes; then
16859 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
16864 $as_echo_n "checking whether the target supports dllexport... " >&6; }
16865 if ${libitm_cv_have_attribute_dllexport+:} false
; then :
16866 $as_echo_n "(cached) " >&6
16869 save_CFLAGS
="$CFLAGS"
16870 CFLAGS
="$CFLAGS -Werror"
16871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 void __attribute__((dllexport)) foo(void) { }
16882 if ac_fn_c_try_compile
"$LINENO"; then :
16883 libitm_cv_have_attribute_dllexport
=yes
16885 libitm_cv_have_attribute_dllexport
=no
16887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16888 CFLAGS
="$save_CFLAGS"
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_dllexport" >&5
16891 $as_echo "$libitm_cv_have_attribute_dllexport" >&6; }
16892 if test $libitm_cv_have_attribute_dllexport = yes; then
16894 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
16899 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
16900 if ${libitm_cv_have_attribute_alias+:} false
; then :
16901 $as_echo_n "(cached) " >&6
16904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16908 extern void bar(void) __attribute__((alias("foo")));
16917 if ac_fn_c_try_link
"$LINENO"; then :
16918 libitm_cv_have_attribute_alias
=yes
16920 libitm_cv_have_attribute_alias
=no
16922 rm -f core conftest.err conftest.
$ac_objext \
16923 conftest
$ac_exeext conftest.
$ac_ext
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_alias" >&5
16926 $as_echo "$libitm_cv_have_attribute_alias" >&6; }
16927 if test $libitm_cv_have_attribute_alias = yes; then
16929 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
16933 # Check linker hardware capability support.
16936 # Check whether --with-gnu-ld was given.
16937 if test "${with_gnu_ld+set}" = set; then :
16938 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16944 if test "$GCC" = yes; then
16945 # Check if gcc -print-prog-name=ld gives a path.
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16947 $as_echo_n "checking for ld used by $CC... " >&6; }
16950 # gcc leaves a trailing carriage return which upsets mingw
16951 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16953 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16956 # Accept absolute paths.
16958 re_direlt
='/[^/][^/]*/\.\./'
16959 # Canonicalize the pathname of ld
16960 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16961 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
16962 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16964 test -z "$LD" && LD
="$ac_prog"
16967 # If it fails, then pretend we aren't using GCC.
16971 # If it is relative, then search for the first ld in PATH.
16972 with_gnu_ld
=unknown
16975 elif test "$with_gnu_ld" = yes; then
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16977 $as_echo_n "checking for GNU ld... " >&6; }
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16980 $as_echo_n "checking for non-GNU ld... " >&6; }
16982 if ${lt_cv_path_LD+:} false
; then :
16983 $as_echo_n "(cached) " >&6
16985 if test -z "$LD"; then
16986 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
16987 for ac_dir
in $PATH; do
16989 test -z "$ac_dir" && ac_dir
=.
16990 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16991 lt_cv_path_LD
="$ac_dir/$ac_prog"
16992 # Check to see if the program is GNU ld. I'd rather use --version,
16993 # but apparently some variants of GNU ld only accept -v.
16994 # Break only if it was the GNU/non-GNU ld that we prefer.
16995 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16996 *GNU
* |
*'with BFD'*)
16997 test "$with_gnu_ld" != no
&& break
17000 test "$with_gnu_ld" != yes && break
17007 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
17011 LD
="$lt_cv_path_LD"
17012 if test -n "$LD"; then
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17014 $as_echo "$LD" >&6; }
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17017 $as_echo "no" >&6; }
17019 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17021 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17022 if ${lt_cv_prog_gnu_ld+:} false
; then :
17023 $as_echo_n "(cached) " >&6
17025 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17026 case `$LD -v 2>&1 </dev/null` in
17027 *GNU
* |
*'with BFD'*)
17028 lt_cv_prog_gnu_ld
=yes
17031 lt_cv_prog_gnu_ld
=no
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17036 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
17037 with_gnu_ld
=$lt_cv_prog_gnu_ld
17045 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS
=''
17048 ac_save_LDFLAGS
="$LDFLAGS"
17049 LDFLAGS
="$LFLAGS -mclear-hwcap"
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
17052 $as_echo_n "checking for -mclear-hwcap... " >&6; }
17053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17064 if ac_fn_c_try_link
"$LINENO"; then :
17065 ac_hwcap_ldflags
=yes
17067 ac_hwcap_ldflags
=no
17069 rm -f core conftest.err conftest.
$ac_objext \
17070 conftest
$ac_exeext conftest.
$ac_ext
17071 if test "$ac_hwcap_ldflags" = "yes"; then
17072 HWCAP_LDFLAGS
="-mclear-hwcap $HWCAP_LDFLAGS"
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
17075 $as_echo "$ac_hwcap_ldflags" >&6; }
17077 LDFLAGS
="$ac_save_LDFLAGS"
17081 if test $ac_hwcap_ldflags != no
; then
17083 HAVE_HWCAP_FALSE
='#'
17085 HAVE_HWCAP_TRUE
='#'
17090 # If defaulting to -mavx, don't clear hwcaps.
17091 ac_fn_c_check_decl
"$LINENO" "__AVX__" "ac_cv_have_decl___AVX__" "$ac_includes_default"
17092 if test "x$ac_cv_have_decl___AVX__" = xyes
; then :
17098 # If we're not using GNU ld, then there's no point in even trying these
17099 # tests. Check for that first. We should have already tested for gld
17100 # by now (in libtool), but require it now just to be safe...
17101 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
17102 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
17106 # The name set by libtool depends on the version of libtool. Shame on us
17107 # for depending on an impl detail, but c'est la vie. Older versions used
17108 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17109 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17110 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17111 # set (hence we're using an older libtool), then set it.
17112 if test x
${with_gnu_ld+set} != xset
; then
17113 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
17114 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17117 with_gnu_ld
=$ac_cv_prog_gnu_ld
17121 # Start by getting the version number. I think the libtool test already
17122 # does some of this, but throws away the result.
17123 libitm_ld_is_gold
=no
17124 libitm_ld_is_mold
=no
17125 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
17126 libitm_ld_is_gold
=yes
17127 elif $LD --version 2>/dev
/null |
grep 'mold' >/dev
/null
2>&1; then
17128 libitm_ld_is_mold
=yes
17131 ldver
=`$LD --version 2>/dev/null |
17132 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
17134 libitm_gnu_ld_version
=`echo $ldver | \
17135 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17137 # Set --gc-sections.
17138 if test "$with_gnu_ld" = "notbroken"; then
17139 # GNU ld it is! Joy and bunny rabbits!
17141 # All these tests are for C++; save the language and the compiler flags.
17142 # Need to do this so that g++ won't try to link in libstdc++
17143 ac_test_CFLAGS
="${CFLAGS+set}"
17144 ac_save_CFLAGS
="$CFLAGS"
17145 CFLAGS
='-x c++ -Wl,--gc-sections'
17147 # Check for -Wl,--gc-sections
17148 # XXX This test is broken at the moment, as symbols required for linking
17149 # are now in libsupc++ (not built yet). In addition, this test has
17150 # cored on solaris in the past. In addition, --gc-sections doesn't
17151 # really work at the moment (keeps on discarding used sections, first
17152 # .eh_frame and now some of the glibc sections for iconv).
17153 # Bzzzzt. Thanks for playing, maybe next time.
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
17155 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
17156 if test "$cross_compiling" = yes; then :
17157 ac_sectionLDflags
=yes
17159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17170 if ac_fn_c_try_run
"$LINENO"; then :
17171 ac_sectionLDflags
=yes
17173 ac_sectionLDflags
=no
17175 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17176 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17179 if test "$ac_test_CFLAGS" = set; then
17180 CFLAGS
="$ac_save_CFLAGS"
17182 # this is the suspicious part
17185 if test "$ac_sectionLDflags" = "yes"; then
17186 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
17189 $as_echo "$ac_sectionLDflags" >&6; }
17192 # Set linker optimization flags.
17193 if test x
"$with_gnu_ld" = x
"yes"; then
17194 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
17202 # Check whether --enable-symvers was given.
17203 if test "${enable_symvers+set}" = set; then :
17204 enableval
=$enable_symvers;
17205 case "$enableval" in
17206 yes|no|gnu
*|sun
) ;;
17207 *) as_fn_error $?
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
17216 # If we never went through the LIBITM_CHECK_LINKER_FEATURES macro, then we
17217 # don't know enough about $LD to do tricks...
17220 # Turn a 'yes' into a suitable default.
17221 if test x
$enable_symvers = xyes
; then
17222 # FIXME The following test is too strict, in theory.
17223 if test $enable_shared = no ||
test "x$LD" = x
; then
17226 if test $with_gnu_ld = yes ; then
17229 case ${target_os} in
17230 # Sun symbol versioning exists since Solaris 2.5.
17231 solaris2.
[5-9]* | solaris2.1
[0-9]*)
17232 enable_symvers
=sun
;;
17234 enable_symvers
=no
;;
17240 # Check if 'sun' was requested on non-Solaris 2 platforms.
17241 if test x
$enable_symvers = xsun
; then
17242 case ${target_os} in
17247 # Unlikely to work.
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
17249 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
17251 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17253 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17259 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
17260 if test $enable_symvers != no
; then
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
17262 $as_echo_n "checking for shared libgcc... " >&6; }
17263 ac_save_CFLAGS
="$CFLAGS"
17265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17276 if ac_fn_c_try_link
"$LINENO"; then :
17277 libitm_shared_libgcc
=yes
17279 libitm_shared_libgcc
=no
17281 rm -f core conftest.err conftest.
$ac_objext \
17282 conftest
$ac_exeext conftest.
$ac_ext
17283 CFLAGS
="$ac_save_CFLAGS"
17284 if test $libitm_shared_libgcc = no
; then
17285 cat > conftest.c
<<EOF
17286 int main (void) { return 0; }
17288 libitm_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
17289 -shared -shared-libgcc -o conftest.so \
17290 conftest.c -v 2>&1 >/dev/null \
17291 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
17292 rm -f conftest.c conftest.so
17293 if test x
${libitm_libgcc_s_suffix+set} = xset
; then
17294 CFLAGS
=" -lgcc_s$libitm_libgcc_s_suffix"
17295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17306 if ac_fn_c_try_link
"$LINENO"; then :
17307 libitm_shared_libgcc
=yes
17309 rm -f core conftest.err conftest.
$ac_objext \
17310 conftest
$ac_exeext conftest.
$ac_ext
17311 CFLAGS
="$ac_save_CFLAGS"
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_shared_libgcc" >&5
17315 $as_echo "$libitm_shared_libgcc" >&6; }
17318 # For GNU ld, we need at least this version. The format is described in
17319 # LIBITM_CHECK_LINKER_FEATURES above.
17320 libitm_min_gnu_ld_version
=21400
17321 # XXXXXXXXXXX libitm_gnu_ld_version=21390
17323 # Check to see if unspecified "yes" value can win, given results above.
17324 # Change "yes" into either "no" or a style name.
17325 if test $enable_symvers != no
&& test $libitm_shared_libgcc = yes; then
17326 if test $with_gnu_ld = yes; then
17327 if test $libitm_gnu_ld_version -ge $libitm_min_gnu_ld_version ; then
17329 elif test $libitm_ld_is_gold = yes ; then
17331 elif test $libitm_ld_is_mold = yes ; then
17334 # The right tools, the right setup, but too old. Fallbacks?
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libitm_gnu_ld_version is too old for" >&5
17336 $as_echo "$as_me: WARNING: === Linker version $libitm_gnu_ld_version is too old for" >&2;}
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
17338 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
17340 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libitm_min_gnu_ld_version or later and rebuild GCC." >&5
17342 $as_echo "$as_me: WARNING: === $libitm_min_gnu_ld_version or later and rebuild GCC." >&2;}
17343 if test $libitm_gnu_ld_version -ge 21200 ; then
17344 # Globbing fix is present, proper block support is not.
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17346 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17351 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17355 elif test $enable_symvers = sun
; then
17356 : All interesting versions of Sun ld support sun style symbol versioning.
17358 # just fail for now
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
17360 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
17362 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
17364 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17366 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17371 if test $enable_symvers != no
; then
17372 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
=
17373 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
='#'
17375 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
='#'
17376 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
=
17379 if test $enable_symvers = gnu
; then
17380 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
=
17381 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
='#'
17383 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
='#'
17384 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
=
17387 if test $enable_symvers = sun
; then
17388 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
=
17389 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
='#'
17391 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
='#'
17392 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
=
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
17396 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
17398 if test $enable_symvers = gnu
; then
17400 $as_echo "#define LIBITM_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
17404 # See if we can emit unwind info in the sjlj stub.
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .cfi pseudo-op support" >&5
17406 $as_echo_n "checking assembler .cfi pseudo-op support... " >&6; }
17407 if ${gcc_cv_as_cfi_pseudo_op+:} false
; then :
17408 $as_echo_n "(cached) " >&6
17411 gcc_cv_as_cfi_pseudo_op
=unknown
17412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 asm (".cfi_startproc\n\t.cfi_endproc");
17423 if ac_fn_c_try_compile
"$LINENO"; then :
17424 gcc_cv_as_cfi_pseudo_op
=yes
17426 gcc_cv_as_cfi_pseudo_op
=no
17428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_cfi_pseudo_op" >&5
17432 $as_echo "$gcc_cv_as_cfi_pseudo_op" >&6; }
17433 if test "x$gcc_cv_as_cfi_pseudo_op" = xyes
; then
17435 $as_echo "#define HAVE_AS_CFI_PSEUDO_OP 1" >>confdefs.h
17440 # Determine the proper ABI type for size_t.
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
17443 $as_echo_n "checking how size_t is mangled... " >&6; }
17444 if ${libitm_cv_size_t_mangling+:} false
; then :
17445 $as_echo_n "(cached) " >&6
17448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17454 extern __SIZE_TYPE__ x; extern unsigned long x;
17459 if ac_fn_c_try_compile
"$LINENO"; then :
17460 libitm_cv_size_t_mangling
=m
17463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17469 extern __SIZE_TYPE__ x; extern unsigned int x;
17474 if ac_fn_c_try_compile
"$LINENO"; then :
17475 libitm_cv_size_t_mangling
=j
17478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17484 extern __SIZE_TYPE__ x; extern unsigned long long x;
17489 if ac_fn_c_try_compile
"$LINENO"; then :
17490 libitm_cv_size_t_mangling
=y
17493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17499 extern __SIZE_TYPE__ x; extern unsigned short x;
17504 if ac_fn_c_try_compile
"$LINENO"; then :
17505 libitm_cv_size_t_mangling
=t
17507 libitm_cv_size_t_mangling
=x
17509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_size_t_mangling" >&5
17522 $as_echo "$libitm_cv_size_t_mangling" >&6; }
17523 if test $libitm_cv_size_t_mangling = x
; then
17524 as_fn_error $?
"Unknown underlying type for size_t" "$LINENO" 5
17527 cat >>confdefs.h
<<_ACEOF
17528 #define MANGLE_SIZE_T $libitm_cv_size_t_mangling
17533 # Get target configury.
17534 .
${srcdir}/configure.tgt
17535 if test -n "$UNSUPPORTED"; then
17536 as_fn_error $?
"Configuration ${target} is unsupported." "$LINENO" 5
17539 CFLAGS
="$save_CFLAGS $XCFLAGS"
17541 # Check for __sync_val_compare_and_swap, but only after the target has
17542 # had a chance to set XCFLAGS.
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
17545 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
17546 if ${libitm_cv_have_sync_builtins+:} false
; then :
17547 $as_echo_n "(cached) " >&6
17550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17556 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
17561 if ac_fn_c_try_link
"$LINENO"; then :
17562 libitm_cv_have_sync_builtins
=yes
17564 libitm_cv_have_sync_builtins
=no
17566 rm -f core conftest.err conftest.
$ac_objext \
17567 conftest
$ac_exeext conftest.
$ac_ext
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_sync_builtins" >&5
17570 $as_echo "$libitm_cv_have_sync_builtins" >&6; }
17571 if test $libitm_cv_have_sync_builtins = yes; then
17573 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports 64-bit __sync_*_compare_and_swap" >&5
17578 $as_echo_n "checking whether the target supports 64-bit __sync_*_compare_and_swap... " >&6; }
17579 if ${libitm_cv_have_64bit_sync_builtins+:} false
; then :
17580 $as_echo_n "(cached) " >&6
17583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17585 #include <stdint.h>
17590 bar = __sync_val_compare_and_swap(&foo, 0, 1);
17595 if ac_fn_c_try_link
"$LINENO"; then :
17596 libitm_cv_have_64bit_sync_builtins
=yes
17598 libitm_cv_have_64bit_sync_builtins
=no
17600 rm -f core conftest.err conftest.
$ac_objext \
17601 conftest
$ac_exeext conftest.
$ac_ext
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_64bit_sync_builtins" >&5
17604 $as_echo "$libitm_cv_have_64bit_sync_builtins" >&6; }
17605 if test $libitm_cv_have_64bit_sync_builtins = yes; then
17607 $as_echo "#define HAVE_64BIT_SYNC_BUILTINS 1" >>confdefs.h
17611 case "${target_cpu}" in
17612 i
[34567]86 | x86_64
)
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports AVX" >&5
17614 $as_echo_n "checking if the assembler supports AVX... " >&6; }
17615 if ${libitm_cv_as_avx+:} false
; then :
17616 $as_echo_n "(cached) " >&6
17619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17630 if ac_fn_c_try_compile
"$LINENO"; then :
17631 libitm_cv_as_avx
=yes
17633 libitm_cv_as_avx
=no
17635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_avx" >&5
17639 $as_echo "$libitm_cv_as_avx" >&6; }
17640 if test x
$libitm_cv_as_avx = xyes
; then
17642 $as_echo "#define HAVE_AS_AVX 1" >>confdefs.h
17648 case "${target_cpu}" in
17649 i
[34567]86 | x86_64
)
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports RTM" >&5
17651 $as_echo_n "checking if the assembler supports RTM... " >&6; }
17652 if ${libitm_cv_as_rtm+:} false
; then :
17653 $as_echo_n "(cached) " >&6
17656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17662 asm("1: xbegin 1b; xend");
17667 if ac_fn_c_try_compile
"$LINENO"; then :
17668 libitm_cv_as_rtm
=yes
17670 libitm_cv_as_rtm
=no
17672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_rtm" >&5
17676 $as_echo "$libitm_cv_as_rtm" >&6; }
17677 if test x
$libitm_cv_as_rtm = xyes
; then
17679 $as_echo "#define HAVE_AS_RTM 1" >>confdefs.h
17685 case "${target_cpu}" in
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports HTM" >&5
17688 $as_echo_n "checking if the assembler supports HTM... " >&6; }
17689 if ${libitm_cv_as_htm+:} false
; then :
17690 $as_echo_n "(cached) " >&6
17693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17699 asm("tbegin. 0; tend. 0");
17704 if ac_fn_c_try_compile
"$LINENO"; then :
17705 libitm_cv_as_htm
=yes
17707 libitm_cv_as_htm
=no
17709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_htm" >&5
17713 $as_echo "$libitm_cv_as_htm" >&6; }
17714 if test x
$libitm_cv_as_htm = xyes
; then
17716 $as_echo "#define HAVE_AS_HTM 1" >>confdefs.h
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports HTM" >&5
17722 $as_echo_n "checking if the assembler supports HTM... " >&6; }
17723 if ${libitm_cv_as_htm+:} false
; then :
17724 $as_echo_n "(cached) " >&6
17727 save_CFLAGS
="$CFLAGS"
17728 CFLAGS
="$CFLAGS -march=zEC12"
17729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17735 asm("tbegin 0,0; tend");
17740 if ac_fn_c_try_compile
"$LINENO"; then :
17741 libitm_cv_as_htm
=yes
17743 libitm_cv_as_htm
=no
17745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17746 CFLAGS
="$save_CFLAGS"
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_htm" >&5
17749 $as_echo "$libitm_cv_as_htm" >&6; }
17750 if test x
$libitm_cv_as_htm = xyes
; then
17752 $as_echo "#define HAVE_AS_HTM 1" >>confdefs.h
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether weak refs work like ELF" >&5
17760 $as_echo_n "checking whether weak refs work like ELF... " >&6; }
17761 if ${ac_cv_have_elf_style_weakref+:} false
; then :
17762 $as_echo_n "(cached) " >&6
17765 weakref_m4_saved_CFLAGS
="$CFLAGS"
17767 *-apple-darwin*) CFLAGS
="$CFLAGS -Wl,-undefined,dynamic_lookup" ;;
17770 if test "$cross_compiling" = yes; then :
17773 *-apple-darwin[89]*) ac_cv_have_elf_style_weakref
=no
;;
17774 *) ac_cv_have_elf_style_weakref
=yes;;
17777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17778 /* end confdefs.h. */
17780 extern void fNotToBeFound(void) __attribute__((weak));
17790 if ac_fn_c_try_run
"$LINENO"; then :
17791 ac_cv_have_elf_style_weakref
=yes
17793 ac_cv_have_elf_style_weakref
=no
17795 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17796 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17798 CFLAGS
="$weakref_m4_saved_CFLAGS"
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_elf_style_weakref" >&5
17801 $as_echo "$ac_cv_have_elf_style_weakref" >&6; }
17802 if test x
"$ac_cv_have_elf_style_weakref" = xyes
; then
17804 $as_echo "#define HAVE_ELF_STYLE_WEAKREF 1" >>confdefs.h
17808 # Cleanup and exit.
17809 CFLAGS
="$save_CFLAGS"
17810 cat >confcache
<<\_ACEOF
17811 # This file is a shell script that caches the results of configure
17812 # tests run on this system so they can be shared between configure
17813 # scripts and configure runs, see configure's option --config-cache.
17814 # It is not useful on other systems. If it contains results you don't
17815 # want to keep, you may remove or edit it.
17817 # config.status only pays attention to the cache file if you give it
17818 # the --recheck option to rerun configure.
17820 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17821 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17822 # following values.
17826 # The following way of writing the cache mishandles newlines in values,
17827 # but we know of no workaround that is simple, portable, and efficient.
17828 # So, we kill variables containing newlines.
17829 # Ultrix sh set writes to stderr and can't be redirected directly,
17830 # and sets the high bit in the cache file unless we assign to the vars.
17832 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17833 eval ac_val
=\$
$ac_var
17837 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17838 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17841 _ | IFS | as_nl
) ;; #(
17842 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17843 *) { eval $ac_var=; unset $ac_var;} ;;
17849 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17850 *${as_nl}ac_space
=\
*)
17851 # `set' does not quote correctly, so add quotes: double-quote
17852 # substitution turns \\\\ into \\, and sed turns \\ into \.
17855 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17858 # `set' quotes correctly as required by POSIX, so do not add quotes.
17859 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17868 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17870 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17872 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17873 if test -w "$cache_file"; then
17874 if test "x$cache_file" != "x/dev/null"; then
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17876 $as_echo "$as_me: updating cache $cache_file" >&6;}
17877 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17878 cat confcache
>"$cache_file"
17880 case $cache_file in #(
17882 mv -f confcache
"$cache_file"$$
&&
17883 mv -f "$cache_file"$$
"$cache_file" ;; #(
17885 mv -f confcache
"$cache_file" ;;
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17891 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17896 # Check whether --enable-werror was given.
17897 if test "${enable_werror+set}" = set; then :
17898 enableval
=$enable_werror;
17901 # Add -Wall -Werror if we are using GCC.
17902 if test "x$GCC" = "xyes"; then :
17903 XCFLAGS
="$XCFLAGS -Wall"
17905 if test "x$enable_werror" != "xno" && test "x$GCC" = "xyes"; then :
17906 XCFLAGS
="$XCFLAGS -Werror"
17909 XCFLAGS
="$XCFLAGS $XPCFLAGS"
17911 # Add CET specific flags if CET is enabled
17912 # Check whether --enable-cet was given.
17913 if test "${enable_cet+set}" = set; then :
17914 enableval
=$enable_cet;
17915 case "$enableval" in
17917 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
17926 $as_echo_n "checking for CET support... " >&6; }
17928 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
17930 i
[34567]86-*-linux* | x86_64-
*-linux*)
17931 case "$enable_cet" in
17933 # Check if target supports multi-byte NOPs
17934 # and if compiler and assembler support CET insn.
17935 cet_save_CFLAGS
="$CFLAGS"
17936 CFLAGS
="$CFLAGS -fcf-protection"
17937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17938 /* end confdefs.h. */
17944 #if !defined(__SSE2__)
17945 #error target does not support multi-byte NOPs
17954 if ac_fn_c_try_compile
"$LINENO"; then :
17959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17960 CFLAGS
="$cet_save_CFLAGS"
17963 # Check if assembler supports CET.
17964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17975 if ac_fn_c_try_compile
"$LINENO"; then :
17978 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
17980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17988 if test x
$enable_cet = xyes
; then
17989 CET_FLAGS
="-fcf-protection -mshstk"
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17991 $as_echo "yes" >&6; }
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17994 $as_echo "no" >&6; }
17997 XCFLAGS
="$XCFLAGS $CET_FLAGS"
18003 if test ${multilib} = yes; then
18004 multilib_arg
="--enable-multilib"
18009 # Set up the set of libraries that we need to link against for libitm.
18010 # Note that the GTM_SELF_SPECS in gcc.c will force -pthread for -fgnu-tm,
18011 # which will force linkage against -lpthread (or equivalent for the system).
18012 # That's not 100% ideal, but about the best we can do easily.
18013 if test $enable_shared = yes; then
18014 link_itm
="-litm %{static: $LIBS}"
18016 link_itm
="-litm $LIBS"
18020 if test "$ARCH" = arm
; then
18028 if test "$ARCH" = x86
; then
18036 if test "$libitm_cv_as_avx" = yes; then
18038 ARCH_X86_AVX_FALSE
='#'
18040 ARCH_X86_AVX_TRUE
='#'
18041 ARCH_X86_AVX_FALSE
=
18044 if test $enable_linux_futex = yes; then
18046 ARCH_FUTEX_FALSE
='#'
18048 ARCH_FUTEX_TRUE
='#'
18053 # Determine what GCC version number to use in filesystem paths.
18055 get_gcc_base_ver
="cat"
18057 # Check whether --with-gcc-major-version-only was given.
18058 if test "${with_gcc_major_version_only+set}" = set; then :
18059 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
18060 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
18068 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libitm.spec"
18070 cat >confcache
<<\_ACEOF
18071 # This file is a shell script that caches the results of configure
18072 # tests run on this system so they can be shared between configure
18073 # scripts and configure runs, see configure's option --config-cache.
18074 # It is not useful on other systems. If it contains results you don't
18075 # want to keep, you may remove or edit it.
18077 # config.status only pays attention to the cache file if you give it
18078 # the --recheck option to rerun configure.
18080 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18081 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18082 # following values.
18086 # The following way of writing the cache mishandles newlines in values,
18087 # but we know of no workaround that is simple, portable, and efficient.
18088 # So, we kill variables containing newlines.
18089 # Ultrix sh set writes to stderr and can't be redirected directly,
18090 # and sets the high bit in the cache file unless we assign to the vars.
18092 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18093 eval ac_val
=\$
$ac_var
18097 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18098 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18101 _ | IFS | as_nl
) ;; #(
18102 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18103 *) { eval $ac_var=; unset $ac_var;} ;;
18109 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18110 *${as_nl}ac_space
=\
*)
18111 # `set' does not quote correctly, so add quotes: double-quote
18112 # substitution turns \\\\ into \\, and sed turns \\ into \.
18115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18118 # `set' quotes correctly as required by POSIX, so do not add quotes.
18119 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18128 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18130 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18132 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18133 if test -w "$cache_file"; then
18134 if test "x$cache_file" != "x/dev/null"; then
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18136 $as_echo "$as_me: updating cache $cache_file" >&6;}
18137 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18138 cat confcache
>"$cache_file"
18140 case $cache_file in #(
18142 mv -f confcache
"$cache_file"$$
&&
18143 mv -f "$cache_file"$$
"$cache_file" ;; #(
18145 mv -f confcache
"$cache_file" ;;
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18151 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18156 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18157 # Let make expand exec_prefix.
18158 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18160 DEFS
=-DHAVE_CONFIG_H
18165 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18166 # 1. Remove the extension, and $U if already installed.
18167 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18168 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18169 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18170 # will be set to the directory where LIBOBJS objects are built.
18171 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18172 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18174 LIBOBJS
=$ac_libobjs
18176 LTLIBOBJS
=$ac_ltlibobjs
18179 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
18180 as_fn_error $?
"conditional \"GENINSRC\" was never defined.
18181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18184 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18185 if test -n "$am_sleep_pid"; then
18186 # Hide warnings about reused PIDs.
18187 wait $am_sleep_pid 2>/dev
/null
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18190 $as_echo "done" >&6; }
18191 if test -n "$EXEEXT"; then
18193 am__EXEEXT_FALSE
='#'
18195 am__EXEEXT_TRUE
='#'
18199 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18200 as_fn_error $?
"conditional \"AMDEP\" was never defined.
18201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18203 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18204 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
18205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18207 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18208 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
18209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18211 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
18212 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
18213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18215 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
18216 as_fn_error $?
"conditional \"BUILD_INFO\" was never defined.
18217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18219 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18220 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
18221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18224 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
18225 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
18226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18228 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_FALSE}"; then
18229 as_fn_error $?
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB\" was never defined.
18230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18232 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE}"; then
18233 as_fn_error $?
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB_GNU\" was never defined.
18234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18236 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE}"; then
18237 as_fn_error $?
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB_SUN\" was never defined.
18238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18240 if test -z "${ARCH_ARM_TRUE}" && test -z "${ARCH_ARM_FALSE}"; then
18241 as_fn_error $?
"conditional \"ARCH_ARM\" was never defined.
18242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18244 if test -z "${ARCH_X86_TRUE}" && test -z "${ARCH_X86_FALSE}"; then
18245 as_fn_error $?
"conditional \"ARCH_X86\" was never defined.
18246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18248 if test -z "${ARCH_X86_AVX_TRUE}" && test -z "${ARCH_X86_AVX_FALSE}"; then
18249 as_fn_error $?
"conditional \"ARCH_X86_AVX\" was never defined.
18250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18252 if test -z "${ARCH_FUTEX_TRUE}" && test -z "${ARCH_FUTEX_FALSE}"; then
18253 as_fn_error $?
"conditional \"ARCH_FUTEX\" was never defined.
18254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18257 : "${CONFIG_STATUS=./config.status}"
18259 ac_clean_files_save
=$ac_clean_files
18260 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18262 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18264 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18266 # Generated by $as_me.
18267 # Run this file to recreate the current configuration.
18268 # Compiler output produced by configure, useful for debugging
18269 # configure, is in config.log if it exists.
18272 ac_cs_recheck=false
18275 SHELL=\${CONFIG_SHELL-$SHELL}
18278 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18279 ## -------------------- ##
18280 ## M4sh Initialization. ##
18281 ## -------------------- ##
18283 # Be more Bourne compatible
18284 DUALCASE
=1; export DUALCASE
# for MKS sh
18285 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18288 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18289 # is contrary to our usage. Disable this feature.
18290 alias -g '${1+"$@"}'='"$@"'
18291 setopt NO_GLOB_SUBST
18293 case `(set -o) 2>/dev/null` in #(
18305 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18306 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18307 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18308 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18309 # Prefer a ksh shell builtin over an external printf program on Solaris,
18310 # but without wasting forks for bash or zsh.
18311 if test -z "$BASH_VERSION$ZSH_VERSION" \
18312 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18313 as_echo='print
-r --'
18314 as_echo_n='print
-rn --'
18315 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18316 as_echo='printf %s
\n'
18317 as_echo_n='printf %s
'
18319 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18320 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18321 as_echo_n='/usr
/ucb
/echo -n'
18323 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18324 as_echo_n_body='eval
18328 expr "X$arg" : "X\\(.*\\)$as_nl";
18329 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18331 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18333 export as_echo_n_body
18334 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18336 export as_echo_body
18337 as_echo='sh
-c $as_echo_body as_echo
'
18340 # The user is always right.
18341 if test "${PATH_SEPARATOR+set}" != set; then
18343 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18344 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18351 # We need space, tab and new line, in precisely that order. Quoting is
18352 # there to prevent editors from complaining about space-tab.
18353 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18354 # splitting by setting IFS to empty value.)
18357 # Find who we are. Look in the path if we contain no directory separator.
18360 *[\\/]* ) as_myself=$0 ;;
18361 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18362 for as_dir in $PATH
18365 test -z "$as_dir" && as_dir=.
18366 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18372 # We did not find ourselves, most probably we were run as `sh COMMAND'
18373 # in which case we are not to be found in the path.
18374 if test "x$as_myself" = x
; then
18377 if test ! -f "$as_myself"; then
18378 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18382 # Unset variables that we do not need and which cause bugs (e.g. in
18383 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18384 # suppresses any "Segmentation fault" message there. '((' could
18385 # trigger a bug in pdksh 5.2.14.
18386 for as_var
in BASH_ENV ENV MAIL MAILPATH
18387 do eval test x\
${$as_var+set} = xset \
18388 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18401 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18404 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18405 # ----------------------------------------
18406 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18407 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18408 # script with STATUS, using 1 if that was 0.
18411 as_status
=$1; test $as_status -eq 0 && as_status
=1
18413 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18416 $as_echo "$as_me: error: $2" >&2
18417 as_fn_exit
$as_status
18421 # as_fn_set_status STATUS
18422 # -----------------------
18423 # Set $? to STATUS, without forking.
18424 as_fn_set_status
()
18427 } # as_fn_set_status
18429 # as_fn_exit STATUS
18430 # -----------------
18431 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18435 as_fn_set_status
$1
18441 # Portably unset VAR.
18444 { eval $1=; unset $1;}
18446 as_unset
=as_fn_unset
18447 # as_fn_append VAR VALUE
18448 # ----------------------
18449 # Append the text in VALUE to the end of the definition contained in VAR. Take
18450 # advantage of any shell optimizations that allow amortized linear growth over
18451 # repeated appends, instead of the typical quadratic growth present in naive
18453 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18454 eval 'as_fn_append ()
18465 # as_fn_arith ARG...
18466 # ------------------
18467 # Perform arithmetic evaluation on the ARGs, and store the result in the
18468 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18469 # must be portable across $(()) and expr.
18470 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18471 eval 'as_fn_arith ()
18478 as_val
=`expr "$@" || test $? -eq 1`
18483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18490 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18491 as_basename
=basename
18496 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18502 as_me
=`$as_basename -- "$0" ||
18503 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18504 X"$0" : 'X\(//\)$' \| \
18505 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18507 sed '/^.*\/\([^/][^/]*\)\/*$/{
18521 # Avoid depending upon Character Ranges.
18522 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18523 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18524 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18525 as_cr_digits
='0123456789'
18526 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18528 ECHO_C
= ECHO_N
= ECHO_T
=
18529 case `echo -n x` in #(((((
18531 case `echo 'xy\c'` in
18532 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18534 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18541 rm -f conf$$ conf$$.exe conf$$.
file
18542 if test -d conf$$.dir
; then
18543 rm -f conf$$.dir
/conf$$.
file
18546 mkdir conf$$.dir
2>/dev
/null
18548 if (echo >conf$$.
file) 2>/dev
/null
; then
18549 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18551 # ... but there are two gotchas:
18552 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18553 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18554 # In both cases, we have to default to `cp -pR'.
18555 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18557 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18565 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18566 rmdir conf$$.dir
2>/dev
/null
18571 # Create "$as_dir" as a directory, including parents if necessary.
18576 -*) as_dir
=.
/$as_dir;;
18578 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18582 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18583 *) as_qdir
=$as_dir;;
18585 as_dirs
="'$as_qdir' $as_dirs"
18586 as_dir
=`$as_dirname -- "$as_dir" ||
18587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18588 X"$as_dir" : 'X\(//\)[^/]' \| \
18589 X"$as_dir" : 'X\(//\)$' \| \
18590 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18591 $as_echo X"$as_dir" |
18592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18596 /^X\(\/\/\)[^/].*/{
18609 test -d "$as_dir" && break
18611 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18612 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18616 if mkdir
-p .
2>/dev
/null
; then
18617 as_mkdir_p
='mkdir -p "$as_dir"'
18619 test -d .
/-p && rmdir .
/-p
18624 # as_fn_executable_p FILE
18625 # -----------------------
18626 # Test if FILE is an executable regular file.
18627 as_fn_executable_p
()
18629 test -f "$1" && test -x "$1"
18630 } # as_fn_executable_p
18631 as_test_x
='test -x'
18632 as_executable_p
=as_fn_executable_p
18634 # Sed expression to map a string onto a valid CPP name.
18635 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18637 # Sed expression to map a string onto a valid variable name.
18638 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18642 ## ----------------------------------- ##
18643 ## Main body of $CONFIG_STATUS script. ##
18644 ## ----------------------------------- ##
18646 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18649 # Save the log message, to keep $0 and so on meaningful, and to
18650 # report actual input values of CONFIG_FILES etc. instead of their
18651 # values after options handling.
18653 This file was extended by GNU TM Runtime Library $as_me 1.0, which was
18654 generated by GNU Autoconf 2.69. Invocation command line was
18656 CONFIG_FILES = $CONFIG_FILES
18657 CONFIG_HEADERS = $CONFIG_HEADERS
18658 CONFIG_LINKS = $CONFIG_LINKS
18659 CONFIG_COMMANDS = $CONFIG_COMMANDS
18662 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18667 case $ac_config_files in *"
18668 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18671 case $ac_config_headers in *"
18672 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18677 # Files that config.status was made for.
18678 config_files="$ac_config_files"
18679 config_headers="$ac_config_headers"
18680 config_commands="$ac_config_commands"
18684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18686 \`$as_me' instantiates files and other configuration actions
18687 from templates according to the current configuration. Unless the files
18688 and actions are specified as TAGs, all are instantiated by default.
18690 Usage: $0 [OPTION]... [TAG]...
18692 -h, --help print this help, then exit
18693 -V, --version print version number and configuration settings, then exit
18694 --config print configuration, then exit
18695 -q, --quiet, --silent
18696 do not print progress messages
18697 -d, --debug don't remove temporary files
18698 --recheck update $as_me by reconfiguring in the same conditions
18699 --file=FILE[:TEMPLATE]
18700 instantiate the configuration file FILE
18701 --header=FILE[:TEMPLATE]
18702 instantiate the configuration header FILE
18704 Configuration files:
18707 Configuration headers:
18710 Configuration commands:
18713 Report bugs to the package provider.
18714 GNU TM Runtime Library home page: <http://www.gnu.org/software/libitm/>.
18715 General help using GNU software: <http://www.gnu.org/gethelp/>."
18718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18719 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18721 GNU TM Runtime Library config.status 1.0
18722 configured by $0, generated by GNU Autoconf 2.69,
18723 with options \\"\$ac_cs_config\\"
18725 Copyright (C) 2012 Free Software Foundation, Inc.
18726 This config.status script is free software; the Free Software Foundation
18727 gives unlimited permission to copy, distribute and modify it."
18734 test -n "\$AWK" || AWK=awk
18737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18738 # The default lists apply if the user does not specify any file.
18744 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18745 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18749 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18761 # Handling of the options.
18762 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18764 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18765 $as_echo "$ac_cs_version"; exit ;;
18766 --config |
--confi |
--conf |
--con |
--co |
--c )
18767 $as_echo "$ac_cs_config"; exit ;;
18768 --debug |
--debu |
--deb |
--de |
--d |
-d )
18770 --file |
--fil |
--fi |
--f )
18773 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18774 '') as_fn_error $?
"missing file argument" ;;
18776 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18777 ac_need_defaults
=false
;;
18778 --header |
--heade |
--head |
--hea )
18781 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18783 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18784 ac_need_defaults
=false
;;
18786 # Conflict between --help and --header
18787 as_fn_error $?
"ambiguous option: \`$1'
18788 Try \`$0 --help' for more information.";;
18789 --help |
--hel |
-h )
18790 $as_echo "$ac_cs_usage"; exit ;;
18791 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18792 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18795 # This is an error.
18796 -*) as_fn_error $?
"unrecognized option: \`$1'
18797 Try \`$0 --help' for more information." ;;
18799 *) as_fn_append ac_config_targets
" $1"
18800 ac_need_defaults
=false
;;
18806 ac_configure_extra_args
=
18808 if $ac_cs_silent; then
18810 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18815 if \$ac_cs_recheck; then
18816 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18818 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18819 CONFIG_SHELL='$SHELL'
18820 export CONFIG_SHELL
18825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18829 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18830 ## Running $as_me. ##
18836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18844 with_multisubdir="$with_multisubdir"
18845 with_multisrctop="$with_multisrctop"
18846 with_target_subdir="$with_target_subdir"
18847 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18848 multi_basedir="$multi_basedir"
18849 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18852 GFORTRAN="$GFORTRAN"
18854 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18857 # The HP-UX ksh and POSIX shell print the target directory to stdout
18858 # if CDPATH is set.
18859 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18861 sed_quote_subst='$sed_quote_subst'
18862 double_quote_subst='$double_quote_subst'
18863 delay_variable_subst='$delay_variable_subst'
18864 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18865 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18866 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18867 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18868 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18869 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18870 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18871 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18872 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18873 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18874 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18875 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18876 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18877 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18878 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18879 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18880 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18881 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18882 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18883 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18884 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18885 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18886 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18887 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18888 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18889 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18890 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18891 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18892 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18893 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18894 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18895 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18896 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18897 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18898 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18899 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18900 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18901 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18902 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18903 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18904 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18905 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18906 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18907 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18908 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18909 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18910 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18911 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18912 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"`'
18913 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18914 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18915 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18916 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18917 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18918 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18919 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18920 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18921 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18922 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18923 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18924 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18925 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18926 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18927 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18928 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18929 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18930 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18931 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18932 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18933 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18934 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18935 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18936 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18937 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18938 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18939 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18940 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18941 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18942 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18943 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18944 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18945 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18946 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18947 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18948 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18949 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18950 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18951 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18952 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18953 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18954 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18955 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18956 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18957 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18958 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18959 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18960 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18961 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18962 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18963 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18964 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18965 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18966 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18967 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18968 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18969 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18970 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18971 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18972 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18973 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18974 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18975 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18976 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18977 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18978 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18979 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18980 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18981 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18982 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18983 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18984 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18985 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18986 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18987 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18988 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18989 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18990 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18991 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18992 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18993 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18994 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18995 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18996 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18997 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18998 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18999 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19000 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19001 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19002 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19003 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19004 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19005 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19006 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19007 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19008 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19009 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19010 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19011 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19012 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19013 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19014 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19015 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19016 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
19017 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19018 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19019 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19020 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19021 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19022 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19023 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19024 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19025 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
19026 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19027 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19028 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19029 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19030 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19031 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19032 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19033 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19034 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19035 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19036 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19037 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19038 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19041 LTCFLAGS='$LTCFLAGS'
19042 compiler='$compiler_DEFAULT'
19044 # A function that is used when there is no print builtin or printf.
19045 func_fallback_echo ()
19047 eval 'cat <<_LTECHO_EOF
19052 # Quote evaled strings.
19066 deplibs_check_method \
19075 lt_cv_sys_global_symbol_pipe \
19076 lt_cv_sys_global_symbol_to_cdecl \
19077 lt_cv_sys_global_symbol_to_c_name_address \
19078 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19079 lt_prog_compiler_no_builtin_flag \
19080 lt_prog_compiler_wl \
19081 lt_prog_compiler_pic \
19082 lt_prog_compiler_static \
19083 lt_cv_prog_compiler_c_o \
19091 export_dynamic_flag_spec \
19092 whole_archive_flag_spec \
19093 compiler_needs_object \
19095 allow_undefined_flag \
19096 no_undefined_flag \
19097 hardcode_libdir_flag_spec \
19098 hardcode_libdir_flag_spec_ld \
19099 hardcode_libdir_separator \
19104 variables_saved_for_relink \
19106 library_names_spec \
19108 install_override_mode \
19112 compiler_lib_search_dirs \
19117 compiler_lib_search_path \
19121 lt_prog_compiler_no_builtin_flag_CXX \
19122 lt_prog_compiler_wl_CXX \
19123 lt_prog_compiler_pic_CXX \
19124 lt_prog_compiler_static_CXX \
19125 lt_cv_prog_compiler_c_o_CXX \
19126 export_dynamic_flag_spec_CXX \
19127 whole_archive_flag_spec_CXX \
19128 compiler_needs_object_CXX \
19130 allow_undefined_flag_CXX \
19131 no_undefined_flag_CXX \
19132 hardcode_libdir_flag_spec_CXX \
19133 hardcode_libdir_flag_spec_ld_CXX \
19134 hardcode_libdir_separator_CXX \
19135 fix_srcfile_path_CXX \
19136 exclude_expsyms_CXX \
19137 include_expsyms_CXX \
19138 file_list_spec_CXX \
19139 compiler_lib_search_dirs_CXX \
19140 predep_objects_CXX \
19141 postdep_objects_CXX \
19144 compiler_lib_search_path_CXX; do
19145 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19146 *[\\\\\\\`\\"\\\$]*)
19147 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19150 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19155 # Double-quote double-evaled strings.
19156 for var in reload_cmds \
19157 old_postinstall_cmds \
19158 old_postuninstall_cmds \
19160 extract_expsyms_cmds \
19161 old_archive_from_new_cmds \
19162 old_archive_from_expsyms_cmds \
19164 archive_expsym_cmds \
19166 module_expsym_cmds \
19167 export_symbols_cmds \
19170 postuninstall_cmds \
19172 sys_lib_search_path_spec \
19173 sys_lib_dlsearch_path_spec \
19175 old_archive_cmds_CXX \
19176 old_archive_from_new_cmds_CXX \
19177 old_archive_from_expsyms_cmds_CXX \
19179 archive_expsym_cmds_CXX \
19181 module_expsym_cmds_CXX \
19182 export_symbols_cmds_CXX \
19183 prelink_cmds_CXX; do
19184 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19185 *[\\\\\\\`\\"\\\$]*)
19186 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19189 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19194 ac_aux_dir='$ac_aux_dir'
19195 xsi_shell='$xsi_shell'
19196 lt_shell_append='$lt_shell_append'
19198 # See if we are running on zsh, and set the options which allow our
19199 # commands through without removal of \ escapes INIT.
19200 if test -n "\${ZSH_VERSION+set}" ; then
19201 setopt NO_GLOB_SUBST
19207 TIMESTAMP='$TIMESTAMP'
19218 acx_cv_header_stdint="$acx_cv_header_stdint"
19219 acx_cv_type_int8_t="$acx_cv_type_int8_t"
19220 acx_cv_type_int16_t="$acx_cv_type_int16_t"
19221 acx_cv_type_int32_t="$acx_cv_type_int32_t"
19222 acx_cv_type_int64_t="$acx_cv_type_int64_t"
19223 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
19224 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
19225 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
19226 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
19227 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
19228 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
19229 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
19230 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
19231 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
19236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19238 # Handling of arguments.
19239 for ac_config_target
in $ac_config_targets
19241 case $ac_config_target in
19242 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19243 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
19244 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19245 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19246 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
19247 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19248 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
19249 "libitm.spec") CONFIG_FILES
="$CONFIG_FILES libitm.spec" ;;
19251 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19256 # If the user did not use the arguments to specify the items to instantiate,
19257 # then the envvar interface is used. Set only those that are not.
19258 # We use the long form for the default assignment because of an extremely
19259 # bizarre bug on SunOS 4.1.3.
19260 if $ac_need_defaults; then
19261 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19262 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19263 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19266 # Have a temporary directory for convenience. Make it in the build tree
19267 # simply because there is no reason against having it here, and in addition,
19268 # creating and moving files from /tmp can sometimes cause problems.
19269 # Hook for its removal unless debugging.
19270 # Note that there is a small window in which the directory will not be cleaned:
19271 # after its creation but before its name has been assigned to `$tmp'.
19275 trap 'exit_status=$?
19276 : "${ac_tmp:=$tmp}"
19277 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19279 trap 'as_fn_exit 1' 1 2 13 15
19281 # Create a (secure) tmp directory for tmp files.
19284 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19288 tmp
=.
/conf$$
-$RANDOM
19289 (umask 077 && mkdir
"$tmp")
19290 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19293 # Set up the scripts for CONFIG_FILES section.
19294 # No need to generate them if there are no CONFIG_FILES.
19295 # This happens for instance with `./config.status config.h'.
19296 if test -n "$CONFIG_FILES"; then
19299 ac_cr
=`echo X | tr X '\015'`
19300 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19301 # But we know of no other shell where ac_cr would be empty at this
19302 # point, so we can use a bashism as a fallback.
19303 if test "x$ac_cr" = x
; then
19304 eval ac_cr
=\$
\'\\r
\'
19306 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19307 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19310 ac_cs_awk_cr
=$ac_cr
19313 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19318 echo "cat >conf$$subs.awk <<_ACEOF" &&
19319 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19321 } >conf$$subs.sh ||
19322 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19323 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19325 for ac_last_try in false false false false false :; do
19326 . ./conf$$subs.sh ||
19327 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19329 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19330 if test $ac_delim_n = $ac_delim_num; then
19332 elif $ac_last_try; then
19333 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19335 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19338 rm -f conf$$subs.sh
19340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19341 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19345 s/^/S["/; s
/!.
*/"]=/
19355 s/\(.\{148\}\)..*/\1/
19357 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19362 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19369 s/\(.\{148\}\)..*/\1/
19371 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19375 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19380 ' <conf$$subs.awk | sed '
19385 ' >>$CONFIG_STATUS || ac_write_fail=1
19386 rm -f conf$$subs.awk
19387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19389 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19390 for (key in S) S_is_set[key] = 1
19396 nfields = split(line, field, "@
")
19398 len = length(field[1])
19399 for (i = 2; i < nfields; i++) {
19401 keylen = length(key)
19402 if (S_is_set[key]) {
19404 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19405 len += length(value) + length(field[++i])
19416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19417 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19418 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19421 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19422 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19425 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19426 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19427 # trailing colons and then remove the whole line if VPATH becomes empty
19428 # (actually we leave an empty line to preserve line numbers).
19429 if test "x
$srcdir" = x.; then
19430 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19449 fi # test -n "$CONFIG_FILES"
19451 # Set up the scripts for CONFIG_HEADERS section.
19452 # No need to generate them if there are no CONFIG_HEADERS.
19453 # This happens for instance with `./config.status Makefile'.
19454 if test -n "$CONFIG_HEADERS"; then
19455 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19459 # Transform confdefs.h into an awk script `defines.awk', embedded as
19460 # here-document in config.status, that substitutes the proper values into
19461 # config.h.in to produce config.h.
19463 # Create a delimiter string that does not exist in confdefs.h, to ease
19464 # handling of long lines.
19466 for ac_last_try in false false :; do
19467 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19468 if test -z "$ac_tt"; then
19470 elif $ac_last_try; then
19471 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19473 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19477 # For the awk script, D is an array of macro values keyed by name,
19478 # likewise P contains macro parameters if any. Preserve backslash
19479 # newline sequences.
19481 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19483 s/.\{148\}/&'"$ac_delim"'/g
19486 s/^[ ]*#[ ]*define[ ][ ]*/ /
19493 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19495 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19499 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19500 D["\
1"]=" \
3\\\\\\n
"\\/p
19502 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19507 s/.\{148\}/&'"$ac_delim"'/g
19512 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19515 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19517 ' <confdefs.h | sed '
19518 s/'"$ac_delim"'/"\\\
19519 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19522 for (key in D) D_is_set[key] = 1
19525 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19527 split(line, arg, " ")
19528 if (arg[1] == "#") {
19532 defundef
= substr
(arg
[1], 2)
19535 split(mac1
, mac2
, "(") #)
19537 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19538 if (D_is_set
[macro
]) {
19539 # Preserve the white space surrounding the "#".
19540 print prefix
"define", macro P
[macro
] D
[macro
]
19543 # Replace #undef with comments. This is necessary, for example,
19544 # in the case of _POSIX_SOURCE, which is predefined and required
19545 # on some systems where configure will not decide to define it.
19546 if (defundef
== "undef") {
19547 print
"/*", prefix defundef
, macro
, "*/"
19555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19556 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19557 fi # test -n "$CONFIG_HEADERS"
19560 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19565 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19567 case $ac_mode$ac_tag in
19569 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19570 :[FH
]-) ac_tag
=-:-;;
19571 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19588 -) ac_f
="$ac_tmp/stdin";;
19589 *) # Look for the file first in the build tree, then in the source tree
19590 # (if the path is not absolute). The absolute path cannot be DOS-style,
19591 # because $ac_f cannot contain `:'.
19595 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19597 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19599 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19600 as_fn_append ac_file_inputs
" '$ac_f'"
19603 # Let's still pretend it is `configure' which instantiates (i.e., don't
19604 # use $as_me), people would be surprised to read:
19605 # /* config.h. Generated by config.status. */
19606 configure_input
='Generated from '`
19607 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19609 if test x
"$ac_file" != x-
; then
19610 configure_input
="$ac_file. $configure_input"
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19612 $as_echo "$as_me: creating $ac_file" >&6;}
19614 # Neutralize special characters interpreted by sed in replacement strings.
19615 case $configure_input in #(
19616 *\
&* |
*\|
* |
*\\* )
19617 ac_sed_conf_input
=`$as_echo "$configure_input" |
19618 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19619 *) ac_sed_conf_input
=$configure_input;;
19623 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19624 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19629 ac_dir
=`$as_dirname -- "$ac_file" ||
19630 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19631 X"$ac_file" : 'X\(//\)[^/]' \| \
19632 X"$ac_file" : 'X\(//\)$' \| \
19633 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19634 $as_echo X"$ac_file" |
19635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19639 /^X\(\/\/\)[^/].*/{
19652 as_dir
="$ac_dir"; as_fn_mkdir_p
19656 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19658 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19659 # A ".." for each directory in $ac_dir_suffix.
19660 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19661 case $ac_top_builddir_sub in
19662 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19663 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19666 ac_abs_top_builddir
=$ac_pwd
19667 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19668 # for backward compatibility:
19669 ac_top_builddir
=$ac_top_build_prefix
19672 .
) # We are building in place.
19674 ac_top_srcdir
=$ac_top_builddir_sub
19675 ac_abs_top_srcdir
=$ac_pwd ;;
19676 [\\/]* | ?
:[\\/]* ) # Absolute name.
19677 ac_srcdir
=$srcdir$ac_dir_suffix;
19678 ac_top_srcdir
=$srcdir
19679 ac_abs_top_srcdir
=$srcdir ;;
19680 *) # Relative name.
19681 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19682 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19683 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19685 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19695 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19696 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19698 ac_MKDIR_P
=$MKDIR_P
19700 [\\/$
]* | ?
:[\\/]* ) ;;
19701 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19706 # If the template does not know about datarootdir, expand it.
19707 # FIXME: This hack should be removed a few years after 2.60.
19708 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19719 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19720 *datarootdir
*) ac_datarootdir_seen
=yes;;
19721 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19723 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19726 ac_datarootdir_hack='
19727 s&@datadir@&$datadir&g
19728 s&@docdir@&$docdir&g
19729 s&@infodir@&$infodir&g
19730 s&@localedir@&$localedir&g
19731 s&@mandir@&$mandir&g
19732 s&\\\${datarootdir}&$datarootdir&g' ;;
19736 # Neutralize VPATH when `$srcdir' = `.'.
19737 # Shell code in configure.ac might set extrasub.
19738 # FIXME: do we really want to maintain this feature?
19739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19740 ac_sed_extra="$ac_vpsub
19743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19745 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19746 s|@configure_input@|
$ac_sed_conf_input|
;t t
19747 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19748 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19749 s
&@srcdir@
&$ac_srcdir&;t t
19750 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19751 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19752 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19753 s
&@builddir@
&$ac_builddir&;t t
19754 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19755 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19756 s
&@INSTALL@
&$ac_INSTALL&;t t
19757 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19758 $ac_datarootdir_hack
19760 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19761 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19763 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19764 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19765 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19766 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19768 which seems to be undefined. Please make sure it is defined" >&5
19769 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19770 which seems to be undefined. Please make sure it is defined" >&2;}
19772 rm -f "$ac_tmp/stdin"
19774 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19775 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19777 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19783 if test x"$ac_file" != x-; then
19785 $as_echo "/* $configure_input */" \
19786 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19787 } >"$ac_tmp/config.h" \
19788 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19789 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19791 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19794 mv "$ac_tmp/config.h" "$ac_file" \
19795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19798 $as_echo "/* $configure_input */" \
19799 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19800 || as_fn_error $? "could not create -" "$LINENO" 5
19802 # Compute "$ac_file"'s index
in $config_headers.
19805 for _am_header
in $config_headers :; do
19806 case $_am_header in
19807 $_am_arg |
$_am_arg:* )
19810 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19813 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19814 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19815 X"$_am_arg" : 'X\(//\)[^/]' \| \
19816 X"$_am_arg" : 'X\(//\)$' \| \
19817 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19818 $as_echo X"$_am_arg" |
19819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19823 /^X\(\/\/\)[^/].*/{
19835 s/.*/./; q'`/stamp-h
$_am_stamp_count
19838 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19839 $as_echo "$as_me: executing $ac_file commands" >&6;}
19844 case $ac_file$ac_mode in
19846 # Only add multilib support code if we just rebuilt the top-level
19848 case " $CONFIG_FILES " in
19850 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
19853 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19854 # Older Autoconf quotes --file arguments for eval, but not when files
19855 # are listed without --file. Let's play safe and only enable the eval
19856 # if we detect the quoting.
19857 case $CONFIG_FILES in
19858 *\'*) eval set x
"$CONFIG_FILES" ;;
19859 *) set x
$CONFIG_FILES ;;
19864 # Strip MF so we end up with the name of the file.
19865 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19866 # Check whether this is an Automake generated Makefile or not.
19867 # We used to match only the files named 'Makefile.in', but
19868 # some people rename them; so instead we look at the file content.
19869 # Grep'ing the first line is not enough: some people post-process
19870 # each Makefile.in and add a new line on top of each file to say so.
19871 # Grep'ing the whole file is not good either: AIX grep has a line
19872 # limit of 2048, but all sed's we know have understand at least 4000.
19873 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19874 dirpart
=`$as_dirname -- "$mf" ||
19875 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19876 X"$mf" : 'X\(//\)[^/]' \| \
19877 X"$mf" : 'X\(//\)$' \| \
19878 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19884 /^X\(\/\/\)[^/].*/{
19900 # Extract the definition of DEPDIR, am__include, and am__quote
19901 # from the Makefile without running 'make'.
19902 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19903 test -z "$DEPDIR" && continue
19904 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19905 test -z "$am__include" && continue
19906 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19907 # Find all dependency output files, they are included files with
19908 # $(DEPDIR) in their names. We invoke sed twice because it is the
19909 # simplest approach to changing $(DEPDIR) to its actual value in the
19911 for file in `sed -n "
19912 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19913 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19914 # Make sure the directory exists.
19915 test -f "$dirpart/$file" && continue
19916 fdir
=`$as_dirname -- "$file" ||
19917 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19918 X"$file" : 'X\(//\)[^/]' \| \
19919 X"$file" : 'X\(//\)$' \| \
19920 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19921 $as_echo X"$file" |
19922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19926 /^X\(\/\/\)[^/].*/{
19939 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19940 # echo "creating $dirpart/$file"
19941 echo '# dummy' > "$dirpart/$file"
19948 # See if we are running on zsh, and set the options which allow our
19949 # commands through without removal of \ escapes.
19950 if test -n "${ZSH_VERSION+set}" ; then
19951 setopt NO_GLOB_SUBST
19954 cfgfile
="${ofile}T"
19955 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19958 cat <<_LT_EOF >> "$cfgfile"
19961 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19962 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19963 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19964 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19966 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19967 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19968 # Written by Gordon Matzigkeit, 1996
19970 # This file is part of GNU Libtool.
19972 # GNU Libtool is free software; you can redistribute it and/or
19973 # modify it under the terms of the GNU General Public License as
19974 # published by the Free Software Foundation; either version 2 of
19975 # the License, or (at your option) any later version.
19977 # As a special exception to the GNU General Public License,
19978 # if you distribute this file as part of a program or library that
19979 # is built using GNU Libtool, you may include this file under the
19980 # same distribution terms that you use for the rest of that program.
19982 # GNU Libtool is distributed in the hope that it will be useful,
19983 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19984 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19985 # GNU General Public License for more details.
19987 # You should have received a copy of the GNU General Public License
19988 # along with GNU Libtool; see the file COPYING. If not, a copy
19989 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19990 # obtained by writing to the Free Software Foundation, Inc.,
19991 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19994 # The names of the tagged configurations supported by this script.
19995 available_tags="CXX "
19997 # ### BEGIN LIBTOOL CONFIG
19999 # Which release of libtool.m4 was used?
20000 macro_version=$macro_version
20001 macro_revision=$macro_revision
20003 # Whether or not to build shared libraries.
20004 build_libtool_libs=$enable_shared
20006 # Whether or not to build static libraries.
20007 build_old_libs=$enable_static
20009 # What type of objects to build.
20012 # Whether or not to optimize for fast installation.
20013 fast_install=$enable_fast_install
20015 # Shell to use when invoking shell scripts.
20018 # An echo program that protects backslashes.
20022 host_alias=$host_alias
20026 # The build system.
20027 build_alias=$build_alias
20031 # A sed program that does not truncate output.
20034 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20035 Xsed="\$SED -e 1s/^X//"
20037 # A grep program that handles long lines.
20043 # A literal string matcher.
20046 # A BSD- or MS-compatible name lister.
20049 # Whether we need soft or hard links.
20052 # What is the maximum length of a command?
20053 max_cmd_len=$max_cmd_len
20055 # Object file suffix (normally "o").
20058 # Executable file suffix (normally "").
20061 # whether the shell understands "unset".
20064 # turn spaces into newlines.
20067 # turn newlines into spaces.
20070 # An object symbol dumper.
20071 OBJDUMP=$lt_OBJDUMP
20073 # Method to check whether dependent libraries are shared objects.
20074 deplibs_check_method=$lt_deplibs_check_method
20076 # Command to use when deplibs_check_method == "file_magic".
20077 file_magic_cmd=$lt_file_magic_cmd
20081 AR_FLAGS=$lt_AR_FLAGS
20083 # A symbol stripping program.
20086 # Commands used to install an old-style archive.
20088 old_postinstall_cmds=$lt_old_postinstall_cmds
20089 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20091 # Whether to use a lock for old archive extraction.
20092 lock_old_archive_extraction=$lock_old_archive_extraction
20097 # LTCC compiler flags.
20098 LTCFLAGS=$lt_CFLAGS
20100 # Take the output of nm and produce a listing of raw symbols and C names.
20101 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20103 # Transform the output of nm in a proper C declaration.
20104 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20106 # Transform the output of nm in a C name address pair.
20107 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20109 # Transform the output of nm in a C name address pair when lib prefix is needed.
20110 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20112 # The name of the directory that contains temporary libtool files.
20115 # Used to examine libraries when file_magic_cmd begins with "file".
20116 MAGIC_CMD=$MAGIC_CMD
20118 # Must we lock files when doing compilation?
20119 need_locks=$lt_need_locks
20121 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20122 DSYMUTIL=$lt_DSYMUTIL
20124 # Tool to change global to local symbols on Mac OS X.
20127 # Tool to manipulate fat objects and archives on Mac OS X.
20130 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20133 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20134 OTOOL64=$lt_OTOOL64
20136 # Old archive suffix (normally "a").
20139 # Shared library suffix (normally ".so").
20140 shrext_cmds=$lt_shrext_cmds
20142 # The commands to extract the exported symbol list from a shared archive.
20143 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20145 # Variables whose values should be saved in libtool wrapper scripts and
20146 # restored at link time.
20147 variables_saved_for_relink=$lt_variables_saved_for_relink
20149 # Do we need the "lib" prefix for modules?
20150 need_lib_prefix=$need_lib_prefix
20152 # Do we need a version for libraries?
20153 need_version=$need_version
20155 # Library versioning type.
20156 version_type=$version_type
20158 # Shared library runtime path variable.
20159 runpath_var=$runpath_var
20161 # Shared library path variable.
20162 shlibpath_var=$shlibpath_var
20164 # Is shlibpath searched before the hard-coded library search path?
20165 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20167 # Format of library name prefix.
20168 libname_spec=$lt_libname_spec
20170 # List of archive names. First name is the real one, the rest are links.
20171 # The last name is the one that the linker finds with -lNAME
20172 library_names_spec=$lt_library_names_spec
20174 # The coded name of the library, if different from the real name.
20175 soname_spec=$lt_soname_spec
20177 # Permission mode override for installation of shared libraries.
20178 install_override_mode=$lt_install_override_mode
20180 # Command to use after installation of a shared archive.
20181 postinstall_cmds=$lt_postinstall_cmds
20183 # Command to use after uninstallation of a shared archive.
20184 postuninstall_cmds=$lt_postuninstall_cmds
20186 # Commands used to finish a libtool library installation in a directory.
20187 finish_cmds=$lt_finish_cmds
20189 # As "finish_cmds", except a single script fragment to be evaled but
20191 finish_eval=$lt_finish_eval
20193 # Whether we should hardcode library paths into libraries.
20194 hardcode_into_libs=$hardcode_into_libs
20196 # Compile-time system search path for libraries.
20197 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20199 # Run-time system search path for libraries.
20200 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20202 # Whether dlopen is supported.
20203 dlopen_support=$enable_dlopen
20205 # Whether dlopen of programs is supported.
20206 dlopen_self=$enable_dlopen_self
20208 # Whether dlopen of statically linked programs is supported.
20209 dlopen_self_static=$enable_dlopen_self_static
20211 # Commands to strip libraries.
20212 old_striplib=$lt_old_striplib
20213 striplib=$lt_striplib
20216 # The linker used to build libraries.
20219 # How to create reloadable object files.
20220 reload_flag=$lt_reload_flag
20221 reload_cmds=$lt_reload_cmds
20223 # Commands used to build an old-style archive.
20224 old_archive_cmds=$lt_old_archive_cmds
20226 # A language specific compiler.
20229 # Is the compiler the GNU compiler?
20232 # Compiler flag to turn off builtin functions.
20233 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20235 # How to pass a linker flag through the compiler.
20236 wl=$lt_lt_prog_compiler_wl
20238 # Additional compiler flags for building library objects.
20239 pic_flag=$lt_lt_prog_compiler_pic
20241 # Compiler flag to prevent dynamic linking.
20242 link_static_flag=$lt_lt_prog_compiler_static
20244 # Does compiler simultaneously support -c and -o options?
20245 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20247 # Whether or not to add -lc for building shared libraries.
20248 build_libtool_need_lc=$archive_cmds_need_lc
20250 # Whether or not to disallow shared libs when runtime libs are static.
20251 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20253 # Compiler flag to allow reflexive dlopens.
20254 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20256 # Compiler flag to generate shared objects directly from archives.
20257 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20259 # Whether the compiler copes with passing no objects directly.
20260 compiler_needs_object=$lt_compiler_needs_object
20262 # Create an old-style archive from a shared archive.
20263 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20265 # Create a temporary old-style archive to link instead of a shared archive.
20266 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20268 # Commands used to build a shared archive.
20269 archive_cmds=$lt_archive_cmds
20270 archive_expsym_cmds=$lt_archive_expsym_cmds
20272 # Commands used to build a loadable module if different from building
20273 # a shared archive.
20274 module_cmds=$lt_module_cmds
20275 module_expsym_cmds=$lt_module_expsym_cmds
20277 # Whether we are building with GNU ld or not.
20278 with_gnu_ld=$lt_with_gnu_ld
20280 # Flag that allows shared libraries with undefined symbols to be built.
20281 allow_undefined_flag=$lt_allow_undefined_flag
20283 # Flag that enforces no undefined symbols.
20284 no_undefined_flag=$lt_no_undefined_flag
20286 # Flag to hardcode \$libdir into a binary during linking.
20287 # This must work even if \$libdir does not exist
20288 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20290 # If ld is used when linking, flag to hardcode \$libdir into a binary
20291 # during linking. This must work even if \$libdir does not exist.
20292 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20294 # Whether we need a single "-rpath" flag with a separated argument.
20295 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20297 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20298 # DIR into the resulting binary.
20299 hardcode_direct=$hardcode_direct
20301 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20302 # DIR into the resulting binary and the resulting library dependency is
20303 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20304 # library is relocated.
20305 hardcode_direct_absolute=$hardcode_direct_absolute
20307 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20308 # into the resulting binary.
20309 hardcode_minus_L=$hardcode_minus_L
20311 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20312 # into the resulting binary.
20313 hardcode_shlibpath_var=$hardcode_shlibpath_var
20315 # Set to "yes" if building a shared library automatically hardcodes DIR
20316 # into the library and all subsequent libraries and executables linked
20318 hardcode_automatic=$hardcode_automatic
20320 # Set to yes if linker adds runtime paths of dependent libraries
20321 # to runtime path list.
20322 inherit_rpath=$inherit_rpath
20324 # Whether libtool must link a program against all its dependency libraries.
20325 link_all_deplibs=$link_all_deplibs
20327 # Fix the shell variable \$srcfile for the compiler.
20328 fix_srcfile_path=$lt_fix_srcfile_path
20330 # Set to "yes" if exported symbols are required.
20331 always_export_symbols=$always_export_symbols
20333 # The commands to list exported symbols.
20334 export_symbols_cmds=$lt_export_symbols_cmds
20336 # Symbols that should not be listed in the preloaded symbols.
20337 exclude_expsyms=$lt_exclude_expsyms
20339 # Symbols that must always be exported.
20340 include_expsyms=$lt_include_expsyms
20342 # Commands necessary for linking programs (against libraries) with templates.
20343 prelink_cmds=$lt_prelink_cmds
20345 # Specify filename containing input files.
20346 file_list_spec=$lt_file_list_spec
20348 # How to hardcode a shared library path into an executable.
20349 hardcode_action=$hardcode_action
20351 # The directories searched by this compiler when creating a shared library.
20352 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20354 # Dependencies to place before and after the objects being linked to
20355 # create a shared library.
20356 predep_objects=$lt_predep_objects
20357 postdep_objects=$lt_postdep_objects
20358 predeps=$lt_predeps
20359 postdeps=$lt_postdeps
20361 # The library search path used internally by the compiler when linking
20362 # a shared library.
20363 compiler_lib_search_path=$lt_compiler_lib_search_path
20365 # ### END LIBTOOL CONFIG
20371 cat <<\_LT_EOF
>> "$cfgfile"
20372 # AIX sometimes has problems with the GCC collect2 program. For some
20373 # reason, if we set the COLLECT_NAMES environment variable, the problems
20374 # vanish in a puff of smoke.
20375 if test "X${COLLECT_NAMES+set}" != Xset
; then
20377 export COLLECT_NAMES
20384 ltmain
="$ac_aux_dir/ltmain.sh"
20387 # We use sed instead of cat because bash on DJGPP gets confused if
20388 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20389 # text mode, it properly converts lines to CR/LF. This bash problem
20390 # is reportedly fixed, but why not run on old versions too?
20391 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20392 ||
(rm -f "$cfgfile"; exit 1)
20396 cat << \_LT_EOF
>> "$cfgfile"
20398 # func_dirname file append nondir_replacement
20399 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20400 # otherwise set result to NONDIR_REPLACEMENT.
20404 */*) func_dirname_result
="${1%/*}${2}" ;;
20405 * ) func_dirname_result
="${3}" ;;
20409 # func_basename file
20412 func_basename_result
="${1##*/}"
20415 # func_dirname_and_basename file append nondir_replacement
20416 # perform func_basename and func_dirname in a single function
20418 # dirname: Compute the dirname of FILE. If nonempty,
20419 # add APPEND to the result, otherwise set result
20420 # to NONDIR_REPLACEMENT.
20421 # value returned in "$func_dirname_result"
20422 # basename: Compute filename of FILE.
20423 # value retuned in "$func_basename_result"
20424 # Implementation must be kept synchronized with func_dirname
20425 # and func_basename. For efficiency, we do not delegate to
20426 # those functions but instead duplicate the functionality here.
20427 func_dirname_and_basename
()
20430 */*) func_dirname_result
="${1%/*}${2}" ;;
20431 * ) func_dirname_result
="${3}" ;;
20433 func_basename_result
="${1##*/}"
20436 # func_stripname prefix suffix name
20437 # strip PREFIX and SUFFIX off of NAME.
20438 # PREFIX and SUFFIX must not contain globbing or regex special
20439 # characters, hashes, percent signs, but SUFFIX may contain a leading
20440 # dot (in which case that matches only a dot).
20443 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20444 # positional parameters, so assign one to ordinary parameter first.
20445 func_stripname_result
=${3}
20446 func_stripname_result
=${func_stripname_result#"${1}"}
20447 func_stripname_result
=${func_stripname_result%"${2}"}
20453 func_opt_split_opt
=${1%%=*}
20454 func_opt_split_arg
=${1#*=}
20461 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20462 *) func_lo2o_result
=${1} ;;
20466 # func_xform libobj-or-source
20469 func_xform_result
=${1%.*}.lo
20472 # func_arith arithmetic-term...
20475 func_arith_result
=$
(( $
* ))
20479 # STRING may not start with a hyphen.
20482 func_len_result
=${#1}
20487 *) # Bourne compatible functions.
20488 cat << \_LT_EOF
>> "$cfgfile"
20490 # func_dirname file append nondir_replacement
20491 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20492 # otherwise set result to NONDIR_REPLACEMENT.
20495 # Extract subdirectory from the argument.
20496 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
20497 if test "X$func_dirname_result" = "X${1}"; then
20498 func_dirname_result
="${3}"
20500 func_dirname_result
="$func_dirname_result${2}"
20504 # func_basename file
20507 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
20511 # func_stripname prefix suffix name
20512 # strip PREFIX and SUFFIX off of NAME.
20513 # PREFIX and SUFFIX must not contain globbing or regex special
20514 # characters, hashes, percent signs, but SUFFIX may contain a leading
20515 # dot (in which case that matches only a dot).
20516 # func_strip_suffix prefix name
20520 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
20521 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
20526 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
20527 my_sed_long_arg
='1s/^-[^=]*=//'
20532 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
20533 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
20539 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
20542 # func_xform libobj-or-source
20545 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
20548 # func_arith arithmetic-term...
20551 func_arith_result
=`expr "$@"`
20555 # STRING may not start with a hyphen.
20558 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20564 case $lt_shell_append in
20566 cat << \_LT_EOF
>> "$cfgfile"
20568 # func_append var value
20569 # Append VALUE to the end of shell variable VAR.
20577 cat << \_LT_EOF
>> "$cfgfile"
20579 # func_append var value
20580 # Append VALUE to the end of shell variable VAR.
20591 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20592 ||
(rm -f "$cfgfile"; exit 1)
20594 mv -f "$cfgfile" "$ofile" ||
20595 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20599 cat <<_LT_EOF >> "$ofile"
20601 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20603 # The linker used to build libraries.
20606 # How to create reloadable object files.
20607 reload_flag=$lt_reload_flag_CXX
20608 reload_cmds=$lt_reload_cmds_CXX
20610 # Commands used to build an old-style archive.
20611 old_archive_cmds=$lt_old_archive_cmds_CXX
20613 # A language specific compiler.
20614 CC=$lt_compiler_CXX
20616 # Is the compiler the GNU compiler?
20619 # Compiler flag to turn off builtin functions.
20620 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20622 # How to pass a linker flag through the compiler.
20623 wl=$lt_lt_prog_compiler_wl_CXX
20625 # Additional compiler flags for building library objects.
20626 pic_flag=$lt_lt_prog_compiler_pic_CXX
20628 # Compiler flag to prevent dynamic linking.
20629 link_static_flag=$lt_lt_prog_compiler_static_CXX
20631 # Does compiler simultaneously support -c and -o options?
20632 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20634 # Whether or not to add -lc for building shared libraries.
20635 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20637 # Whether or not to disallow shared libs when runtime libs are static.
20638 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20640 # Compiler flag to allow reflexive dlopens.
20641 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20643 # Compiler flag to generate shared objects directly from archives.
20644 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20646 # Whether the compiler copes with passing no objects directly.
20647 compiler_needs_object=$lt_compiler_needs_object_CXX
20649 # Create an old-style archive from a shared archive.
20650 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20652 # Create a temporary old-style archive to link instead of a shared archive.
20653 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20655 # Commands used to build a shared archive.
20656 archive_cmds=$lt_archive_cmds_CXX
20657 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20659 # Commands used to build a loadable module if different from building
20660 # a shared archive.
20661 module_cmds=$lt_module_cmds_CXX
20662 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20664 # Whether we are building with GNU ld or not.
20665 with_gnu_ld=$lt_with_gnu_ld_CXX
20667 # Flag that allows shared libraries with undefined symbols to be built.
20668 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20670 # Flag that enforces no undefined symbols.
20671 no_undefined_flag=$lt_no_undefined_flag_CXX
20673 # Flag to hardcode \$libdir into a binary during linking.
20674 # This must work even if \$libdir does not exist
20675 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20677 # If ld is used when linking, flag to hardcode \$libdir into a binary
20678 # during linking. This must work even if \$libdir does not exist.
20679 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20681 # Whether we need a single "-rpath" flag with a separated argument.
20682 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20684 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20685 # DIR into the resulting binary.
20686 hardcode_direct=$hardcode_direct_CXX
20688 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20689 # DIR into the resulting binary and the resulting library dependency is
20690 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20691 # library is relocated.
20692 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20694 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20695 # into the resulting binary.
20696 hardcode_minus_L=$hardcode_minus_L_CXX
20698 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20699 # into the resulting binary.
20700 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20702 # Set to "yes" if building a shared library automatically hardcodes DIR
20703 # into the library and all subsequent libraries and executables linked
20705 hardcode_automatic=$hardcode_automatic_CXX
20707 # Set to yes if linker adds runtime paths of dependent libraries
20708 # to runtime path list.
20709 inherit_rpath=$inherit_rpath_CXX
20711 # Whether libtool must link a program against all its dependency libraries.
20712 link_all_deplibs=$link_all_deplibs_CXX
20714 # Fix the shell variable \$srcfile for the compiler.
20715 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20717 # Set to "yes" if exported symbols are required.
20718 always_export_symbols=$always_export_symbols_CXX
20720 # The commands to list exported symbols.
20721 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20723 # Symbols that should not be listed in the preloaded symbols.
20724 exclude_expsyms=$lt_exclude_expsyms_CXX
20726 # Symbols that must always be exported.
20727 include_expsyms=$lt_include_expsyms_CXX
20729 # Commands necessary for linking programs (against libraries) with templates.
20730 prelink_cmds=$lt_prelink_cmds_CXX
20732 # Specify filename containing input files.
20733 file_list_spec=$lt_file_list_spec_CXX
20735 # How to hardcode a shared library path into an executable.
20736 hardcode_action=$hardcode_action_CXX
20738 # The directories searched by this compiler when creating a shared library.
20739 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20741 # Dependencies to place before and after the objects being linked to
20742 # create a shared library.
20743 predep_objects=$lt_predep_objects_CXX
20744 postdep_objects=$lt_postdep_objects_CXX
20745 predeps=$lt_predeps_CXX
20746 postdeps=$lt_postdeps_CXX
20748 # The library search path used internally by the compiler when linking
20749 # a shared library.
20750 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20752 # ### END LIBTOOL TAG CONFIG: CXX
20757 if test "$GCC" = yes; then
20758 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
20760 echo "/* generated for $CC */" > tmp-stdint.h
20763 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20765 #ifndef GCC_GENERATED_STDINT_H
20766 #define GCC_GENERATED_STDINT_H 1
20768 #include <sys/types.h>
20771 if test "$acx_cv_header_stdint" != stdint.h
; then
20772 echo "#include <stddef.h>" >> tmp-stdint.h
20774 if test "$acx_cv_header_stdint" != stddef.h
; then
20775 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
20778 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20779 /* glibc uses these symbols as guards to prevent redefinitions. */
20780 #ifdef __int8_t_defined
20785 #ifdef __uint32_t_defined
20791 # ----------------- done header, emit basic int types -------------
20792 if test "$acx_cv_header_stdint" = stddef.h
; then
20793 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20797 #ifndef __uint8_t_defined
20798 #define __uint8_t_defined
20800 typedef unsigned $acx_cv_type_int8_t uint8_t;
20807 #ifndef __uint16_t_defined
20808 #define __uint16_t_defined
20810 typedef unsigned $acx_cv_type_int16_t uint16_t;
20817 #ifndef __uint32_t_defined
20818 #define __uint32_t_defined
20820 typedef unsigned $acx_cv_type_int32_t uint32_t;
20827 #ifndef __int8_t_defined
20828 #define __int8_t_defined
20830 typedef $acx_cv_type_int8_t int8_t;
20837 #ifndef __int16_t_defined
20838 #define __int16_t_defined
20840 typedef $acx_cv_type_int16_t int16_t;
20847 #ifndef __int32_t_defined
20848 #define __int32_t_defined
20850 typedef $acx_cv_type_int32_t int32_t;
20855 elif test "$ac_cv_type_u_int32_t" = yes; then
20856 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20858 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
20871 #ifndef __uint8_t_defined
20872 #define __uint8_t_defined
20874 typedef u_int8_t uint8_t;
20881 #ifndef __uint16_t_defined
20882 #define __uint16_t_defined
20884 typedef u_int16_t uint16_t;
20891 #ifndef __uint32_t_defined
20892 #define __uint32_t_defined
20894 typedef u_int32_t uint32_t;
20900 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20902 /* Some systems have guard macros to prevent redefinitions, define them. */
20924 # ------------- done basic int types, emit int64_t types ------------
20925 if test "$ac_cv_type_uint64_t" = yes; then
20926 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20928 /* system headers have good uint64_t and int64_t */
20936 elif test "$ac_cv_type_u_int64_t" = yes; then
20937 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20939 /* system headers have an u_int64_t (and int64_t) */
20945 #ifndef __uint64_t_defined
20946 #define __uint64_t_defined
20948 typedef u_int64_t uint64_t;
20953 elif test -n "$acx_cv_type_int64_t"; then
20954 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20956 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
20960 typedef $acx_cv_type_int64_t int64_t;
20965 #ifndef __uint64_t_defined
20966 #define __uint64_t_defined
20968 typedef unsigned $acx_cv_type_int64_t uint64_t;
20974 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20976 /* some common heuristics for int64_t, using compiler-specific tests */
20977 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
20980 #ifndef __int64_t_defined
20982 typedef long long int64_t;
20989 typedef unsigned long long uint64_t;
20993 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
20994 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
20995 does not implement __extension__. But that compiler doesn't define
20997 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
20998 # define __extension__
21004 __extension__ typedef long long int64_t;
21010 __extension__ typedef unsigned long long uint64_t;
21014 #elif !defined __STRICT_ANSI__
21015 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
21020 typedef __int64 int64_t;
21026 typedef unsigned __int64 uint64_t;
21029 # endif /* compiler */
21031 #endif /* ANSI version */
21035 # ------------- done int64_t types, emit intptr types ------------
21036 if test "$ac_cv_type_uintptr_t" != yes; then
21037 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21039 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
21040 #ifndef __uintptr_t_defined
21042 typedef u$acx_cv_type_intptr_t uintptr_t;
21045 #ifndef __intptr_t_defined
21047 typedef $acx_cv_type_intptr_t intptr_t;
21053 # ------------- done intptr types, emit int_least types ------------
21054 if test "$ac_cv_type_int_least32_t" != yes; then
21055 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21057 /* Define int_least types */
21058 typedef int8_t int_least8_t;
21059 typedef int16_t int_least16_t;
21060 typedef int32_t int_least32_t;
21062 typedef int64_t int_least64_t;
21065 typedef uint8_t uint_least8_t;
21066 typedef uint16_t uint_least16_t;
21067 typedef uint32_t uint_least32_t;
21069 typedef uint64_t uint_least64_t;
21074 # ------------- done intptr types, emit int_fast types ------------
21075 if test "$ac_cv_type_int_fast32_t" != yes; then
21076 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21078 /* Define int_fast types. short is often slow */
21079 typedef int8_t int_fast8_t;
21080 typedef int int_fast16_t;
21081 typedef int32_t int_fast32_t;
21083 typedef int64_t int_fast64_t;
21086 typedef uint8_t uint_fast8_t;
21087 typedef unsigned int uint_fast16_t;
21088 typedef uint32_t uint_fast32_t;
21090 typedef uint64_t uint_fast64_t;
21095 if test "$ac_cv_type_uintmax_t" != yes; then
21096 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21098 /* Define intmax based on what we found */
21101 typedef int64_t intmax_t;
21103 typedef long intmax_t;
21108 typedef uint64_t uintmax_t;
21110 typedef unsigned long uintmax_t;
21116 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21118 #endif /* GCC_GENERATED_STDINT_H */
21121 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
21124 mv -f tmp-stdint.h gstdint.h
21135 ac_clean_files
=$ac_clean_files_save
21137 test $ac_write_fail = 0 ||
21138 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21141 # configure is writing to config.log, and then calls config.status.
21142 # config.status does its own redirection, appending to config.log.
21143 # Unfortunately, on DOS this fails, as config.log is still kept open
21144 # by configure, so config.status won't be able to write to it; its
21145 # output is simply discarded. So we exec the FD to /dev/null,
21146 # effectively closing config.log, so it can be properly (re)opened and
21147 # appended to by config.status. When coming back to configure, we
21148 # need to make the FD available again.
21149 if test "$no_create" != yes; then
21151 ac_config_status_args
=
21152 test "$silent" = yes &&
21153 ac_config_status_args
="$ac_config_status_args --quiet"
21155 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21157 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21158 # would make configure fail if this is the last instruction.
21159 $ac_cs_success || as_fn_exit
1
21161 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21163 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}