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
818 with_gcc_major_version_only
820 ac_precious_vars
='build_alias
828 # Initialize some variables set by options.
830 ac_init_version
=false
831 ac_unrecognized_opts
=
833 # The variables have the same names as the options, with
834 # dashes changed to underlines.
842 program_transform_name
=s
,x
,x
,
850 # Installation directory options.
851 # These are left unexpanded so users can "make install exec_prefix=/foo"
852 # and all the variables that are supposed to be based on exec_prefix
853 # by default will actually change.
854 # Use braces instead of parens because sh, perl, etc. also accept them.
855 # (The list follows the same order as the GNU Coding Standards.)
856 bindir
='${exec_prefix}/bin'
857 sbindir
='${exec_prefix}/sbin'
858 libexecdir
='${exec_prefix}/libexec'
859 datarootdir
='${prefix}/share'
860 datadir
='${datarootdir}'
861 sysconfdir
='${prefix}/etc'
862 sharedstatedir
='${prefix}/com'
863 localstatedir
='${prefix}/var'
864 includedir
='${prefix}/include'
865 oldincludedir
='/usr/include'
866 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
867 infodir
='${datarootdir}/info'
872 libdir
='${exec_prefix}/lib'
873 localedir
='${datarootdir}/locale'
874 mandir
='${datarootdir}/man'
880 # If the previous option needs an argument, assign it.
881 if test -n "$ac_prev"; then
882 eval $ac_prev=\
$ac_option
888 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 # Accept the important Cygnus configure options, so we can diagnose typos.
895 case $ac_dashdash$ac_option in
899 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
901 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
904 -build |
--build |
--buil |
--bui |
--bu)
905 ac_prev
=build_alias
;;
906 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
907 build_alias
=$ac_optarg ;;
909 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
910 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
911 ac_prev
=cache_file
;;
912 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
913 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
914 cache_file
=$ac_optarg ;;
917 cache_file
=config.cache
;;
919 -datadir |
--datadir |
--datadi |
--datad)
921 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
922 datadir
=$ac_optarg ;;
924 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
925 |
--dataroo |
--dataro |
--datar)
926 ac_prev
=datarootdir
;;
927 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
928 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
929 datarootdir
=$ac_optarg ;;
931 -disable-* |
--disable-*)
932 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
935 as_fn_error $?
"invalid feature name: $ac_useropt"
936 ac_useropt_orig
=$ac_useropt
937 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=no
;;
947 -docdir |
--docdir |
--docdi |
--doc |
--do)
949 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
952 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
954 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
957 -enable-* |
--enable-*)
958 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959 # Reject names that are not valid shell variable names.
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
961 as_fn_error $?
"invalid feature name: $ac_useropt"
962 ac_useropt_orig
=$ac_useropt
963 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964 case $ac_user_opts in
968 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969 ac_unrecognized_sep
=', ';;
971 eval enable_
$ac_useropt=\
$ac_optarg ;;
973 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
974 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
975 |
--exec |
--exe |
--ex)
976 ac_prev
=exec_prefix
;;
977 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
978 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
979 |
--exec=* |
--exe=* |
--ex=*)
980 exec_prefix
=$ac_optarg ;;
982 -gas |
--gas |
--ga |
--g)
983 # Obsolete; use --with-gas.
986 -help |
--help |
--hel |
--he |
-h)
988 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
989 ac_init_help
=recursive
;;
990 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
991 ac_init_help
=short
;;
993 -host |
--host |
--hos |
--ho)
994 ac_prev
=host_alias
;;
995 -host=* |
--host=* |
--hos=* |
--ho=*)
996 host_alias
=$ac_optarg ;;
998 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1000 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1002 htmldir
=$ac_optarg ;;
1004 -includedir |
--includedir |
--includedi |
--included |
--include \
1005 |
--includ |
--inclu |
--incl |
--inc)
1006 ac_prev
=includedir
;;
1007 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1008 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1009 includedir
=$ac_optarg ;;
1011 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1013 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1014 infodir
=$ac_optarg ;;
1016 -libdir |
--libdir |
--libdi |
--libd)
1018 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1019 libdir
=$ac_optarg ;;
1021 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1022 |
--libexe |
--libex |
--libe)
1023 ac_prev
=libexecdir
;;
1024 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1025 |
--libexe=* |
--libex=* |
--libe=*)
1026 libexecdir
=$ac_optarg ;;
1028 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1029 ac_prev
=localedir
;;
1030 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1031 localedir
=$ac_optarg ;;
1033 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1034 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1035 ac_prev
=localstatedir
;;
1036 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1037 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1038 localstatedir
=$ac_optarg ;;
1040 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1042 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1043 mandir
=$ac_optarg ;;
1045 -nfp |
--nfp |
--nf)
1046 # Obsolete; use --without-fp.
1049 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1050 |
--no-cr |
--no-c |
-n)
1053 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1054 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1057 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1058 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1059 |
--oldin |
--oldi |
--old |
--ol |
--o)
1060 ac_prev
=oldincludedir
;;
1061 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1062 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1063 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1064 oldincludedir
=$ac_optarg ;;
1066 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1068 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1069 prefix
=$ac_optarg ;;
1071 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1072 |
--program-pre |
--program-pr |
--program-p)
1073 ac_prev
=program_prefix
;;
1074 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1075 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1076 program_prefix
=$ac_optarg ;;
1078 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1079 |
--program-suf |
--program-su |
--program-s)
1080 ac_prev
=program_suffix
;;
1081 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1082 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1083 program_suffix
=$ac_optarg ;;
1085 -program-transform-name |
--program-transform-name \
1086 |
--program-transform-nam |
--program-transform-na \
1087 |
--program-transform-n |
--program-transform- \
1088 |
--program-transform |
--program-transfor \
1089 |
--program-transfo |
--program-transf \
1090 |
--program-trans |
--program-tran \
1091 |
--progr-tra |
--program-tr |
--program-t)
1092 ac_prev
=program_transform_name
;;
1093 -program-transform-name=* |
--program-transform-name=* \
1094 |
--program-transform-nam=* |
--program-transform-na=* \
1095 |
--program-transform-n=* |
--program-transform-=* \
1096 |
--program-transform=* |
--program-transfor=* \
1097 |
--program-transfo=* |
--program-transf=* \
1098 |
--program-trans=* |
--program-tran=* \
1099 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1100 program_transform_name
=$ac_optarg ;;
1102 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1104 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1105 pdfdir
=$ac_optarg ;;
1107 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1109 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1112 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1113 |
-silent |
--silent |
--silen |
--sile |
--sil)
1116 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1118 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1120 sbindir
=$ac_optarg ;;
1122 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1123 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1124 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1126 ac_prev
=sharedstatedir
;;
1127 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1128 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1129 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1131 sharedstatedir
=$ac_optarg ;;
1133 -site |
--site |
--sit)
1135 -site=* |
--site=* |
--sit=*)
1138 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1140 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1141 srcdir
=$ac_optarg ;;
1143 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1144 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1145 ac_prev
=sysconfdir
;;
1146 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1147 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1148 sysconfdir
=$ac_optarg ;;
1150 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1151 ac_prev
=target_alias
;;
1152 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1153 target_alias
=$ac_optarg ;;
1155 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1158 -version |
--version |
--versio |
--versi |
--vers |
-V)
1159 ac_init_version
=: ;;
1162 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1165 as_fn_error $?
"invalid package name: $ac_useropt"
1166 ac_useropt_orig
=$ac_useropt
1167 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168 case $ac_user_opts in
1172 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1173 ac_unrecognized_sep
=', ';;
1175 eval with_
$ac_useropt=\
$ac_optarg ;;
1177 -without-* |
--without-*)
1178 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1181 as_fn_error $?
"invalid package name: $ac_useropt"
1182 ac_useropt_orig
=$ac_useropt
1183 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1189 ac_unrecognized_sep
=', ';;
1191 eval with_
$ac_useropt=no
;;
1194 # Obsolete; use --with-x.
1197 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1198 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1199 ac_prev
=x_includes
;;
1200 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1201 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1202 x_includes
=$ac_optarg ;;
1204 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1205 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1206 ac_prev
=x_libraries
;;
1207 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1208 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1209 x_libraries
=$ac_optarg ;;
1211 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1212 Try \`$0 --help' for more information"
1216 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1217 # Reject names that are not valid shell variable names.
1218 case $ac_envvar in #(
1219 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1220 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1222 eval $ac_envvar=\
$ac_optarg
1223 export $ac_envvar ;;
1226 # FIXME: should be removed in autoconf 3.0.
1227 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1228 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1229 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1230 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236 if test -n "$ac_prev"; then
1237 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1238 as_fn_error $?
"missing argument to $ac_option"
1241 if test -n "$ac_unrecognized_opts"; then
1242 case $enable_option_checking in
1244 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1245 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249 # Check all directory arguments for consistency.
1250 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1251 datadir sysconfdir sharedstatedir localstatedir includedir \
1252 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1253 libdir localedir mandir
1255 eval ac_val
=\$
$ac_var
1256 # Remove trailing slashes.
1259 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1260 eval $ac_var=\
$ac_val;;
1262 # Be sure to have absolute directory names.
1264 [\\/$
]* | ?
:[\\/]* ) continue;;
1265 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1267 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1270 # There might be people who depend on the old broken behavior: `$host'
1271 # used to hold the argument of --host etc.
1272 # FIXME: To remove some day.
1275 target
=$target_alias
1277 # FIXME: To remove some day.
1278 if test "x$host_alias" != x
; then
1279 if test "x$build_alias" = x
; then
1280 cross_compiling
=maybe
1281 elif test "x$build_alias" != "x$host_alias"; then
1287 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1289 test "$silent" = yes && exec 6>/dev
/null
1292 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1293 ac_ls_di
=`ls -di .` &&
1294 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1295 as_fn_error $?
"working directory cannot be determined"
1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297 as_fn_error $?
"pwd does not report name of working directory"
1300 # Find the source files, if location was not specified.
1301 if test -z "$srcdir"; then
1302 ac_srcdir_defaulted
=yes
1303 # Try the directory containing this script, then the parent directory.
1304 ac_confdir
=`$as_dirname -- "$as_myself" ||
1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306 X"$as_myself" : 'X\(//\)[^/]' \| \
1307 X"$as_myself" : 'X\(//\)$' \| \
1308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1309 $as_echo X"$as_myself" |
1310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1332 ac_srcdir_defaulted
=no
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1335 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1336 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1338 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1340 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1342 # When building in place, set srcdir=.
1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346 # Remove unnecessary trailing slashes from srcdir.
1347 # Double slashes in file names in object file debugging info
1348 # mess up M-x gdb in Emacs.
1350 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1352 for ac_var
in $ac_precious_vars; do
1353 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1354 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1355 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1356 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1360 # Report the --help message.
1362 if test "$ac_init_help" = "long"; then
1363 # Omit some internal or obsolete options to make the list less imposing.
1364 # This message is too long to be a string in the A/UX 3.1 sh.
1366 \`configure' configures GNU TM Runtime Library 1.0 to adapt to many kinds of systems.
1368 Usage: $0 [OPTION]... [VAR=VALUE]...
1370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1371 VAR=VALUE. See below for descriptions of some of the useful variables.
1373 Defaults for the options are specified in brackets.
1376 -h, --help display this help and exit
1377 --help=short display options specific to this package
1378 --help=recursive display the short help of all the included packages
1379 -V, --version display version information and exit
1380 -q, --quiet, --silent do not print \`checking ...' messages
1381 --cache-file=FILE cache test results in FILE [disabled]
1382 -C, --config-cache alias for \`--cache-file=config.cache'
1383 -n, --no-create do not create output files
1384 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1386 Installation directories:
1387 --prefix=PREFIX install architecture-independent files in PREFIX
1388 [$ac_default_prefix]
1389 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1392 By default, \`make install' will install all the files in
1393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1395 for instance \`--prefix=\$HOME'.
1397 For better control, use the options below.
1399 Fine tuning of the installation directories:
1400 --bindir=DIR user executables [EPREFIX/bin]
1401 --sbindir=DIR system admin executables [EPREFIX/sbin]
1402 --libexecdir=DIR program executables [EPREFIX/libexec]
1403 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1404 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1405 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1406 --libdir=DIR object code libraries [EPREFIX/lib]
1407 --includedir=DIR C header files [PREFIX/include]
1408 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1409 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1410 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1411 --infodir=DIR info documentation [DATAROOTDIR/info]
1412 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1413 --mandir=DIR man documentation [DATAROOTDIR/man]
1414 --docdir=DIR documentation root [DATAROOTDIR/doc/libitm]
1415 --htmldir=DIR html documentation [DOCDIR]
1416 --dvidir=DIR dvi documentation [DOCDIR]
1417 --pdfdir=DIR pdf documentation [DOCDIR]
1418 --psdir=DIR ps documentation [DOCDIR]
1424 --program-prefix=PREFIX prepend PREFIX to installed program names
1425 --program-suffix=SUFFIX append SUFFIX to installed program names
1426 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1429 --build=BUILD configure
for building on BUILD
[guessed
]
1430 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1431 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1435 if test -n "$ac_init_help"; then
1436 case $ac_init_help in
1437 short | recursive
) echo "Configuration of GNU TM Runtime Library 1.0:";;
1442 --disable-option-checking ignore unrecognized
--enable/--with options
1443 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1444 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1445 --enable-version-specific-runtime-libs
1446 Specify that runtime libraries should be installed
1447 in a compiler-specific directory
[default
=no
]
1448 --enable-generated-files-in-srcdir
1449 put copies of generated files
in source dir intended
1450 for creating
source tarballs
for users without
1451 texinfo bison or flex.
[default
=no
]
1452 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1453 --disable-silent-rules verbose build output
(undo
: "make V=0")
1454 --enable-multilib build many library versions
(default
)
1455 --enable-dependency-tracking
1456 do not reject slow dependency extractors
1457 --disable-dependency-tracking
1458 speeds up one-time build
1459 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1460 --enable-static[=PKGS
] build static libraries
[default
=yes]
1461 --enable-fast-install[=PKGS
]
1462 optimize
for fast installation
[default
=yes]
1463 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1464 --enable-maintainer-mode
1465 enable make rules and dependencies not useful
(and
1466 sometimes confusing
) to the casual installer
1467 --enable-linux-futex use the Linux futex system call
[default
=default
]
1468 --enable-tls Use thread-local storage
[default
=yes]
1469 --enable-symvers=STYLE enables symbol versioning of the shared library
1471 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1474 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1475 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1476 --with-toolexeclibdir=DIR
1477 install libraries built with a cross compiler within
1479 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1481 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1482 --with-gcc-major-version-only
1483 use only GCC major number
in filesystem paths
1485 Some influential environment variables
:
1486 CC C compiler
command
1487 CFLAGS C compiler flags
1488 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1489 nonstandard directory
<lib dir
>
1490 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1491 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1492 you have headers
in a nonstandard directory
<include dir
>
1493 CXX C
++ compiler
command
1494 CXXFLAGS C
++ compiler flags
1495 CCAS assembler compiler
command (defaults to CC
)
1496 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1498 CXXCPP C
++ preprocessor
1500 Use these variables to override the choices made by
`configure' or to help
1501 it to find libraries and programs with nonstandard names/locations.
1503 Report bugs to the package provider.
1504 GNU TM Runtime Library home page: <http://www.gnu.org/software/libitm/>.
1505 General help using GNU software: <http://www.gnu.org/gethelp/>.
1510 if test "$ac_init_help" = "recursive"; then
1511 # If there are subdirs, report their specific --help.
1512 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1513 test -d "$ac_dir" ||
1514 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1522 # A ".." for each directory in $ac_dir_suffix.
1523 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1524 case $ac_top_builddir_sub in
1525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1529 ac_abs_top_builddir=$ac_pwd
1530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531 # for backward compatibility:
1532 ac_top_builddir=$ac_top_build_prefix
1535 .) # We are building in place.
1537 ac_top_srcdir=$ac_top_builddir_sub
1538 ac_abs_top_srcdir=$ac_pwd ;;
1539 [\\/]* | ?:[\\/]* ) # Absolute name.
1540 ac_srcdir=$srcdir$ac_dir_suffix;
1541 ac_top_srcdir=$srcdir
1542 ac_abs_top_srcdir=$srcdir ;;
1544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545 ac_top_srcdir=$ac_top_build_prefix$srcdir
1546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550 cd "$ac_dir" || { ac_status=$?; continue; }
1551 # Check for guested configure.
1552 if test -f "$ac_srcdir/configure.gnu"; then
1554 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555 elif test -f "$ac_srcdir/configure"; then
1557 $SHELL "$ac_srcdir/configure" --help=recursive
1559 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561 cd "$ac_pwd" || { ac_status=$?; break; }
1565 test -n "$ac_init_help" && exit $ac_status
1566 if $ac_init_version; then
1568 GNU TM Runtime Library configure 1.0
1569 generated by GNU Autoconf 2.69
1571 Copyright (C) 2012 Free Software Foundation, Inc.
1572 This configure script is free software; the Free Software Foundation
1573 gives unlimited permission to copy, distribute and modify it.
1578 ## ------------------------ ##
1579 ## Autoconf initialization. ##
1580 ## ------------------------ ##
1582 # ac_fn_c_try_compile LINENO
1583 # --------------------------
1584 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1585 ac_fn_c_try_compile ()
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 rm -f conftest.$ac_objext
1589 if { { ac_try="$ac_compile"
1591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1592 *) ac_try_echo
=$ac_try;;
1594 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_compile") 2>conftest.err
1598 if test -s conftest.err
; then
1599 grep -v '^ *+' conftest.err
>conftest.er1
1600 cat conftest.er1
>&5
1601 mv -f conftest.er1 conftest.err
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && {
1605 test -z "$ac_c_werror_flag" ||
1606 test ! -s conftest.err
1607 } && test -s conftest.
$ac_objext; then :
1610 $as_echo "$as_me: failed program was:" >&5
1611 sed 's/^/| /' conftest.
$ac_ext >&5
1615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616 as_fn_set_status
$ac_retval
1618 } # ac_fn_c_try_compile
1620 # ac_fn_cxx_try_compile LINENO
1621 # ----------------------------
1622 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1623 ac_fn_cxx_try_compile
()
1625 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1626 rm -f conftest.
$ac_objext
1627 if { { ac_try
="$ac_compile"
1629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_compile") 2>conftest.err
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } && {
1643 test -z "$ac_cxx_werror_flag" ||
1644 test ! -s conftest.err
1645 } && test -s conftest.$ac_objext; then :
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1656 } # ac_fn_cxx_try_compile
1658 # ac_fn_c_try_link LINENO
1659 # -----------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded.
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 rm -f conftest.$ac_objext conftest$ac_exeext
1665 if { { ac_try="$ac_link"
1667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1668 *) ac_try_echo
=$ac_try;;
1670 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_link") 2>conftest.err
1674 if test -s conftest.err
; then
1675 grep -v '^ *+' conftest.err
>conftest.er1
1676 cat conftest.er1
>&5
1677 mv -f conftest.er1 conftest.err
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } && {
1681 test -z "$ac_c_werror_flag" ||
1682 test ! -s conftest.err
1683 } && test -s conftest
$ac_exeext && {
1684 test "$cross_compiling" = yes ||
1685 test -x conftest
$ac_exeext
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.
$ac_ext >&5
1694 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1695 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1696 # interfere with the next link command; also delete a directory that is
1697 # left behind by Apple's compiler. We do this before executing the actions.
1698 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700 as_fn_set_status
$ac_retval
1702 } # ac_fn_c_try_link
1704 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1705 # -------------------------------------------------------
1706 # Tests whether HEADER exists and can be compiled using the include files in
1707 # INCLUDES, setting the cache variable VAR accordingly.
1708 ac_fn_c_check_header_compile
()
1710 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712 $as_echo_n "checking for $2... " >&6; }
1713 if eval \
${$3+:} false
; then :
1714 $as_echo_n "(cached) " >&6
1716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1717 /* end confdefs.h. */
1721 if ac_fn_c_try_compile
"$LINENO"; then :
1726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1730 $as_echo "$ac_res" >&6; }
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 } # ac_fn_c_check_header_compile
1735 # ac_fn_c_try_cpp LINENO
1736 # ----------------------
1737 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1740 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1741 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1744 *) ac_try_echo=$ac_try;;
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1750 if test -s conftest.err; then
1751 grep -v '^ *+' conftest.err >conftest.er1
1752 cat conftest.er1 >&5
1753 mv -f conftest.er1 conftest.err
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } > conftest.i && {
1757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1758 test ! -s conftest.err
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.$ac_ext >&5
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 as_fn_set_status $ac_retval
1772 # ac_fn_c_try_run LINENO
1773 # ----------------------
1774 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1775 # that executables *can* be run.
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 if { { ac_try="$ac_link"
1781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1782 *) ac_try_echo
=$ac_try;;
1784 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 $as_echo "$ac_try_echo"; } >&5
1786 (eval "$ac_link") 2>&5
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1790 { { case "(($ac_try" in
1791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_try") 2>&5
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; }; }; then :
1802 $as_echo "$as_me: program exited with status $ac_status" >&5
1803 $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.$ac_ext >&5
1806 ac_retval=$ac_status
1808 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810 as_fn_set_status $ac_retval
1814 # ac_fn_c_check_func LINENO FUNC VAR
1815 # ----------------------------------
1816 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1817 ac_fn_c_check_func ()
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1821 $as_echo_n "checking for $2... " >&6; }
1822 if eval \${$3+:} false; then :
1823 $as_echo_n "(cached) " >&6
1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h. */
1827 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1829 #define $2 innocuous_$2
1831 /* System header to define __stub macros and hopefully few prototypes,
1832 which can conflict with char $2 (); below.
1833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1834 <limits.h> exists even on freestanding compilers. */
1837 # include <limits.h>
1839 # include <assert.h>
1844 /* Override any GCC internal prototype to avoid an error.
1845 Use char because int might match the return type of a GCC
1846 builtin and then its argument prototype would still apply. */
1851 /* The GNU C library defines this for functions which it implements
1852 to always fail with ENOSYS. Some functions are actually named
1853 something starting with __ and the normal name is an alias. */
1854 #if defined __stub_$2 || defined __stub___$2
1866 if ac_fn_c_try_link "$LINENO"; then :
1871 rm -f core conftest.err conftest.$ac_objext \
1872 conftest$ac_exeext conftest.$ac_ext
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 } # ac_fn_c_check_func
1881 # ac_fn_cxx_try_cpp LINENO
1882 # ------------------------
1883 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1884 ac_fn_cxx_try_cpp ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 if { { ac_try="$ac_cpp conftest.$ac_ext"
1889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1890 *) ac_try_echo
=$ac_try;;
1892 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1896 if test -s conftest.err
; then
1897 grep -v '^ *+' conftest.err
>conftest.er1
1898 cat conftest.er1
>&5
1899 mv -f conftest.er1 conftest.err
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } > conftest.i
&& {
1903 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1904 test ! -s conftest.err
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.
$ac_ext >&5
1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914 as_fn_set_status
$ac_retval
1916 } # ac_fn_cxx_try_cpp
1918 # ac_fn_cxx_try_link LINENO
1919 # -------------------------
1920 # Try to link conftest.$ac_ext, and return whether this succeeded.
1921 ac_fn_cxx_try_link
()
1923 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1924 rm -f conftest.
$ac_objext conftest
$ac_exeext
1925 if { { ac_try
="$ac_link"
1927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1928 *) ac_try_echo=$ac_try;;
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_link") 2>conftest.err
1934 if test -s conftest.err; then
1935 grep -v '^ *+' conftest.err >conftest.er1
1936 cat conftest.er1 >&5
1937 mv -f conftest.er1 conftest.err
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; } && {
1941 test -z "$ac_cxx_werror_flag" ||
1942 test ! -s conftest.err
1943 } && test -s conftest$ac_exeext && {
1944 test "$cross_compiling" = yes ||
1945 test -x conftest$ac_exeext
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.$ac_ext >&5
1954 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1955 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1956 # interfere with the next link command; also delete a directory that is
1957 # left behind by Apple's compiler. We do this before executing the actions.
1958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960 as_fn_set_status $ac_retval
1962 } # ac_fn_cxx_try_link
1964 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1965 # -------------------------------------------------------
1966 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1967 # the include files in INCLUDES and setting the cache variable VAR
1969 ac_fn_c_check_header_mongrel ()
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 if eval \${$3+:} false; then :
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1974 $as_echo_n "checking for $2... " >&6; }
1975 if eval \${$3+:} false; then :
1976 $as_echo_n "(cached) " >&6
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980 $as_echo "$ac_res" >&6; }
1982 # Is the header compilable?
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1984 $as_echo_n "checking $2 usability... " >&6; }
1985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1990 if ac_fn_c_try_compile "$LINENO"; then :
1991 ac_header_compiler=yes
1993 ac_header_compiler=no
1995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1997 $as_echo "$ac_header_compiler" >&6; }
1999 # Is the header present?
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2001 $as_echo_n "checking $2 presence... " >&6; }
2002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2006 if ac_fn_c_try_cpp "$LINENO"; then :
2007 ac_header_preproc=yes
2009 ac_header_preproc=no
2011 rm -f conftest.err conftest.i conftest.$ac_ext
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2013 $as_echo "$ac_header_preproc" >&6; }
2015 # So? What about this header?
2016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2019 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2021 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2025 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2027 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2029 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2031 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2033 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2037 $as_echo_n "checking for $2... " >&6; }
2038 if eval \${$3+:} false; then :
2039 $as_echo_n "(cached) " >&6
2041 eval "$3=\$ac_header_compiler"
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2045 $as_echo "$ac_res" >&6; }
2047 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2049 } # ac_fn_c_check_header_mongrel
2051 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2052 # -------------------------------------------
2053 # Tests whether TYPE exists after having included INCLUDES, setting cache
2054 # variable VAR accordingly.
2055 ac_fn_c_check_type ()
2057 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2059 $as_echo_n "checking for $2... " >&6; }
2060 if eval \${$3+:} false; then :
2061 $as_echo_n "(cached) " >&6
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2076 if ac_fn_c_try_compile "$LINENO"; then :
2077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2089 if ac_fn_c_try_compile "$LINENO"; then :
2094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2100 $as_echo "$ac_res" >&6; }
2101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103 } # ac_fn_c_check_type
2105 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2106 # --------------------------------------------
2107 # Tries to find the compile-time value of EXPR in a program that includes
2108 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2110 ac_fn_c_compute_int ()
2112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113 if test "$cross_compiling" = yes; then
2114 # Depending upon the size, compute the lo and hi bounds.
2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2116 /* end confdefs.h. */
2121 static int test_array [1 - 2 * !(($2) >= 0)];
2123 return test_array [0];
2129 if ac_fn_c_try_compile "$LINENO"; then :
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2138 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2140 return test_array [0];
2146 if ac_fn_c_try_compile "$LINENO"; then :
2147 ac_hi=$ac_mid; break
2149 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2150 if test $ac_lo -le $ac_mid; then
2154 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2165 static int test_array [1 - 2 * !(($2) < 0)];
2167 return test_array [0];
2173 if ac_fn_c_try_compile "$LINENO"; then :
2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2177 /* end confdefs.h. */
2182 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2184 return test_array [0];
2190 if ac_fn_c_try_compile "$LINENO"; then :
2191 ac_lo=$ac_mid; break
2193 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2194 if test $ac_mid -le $ac_hi; then
2198 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 # Binary search between lo and hi bounds.
2209 while test "x$ac_lo" != "x$ac_hi"; do
2210 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h. */
2217 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2219 return test_array [0];
2225 if ac_fn_c_try_compile "$LINENO"; then :
2228 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2233 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2238 /* end confdefs.h. */
2240 static long int longval () { return $2; }
2241 static unsigned long int ulongval () { return $2; }
2248 FILE *f = fopen ("conftest.val", "w");
2253 long int i = longval ();
2256 fprintf (f, "%ld", i);
2260 unsigned long int i = ulongval ();
2263 fprintf (f, "%lu", i);
2265 /* Do not output a trailing newline, as this causes \r\n confusion
2266 on some platforms. */
2267 return ferror (f) || fclose (f) != 0;
2273 if ac_fn_c_try_run "$LINENO"; then :
2274 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2279 conftest.$ac_objext conftest.beam conftest.$ac_ext
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2284 as_fn_set_status $ac_retval
2286 } # ac_fn_c_compute_int
2288 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2289 # ---------------------------------------------
2290 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2292 ac_fn_c_check_decl ()
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2296 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2298 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2299 if eval \${$3+:} false; then :
2300 $as_echo_n "(cached) " >&6
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2308 #ifndef $as_decl_name
2310 (void) $as_decl_use;
2312 (void) $as_decl_name;
2320 if ac_fn_c_try_compile "$LINENO"; then :
2325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2329 $as_echo "$ac_res" >&6; }
2330 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2332 } # ac_fn_c_check_decl
2333 cat >config.log <<_ACEOF
2334 This file contains any messages produced by compilers while
2335 running configure, to aid debugging if configure makes a mistake.
2337 It was created by GNU TM Runtime Library $as_me 1.0, which was
2338 generated by GNU Autoconf 2.69. Invocation command line was
2350 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2351 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2352 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2353 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2354 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2356 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2357 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2359 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2360 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2361 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2362 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2363 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2364 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2365 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir=.
2374 $as_echo "PATH: $as_dir"
2390 # Keep a trace of the command line.
2391 # Strip out --no-create and --no-recursion so they do not pile up.
2392 # Strip out --silent because we don't want to record it for future runs.
2393 # Also quote any args containing shell meta-characters.
2394 # Make two passes to allow for proper duplicate-argument suppression.
2398 ac_must_keep_next=false
2404 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2405 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2406 | -silent | --silent | --silen | --sile | --sil)
2409 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2412 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2414 as_fn_append ac_configure_args1 " '$ac_arg'"
2415 if test $ac_must_keep_next = true; then
2416 ac_must_keep_next=false # Got value, back to normal.
2419 *=* | --config-cache | -C | -disable-* | --disable-* \
2420 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2421 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2422 | -with-* | --with-* | -without-* | --without-* | --x)
2423 case "$ac_configure_args0 " in
2424 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2427 -* ) ac_must_keep_next=true ;;
2430 as_fn_append ac_configure_args " '$ac_arg'"
2435 { ac_configure_args0=; unset ac_configure_args0;}
2436 { ac_configure_args1=; unset ac_configure_args1;}
2438 # When interrupted or exit'd, cleanup temporary files, and complete
2439 # config.log. We remove comments because anyway the quotes in there
2440 # would cause problems or look ugly.
2441 # WARNING: Use '\'' to represent an apostrophe within the trap.
2442 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2443 trap 'exit_status=$?
2444 # Save into config.log some information that might help in debugging.
2448 $as_echo "## ---------------- ##
2449 ## Cache variables. ##
2450 ## ---------------- ##"
2452 # The following way of writing the cache mishandles newlines in values,
2454 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2455 eval ac_val=\$$ac_var
2459 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2460 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2463 _ | IFS | as_nl) ;; #(
2464 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2465 *) { eval $ac_var=; unset $ac_var;} ;;
2470 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2471 *${as_nl}ac_space=\ *)
2473 "s/'\''/'\''\\\\'\'''\''/g;
2474 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2477 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2484 $as_echo "## ----------------- ##
2485 ## Output variables. ##
2486 ## ----------------- ##"
2488 for ac_var in $ac_subst_vars
2490 eval ac_val=\$$ac_var
2492 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2494 $as_echo "$ac_var='\''$ac_val'\''"
2498 if test -n "$ac_subst_files"; then
2499 $as_echo "## ------------------- ##
2500 ## File substitutions. ##
2501 ## ------------------- ##"
2503 for ac_var in $ac_subst_files
2505 eval ac_val=\$$ac_var
2507 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2509 $as_echo "$ac_var='\''$ac_val'\''"
2514 if test -s confdefs.h; then
2515 $as_echo "## ----------- ##
2522 test "$ac_signal" != 0 &&
2523 $as_echo "$as_me: caught signal $ac_signal"
2524 $as_echo "$as_me: exit $exit_status"
2526 rm -f core *.core core.conftest.* &&
2527 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2530 for ac_signal in 1 2 13 15; do
2531 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2535 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2536 rm -f -r conftest* confdefs.h
2538 $as_echo "/* confdefs.h */" > confdefs.h
2540 # Predefined preprocessor variables.
2542 cat >>confdefs.h <<_ACEOF
2543 #define PACKAGE_NAME "$PACKAGE_NAME"
2546 cat >>confdefs.h <<_ACEOF
2547 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2550 cat >>confdefs.h <<_ACEOF
2551 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2554 cat >>confdefs.h <<_ACEOF
2555 #define PACKAGE_STRING "$PACKAGE_STRING"
2558 cat >>confdefs.h <<_ACEOF
2559 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2562 cat >>confdefs.h <<_ACEOF
2563 #define PACKAGE_URL "$PACKAGE_URL"
2567 # Let the site file select an alternate cache file if it wants to.
2568 # Prefer an explicitly selected file to automatically selected ones.
2571 if test -n "$CONFIG_SITE"; then
2572 # We do not want a PATH search for config.site.
2573 case $CONFIG_SITE in #((
2574 -*) ac_site_file1=./$CONFIG_SITE;;
2575 */*) ac_site_file1=$CONFIG_SITE;;
2576 *) ac_site_file1=./$CONFIG_SITE;;
2578 elif test "x$prefix" != xNONE; then
2579 ac_site_file1=$prefix/share/config.site
2580 ac_site_file2=$prefix/etc/config.site
2582 ac_site_file1=$ac_default_prefix/share/config.site
2583 ac_site_file2=$ac_default_prefix/etc/config.site
2585 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2587 test "x$ac_site_file" = xNONE && continue
2588 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2590 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2591 sed 's/^/| /' "$ac_site_file" >&5
2593 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2595 as_fn_error $? "failed to load site
script $ac_site_file
2596 See \
`config.log' for more details" "$LINENO" 5; }
2600 if test -r "$cache_file"; then
2601 # Some versions of bash will fail to source /dev/null (special files
2602 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2603 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2605 $as_echo "$as_me: loading cache $cache_file" >&6;}
2607 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2608 *) . "./$cache_file";;
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2613 $as_echo "$as_me: creating cache $cache_file" >&6;}
2617 # Check that the precious variables saved in the cache have kept the same
2619 ac_cache_corrupted=false
2620 for ac_var in $ac_precious_vars; do
2621 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2622 eval ac_new_set=\$ac_env_${ac_var}_set
2623 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2624 eval ac_new_val=\$ac_env_${ac_var}_value
2625 case $ac_old_set,$ac_new_set in
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2628 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2629 ac_cache_corrupted=: ;;
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2632 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2633 ac_cache_corrupted=: ;;
2636 if test "x$ac_old_val" != "x$ac_new_val"; then
2637 # differences in whitespace do not lead to failure.
2638 ac_old_val_w=`echo x
$ac_old_val`
2639 ac_new_val_w=`echo x
$ac_new_val`
2640 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2642 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2643 ac_cache_corrupted=:
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2646 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2647 eval $ac_var=\$ac_old_val
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2650 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2652 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2655 # Pass precious variables to config.status.
2656 if test "$ac_new_set" = set; then
2658 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2659 *) ac_arg=$ac_var=$ac_new_val ;;
2661 case " $ac_configure_args " in
2662 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2663 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2667 if $ac_cache_corrupted; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2671 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2672 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2674 ## -------------------- ##
2675 ## Main body of script. ##
2676 ## -------------------- ##
2679 ac_cpp='$CPP $CPPFLAGS'
2680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2688 ac_config_headers="$ac_config_headers config.h"
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2696 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2697 # Check whether --enable-version-specific-runtime-libs was given.
2698 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2699 enableval=$enable_version_specific_runtime_libs;
2700 case "$enableval" in
2702 *) as_fn_error $? "Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2706 enable_version_specific_runtime_libs=no
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2711 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2713 # We would like our source tree to be readonly. However when releases or
2714 # pre-releases are generated, the flex/bison generated files as well as the
2715 # various formats of manuals need to be included along with the rest of the
2716 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2719 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2720 # Check whether --enable-generated-files-in-srcdir was given.
2721 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2722 enableval=$enable_generated_files_in_srcdir;
2723 case "$enableval" in
2725 *) as_fn_error $? "Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2729 enable_generated_files_in_srcdir=no
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2734 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2735 if test "$enable_generated_files_in_srcdir" = yes; then
2748 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2750 # You will slowly go insane if you do not grok the following fact: when
2751 # building this library, the top-level /target/ becomes the library's /host/.
2753 # configure then causes --target to default to --host, exactly like any
2754 # other package using autoconf. Therefore, 'target' and 'host' will
2755 # always be the same. This makes sense both for native and cross compilers
2756 # just think about it for a little while. :-)
2758 # Also, if this library is being configured as part of a cross compiler, the
2759 # top-level configure script will pass the "real" host as $with_cross_host.
2761 # Do not delete or change the following two lines. For why, see
2762 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2764 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2765 if test -f "$ac_dir/install-sh"; then
2767 ac_install_sh="$ac_aux_dir/install-sh -c"
2769 elif test -f "$ac_dir/install.sh"; then
2771 ac_install_sh="$ac_aux_dir/install.sh -c"
2773 elif test -f "$ac_dir/shtool"; then
2775 ac_install_sh="$ac_aux_dir/shtool install -c"
2779 if test -z "$ac_aux_dir"; then
2780 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2783 # These three variables are undocumented and unsupported,
2784 # and are intended to be withdrawn in a future Autoconf release.
2785 # They can cause serious problems if a builder's source tree is in a directory
2786 # whose full name contains unusual characters.
2787 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2788 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2789 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2792 # Make sure we can run config.sub.
2793 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2794 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2797 $as_echo_n "checking build system type... " >&6; }
2798 if ${ac_cv_build+:} false; then :
2799 $as_echo_n "(cached) " >&6
2801 ac_build_alias=$build_alias
2802 test "x$ac_build_alias" = x &&
2803 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2804 test "x$ac_build_alias" = x &&
2805 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2806 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2807 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2811 $as_echo "$ac_cv_build" >&6; }
2812 case $ac_cv_build in
2814 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2817 ac_save_IFS=$IFS; IFS='-'
2823 # Remember, the first character of IFS is used to create $*,
2824 # except with old shells:
2827 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2831 $as_echo_n "checking host system type... " >&6; }
2832 if ${ac_cv_host+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 if test "x$host_alias" = x; then
2836 ac_cv_host=$ac_cv_build
2838 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2839 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2844 $as_echo "$ac_cv_host" >&6; }
2847 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2850 ac_save_IFS=$IFS; IFS='-'
2856 # Remember, the first character of IFS is used to create $*,
2857 # except with old shells:
2860 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2864 $as_echo_n "checking target system type... " >&6; }
2865 if ${ac_cv_target+:} false; then :
2866 $as_echo_n "(cached) " >&6
2868 if test "x$target_alias" = x; then
2869 ac_cv_target=$ac_cv_host
2871 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2872 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2877 $as_echo "$ac_cv_target" >&6; }
2878 case $ac_cv_target in
2880 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2882 target=$ac_cv_target
2883 ac_save_IFS=$IFS; IFS='-'
2889 # Remember, the first character of IFS is used to create $*,
2890 # except with old shells:
2893 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2896 # The aliases save the names the user supplied, while $host etc.
2897 # will get canonicalized.
2898 test -n "$target_alias" &&
2899 test "$program_prefix$program_suffix$program_transform_name" = \
2901 program_prefix=${target_alias}-
2903 target_alias=${target_alias-$host_alias}
2905 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2906 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2907 # 1.9.0: minimum required version
2908 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2909 # of other PACKAGE_* variables will, however, and there's nothing
2910 # we can do about that; they come from AC_INIT).
2911 # no-dist: we don't want 'dist' and related rules.
2912 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2913 # file in the top srcdir, etc, etc), so stop complaining.
2914 # -Wall: turns on all automake warnings...
2915 # -Wno-portability: ...except this one, since GNU make is required.
2916 # -Wno-override: ... and this one, since we do want this in testsuite.
2917 am__api_version='1.15'
2919 # Find a good install program. We prefer a C program (faster),
2920 # so one script is as good as another. But avoid the broken or
2921 # incompatible versions:
2922 # SysV /etc/install, /usr/sbin/install
2923 # SunOS /usr/etc/install
2924 # IRIX /sbin/install
2926 # AmigaOS /C/install, which installs bootblocks on floppy discs
2927 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2928 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2929 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2930 # OS/2's system install, which has a completely different semantic
2931 # ./install, which can be erroneously created by make from ./install.sh.
2932 # Reject install programs that cannot install multiple files.
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2934 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2935 if test -z "$INSTALL"; then
2936 if ${ac_cv_path_install+:} false; then :
2937 $as_echo_n "(cached) " >&6
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 # Account for people who put trailing slashes in PATH elements.
2945 case $as_dir/ in #((
2946 ./ | .// | /[cC]/* | \
2947 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2948 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2951 # OSF1 and SCO ODT 3.0 have their own names for install.
2952 # Don't use installbsd from OSF since it installs stuff as root
2954 for ac_prog in ginstall scoinst install; do
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2957 if test $ac_prog = install &&
2958 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2959 # AIX install. It has an incompatible calling convention.
2961 elif test $ac_prog = install &&
2962 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2963 # program-specific install script used by HP pwplus--don't use.
2966 rm -rf conftest.one conftest.two conftest.dir
2967 echo one > conftest.one
2968 echo two > conftest.two
2970 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2971 test -s conftest.one && test -s conftest.two &&
2972 test -s conftest.dir/conftest.one &&
2973 test -s conftest.dir/conftest.two
2975 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2988 rm -rf conftest.one conftest.two conftest.dir
2991 if test "${ac_cv_path_install+set}" = set; then
2992 INSTALL=$ac_cv_path_install
2994 # As a last resort, use the slow shell script. Don't cache a
2995 # value for INSTALL within a source directory, because that will
2996 # break other packages using the cache if that directory is
2997 # removed, or if the value is a relative name.
2998 INSTALL=$ac_install_sh
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3002 $as_echo "$INSTALL" >&6; }
3004 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3005 # It thinks the first close brace ends the variable substitution.
3006 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3008 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3010 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3013 $as_echo_n "checking whether build environment is sane... " >&6; }
3014 # Reject unsafe characters in $srcdir or the absolute working directory
3015 # name. Accept space and tab only in the latter.
3019 *[\\\"\#\$\&\'\`$am_lf]*)
3020 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3023 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3024 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3027 # Do 'set' in a subshell so we don't clobber the current shell's
3028 # arguments. Must try -L first in case configure is actually a
3029 # symlink; some systems play weird games with the mod time of symlinks
3030 # (eg FreeBSD returns the mod time of the symlink's containing
3034 for am_try
in 1 2; do
3035 echo "timestamp, slept: $am_has_slept" > conftest.
file
3036 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3037 if test "$*" = "X"; then
3039 set X
`ls -t "$srcdir/configure" conftest.file`
3041 if test "$*" != "X $srcdir/configure conftest.file" \
3042 && test "$*" != "X conftest.file $srcdir/configure"; then
3044 # If neither matched, then we have a broken ls. This can happen
3045 # if, for instance, CONFIG_SHELL is bash and it inherits a
3046 # broken ls alias from the environment. This has actually
3047 # happened. Such a system could not be considered "sane".
3048 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3049 alias in your environment" "$LINENO" 5
3051 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3058 test "$2" = conftest.
file
3064 as_fn_error $?
"newly created file is older than distributed files!
3065 Check your system clock" "$LINENO" 5
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3068 $as_echo "yes" >&6; }
3069 # If we didn't sleep, we still need to ensure time stamps of config.status and
3070 # generated files are strictly newer.
3072 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3079 test "$program_prefix" != NONE
&&
3080 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3081 # Use a double $ so make ignores it.
3082 test "$program_suffix" != NONE
&&
3083 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3084 # Double any \ or $.
3085 # By default was `s,x,x', remove it if useless.
3086 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3087 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3089 # Expand $ac_aux_dir to an absolute path.
3090 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3092 if test x
"${MISSING+set}" != xset
; then
3095 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3097 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3100 # Use eval to expand $SHELL
3101 if eval "$MISSING --is-lightweight"; then
3102 am_missing_run
="$MISSING "
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3106 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3109 if test x
"${install_sh+set}" != xset
; then
3112 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3114 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3118 # Installed binaries are usually stripped using 'strip' when the user
3119 # run "make install-strip". However 'strip' might not be the right
3120 # tool to use in cross-compilation environments, therefore Automake
3121 # will honor the 'STRIP' environment variable to overrule this program.
3122 if test "$cross_compiling" != no
; then
3123 if test -n "$ac_tool_prefix"; then
3124 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3125 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if ${ac_cv_prog_STRIP+:} false
; then :
3129 $as_echo_n "(cached) " >&6
3131 if test -n "$STRIP"; then
3132 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3138 test -z "$as_dir" && as_dir
=.
3139 for ac_exec_ext
in '' $ac_executable_extensions; do
3140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3141 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 STRIP
=$ac_cv_prog_STRIP
3152 if test -n "$STRIP"; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3154 $as_echo "$STRIP" >&6; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3157 $as_echo "no" >&6; }
3162 if test -z "$ac_cv_prog_STRIP"; then
3164 # Extract the first word of "strip", so it can be a program name with args.
3165 set dummy strip
; ac_word
=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3169 $as_echo_n "(cached) " >&6
3171 if test -n "$ac_ct_STRIP"; then
3172 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir
=.
3179 for ac_exec_ext
in '' $ac_executable_extensions; do
3180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3181 ac_cv_prog_ac_ct_STRIP
="strip"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3192 if test -n "$ac_ct_STRIP"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3194 $as_echo "$ac_ct_STRIP" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3200 if test "x$ac_ct_STRIP" = x
; then
3203 case $cross_compiling:$ac_tool_warned in
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3207 ac_tool_warned
=yes ;;
3212 STRIP
="$ac_cv_prog_STRIP"
3216 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3219 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3220 if test -z "$MKDIR_P"; then
3221 if ${ac_cv_path_mkdir+:} false
; then :
3222 $as_echo_n "(cached) " >&6
3224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3228 test -z "$as_dir" && as_dir
=.
3229 for ac_prog
in mkdir gmkdir
; do
3230 for ac_exec_ext
in '' $ac_executable_extensions; do
3231 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3232 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3233 'mkdir (GNU coreutils) '* | \
3234 'mkdir (coreutils) '* | \
3235 'mkdir (fileutils) '4.1*)
3236 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3246 test -d .
/--version && rmdir .
/--version
3247 if test "${ac_cv_path_mkdir+set}" = set; then
3248 MKDIR_P
="$ac_cv_path_mkdir -p"
3250 # As a last resort, use the slow shell script. Don't cache a
3251 # value for MKDIR_P within a source directory, because that will
3252 # break other packages using the cache if that directory is
3253 # removed, or if the value is a relative name.
3254 MKDIR_P
="$ac_install_sh -d"
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3258 $as_echo "$MKDIR_P" >&6; }
3260 for ac_prog
in gawk mawk nawk
awk
3262 # Extract the first word of "$ac_prog", so it can be a program name with args.
3263 set dummy
$ac_prog; ac_word
=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_AWK+:} false
; then :
3267 $as_echo_n "(cached) " >&6
3269 if test -n "$AWK"; then
3270 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir
=.
3277 for ac_exec_ext
in '' $ac_executable_extensions; do
3278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_AWK
="$ac_prog"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 if test -n "$AWK"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3292 $as_echo "$AWK" >&6; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3299 test -n "$AWK" && break
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3303 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3305 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3306 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3307 $as_echo_n "(cached) " >&6
3309 cat >conftest.
make <<\_ACEOF
3312 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3314 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3315 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3317 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3319 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3323 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3325 $as_echo "yes" >&6; }
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329 $as_echo "no" >&6; }
3330 SET_MAKE
="MAKE=${MAKE-make}"
3333 rm -rf .tst
2>/dev
/null
3334 mkdir .tst
2>/dev
/null
3335 if test -d .tst
; then
3340 rmdir .tst
2>/dev
/null
3342 # Check whether --enable-silent-rules was given.
3343 if test "${enable_silent_rules+set}" = set; then :
3344 enableval
=$enable_silent_rules;
3347 case $enable_silent_rules in # (((
3348 yes) AM_DEFAULT_VERBOSITY
=0;;
3349 no
) AM_DEFAULT_VERBOSITY
=1;;
3350 *) AM_DEFAULT_VERBOSITY
=1;;
3352 am_make
=${MAKE-make}
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3354 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3355 if ${am_cv_make_support_nested_variables+:} false
; then :
3356 $as_echo_n "(cached) " >&6
3358 if $as_echo 'TRUE=$(BAR$(V))
3364 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3365 am_cv_make_support_nested_variables
=yes
3367 am_cv_make_support_nested_variables
=no
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3371 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3372 if test $am_cv_make_support_nested_variables = yes; then
3374 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3376 AM_V
=$AM_DEFAULT_VERBOSITY
3377 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3381 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3382 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3383 # is not polluted with repeated "-I."
3384 am__isrc
=' -I$(srcdir)'
3385 # test to see if srcdir already configured
3386 if test -f $srcdir/config.status
; then
3387 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3391 # test whether we have cygpath
3392 if test -z "$CYGPATH_W"; then
3393 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3394 CYGPATH_W
='cygpath -w'
3401 # Define the identity of the package.
3406 cat >>confdefs.h
<<_ACEOF
3407 #define PACKAGE "$PACKAGE"
3411 cat >>confdefs.h
<<_ACEOF
3412 #define VERSION "$VERSION"
3415 # Some tools Automake needs.
3417 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3420 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3423 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3426 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3429 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3431 # For better backward compatibility. To be removed once Automake 1.9.x
3432 # dies out for good. For more background, see:
3433 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3434 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3435 mkdir_p
='$(MKDIR_P)'
3437 # We need awk for the "check" target (and possibly the TAP driver). The
3438 # system "awk" is bad on some platforms.
3439 # Always define AMTAR for backward compatibility. Yes, it's still used
3440 # in the wild :-( We should find a proper way to deprecate it ...
3444 # We'll loop over all known methods to create a tar archive until one works.
3445 _am_tools
='gnutar pax cpio none'
3447 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3454 # POSIX will say in a future version that running "rm -f" with no argument
3455 # is OK; and we want to be able to make that assumption in our Makefile
3456 # recipes. So use an aggressive probe to check that the usage we want is
3457 # actually supported "in the wild" to an acceptable degree.
3458 # See automake bug#10828.
3459 # To make any issue more visible, cause the running configure to be aborted
3460 # by default if the 'rm' program in use doesn't match our expectations; the
3461 # user can still override this though.
3462 if rm -f && rm -fr && rm -rf; then : OK
; else
3466 Your 'rm' program seems unable to run without file operands specified
3467 on the command line, even when the '-f' option is present. This is contrary
3468 to the behaviour of most rm programs out there, and not conforming with
3469 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3471 Please tell bug-automake@gnu.org about your system, including the value
3472 of your $PATH and any error possibly output before this message. This
3473 can help us improve future automake versions.
3476 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3477 echo 'Configuration will proceed anyway, since you have set the' >&2
3478 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3482 Aborting the configuration process, to ensure you take notice of the issue.
3484 You can download and install GNU coreutils to get an 'rm' implementation
3485 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3487 If you want to complete the configuration process using your problematic
3488 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3489 to "yes", and re-run configure.
3492 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3496 # Default to --enable-multilib
3497 # Check whether --enable-multilib was given.
3498 if test "${enable_multilib+set}" = set; then :
3499 enableval
=$enable_multilib; case "$enableval" in
3500 yes) multilib
=yes ;;
3502 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3509 # We may get other options which we leave undocumented:
3510 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3511 # See config-ml.in if you want the gory details.
3513 if test "$srcdir" = "."; then
3514 if test "$with_target_subdir" != "."; then
3515 multi_basedir
="$srcdir/$with_multisrctop../.."
3517 multi_basedir
="$srcdir/$with_multisrctop.."
3520 multi_basedir
="$srcdir/.."
3524 # Even if the default multilib is not a cross compilation,
3525 # it may be that some of the other multilibs are.
3526 if test $cross_compiling = no
&& test $multilib = yes \
3527 && test "x${with_multisubdir}" != x
; then
3528 cross_compiling
=maybe
3531 ac_config_commands
="$ac_config_commands default-1"
3535 # Check whether --with-toolexeclibdir was given.
3536 if test "${with_toolexeclibdir+set}" = set; then :
3537 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
3541 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
3545 with_toolexeclibdir
=no
3550 # Calculate toolexeclibdir
3551 # Also toolexecdir, though it's only used in toolexeclibdir
3552 case ${enable_version_specific_runtime_libs} in
3554 # Need the gcc compiler version to know where to install libraries
3555 # and header files if --enable-version-specific-runtime-libs option
3557 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3558 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3561 if test -n "$with_cross_host" &&
3562 test x
"$with_cross_host" != x
"no"; then
3563 # Install a library built with a cross compiler in tooldir, not libdir.
3564 toolexecdir
='$(exec_prefix)/$(target_alias)'
3565 case ${with_toolexeclibdir} in
3567 toolexeclibdir
='$(toolexecdir)/lib'
3570 toolexeclibdir
=${with_toolexeclibdir}
3574 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3575 toolexeclibdir
='$(libdir)'
3577 multi_os_directory
=`$CC -print-multi-os-directory`
3578 case $multi_os_directory in
3579 .
) ;; # Avoid trailing /.
3580 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3587 # Check the compiler.
3588 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3589 # We must force CC to /not/ be precious variables; otherwise
3590 # the wrong, non-multilib-adjusted value will be used in multilibs.
3591 # As a side effect, we have to subst CFLAGS ourselves.
3596 ac_cpp
='$CPP $CPPFLAGS'
3597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3600 if test -n "$ac_tool_prefix"; then
3601 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3602 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_CC+:} false
; then :
3606 $as_echo_n "(cached) " >&6
3608 if test -n "$CC"; then
3609 ac_cv_prog_CC
="$CC" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 if test -n "$CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3631 $as_echo "$CC" >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3639 if test -z "$ac_cv_prog_CC"; then
3641 # Extract the first word of "gcc", so it can be a program name with args.
3642 set dummy gcc
; ac_word
=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3646 $as_echo_n "(cached) " >&6
3648 if test -n "$ac_ct_CC"; then
3649 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3655 test -z "$as_dir" && as_dir
=.
3656 for ac_exec_ext
in '' $ac_executable_extensions; do
3657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3658 ac_cv_prog_ac_ct_CC
="gcc"
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3669 if test -n "$ac_ct_CC"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3671 $as_echo "$ac_ct_CC" >&6; }
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674 $as_echo "no" >&6; }
3677 if test "x$ac_ct_CC" = x
; then
3680 case $cross_compiling:$ac_tool_warned in
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3684 ac_tool_warned
=yes ;;
3692 if test -z "$CC"; then
3693 if test -n "$ac_tool_prefix"; then
3694 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3695 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_CC+:} false
; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$CC"; then
3702 ac_cv_prog_CC
="$CC" # Let the user override the test.
3704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir
=.
3709 for ac_exec_ext
in '' $ac_executable_extensions; do
3710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 if test -n "$CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3724 $as_echo "$CC" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3733 if test -z "$CC"; then
3734 # Extract the first word of "cc", so it can be a program name with args.
3735 set dummy cc
; ac_word
=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if ${ac_cv_prog_CC+:} false
; then :
3739 $as_echo_n "(cached) " >&6
3741 if test -n "$CC"; then
3742 ac_cv_prog_CC
="$CC" # Let the user override the test.
3745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir
=.
3750 for ac_exec_ext
in '' $ac_executable_extensions; do
3751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3752 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3753 ac_prog_rejected
=yes
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 if test $ac_prog_rejected = yes; then
3765 # We found a bogon in the path, so make sure we never use it.
3766 set dummy
$ac_cv_prog_CC
3768 if test $# != 0; then
3769 # We chose a different compiler from the bogus one.
3770 # However, it has the same basename, so the bogon will be chosen
3771 # first if we set CC to just the basename; use the full file name.
3773 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3779 if test -n "$CC"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3781 $as_echo "$CC" >&6; }
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3789 if test -z "$CC"; then
3790 if test -n "$ac_tool_prefix"; then
3791 for ac_prog
in cl.exe
3793 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3794 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if ${ac_cv_prog_CC+:} false
; then :
3798 $as_echo_n "(cached) " >&6
3800 if test -n "$CC"; then
3801 ac_cv_prog_CC
="$CC" # Let the user override the test.
3803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3807 test -z "$as_dir" && as_dir
=.
3808 for ac_exec_ext
in '' $ac_executable_extensions; do
3809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3810 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 if test -n "$CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3823 $as_echo "$CC" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$CC" && break
3833 if test -z "$CC"; then
3835 for ac_prog
in cl.exe
3837 # Extract the first word of "$ac_prog", so it can be a program name with args.
3838 set dummy
$ac_prog; ac_word
=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3842 $as_echo_n "(cached) " >&6
3844 if test -n "$ac_ct_CC"; then
3845 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3851 test -z "$as_dir" && as_dir
=.
3852 for ac_exec_ext
in '' $ac_executable_extensions; do
3853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3854 ac_cv_prog_ac_ct_CC
="$ac_prog"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3865 if test -n "$ac_ct_CC"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3867 $as_echo "$ac_ct_CC" >&6; }
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3874 test -n "$ac_ct_CC" && break
3877 if test "x$ac_ct_CC" = x
; then
3880 case $cross_compiling:$ac_tool_warned in
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3884 ac_tool_warned
=yes ;;
3893 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error $?
"no acceptable C compiler found in \$PATH
3896 See \`config.log' for more details" "$LINENO" 5; }
3898 # Provide some information about the compiler.
3899 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3902 for ac_option
in --version -v -V -qversion; do
3903 { { ac_try
="$ac_compiler $ac_option >&5"
3905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3906 *) ac_try_echo=$ac_try;;
3908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3909 $as_echo "$ac_try_echo"; } >&5
3910 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3912 if test -s conftest.err; then
3914 ... rest of stderr output deleted ...
3915 10q' conftest.err >conftest.er1
3916 cat conftest.er1 >&5
3918 rm -f conftest.er1 conftest.err
3919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3920 test $ac_status = 0; }
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3934 ac_clean_files_save=$ac_clean_files
3935 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3936 # Try to create an executable without -o first, disregard a.out.
3937 # It will help us diagnose broken compilers, and finding out an intuition
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3940 $as_echo_n "checking whether the C compiler works... " >&6; }
3941 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3943 # The possible output files:
3944 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3947 for ac_file in $ac_files
3950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3951 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3956 if { { ac_try="$ac_link_default"
3958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3959 *) ac_try_echo
=$ac_try;;
3961 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963 (eval "$ac_link_default") 2>&5
3965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3966 test $ac_status = 0; }; then :
3967 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3968 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3969 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3970 # so that the user can short-circuit this test for compilers unknown to
3972 for ac_file
in $ac_files ''
3974 test -f "$ac_file" ||
continue
3976 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3979 # We found the default executable, but exeext='' is most
3983 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3985 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3987 # We set ac_cv_exeext here because the later test for it is not
3988 # safe: cross compilers may not add the suffix if given an `-o'
3989 # argument, so we may need to know it at that point already.
3990 # Even if this section looks crufty: it has the advantage of
3997 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4002 if test -z "$ac_file"; then :
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4005 $as_echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.
$ac_ext >&5
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error
77 "C compiler cannot create executables
4011 See \`config.log' for more details" "$LINENO" 5; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 $as_echo "yes" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4017 $as_echo_n "checking for C compiler default output file name... " >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4019 $as_echo "$ac_file" >&6; }
4020 ac_exeext
=$ac_cv_exeext
4022 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4023 ac_clean_files
=$ac_clean_files_save
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4025 $as_echo_n "checking for suffix of executables... " >&6; }
4026 if { { ac_try
="$ac_link"
4028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link") 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4038 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4039 # work properly (i.e., refer to `conftest.exe'), while it won't with
4041 for ac_file
in conftest.exe conftest conftest.
*; do
4042 test -f "$ac_file" ||
continue
4044 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4045 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4053 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4054 See \`config.log' for more details" "$LINENO" 5; }
4056 rm -f conftest conftest
$ac_cv_exeext
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4058 $as_echo "$ac_cv_exeext" >&6; }
4060 rm -f conftest.
$ac_ext
4061 EXEEXT
=$ac_cv_exeext
4063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4069 FILE *f = fopen ("conftest.out", "w");
4070 return ferror (f) || fclose (f) != 0;
4076 ac_clean_files
="$ac_clean_files conftest.out"
4077 # Check that the compiler produces executables we can run. If not, either
4078 # the compiler is broken, or we cross compile.
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4080 $as_echo_n "checking whether we are cross compiling... " >&6; }
4081 if test "$cross_compiling" != yes; then
4082 { { ac_try
="$ac_link"
4084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 $as_echo "$ac_try_echo"; } >&5
4089 (eval "$ac_link") 2>&5
4091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }
4093 if { ac_try='./conftest$ac_cv_exeext'
4094 { { case "(($ac_try" in
4095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4096 *) ac_try_echo
=$ac_try;;
4098 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_try") 2>&5
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; }; then
4106 if test "$cross_compiling" = maybe
; then
4109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4111 as_fn_error $?
"cannot run C compiled programs.
4112 If you meant to cross compile, use \`--host'.
4113 See \`config.log' for more details" "$LINENO" 5; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4118 $as_echo "$cross_compiling" >&6; }
4120 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4121 ac_clean_files
=$ac_clean_files_save
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4123 $as_echo_n "checking for suffix of object files... " >&6; }
4124 if ${ac_cv_objext+:} false
; then :
4125 $as_echo_n "(cached) " >&6
4127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4138 rm -f conftest.o conftest.obj
4139 if { { ac_try
="$ac_compile"
4141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4142 *) ac_try_echo=$ac_try;;
4144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4145 $as_echo "$ac_try_echo"; } >&5
4146 (eval "$ac_compile") 2>&5
4148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4149 test $ac_status = 0; }; then :
4150 for ac_file in conftest.o conftest.obj conftest.*; do
4151 test -f "$ac_file" || continue;
4153 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4154 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4159 $as_echo "$as_me: failed program was:" >&5
4160 sed 's/^/| /' conftest.$ac_ext >&5
4162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4165 See \
`config.log' for more details" "$LINENO" 5; }
4167 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4170 $as_echo "$ac_cv_objext" >&6; }
4171 OBJEXT=$ac_cv_objext
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4174 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4175 if ${ac_cv_c_compiler_gnu+:} false; then :
4176 $as_echo_n "(cached) " >&6
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4192 if ac_fn_c_try_compile "$LINENO"; then :
4197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4202 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4203 if test $ac_compiler_gnu = yes; then
4208 ac_test_CFLAGS=${CFLAGS+set}
4209 ac_save_CFLAGS=$CFLAGS
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4211 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4212 if ${ac_cv_prog_cc_g+:} false; then :
4213 $as_echo_n "(cached) " >&6
4215 ac_save_c_werror_flag=$ac_c_werror_flag
4216 ac_c_werror_flag=yes
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4230 if ac_fn_c_try_compile "$LINENO"; then :
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4245 if ac_fn_c_try_compile "$LINENO"; then :
4248 ac_c_werror_flag=$ac_save_c_werror_flag
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4261 if ac_fn_c_try_compile "$LINENO"; then :
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 ac_c_werror_flag=$ac_save_c_werror_flag
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4272 $as_echo "$ac_cv_prog_cc_g" >&6; }
4273 if test "$ac_test_CFLAGS" = set; then
4274 CFLAGS=$ac_save_CFLAGS
4275 elif test $ac_cv_prog_cc_g = yes; then
4276 if test "$GCC" = yes; then
4282 if test "$GCC" = yes; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4289 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4290 if ${ac_cv_prog_cc_c89+:} false; then :
4291 $as_echo_n "(cached) " >&6
4293 ac_cv_prog_cc_c89=no
4295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4296 /* end confdefs.h. */
4300 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4301 struct buf { int x; };
4302 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4303 static char *e (p, i)
4309 static char *f (char * (*g) (char **, int), char **p, ...)
4314 s = g (p, va_arg (v,int));
4319 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4320 function prototypes and stuff, but not '\xHH' hex character constants.
4321 These don't provoke an error unfortunately, instead are silently treated
4322 as 'x'. The following induces an error, until -std is added to get
4323 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4324 array size at least. It's necessary to write '\x00'==0 to get something
4325 that's true only with -std. */
4326 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4328 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4329 inside strings and character constants. */
4331 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4333 int test (int i, double x);
4334 struct s1 {int (*f) (int a);};
4335 struct s2 {int (*f) (double a);};
4336 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4342 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4347 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4348 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4350 CC="$ac_save_CC $ac_arg"
4351 if ac_fn_c_try_compile "$LINENO"; then :
4352 ac_cv_prog_cc_c89=$ac_arg
4354 rm -f core conftest.err conftest.$ac_objext
4355 test "x$ac_cv_prog_cc_c89" != "xno" && break
4357 rm -f conftest.$ac_ext
4362 case "x$ac_cv_prog_cc_c89" in
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4365 $as_echo "none needed" >&6; } ;;
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4368 $as_echo "unsupported" >&6; } ;;
4370 CC="$CC $ac_cv_prog_cc_c89"
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4372 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4374 if test "x$ac_cv_prog_cc_c89" != xno; then :
4379 ac_cpp='$CPP $CPPFLAGS'
4380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4385 ac_cpp='$CPP $CPPFLAGS'
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4390 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4391 if ${am_cv_prog_cc_c_o+:} false; then :
4392 $as_echo_n "(cached) " >&6
4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4405 # Make sure it works both with $CC and with simple cc.
4406 # Following AC_PROG_CC_C_O, we do the test twice because some
4407 # compilers refuse to overwrite an existing .o file with -o,
4408 # though they will create one.
4409 am_cv_prog_cc_c_o=yes
4411 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4412 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } \
4416 && test -f conftest2.$ac_objext; then
4419 am_cv_prog_cc_c_o=no
4423 rm -f core conftest*
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4427 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4428 if test "$am_cv_prog_cc_c_o" != yes; then
4429 # Losing compiler, so override with the script.
4430 # FIXME: It is wrong to rewrite CC.
4431 # But if we don't then we get into trouble of one sort or another.
4432 # A longer-term fix would be to have automake use am__CC in this case,
4433 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4434 CC="$am_aux_dir/compile $CC"
4437 ac_cpp='$CPP $CPPFLAGS'
4438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4442 DEPDIR="${am__leading_dot}deps"
4444 ac_config_commands="$ac_config_commands depfiles"
4447 am_make=${MAKE-make}
4448 cat > confinc << 'END'
4450 @echo this is the am__doit target
4453 # If we don't find an include directive, just comment out the code.
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4455 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4459 # First try GNU make style include.
4460 echo "include confinc" > confmf
4461 # Ignore all kinds of additional output from 'make'.
4462 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4463 *the\ am__doit\ target*)
4469 # Now try BSD make style include.
4470 if test "$am__include" = "#"; then
4471 echo '.include "confinc"' > confmf
4472 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4473 *the\ am__doit\ target*)
4474 am__include=.include
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4483 $as_echo "$_am_result" >&6; }
4484 rm -f confinc confmf
4486 # Check whether --enable-dependency-tracking was given.
4487 if test "${enable_dependency_tracking+set}" = set; then :
4488 enableval=$enable_dependency_tracking;
4491 if test "x$enable_dependency_tracking" != xno; then
4492 am_depcomp="$ac_aux_dir/depcomp"
4496 if test "x$enable_dependency_tracking" != xno; then
4506 depcc="$CC" am_compiler_list=
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4509 $as_echo_n "checking dependency style of $depcc... " >&6; }
4510 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4511 $as_echo_n "(cached) " >&6
4513 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4514 # We make a subdir and do the tests there. Otherwise we can end up
4515 # making bogus files that we don't know about and never remove. For
4516 # instance it was reported that on HP-UX the gcc test will end up
4517 # making a dummy file named 'D' -- because '-MD' means "put the output
4521 # Copy depcomp to subdir because otherwise we won't find it if we're
4522 # using a relative directory.
4523 cp "$am_depcomp" conftest.dir
4525 # We will build objects and dependencies in a subdirectory because
4526 # it helps to detect inapplicable dependency modes. For instance
4527 # both Tru64's cc and ICC support -MD to output dependencies as a
4528 # side effect of compilation, but ICC will put the dependencies in
4529 # the current directory while Tru64 will put them in the object
4533 am_cv_CC_dependencies_compiler_type=none
4534 if test "$am_compiler_list" = ""; then
4535 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4538 case " $depcc " in #(
4539 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4542 for depmode in $am_compiler_list; do
4543 # Setup a source with many dependencies, because some compilers
4544 # like to wrap large dependency lists on column 80 (with \), and
4545 # we should not choose a depcomp mode which is confused by this.
4547 # We need to recreate these files for each test, as the compiler may
4548 # overwrite some of them when testing with obscure command lines.
4549 # This happens at least with the AIX C compiler.
4551 for i in 1 2 3 4 5 6; do
4552 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4553 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4554 # Solaris 10 /bin/sh.
4555 echo '/* dummy */' > sub/conftst$i.h
4557 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4559 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4560 # mode. It turns out that the SunPro C++ compiler does not properly
4561 # handle '-M -o', and we need to detect this. Also, some Intel
4562 # versions had trouble with output in subdirs.
4563 am__obj=sub/conftest.${OBJEXT-o}
4564 am__minus_obj="-o $am__obj"
4567 # This depmode causes a compiler race in universal mode.
4568 test "$am__universal" = false || continue
4571 # After this tag, mechanisms are not by side-effect, so they'll
4572 # only be used when explicitly requested.
4573 if test "x$enable_dependency_tracking" = xyes; then
4579 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4580 # This compiler won't grok '-c -o', but also, the minuso test has
4581 # not run yet. These depmodes are late enough in the game, and
4582 # so weak that their functioning should not be impacted.
4583 am__obj=conftest.${OBJEXT-o}
4588 if depmode=$depmode \
4589 source=sub/conftest.c object=$am__obj \
4590 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4591 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4592 >/dev/null 2>conftest.err &&
4593 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4594 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4595 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4596 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4597 # icc doesn't choke on unknown options, it will just issue warnings
4598 # or remarks (even with -Werror). So we grep stderr for any message
4599 # that says an option was ignored or not supported.
4600 # When given -MP, icc 7.0 and 7.1 complain thusly:
4601 # icc: Command line warning: ignoring option '-M'; no argument required
4602 # The diagnosis changed in icc 8.0:
4603 # icc: Command line remark: option '-MP' not supported
4604 if (grep 'ignoring option' conftest.err ||
4605 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4606 am_cv_CC_dependencies_compiler_type=$depmode
4615 am_cv_CC_dependencies_compiler_type=none
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4620 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4621 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4624 test "x$enable_dependency_tracking" != xno \
4625 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4627 am__fastdepCC_FALSE='#'
4629 am__fastdepCC_TRUE='#'
4630 am__fastdepCC_FALSE=
4635 ac_cpp='$CXXCPP $CPPFLAGS'
4636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4639 if test -z "$CXX"; then
4640 if test -n "$CCC"; then
4643 if test -n "$ac_tool_prefix"; then
4644 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4647 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_CXX+:} false; then :
4651 $as_echo_n "(cached) " >&6
4653 if test -n "$CXX"; then
4654 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 if test -n "$CXX"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4676 $as_echo "$CXX" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$CXX" && break
4686 if test -z "$CXX"; then
4688 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4690 # Extract the first word of "$ac_prog", so it can be a program name with args.
4691 set dummy $ac_prog; ac_word=$2
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4695 $as_echo_n "(cached) " >&6
4697 if test -n "$ac_ct_CXX"; then
4698 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir=.
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_ac_ct_CXX="$ac_prog"
4708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4718 if test -n "$ac_ct_CXX"; then
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4720 $as_echo "$ac_ct_CXX" >&6; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 $as_echo "no" >&6; }
4727 test -n "$ac_ct_CXX" && break
4730 if test "x$ac_ct_CXX" = x; then
4733 case $cross_compiling:$ac_tool_warned in
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4737 ac_tool_warned=yes ;;
4745 # Provide some information about the compiler.
4746 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4749 for ac_option in --version -v -V -qversion; do
4750 { { ac_try="$ac_compiler $ac_option >&5"
4752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4753 *) ac_try_echo
=$ac_try;;
4755 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4756 $as_echo "$ac_try_echo"; } >&5
4757 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4759 if test -s conftest.err
; then
4761 ... rest of stderr output deleted ...
4762 10q' conftest.err
>conftest.er1
4763 cat conftest.er1
>&5
4765 rm -f conftest.er1 conftest.err
4766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4767 test $ac_status = 0; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4771 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4772 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4773 $as_echo_n "(cached) " >&6
4775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4789 if ac_fn_cxx_try_compile
"$LINENO"; then :
4794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4795 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4799 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4800 if test $ac_compiler_gnu = yes; then
4805 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4806 ac_save_CXXFLAGS
=$CXXFLAGS
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4808 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4809 if ${ac_cv_prog_cxx_g+:} false
; then :
4810 $as_echo_n "(cached) " >&6
4812 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4813 ac_cxx_werror_flag
=yes
4816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4827 if ac_fn_cxx_try_compile
"$LINENO"; then :
4828 ac_cv_prog_cxx_g
=yes
4831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4842 if ac_fn_cxx_try_compile
"$LINENO"; then :
4845 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4858 if ac_fn_cxx_try_compile
"$LINENO"; then :
4859 ac_cv_prog_cxx_g
=yes
4861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4866 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4869 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4870 if test "$ac_test_CXXFLAGS" = set; then
4871 CXXFLAGS
=$ac_save_CXXFLAGS
4872 elif test $ac_cv_prog_cxx_g = yes; then
4873 if test "$GXX" = yes; then
4879 if test "$GXX" = yes; then
4886 ac_cpp
='$CPP $CPPFLAGS'
4887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4891 depcc
="$CXX" am_compiler_list
=
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4894 $as_echo_n "checking dependency style of $depcc... " >&6; }
4895 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4899 # We make a subdir and do the tests there. Otherwise we can end up
4900 # making bogus files that we don't know about and never remove. For
4901 # instance it was reported that on HP-UX the gcc test will end up
4902 # making a dummy file named 'D' -- because '-MD' means "put the output
4906 # Copy depcomp to subdir because otherwise we won't find it if we're
4907 # using a relative directory.
4908 cp "$am_depcomp" conftest.dir
4910 # We will build objects and dependencies in a subdirectory because
4911 # it helps to detect inapplicable dependency modes. For instance
4912 # both Tru64's cc and ICC support -MD to output dependencies as a
4913 # side effect of compilation, but ICC will put the dependencies in
4914 # the current directory while Tru64 will put them in the object
4918 am_cv_CXX_dependencies_compiler_type
=none
4919 if test "$am_compiler_list" = ""; then
4920 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4923 case " $depcc " in #(
4924 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4927 for depmode
in $am_compiler_list; do
4928 # Setup a source with many dependencies, because some compilers
4929 # like to wrap large dependency lists on column 80 (with \), and
4930 # we should not choose a depcomp mode which is confused by this.
4932 # We need to recreate these files for each test, as the compiler may
4933 # overwrite some of them when testing with obscure command lines.
4934 # This happens at least with the AIX C compiler.
4936 for i
in 1 2 3 4 5 6; do
4937 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4938 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4939 # Solaris 10 /bin/sh.
4940 echo '/* dummy */' > sub
/conftst
$i.h
4942 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4944 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4945 # mode. It turns out that the SunPro C++ compiler does not properly
4946 # handle '-M -o', and we need to detect this. Also, some Intel
4947 # versions had trouble with output in subdirs.
4948 am__obj
=sub
/conftest.
${OBJEXT-o}
4949 am__minus_obj
="-o $am__obj"
4952 # This depmode causes a compiler race in universal mode.
4953 test "$am__universal" = false ||
continue
4956 # After this tag, mechanisms are not by side-effect, so they'll
4957 # only be used when explicitly requested.
4958 if test "x$enable_dependency_tracking" = xyes
; then
4964 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4965 # This compiler won't grok '-c -o', but also, the minuso test has
4966 # not run yet. These depmodes are late enough in the game, and
4967 # so weak that their functioning should not be impacted.
4968 am__obj
=conftest.
${OBJEXT-o}
4973 if depmode
=$depmode \
4974 source=sub
/conftest.c object
=$am__obj \
4975 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4976 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4977 >/dev
/null
2>conftest.err
&&
4978 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4979 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4980 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4981 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4982 # icc doesn't choke on unknown options, it will just issue warnings
4983 # or remarks (even with -Werror). So we grep stderr for any message
4984 # that says an option was ignored or not supported.
4985 # When given -MP, icc 7.0 and 7.1 complain thusly:
4986 # icc: Command line warning: ignoring option '-M'; no argument required
4987 # The diagnosis changed in icc 8.0:
4988 # icc: Command line remark: option '-MP' not supported
4989 if (grep 'ignoring option' conftest.err ||
4990 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4991 am_cv_CXX_dependencies_compiler_type
=$depmode
5000 am_cv_CXX_dependencies_compiler_type
=none
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5005 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5006 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5009 test "x$enable_dependency_tracking" != xno \
5010 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5011 am__fastdepCXX_TRUE
=
5012 am__fastdepCXX_FALSE
='#'
5014 am__fastdepCXX_TRUE
='#'
5015 am__fastdepCXX_FALSE
=
5019 # By default we simply use the C compiler to build assembly code.
5021 test "${CCAS+set}" = set || CCAS
=$CC
5022 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
5026 depcc
="$CCAS" am_compiler_list
=
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5029 $as_echo_n "checking dependency style of $depcc... " >&6; }
5030 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
5031 $as_echo_n "(cached) " >&6
5033 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5034 # We make a subdir and do the tests there. Otherwise we can end up
5035 # making bogus files that we don't know about and never remove. For
5036 # instance it was reported that on HP-UX the gcc test will end up
5037 # making a dummy file named 'D' -- because '-MD' means "put the output
5041 # Copy depcomp to subdir because otherwise we won't find it if we're
5042 # using a relative directory.
5043 cp "$am_depcomp" conftest.dir
5045 # We will build objects and dependencies in a subdirectory because
5046 # it helps to detect inapplicable dependency modes. For instance
5047 # both Tru64's cc and ICC support -MD to output dependencies as a
5048 # side effect of compilation, but ICC will put the dependencies in
5049 # the current directory while Tru64 will put them in the object
5053 am_cv_CCAS_dependencies_compiler_type
=none
5054 if test "$am_compiler_list" = ""; then
5055 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5060 for depmode
in $am_compiler_list; do
5061 # Setup a source with many dependencies, because some compilers
5062 # like to wrap large dependency lists on column 80 (with \), and
5063 # we should not choose a depcomp mode which is confused by this.
5065 # We need to recreate these files for each test, as the compiler may
5066 # overwrite some of them when testing with obscure command lines.
5067 # This happens at least with the AIX C compiler.
5069 for i
in 1 2 3 4 5 6; do
5070 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5071 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5072 # Solaris 10 /bin/sh.
5073 echo '/* dummy */' > sub
/conftst
$i.h
5075 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5077 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5078 # mode. It turns out that the SunPro C++ compiler does not properly
5079 # handle '-M -o', and we need to detect this. Also, some Intel
5080 # versions had trouble with output in subdirs.
5081 am__obj
=sub
/conftest.
${OBJEXT-o}
5082 am__minus_obj
="-o $am__obj"
5085 # This depmode causes a compiler race in universal mode.
5086 test "$am__universal" = false ||
continue
5089 # After this tag, mechanisms are not by side-effect, so they'll
5090 # only be used when explicitly requested.
5091 if test "x$enable_dependency_tracking" = xyes
; then
5097 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5098 # This compiler won't grok '-c -o', but also, the minuso test has
5099 # not run yet. These depmodes are late enough in the game, and
5100 # so weak that their functioning should not be impacted.
5101 am__obj
=conftest.
${OBJEXT-o}
5106 if depmode
=$depmode \
5107 source=sub
/conftest.c object
=$am__obj \
5108 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5109 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5110 >/dev
/null
2>conftest.err
&&
5111 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5112 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5113 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5114 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5115 # icc doesn't choke on unknown options, it will just issue warnings
5116 # or remarks (even with -Werror). So we grep stderr for any message
5117 # that says an option was ignored or not supported.
5118 # When given -MP, icc 7.0 and 7.1 complain thusly:
5119 # icc: Command line warning: ignoring option '-M'; no argument required
5120 # The diagnosis changed in icc 8.0:
5121 # icc: Command line remark: option '-MP' not supported
5122 if (grep 'ignoring option' conftest.err ||
5123 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5124 am_cv_CCAS_dependencies_compiler_type
=$depmode
5133 am_cv_CCAS_dependencies_compiler_type
=none
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5138 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5139 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
5142 test "x$enable_dependency_tracking" != xno \
5143 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
5144 am__fastdepCCAS_TRUE
=
5145 am__fastdepCCAS_FALSE
='#'
5147 am__fastdepCCAS_TRUE
='#'
5148 am__fastdepCCAS_FALSE
=
5156 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
5157 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
5158 # in both places for now and restore CFLAGS at the end of config.
5159 save_CFLAGS
="$CFLAGS"
5161 # Find other programs we need.
5162 if test -n "$ac_tool_prefix"; then
5163 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5164 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if ${ac_cv_prog_AR+:} false
; then :
5168 $as_echo_n "(cached) " >&6
5170 if test -n "$AR"; then
5171 ac_cv_prog_AR
="$AR" # Let the user override the test.
5173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir
=.
5178 for ac_exec_ext
in '' $ac_executable_extensions; do
5179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5180 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 if test -n "$AR"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5193 $as_echo "$AR" >&6; }
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5201 if test -z "$ac_cv_prog_AR"; then
5203 # Extract the first word of "ar", so it can be a program name with args.
5204 set dummy
ar; ac_word
=$2
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5206 $as_echo_n "checking for $ac_word... " >&6; }
5207 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5208 $as_echo_n "(cached) " >&6
5210 if test -n "$ac_ct_AR"; then
5211 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5217 test -z "$as_dir" && as_dir
=.
5218 for ac_exec_ext
in '' $ac_executable_extensions; do
5219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_ac_ct_AR
="ar"
5221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5231 if test -n "$ac_ct_AR"; then
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5233 $as_echo "$ac_ct_AR" >&6; }
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236 $as_echo "no" >&6; }
5239 if test "x$ac_ct_AR" = x
; then
5242 case $cross_compiling:$ac_tool_warned in
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5246 ac_tool_warned
=yes ;;
5254 if test -n "$ac_tool_prefix"; then
5255 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
5256 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5258 $as_echo_n "checking for $ac_word... " >&6; }
5259 if ${ac_cv_prog_NM+:} false
; then :
5260 $as_echo_n "(cached) " >&6
5262 if test -n "$NM"; then
5263 ac_cv_prog_NM
="$NM" # Let the user override the test.
5265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir
=.
5270 for ac_exec_ext
in '' $ac_executable_extensions; do
5271 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5272 ac_cv_prog_NM
="${ac_tool_prefix}nm"
5273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 if test -n "$NM"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
5285 $as_echo "$NM" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5293 if test -z "$ac_cv_prog_NM"; then
5295 # Extract the first word of "nm", so it can be a program name with args.
5296 set dummy nm
; ac_word
=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 $as_echo_n "checking for $ac_word... " >&6; }
5299 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
5300 $as_echo_n "(cached) " >&6
5302 if test -n "$ac_ct_NM"; then
5303 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir
=.
5310 for ac_exec_ext
in '' $ac_executable_extensions; do
5311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5312 ac_cv_prog_ac_ct_NM
="nm"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5323 if test -n "$ac_ct_NM"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
5325 $as_echo "$ac_ct_NM" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5331 if test "x$ac_ct_NM" = x
; then
5334 case $cross_compiling:$ac_tool_warned in
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5338 ac_tool_warned
=yes ;;
5346 if test -n "$ac_tool_prefix"; then
5347 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5348 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5350 $as_echo_n "checking for $ac_word... " >&6; }
5351 if ${ac_cv_prog_RANLIB+:} false
; then :
5352 $as_echo_n "(cached) " >&6
5354 if test -n "$RANLIB"; then
5355 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5361 test -z "$as_dir" && as_dir
=.
5362 for ac_exec_ext
in '' $ac_executable_extensions; do
5363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5364 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 RANLIB
=$ac_cv_prog_RANLIB
5375 if test -n "$RANLIB"; then
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5377 $as_echo "$RANLIB" >&6; }
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380 $as_echo "no" >&6; }
5385 if test -z "$ac_cv_prog_RANLIB"; then
5386 ac_ct_RANLIB
=$RANLIB
5387 # Extract the first word of "ranlib", so it can be a program name with args.
5388 set dummy ranlib
; ac_word
=$2
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5390 $as_echo_n "checking for $ac_word... " >&6; }
5391 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5392 $as_echo_n "(cached) " >&6
5394 if test -n "$ac_ct_RANLIB"; then
5395 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_exec_ext
in '' $ac_executable_extensions; do
5403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5404 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5415 if test -n "$ac_ct_RANLIB"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5417 $as_echo "$ac_ct_RANLIB" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5423 if test "x$ac_ct_RANLIB" = x
; then
5424 RANLIB
="ranlib-not-found-in-path-error"
5426 case $cross_compiling:$ac_tool_warned in
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5430 ac_tool_warned
=yes ;;
5432 RANLIB
=$ac_ct_RANLIB
5435 RANLIB
="$ac_cv_prog_RANLIB"
5438 # Extract the first word of "perl", so it can be a program name with args.
5439 set dummy perl
; ac_word
=$2
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if ${ac_cv_path_PERL+:} false
; then :
5443 $as_echo_n "(cached) " >&6
5447 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir
=.
5455 for ac_exec_ext
in '' $ac_executable_extensions; do
5456 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
5469 PERL
=$ac_cv_path_PERL
5470 if test -n "$PERL"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5472 $as_echo "$PERL" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475 $as_echo "no" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5480 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5482 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5483 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5484 $as_echo_n "(cached) " >&6
5486 cat >conftest.
make <<\_ACEOF
5489 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5491 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5492 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5494 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5496 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5500 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5502 $as_echo "yes" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5507 SET_MAKE
="MAKE=${MAKE-make}"
5512 # See if makeinfo has been installed and is modern enough
5513 # that we can use it.
5515 # Extract the first word of "makeinfo", so it can be a program name with args.
5516 set dummy makeinfo
; ac_word
=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if ${ac_cv_prog_MAKEINFO+:} false
; then :
5520 $as_echo_n "(cached) " >&6
5522 if test -n "$MAKEINFO"; then
5523 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5529 test -z "$as_dir" && as_dir
=.
5530 for ac_exec_ext
in '' $ac_executable_extensions; do
5531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5532 ac_cv_prog_MAKEINFO
="makeinfo"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 MAKEINFO
=$ac_cv_prog_MAKEINFO
5543 if test -n "$MAKEINFO"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
5545 $as_echo "$MAKEINFO" >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5552 if test -n "$MAKEINFO"; then
5553 # Found it, now check the version.
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
5555 $as_echo_n "checking for modern makeinfo... " >&6; }
5556 if ${gcc_cv_prog_makeinfo_modern+:} false
; then :
5557 $as_echo_n "(cached) " >&6
5559 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
5560 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5562 case $ac_prog_version in
5563 '') gcc_cv_prog_makeinfo_modern
=no
;;
5564 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
5565 *) gcc_cv_prog_makeinfo_modern
=no
;;
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
5570 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
5572 gcc_cv_prog_makeinfo_modern
=no
5574 if test $gcc_cv_prog_makeinfo_modern = no
; then
5575 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
5578 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
5580 BUILD_INFO_FALSE
='#'
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5592 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5597 macro_version
='2.2.7a'
5598 macro_revision
='1.3134'
5612 ltmain
="$ac_aux_dir/ltmain.sh"
5614 # Backslashify metacharacters that are still active within
5615 # double-quoted strings.
5616 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5618 # Same as above, but do not quote variable references.
5619 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5621 # Sed substitution to delay expansion of an escaped shell variable in a
5622 # double_quote_subst'ed string.
5623 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5625 # Sed substitution to delay expansion of an escaped single quote.
5626 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5628 # Sed substitution to avoid accidental globbing in evaled expressions
5629 no_glob_subst
='s/\*/\\\*/g'
5631 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5632 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5633 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5636 $as_echo_n "checking how to print strings... " >&6; }
5637 # Test print first, because it will be a builtin if present.
5638 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5639 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5641 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5644 # Use this function as a fallback that always works.
5645 func_fallback_echo ()
5647 eval 'cat <<_LTECHO_EOF
5651 ECHO='func_fallback_echo
'
5654 # func_echo_all arg...
5655 # Invoke $ECHO with all args, space-separated.
5662 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5663 $as_echo "printf" >&6; } ;;
5664 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5665 $as_echo "print -r" >&6; } ;;
5666 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5667 $as_echo "cat" >&6; } ;;
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5684 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5685 if ${ac_cv_path_SED+:} false; then :
5686 $as_echo_n "(cached) " >&6
5688 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5689 for ac_i in 1 2 3 4 5 6 7; do
5690 ac_script="$ac_script$as_nl$ac_script"
5692 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5693 { ac_script=; unset ac_script;}
5694 if test -z "$SED"; then
5695 ac_path_SED_found=false
5696 # Loop through the user's path and
test for each of PROGNAME-LIST
5697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir
=.
5702 for ac_prog
in sed gsed
; do
5703 for ac_exec_ext
in '' $ac_executable_extensions; do
5704 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5705 as_fn_executable_p
"$ac_path_SED" ||
continue
5706 # Check for GNU ac_path_SED and select it if it is found.
5707 # Check for GNU $ac_path_SED
5708 case `"$ac_path_SED" --version 2>&1` in
5710 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5713 $as_echo_n 0123456789 >"conftest.in"
5716 cat "conftest.in" "conftest.in" >"conftest.tmp"
5717 mv "conftest.tmp" "conftest.in"
5718 cp "conftest.in" "conftest.nl"
5719 $as_echo '' >> "conftest.nl"
5720 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5721 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5722 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5723 if test $ac_count -gt ${ac_path_SED_max-0}; then
5724 # Best one so far, save it but keep looking for a better one
5725 ac_cv_path_SED
="$ac_path_SED"
5726 ac_path_SED_max
=$ac_count
5728 # 10*(2^10) chars as input seems more than enough
5729 test $ac_count -gt 10 && break
5731 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5734 $ac_path_SED_found && break 3
5739 if test -z "$ac_cv_path_SED"; then
5740 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5748 $as_echo "$ac_cv_path_SED" >&6; }
5749 SED
="$ac_cv_path_SED"
5752 test -z "$SED" && SED
=sed
5753 Xsed
="$SED -e 1s/^X//"
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5766 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5767 if ${ac_cv_path_GREP+:} false
; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -z "$GREP"; then
5771 ac_path_GREP_found
=false
5772 # Loop through the user's path and test for each of PROGNAME-LIST
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5774 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_prog
in grep ggrep
; do
5779 for ac_exec_ext
in '' $ac_executable_extensions; do
5780 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5781 as_fn_executable_p
"$ac_path_GREP" ||
continue
5782 # Check for GNU ac_path_GREP and select it if it is found.
5783 # Check for GNU $ac_path_GREP
5784 case `"$ac_path_GREP" --version 2>&1` in
5786 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5789 $as_echo_n 0123456789 >"conftest.in"
5792 cat "conftest.in" "conftest.in" >"conftest.tmp"
5793 mv "conftest.tmp" "conftest.in"
5794 cp "conftest.in" "conftest.nl"
5795 $as_echo 'GREP' >> "conftest.nl"
5796 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5797 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5798 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5799 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5800 # Best one so far, save it but keep looking for a better one
5801 ac_cv_path_GREP
="$ac_path_GREP"
5802 ac_path_GREP_max
=$ac_count
5804 # 10*(2^10) chars as input seems more than enough
5805 test $ac_count -gt 10 && break
5807 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5810 $ac_path_GREP_found && break 3
5815 if test -z "$ac_cv_path_GREP"; then
5816 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5819 ac_cv_path_GREP
=$GREP
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5824 $as_echo "$ac_cv_path_GREP" >&6; }
5825 GREP
="$ac_cv_path_GREP"
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5829 $as_echo_n "checking for egrep... " >&6; }
5830 if ${ac_cv_path_EGREP+:} false
; then :
5831 $as_echo_n "(cached) " >&6
5833 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5834 then ac_cv_path_EGREP
="$GREP -E"
5836 if test -z "$EGREP"; then
5837 ac_path_EGREP_found
=false
5838 # Loop through the user's path and test for each of PROGNAME-LIST
5839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5840 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5843 test -z "$as_dir" && as_dir
=.
5844 for ac_prog
in egrep; do
5845 for ac_exec_ext
in '' $ac_executable_extensions; do
5846 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5847 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5848 # Check for GNU ac_path_EGREP and select it if it is found.
5849 # Check for GNU $ac_path_EGREP
5850 case `"$ac_path_EGREP" --version 2>&1` in
5852 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5855 $as_echo_n 0123456789 >"conftest.in"
5858 cat "conftest.in" "conftest.in" >"conftest.tmp"
5859 mv "conftest.tmp" "conftest.in"
5860 cp "conftest.in" "conftest.nl"
5861 $as_echo 'EGREP' >> "conftest.nl"
5862 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5863 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5864 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5865 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5866 # Best one so far, save it but keep looking for a better one
5867 ac_cv_path_EGREP
="$ac_path_EGREP"
5868 ac_path_EGREP_max
=$ac_count
5870 # 10*(2^10) chars as input seems more than enough
5871 test $ac_count -gt 10 && break
5873 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5876 $ac_path_EGREP_found && break 3
5881 if test -z "$ac_cv_path_EGREP"; then
5882 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5885 ac_cv_path_EGREP
=$EGREP
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5891 $as_echo "$ac_cv_path_EGREP" >&6; }
5892 EGREP
="$ac_cv_path_EGREP"
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5896 $as_echo_n "checking for fgrep... " >&6; }
5897 if ${ac_cv_path_FGREP+:} false
; then :
5898 $as_echo_n "(cached) " >&6
5900 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5901 then ac_cv_path_FGREP
="$GREP -F"
5903 if test -z "$FGREP"; then
5904 ac_path_FGREP_found
=false
5905 # Loop through the user's path and test for each of PROGNAME-LIST
5906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5907 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5910 test -z "$as_dir" && as_dir
=.
5911 for ac_prog
in fgrep
; do
5912 for ac_exec_ext
in '' $ac_executable_extensions; do
5913 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5914 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5915 # Check for GNU ac_path_FGREP and select it if it is found.
5916 # Check for GNU $ac_path_FGREP
5917 case `"$ac_path_FGREP" --version 2>&1` in
5919 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5922 $as_echo_n 0123456789 >"conftest.in"
5925 cat "conftest.in" "conftest.in" >"conftest.tmp"
5926 mv "conftest.tmp" "conftest.in"
5927 cp "conftest.in" "conftest.nl"
5928 $as_echo 'FGREP' >> "conftest.nl"
5929 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5930 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5931 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5932 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5933 # Best one so far, save it but keep looking for a better one
5934 ac_cv_path_FGREP
="$ac_path_FGREP"
5935 ac_path_FGREP_max
=$ac_count
5937 # 10*(2^10) chars as input seems more than enough
5938 test $ac_count -gt 10 && break
5940 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5943 $ac_path_FGREP_found && break 3
5948 if test -z "$ac_cv_path_FGREP"; then
5949 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5952 ac_cv_path_FGREP
=$FGREP
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5958 $as_echo "$ac_cv_path_FGREP" >&6; }
5959 FGREP
="$ac_cv_path_FGREP"
5962 test -z "$GREP" && GREP
=grep
5982 # Check whether --with-gnu-ld was given.
5983 if test "${with_gnu_ld+set}" = set; then :
5984 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5990 if test "$GCC" = yes; then
5991 # Check if gcc -print-prog-name=ld gives a path.
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5993 $as_echo_n "checking for ld used by $CC... " >&6; }
5996 # gcc leaves a trailing carriage return which upsets mingw
5997 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5999 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6002 # Accept absolute paths.
6004 re_direlt
='/[^/][^/]*/\.\./'
6005 # Canonicalize the pathname of ld
6006 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6007 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6008 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6010 test -z "$LD" && LD
="$ac_prog"
6013 # If it fails, then pretend we aren't using GCC.
6017 # If it is relative, then search for the first ld in PATH.
6021 elif test "$with_gnu_ld" = yes; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6023 $as_echo_n "checking for GNU ld... " >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6026 $as_echo_n "checking for non-GNU ld... " >&6; }
6028 if ${lt_cv_path_LD+:} false
; then :
6029 $as_echo_n "(cached) " >&6
6031 if test -z "$LD"; then
6032 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6033 for ac_dir
in $PATH; do
6035 test -z "$ac_dir" && ac_dir
=.
6036 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6037 lt_cv_path_LD
="$ac_dir/$ac_prog"
6038 # Check to see if the program is GNU ld. I'd rather use --version,
6039 # but apparently some variants of GNU ld only accept -v.
6040 # Break only if it was the GNU/non-GNU ld that we prefer.
6041 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6042 *GNU
* |
*'with BFD'*)
6043 test "$with_gnu_ld" != no
&& break
6046 test "$with_gnu_ld" != yes && break
6053 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6058 if test -n "$LD"; then
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6060 $as_echo "$LD" >&6; }
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6063 $as_echo "no" >&6; }
6065 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6067 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6068 if ${lt_cv_prog_gnu_ld+:} false
; then :
6069 $as_echo_n "(cached) " >&6
6071 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6072 case `$LD -v 2>&1 </dev/null` in
6073 *GNU
* |
*'with BFD'*)
6074 lt_cv_prog_gnu_ld
=yes
6077 lt_cv_prog_gnu_ld
=no
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6082 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6083 with_gnu_ld
=$lt_cv_prog_gnu_ld
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6094 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6095 if ${lt_cv_path_NM+:} false
; then :
6096 $as_echo_n "(cached) " >&6
6098 if test -n "$NM"; then
6099 # Let the user override the test.
6102 lt_nm_to_check
="${ac_tool_prefix}nm"
6103 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6104 lt_nm_to_check
="$lt_nm_to_check nm"
6106 for lt_tmp_nm
in $lt_nm_to_check; do
6107 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6108 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6110 test -z "$ac_dir" && ac_dir
=.
6111 tmp_nm
="$ac_dir/$lt_tmp_nm"
6112 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6113 # Check to see if the nm accepts a BSD-compat flag.
6114 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6115 # nm: unknown option "B" ignored
6116 # Tru64's nm complains that /dev/null is an invalid object file
6117 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6118 */dev
/null
* |
*'Invalid file or object type'*)
6119 lt_cv_path_NM
="$tmp_nm -B"
6123 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6125 lt_cv_path_NM
="$tmp_nm -p"
6129 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6130 continue # so that we can try to find one that supports BSD flags
6139 : ${lt_cv_path_NM=no}
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6143 $as_echo "$lt_cv_path_NM" >&6; }
6144 if test "$lt_cv_path_NM" != "no"; then
6147 # Didn't find any BSD compatible name lister, look for dumpbin.
6148 if test -n "$DUMPBIN"; then :
6149 # Let the user override the test.
6151 if test -n "$ac_tool_prefix"; then
6152 for ac_prog
in dumpbin
"link -dump"
6154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6155 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157 $as_echo_n "checking for $ac_word... " >&6; }
6158 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6159 $as_echo_n "(cached) " >&6
6161 if test -n "$DUMPBIN"; then
6162 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6168 test -z "$as_dir" && as_dir
=.
6169 for ac_exec_ext
in '' $ac_executable_extensions; do
6170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6171 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 DUMPBIN
=$ac_cv_prog_DUMPBIN
6182 if test -n "$DUMPBIN"; then
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6184 $as_echo "$DUMPBIN" >&6; }
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 $as_echo "no" >&6; }
6191 test -n "$DUMPBIN" && break
6194 if test -z "$DUMPBIN"; then
6195 ac_ct_DUMPBIN
=$DUMPBIN
6196 for ac_prog
in dumpbin
"link -dump"
6198 # Extract the first word of "$ac_prog", so it can be a program name with args.
6199 set dummy
$ac_prog; ac_word
=$2
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6201 $as_echo_n "checking for $ac_word... " >&6; }
6202 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6203 $as_echo_n "(cached) " >&6
6205 if test -n "$ac_ct_DUMPBIN"; then
6206 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6212 test -z "$as_dir" && as_dir
=.
6213 for ac_exec_ext
in '' $ac_executable_extensions; do
6214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6215 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6226 if test -n "$ac_ct_DUMPBIN"; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6228 $as_echo "$ac_ct_DUMPBIN" >&6; }
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6231 $as_echo "no" >&6; }
6235 test -n "$ac_ct_DUMPBIN" && break
6238 if test "x$ac_ct_DUMPBIN" = x
; then
6241 case $cross_compiling:$ac_tool_warned in
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6245 ac_tool_warned
=yes ;;
6247 DUMPBIN
=$ac_ct_DUMPBIN
6251 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6253 DUMPBIN
="$DUMPBIN -symbols"
6261 if test "$DUMPBIN" != ":"; then
6265 test -z "$NM" && NM
=nm
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6273 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6274 if ${lt_cv_nm_interface+:} false
; then :
6275 $as_echo_n "(cached) " >&6
6277 lt_cv_nm_interface
="BSD nm"
6278 echo "int some_variable = 0;" > conftest.
$ac_ext
6279 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6280 (eval "$ac_compile" 2>conftest.err
)
6281 cat conftest.err
>&5
6282 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6283 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6284 cat conftest.err
>&5
6285 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6286 cat conftest.out
>&5
6287 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6288 lt_cv_nm_interface
="MS dumpbin"
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6293 $as_echo "$lt_cv_nm_interface" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6296 $as_echo_n "checking whether ln -s works... " >&6; }
6298 if test "$LN_S" = "ln -s"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6300 $as_echo "yes" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6303 $as_echo "no, using $LN_S" >&6; }
6306 # find the maximum length of command line arguments
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6308 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6309 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6310 $as_echo_n "(cached) " >&6
6317 # On DJGPP, this test can blow up pretty badly due to problems in libc
6318 # (any single argument exceeding 2000 bytes causes a buffer overrun
6319 # during glob expansion). Even if it were fixed, the result of this
6320 # check would be larger than it should be.
6321 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6325 # Under GNU Hurd, this test is not required because there is
6326 # no limit to the length of command line arguments.
6327 # Libtool will interpret -1 as no limit whatsoever
6328 lt_cv_sys_max_cmd_len
=-1;
6331 cygwin
* | mingw
* | cegcc
*)
6332 # On Win9x/ME, this test blows up -- it succeeds, but takes
6333 # about 5 minutes as the teststring grows exponentially.
6334 # Worse, since 9x/ME are not pre-emptively multitasking,
6335 # you end up with a "frozen" computer, even though with patience
6336 # the test eventually succeeds (with a max line length of 256k).
6337 # Instead, let's just punt: use the minimum linelength reported by
6338 # all of the supported platforms: 8192 (on NT/2K/XP).
6339 lt_cv_sys_max_cmd_len
=8192;
6343 # On MiNT this can take a long time and run out of memory.
6344 lt_cv_sys_max_cmd_len
=8192;
6348 # On AmigaOS with pdksh, this test takes hours, literally.
6349 # So we just punt and use a minimum line length of 8192.
6350 lt_cv_sys_max_cmd_len
=8192;
6353 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6354 # This has been around since 386BSD, at least. Likely further.
6355 if test -x /sbin
/sysctl
; then
6356 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6357 elif test -x /usr
/sbin
/sysctl
; then
6358 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6360 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6362 # And add a safety zone
6363 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6364 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6368 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6369 lt_cv_sys_max_cmd_len
=196608
6373 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6374 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6375 # nice to cause kernel panics so lets avoid the loop below.
6376 # First set a reasonable default.
6377 lt_cv_sys_max_cmd_len
=16384
6379 if test -x /sbin
/sysconfig
; then
6380 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6381 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6386 lt_cv_sys_max_cmd_len
=102400
6388 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6389 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6390 if test -n "$kargmax"; then
6391 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6393 lt_cv_sys_max_cmd_len
=32768
6397 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6398 if test -n "$lt_cv_sys_max_cmd_len"; then
6399 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6400 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6402 # Make teststring a little bigger before we do anything with it.
6403 # a 1K string should be a reasonable start.
6404 for i
in 1 2 3 4 5 6 7 8 ; do
6405 teststring
=$teststring$teststring
6407 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6408 # If test is not a shell built-in, we'll probably end up computing a
6409 # maximum length that is only half of the actual maximum length, but
6411 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6412 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6413 test $i != 17 # 1/2 MB should be enough
6416 teststring
=$teststring$teststring
6418 # Only check the string length outside the loop.
6419 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6421 # Add a significant safety factor because C++ compilers can tack on
6422 # massive amounts of additional arguments before passing them to the
6423 # linker. It appears as though 1/2 is a usable value.
6424 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6431 if test -n $lt_cv_sys_max_cmd_len ; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6433 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6436 $as_echo "none" >&6; }
6438 max_cmd_len
=$lt_cv_sys_max_cmd_len
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6450 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6451 # Try some XSI features
6454 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6456 && eval 'test $(( 1 + 1 )) -eq 2 \
6457 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6460 $as_echo "$xsi_shell" >&6; }
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6464 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6466 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6468 && lt_shell_append=yes
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6470 $as_echo "$lt_shell_append" >&6; }
6473 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6483 # test EBCDIC or ASCII
6484 case `echo X|tr X '\101'` in
6485 A) # ASCII based system
6486 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6487 lt_SP2NL='tr \040 \012'
6488 lt_NL2SP='tr \015\012 \040\040'
6490 *) # EBCDIC based system
6491 lt_SP2NL='tr \100 \n'
6492 lt_NL2SP='tr \r\n \100\100'
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6505 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6506 if ${lt_cv_ld_reload_flag+:} false; then :
6507 $as_echo_n "(cached
) " >&6
6509 lt_cv_ld_reload_flag='-r'
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6512 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6513 reload_flag=$lt_cv_ld_reload_flag
6514 case $reload_flag in
6516 *) reload_flag=" $reload_flag" ;;
6518 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6521 if test "$GCC" = yes; then
6522 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6524 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6537 if test -n "$ac_tool_prefix"; then
6538 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6539 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6541 $as_echo_n "checking
for $ac_word...
" >&6; }
6542 if ${ac_cv_prog_OBJDUMP+:} false; then :
6543 $as_echo_n "(cached
) " >&6
6545 if test -n "$OBJDUMP"; then
6546 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 test -z "$as_dir" && as_dir=.
6553 for ac_exec_ext in '' $ac_executable_extensions; do
6554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6555 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6556 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6565 OBJDUMP=$ac_cv_prog_OBJDUMP
6566 if test -n "$OBJDUMP"; then
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6568 $as_echo "$OBJDUMP" >&6; }
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6571 $as_echo "no
" >&6; }
6576 if test -z "$ac_cv_prog_OBJDUMP"; then
6577 ac_ct_OBJDUMP=$OBJDUMP
6578 # Extract the first word of "objdump
", so it can be a program name with args.
6579 set dummy objdump; ac_word=$2
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6581 $as_echo_n "checking
for $ac_word...
" >&6; }
6582 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6583 $as_echo_n "(cached
) " >&6
6585 if test -n "$ac_ct_OBJDUMP"; then
6586 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6605 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6606 if test -n "$ac_ct_OBJDUMP"; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6608 $as_echo "$ac_ct_OBJDUMP" >&6; }
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6611 $as_echo "no
" >&6; }
6614 if test "x
$ac_ct_OBJDUMP" = x; then
6617 case $cross_compiling:$ac_tool_warned in
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6620 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6621 ac_tool_warned=yes ;;
6623 OBJDUMP=$ac_ct_OBJDUMP
6626 OBJDUMP="$ac_cv_prog_OBJDUMP"
6629 test -z "$OBJDUMP" && OBJDUMP=objdump
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6640 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6641 if ${lt_cv_deplibs_check_method+:} false; then :
6642 $as_echo_n "(cached
) " >&6
6644 lt_cv_file_magic_cmd='$MAGIC_CMD'
6645 lt_cv_file_magic_test_file=
6646 lt_cv_deplibs_check_method='unknown'
6647 # Need to set the preceding variable on all platforms that support
6648 # interlibrary dependencies.
6649 # 'none' -- dependencies not supported.
6650 # `unknown' -- same as none, but documents that we really don't know.
6651 # 'pass_all' -- all dependencies passed with no checks.
6652 # 'test_compile' -- check by making test program.
6653 # 'file_magic [[regex]]' -- check by looking for files in library path
6654 # which responds to the $file_magic_cmd with a given extended regex.
6655 # If you have `file' or equivalent on your system and you're not sure
6656 # whether `pass_all' will *always* work, you probably want this one.
6660 lt_cv_deplibs_check_method=pass_all
6664 lt_cv_deplibs_check_method=pass_all
6668 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6669 lt_cv_file_magic_cmd='/usr/bin/file -L'
6670 lt_cv_file_magic_test_file=/shlib/libc.so
6674 # func_win32_libid is a shell function defined in ltmain.sh
6675 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6676 lt_cv_file_magic_cmd='func_win32_libid'
6680 # Base MSYS/MinGW do not provide the 'file' command needed by
6681 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6682 # unless we find 'file', for example because we are cross-compiling.
6683 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6684 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6685 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6686 lt_cv_file_magic_cmd='func_win32_libid'
6688 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6689 lt_cv_file_magic_cmd='$OBJDUMP -f'
6694 # use the weaker test based on 'objdump'. See mingw*.
6695 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6696 lt_cv_file_magic_cmd='$OBJDUMP -f'
6699 darwin* | rhapsody*)
6700 lt_cv_deplibs_check_method=pass_all
6703 freebsd* | dragonfly*)
6704 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6707 # Not sure whether the presence of OpenBSD here was a mistake.
6708 # Let's accept both of them until this is cleared up.
6709 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6710 lt_cv_file_magic_cmd=/usr/bin/file
6711 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6715 lt_cv_deplibs_check_method=pass_all
6720 lt_cv_deplibs_check_method=pass_all
6724 lt_cv_deplibs_check_method=pass_all
6727 hpux10.20* | hpux11*)
6728 lt_cv_file_magic_cmd=/usr/bin/file
6731 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6732 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6735 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]'
6736 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6739 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6740 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6746 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6747 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6750 irix5* | irix6* | nonstopux*)
6752 *-32|*"-32 ") libmagic=32-bit;;
6753 *-n32|*"-n32 ") libmagic=N32;;
6754 *-64|*"-64 ") libmagic=64-bit;;
6755 *) libmagic=never-match;;
6757 lt_cv_deplibs_check_method=pass_all
6760 # This must be Linux ELF.
6761 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6762 lt_cv_deplibs_check_method=pass_all
6766 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6767 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6769 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6774 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6775 lt_cv_file_magic_cmd=/usr/bin/file
6776 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6780 lt_cv_deplibs_check_method=pass_all
6784 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6785 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6787 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6791 osf3* | osf4* | osf5*)
6792 lt_cv_deplibs_check_method=pass_all
6796 lt_cv_deplibs_check_method=pass_all
6800 lt_cv_deplibs_check_method=pass_all
6803 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6804 lt_cv_deplibs_check_method=pass_all
6808 case $host_vendor in
6810 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]'
6811 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6814 lt_cv_deplibs_check_method=pass_all
6817 lt_cv_file_magic_cmd='/bin/file'
6818 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6821 lt_cv_file_magic_cmd='/bin/file'
6822 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6823 lt_cv_file_magic_test_file=/lib/libc.so
6826 lt_cv_deplibs_check_method=pass_all
6829 lt_cv_deplibs_check_method=pass_all
6835 lt_cv_deplibs_check_method=pass_all
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6841 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6842 file_magic_cmd=$lt_cv_file_magic_cmd
6843 deplibs_check_method=$lt_cv_deplibs_check_method
6844 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6857 if test -n "$ac_tool_prefix"; then
6858 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6859 set dummy ${ac_tool_prefix}ar; ac_word=$2
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6861 $as_echo_n "checking
for $ac_word...
" >&6; }
6862 if ${ac_cv_prog_AR+:} false; then :
6863 $as_echo_n "(cached
) " >&6
6865 if test -n "$AR"; then
6866 ac_cv_prog_AR="$AR" # Let the user override the test.
6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872 test -z "$as_dir" && as_dir=.
6873 for ac_exec_ext in '' $ac_executable_extensions; do
6874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6875 ac_cv_prog_AR="${ac_tool_prefix}ar"
6876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6886 if test -n "$AR"; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6888 $as_echo "$AR" >&6; }
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6891 $as_echo "no
" >&6; }
6896 if test -z "$ac_cv_prog_AR"; then
6898 # Extract the first word of "ar", so it can be a program name with args.
6899 set dummy ar; ac_word=$2
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6901 $as_echo_n "checking
for $ac_word...
" >&6; }
6902 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6903 $as_echo_n "(cached
) " >&6
6905 if test -n "$ac_ct_AR"; then
6906 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir=.
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6915 ac_cv_prog_ac_ct_AR="ar"
6916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6925 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6926 if test -n "$ac_ct_AR"; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6928 $as_echo "$ac_ct_AR" >&6; }
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6931 $as_echo "no
" >&6; }
6934 if test "x
$ac_ct_AR" = x; then
6937 case $cross_compiling:$ac_tool_warned in
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6940 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6941 ac_tool_warned=yes ;;
6949 test -z "$AR" && AR=ar
6950 test -z "$AR_FLAGS" && AR_FLAGS=cru
6962 if test -n "$ac_tool_prefix"; then
6963 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6964 set dummy ${ac_tool_prefix}strip; ac_word=$2
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6966 $as_echo_n "checking
for $ac_word...
" >&6; }
6967 if ${ac_cv_prog_STRIP+:} false; then :
6968 $as_echo_n "(cached
) " >&6
6970 if test -n "$STRIP"; then
6971 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977 test -z "$as_dir" && as_dir=.
6978 for ac_exec_ext in '' $ac_executable_extensions; do
6979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6980 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6990 STRIP=$ac_cv_prog_STRIP
6991 if test -n "$STRIP"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6993 $as_echo "$STRIP" >&6; }
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6996 $as_echo "no
" >&6; }
7001 if test -z "$ac_cv_prog_STRIP"; then
7003 # Extract the first word of "strip
", so it can be a program name with args.
7004 set dummy strip; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7006 $as_echo_n "checking
for $ac_word...
" >&6; }
7007 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7008 $as_echo_n "(cached
) " >&6
7010 if test -n "$ac_ct_STRIP"; then
7011 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017 test -z "$as_dir" && as_dir=.
7018 for ac_exec_ext in '' $ac_executable_extensions; do
7019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7020 ac_cv_prog_ac_ct_STRIP="strip
"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7030 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7031 if test -n "$ac_ct_STRIP"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7033 $as_echo "$ac_ct_STRIP" >&6; }
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7036 $as_echo "no
" >&6; }
7039 if test "x
$ac_ct_STRIP" = x; then
7042 case $cross_compiling:$ac_tool_warned in
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7045 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7046 ac_tool_warned=yes ;;
7051 STRIP="$ac_cv_prog_STRIP"
7054 test -z "$STRIP" && STRIP=:
7061 if test -n "$ac_tool_prefix"; then
7062 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7063 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7065 $as_echo_n "checking
for $ac_word...
" >&6; }
7066 if ${ac_cv_prog_RANLIB+:} false; then :
7067 $as_echo_n "(cached
) " >&6
7069 if test -n "$RANLIB"; then
7070 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076 test -z "$as_dir" && as_dir=.
7077 for ac_exec_ext in '' $ac_executable_extensions; do
7078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7079 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7089 RANLIB=$ac_cv_prog_RANLIB
7090 if test -n "$RANLIB"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7092 $as_echo "$RANLIB" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7095 $as_echo "no
" >&6; }
7100 if test -z "$ac_cv_prog_RANLIB"; then
7101 ac_ct_RANLIB=$RANLIB
7102 # Extract the first word of "ranlib
", so it can be a program name with args.
7103 set dummy ranlib; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7105 $as_echo_n "checking
for $ac_word...
" >&6; }
7106 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7107 $as_echo_n "(cached
) " >&6
7109 if test -n "$ac_ct_RANLIB"; then
7110 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116 test -z "$as_dir" && as_dir=.
7117 for ac_exec_ext in '' $ac_executable_extensions; do
7118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7129 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7130 if test -n "$ac_ct_RANLIB"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7132 $as_echo "$ac_ct_RANLIB" >&6; }
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7135 $as_echo "no
" >&6; }
7138 if test "x
$ac_ct_RANLIB" = x; then
7141 case $cross_compiling:$ac_tool_warned in
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7144 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7145 ac_tool_warned=yes ;;
7147 RANLIB=$ac_ct_RANLIB
7150 RANLIB="$ac_cv_prog_RANLIB"
7153 test -z "$RANLIB" && RANLIB=:
7160 # Determine commands to create old-style static archives.
7161 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7162 old_postinstall_cmds='chmod 644 $oldlib'
7163 old_postuninstall_cmds=
7165 if test -n "$RANLIB"; then
7168 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7171 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7174 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7179 lock_old_archive_extraction=yes ;;
7181 lock_old_archive_extraction=no ;;
7222 # If no C compiler was specified, use CC.
7225 # If no C compiler flags were specified, use CFLAGS.
7226 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7228 # Allow CC to be a program name with arguments.
7232 # Check for command to grab the raw symbol name followed by C symbol from nm.
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7234 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7235 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7236 $as_echo_n "(cached
) " >&6
7239 # These are sane defaults that work on at least a few old systems.
7240 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7242 # Character class describing NM global symbol codes.
7243 symcode='[BCDEGRST]'
7245 # Regexp to match symbols that can be accessed directly from C.
7246 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7248 # Define system-specific variables.
7253 cygwin* | mingw* | pw32* | cegcc*)
7254 symcode='[ABCDGISTW]'
7257 if test "$host_cpu" = ia64; then
7258 symcode='[ABCDEGRST]'
7262 symcode='[BCDEGRST]'
7265 symcode='[BCDEGQRST]'
7276 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7284 # If we're using GNU nm, then use its standard symbol codes.
7285 case `$NM -V 2>&1` in
7286 *GNU* | *'with BFD'*)
7287 symcode='[ABCDGIRSTW]' ;;
7290 # Transform an extracted symbol line into a proper C declaration.
7291 # Some systems (esp. on ia64) link data and code symbols differently,
7292 # so use this general approach.
7293 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7295 # Transform an extracted symbol line into symbol name and symbol address
7296 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7297 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'"
7299 # Handle CRLF in mingw tool chain
7303 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7307 # Try without a prefix underscore, then with it.
7308 for ac_symprfx in "" "_
"; do
7310 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7311 symxfrm="\\1 $ac_symprfx\\2 \\2"
7313 # Write the raw and C identifiers.
7314 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7315 # Fake it for dumpbin and say T for any non-static function
7316 # and D for any global variable.
7317 # Also find C++ and __fastcall symbols from MSVC++,
7318 # which start with @ or ?.
7319 lt_cv_sys_global_symbol_pipe="$AWK '"\
7320 " {last_section=section; section=\$ 3};"\
7321 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7322 " \$ 0!~/External *\|/{next};"\
7323 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7324 " {if(hide[section]) next};"\
7325 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7326 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7327 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7328 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7329 " ' prfx
=^
$ac_symprfx"
7331 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7334 # Check to see that the pipe works correctly.
7338 cat > conftest.$ac_ext <<_LT_EOF
7343 void nm_test_func(void);
7344 void nm_test_func(void){}
7348 int main(){nm_test_var='a';nm_test_func();return(0);}
7351 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7352 (eval $ac_compile) 2>&5
7354 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7355 test $ac_status = 0; }; then
7356 # Now try to grab the symbols.
7358 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7359 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7361 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7362 test $ac_status = 0; } && test -s "$nlist"; then
7363 # Try sorting and uniquifying the output.
7364 if sort "$nlist" | uniq > "$nlist"T; then
7365 mv -f "$nlist"T "$nlist"
7370 # Make sure that we snagged all the symbols we need.
7371 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7372 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7373 cat <<_LT_EOF > conftest.$ac_ext
7379 # Now generate the symbol file.
7380 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7382 cat <<_LT_EOF >> conftest.$ac_ext
7384 /* The mapping between symbol names and symbols. */
7389 lt__PROGRAM__LTX_preloaded_symbols[] =
7391 { "@PROGRAM@
", (void *) 0 },
7393 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7394 cat <<\_LT_EOF >> conftest.$ac_ext
7398 /* This works around a problem in FreeBSD linker */
7399 #ifdef FREEBSD_WORKAROUND
7400 static const void *lt_preloaded_setup() {
7401 return lt__PROGRAM__LTX_preloaded_symbols;
7409 # Now try linking the two files.
7410 mv conftest.$ac_objext conftstm.$ac_objext
7411 lt_save_LIBS="$LIBS"
7412 lt_save_CFLAGS="$CFLAGS"
7413 LIBS="conftstm.
$ac_objext"
7414 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7415 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7416 (eval $ac_link) 2>&5
7418 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7419 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7422 LIBS="$lt_save_LIBS"
7423 CFLAGS="$lt_save_CFLAGS"
7425 echo "cannot
find nm_test_func
in $nlist" >&5
7428 echo "cannot
find nm_test_var
in $nlist" >&5
7431 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7434 echo "$progname: failed program was
:" >&5
7435 cat conftest.$ac_ext >&5
7437 rm -rf conftest* conftst*
7439 # Do not use the global_symbol_pipe unless it works.
7440 if test "$pipe_works" = yes; then
7443 lt_cv_sys_global_symbol_pipe=
7449 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7450 lt_cv_sys_global_symbol_to_cdecl=
7452 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7454 $as_echo "failed
" >&6; }
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7457 $as_echo "ok
" >&6; }
7482 # Check whether --enable-libtool-lock was given.
7483 if test "${enable_libtool_lock+set}" = set; then :
7484 enableval=$enable_libtool_lock;
7487 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7489 # Some flags need to be propagated to the compiler or linker for good
7493 # Find out which ABI we are using.
7494 echo 'int i;' > conftest.$ac_ext
7495 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7496 (eval $ac_compile) 2>&5
7498 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7499 test $ac_status = 0; }; then
7500 case `/usr/bin/file conftest.$ac_objext` in
7512 # Find out which ABI we are using.
7513 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7514 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7515 (eval $ac_compile) 2>&5
7517 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7518 test $ac_status = 0; }; then
7519 if test "$lt_cv_prog_gnu_ld" = yes; then
7520 case `/usr/bin/file conftest.$ac_objext` in
7522 LD="${LD-ld} -melf32bsmip"
7525 LD="${LD-ld} -melf32bmipn32"
7528 LD="${LD-ld} -melf64bmip"
7532 case `/usr/bin/file conftest.$ac_objext` in
7548 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7549 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7550 # Find out which ABI we are using.
7551 echo 'int i;' > conftest.$ac_ext
7552 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7553 (eval $ac_compile) 2>&5
7555 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7556 test $ac_status = 0; }; then
7557 case `/usr/bin/file conftest.o` in
7560 x86_64-*kfreebsd*-gnu)
7561 LD="${LD-ld} -m elf_i386_fbsd
"
7564 case `/usr/bin/file conftest.o` in
7566 LD="${LD-ld} -m elf32_x86_64
"
7569 LD="${LD-ld} -m elf_i386
"
7573 powerpc64le-*linux*)
7574 LD="${LD-ld} -m elf32lppclinux
"
7577 LD="${LD-ld} -m elf32ppclinux
"
7580 LD="${LD-ld} -m elf_s390
"
7583 LD="${LD-ld} -m elf32_sparc
"
7589 x86_64-*kfreebsd*-gnu)
7590 LD="${LD-ld} -m elf_x86_64_fbsd
"
7593 LD="${LD-ld} -m elf_x86_64
"
7596 LD="${LD-ld} -m elf64lppc
"
7599 LD="${LD-ld} -m elf64ppc
"
7601 s390*-*linux*|s390*-*tpf*)
7602 LD="${LD-ld} -m elf64_s390
"
7605 LD="${LD-ld} -m elf64_sparc
"
7615 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7616 SAVE_CFLAGS="$CFLAGS"
7617 CFLAGS="$CFLAGS -belf"
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7619 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7620 if ${lt_cv_cc_needs_belf+:} false; then :
7621 $as_echo_n "(cached
) " >&6
7624 ac_cpp='$CPP $CPPFLAGS'
7625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7630 /* end confdefs.h. */
7640 if ac_fn_c_try_link "$LINENO"; then :
7641 lt_cv_cc_needs_belf=yes
7643 lt_cv_cc_needs_belf=no
7645 rm -f core conftest.err conftest.$ac_objext \
7646 conftest$ac_exeext conftest.$ac_ext
7648 ac_cpp='$CPP $CPPFLAGS'
7649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7655 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7656 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7657 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7658 CFLAGS="$SAVE_CFLAGS"
7662 # Find out which ABI we are using.
7663 echo 'int i;' > conftest.$ac_ext
7664 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7665 (eval $ac_compile) 2>&5
7667 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7668 test $ac_status = 0; }; then
7669 case `/usr/bin/file conftest.o` in
7671 case $lt_cv_prog_gnu_ld in
7672 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7674 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7686 need_locks="$enable_libtool_lock"
7690 rhapsody* | darwin*)
7691 if test -n "$ac_tool_prefix"; then
7692 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7693 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7695 $as_echo_n "checking
for $ac_word...
" >&6; }
7696 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7697 $as_echo_n "(cached
) " >&6
7699 if test -n "$DSYMUTIL"; then
7700 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7706 test -z "$as_dir" && as_dir=.
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7709 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7719 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7720 if test -n "$DSYMUTIL"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7722 $as_echo "$DSYMUTIL" >&6; }
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7725 $as_echo "no
" >&6; }
7730 if test -z "$ac_cv_prog_DSYMUTIL"; then
7731 ac_ct_DSYMUTIL=$DSYMUTIL
7732 # Extract the first word of "dsymutil
", so it can be a program name with args.
7733 set dummy dsymutil; ac_word=$2
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7735 $as_echo_n "checking
for $ac_word...
" >&6; }
7736 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7737 $as_echo_n "(cached
) " >&6
7739 if test -n "$ac_ct_DSYMUTIL"; then
7740 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7746 test -z "$as_dir" && as_dir=.
7747 for ac_exec_ext in '' $ac_executable_extensions; do
7748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7749 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7759 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7760 if test -n "$ac_ct_DSYMUTIL"; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7762 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7765 $as_echo "no
" >&6; }
7768 if test "x
$ac_ct_DSYMUTIL" = x; then
7771 case $cross_compiling:$ac_tool_warned in
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7774 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7775 ac_tool_warned=yes ;;
7777 DSYMUTIL=$ac_ct_DSYMUTIL
7780 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7783 if test -n "$ac_tool_prefix"; then
7784 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7785 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7787 $as_echo_n "checking
for $ac_word...
" >&6; }
7788 if ${ac_cv_prog_NMEDIT+:} false; then :
7789 $as_echo_n "(cached
) " >&6
7791 if test -n "$NMEDIT"; then
7792 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798 test -z "$as_dir" && as_dir=.
7799 for ac_exec_ext in '' $ac_executable_extensions; do
7800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7801 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7811 NMEDIT=$ac_cv_prog_NMEDIT
7812 if test -n "$NMEDIT"; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7814 $as_echo "$NMEDIT" >&6; }
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7817 $as_echo "no
" >&6; }
7822 if test -z "$ac_cv_prog_NMEDIT"; then
7823 ac_ct_NMEDIT=$NMEDIT
7824 # Extract the first word of "nmedit
", so it can be a program name with args.
7825 set dummy nmedit; ac_word=$2
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7827 $as_echo_n "checking
for $ac_word...
" >&6; }
7828 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7829 $as_echo_n "(cached
) " >&6
7831 if test -n "$ac_ct_NMEDIT"; then
7832 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7838 test -z "$as_dir" && as_dir=.
7839 for ac_exec_ext in '' $ac_executable_extensions; do
7840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7841 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7851 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7852 if test -n "$ac_ct_NMEDIT"; then
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7854 $as_echo "$ac_ct_NMEDIT" >&6; }
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7857 $as_echo "no
" >&6; }
7860 if test "x
$ac_ct_NMEDIT" = x; then
7863 case $cross_compiling:$ac_tool_warned in
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7866 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7867 ac_tool_warned=yes ;;
7869 NMEDIT=$ac_ct_NMEDIT
7872 NMEDIT="$ac_cv_prog_NMEDIT"
7875 if test -n "$ac_tool_prefix"; then
7876 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7877 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7879 $as_echo_n "checking
for $ac_word...
" >&6; }
7880 if ${ac_cv_prog_LIPO+:} false; then :
7881 $as_echo_n "(cached
) " >&6
7883 if test -n "$LIPO"; then
7884 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7903 LIPO=$ac_cv_prog_LIPO
7904 if test -n "$LIPO"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7906 $as_echo "$LIPO" >&6; }
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7909 $as_echo "no
" >&6; }
7914 if test -z "$ac_cv_prog_LIPO"; then
7916 # Extract the first word of "lipo
", so it can be a program name with args.
7917 set dummy lipo; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7919 $as_echo_n "checking
for $ac_word...
" >&6; }
7920 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7921 $as_echo_n "(cached
) " >&6
7923 if test -n "$ac_ct_LIPO"; then
7924 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_ac_ct_LIPO="lipo
"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7943 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7944 if test -n "$ac_ct_LIPO"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7946 $as_echo "$ac_ct_LIPO" >&6; }
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7949 $as_echo "no
" >&6; }
7952 if test "x
$ac_ct_LIPO" = x; then
7955 case $cross_compiling:$ac_tool_warned in
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7958 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7959 ac_tool_warned=yes ;;
7964 LIPO="$ac_cv_prog_LIPO"
7967 if test -n "$ac_tool_prefix"; then
7968 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7969 set dummy ${ac_tool_prefix}otool; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7971 $as_echo_n "checking
for $ac_word...
" >&6; }
7972 if ${ac_cv_prog_OTOOL+:} false; then :
7973 $as_echo_n "(cached
) " >&6
7975 if test -n "$OTOOL"; then
7976 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7995 OTOOL=$ac_cv_prog_OTOOL
7996 if test -n "$OTOOL"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7998 $as_echo "$OTOOL" >&6; }
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8001 $as_echo "no
" >&6; }
8006 if test -z "$ac_cv_prog_OTOOL"; then
8008 # Extract the first word of "otool
", so it can be a program name with args.
8009 set dummy otool; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8011 $as_echo_n "checking
for $ac_word...
" >&6; }
8012 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8013 $as_echo_n "(cached
) " >&6
8015 if test -n "$ac_ct_OTOOL"; then
8016 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_ac_ct_OTOOL="otool
"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8035 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8036 if test -n "$ac_ct_OTOOL"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8038 $as_echo "$ac_ct_OTOOL" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8041 $as_echo "no
" >&6; }
8044 if test "x
$ac_ct_OTOOL" = x; then
8047 case $cross_compiling:$ac_tool_warned in
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8050 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8051 ac_tool_warned=yes ;;
8056 OTOOL="$ac_cv_prog_OTOOL"
8059 if test -n "$ac_tool_prefix"; then
8060 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8061 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8063 $as_echo_n "checking
for $ac_word...
" >&6; }
8064 if ${ac_cv_prog_OTOOL64+:} false; then :
8065 $as_echo_n "(cached
) " >&6
8067 if test -n "$OTOOL64"; then
8068 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8087 OTOOL64=$ac_cv_prog_OTOOL64
8088 if test -n "$OTOOL64"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8090 $as_echo "$OTOOL64" >&6; }
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8093 $as_echo "no
" >&6; }
8098 if test -z "$ac_cv_prog_OTOOL64"; then
8099 ac_ct_OTOOL64=$OTOOL64
8100 # Extract the first word of "otool64
", so it can be a program name with args.
8101 set dummy otool64; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8103 $as_echo_n "checking
for $ac_word...
" >&6; }
8104 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8105 $as_echo_n "(cached
) " >&6
8107 if test -n "$ac_ct_OTOOL64"; then
8108 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8127 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8128 if test -n "$ac_ct_OTOOL64"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8130 $as_echo "$ac_ct_OTOOL64" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8133 $as_echo "no
" >&6; }
8136 if test "x
$ac_ct_OTOOL64" = x; then
8139 case $cross_compiling:$ac_tool_warned in
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8142 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8143 ac_tool_warned=yes ;;
8145 OTOOL64=$ac_ct_OTOOL64
8148 OTOOL64="$ac_cv_prog_OTOOL64"
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8178 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8179 if ${lt_cv_apple_cc_single_mod+:} false; then :
8180 $as_echo_n "(cached
) " >&6
8182 lt_cv_apple_cc_single_mod=no
8183 if test -z "${LT_MULTI_MODULE}"; then
8184 # By default we will add the -single_module flag. You can override
8185 # by either setting the environment variable LT_MULTI_MODULE
8186 # non-empty at configure time, or by adding -multi_module to the
8188 rm -rf libconftest.dylib*
8189 echo "int foo
(void
){return 1;}" > conftest.c
8190 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8191 -dynamiclib -Wl,-single_module conftest.c
" >&5
8192 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8193 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8195 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8196 lt_cv_apple_cc_single_mod=yes
8198 cat conftest.err >&5
8200 rm -rf libconftest.dylib*
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8205 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8207 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8208 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8209 $as_echo_n "(cached
) " >&6
8211 lt_cv_ld_exported_symbols_list=no
8212 save_LDFLAGS=$LDFLAGS
8213 echo "_main
" > conftest.sym
8214 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8216 /* end confdefs.h. */
8226 if ac_fn_c_try_link "$LINENO"; then :
8227 lt_cv_ld_exported_symbols_list=yes
8229 lt_cv_ld_exported_symbols_list=no
8231 rm -f core conftest.err conftest.$ac_objext \
8232 conftest$ac_exeext conftest.$ac_ext
8233 LDFLAGS="$save_LDFLAGS"
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8237 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8239 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8240 if ${lt_cv_ld_force_load+:} false; then :
8241 $as_echo_n "(cached
) " >&6
8243 lt_cv_ld_force_load=no
8244 cat > conftest.c << _LT_EOF
8245 int forced_loaded() { return 2;}
8247 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8248 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8249 echo "$AR cru libconftest.a conftest.o
" >&5
8250 $AR cru libconftest.a conftest.o 2>&5
8251 cat > conftest.c << _LT_EOF
8252 int main() { return 0;}
8254 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8255 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8257 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8258 lt_cv_ld_force_load=yes
8260 cat conftest.err >&5
8262 rm -f conftest.err libconftest.a conftest conftest.c
8263 rm -rf conftest.dSYM
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8267 $as_echo "$lt_cv_ld_force_load" >&6; }
8269 rhapsody* | darwin1.[012])
8270 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8272 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8273 darwin*) # darwin 5.x on
8274 # if running on 10.5 or later, the deployment target defaults
8275 # to the OS version, if on x86, and 10.4, the deployment
8276 # target defaults to 10.4. Don't you love it?
8277 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8278 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8279 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8281 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8283 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8287 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8288 _lt_dar_single_mod='$single_module'
8290 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8291 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8293 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8295 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8296 _lt_dsymutil='~$DSYMUTIL $lib || :'
8304 ac_cpp='$CPP $CPPFLAGS'
8305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8309 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8310 # On Suns, sometimes $CPP names a directory.
8311 if test -n "$CPP" && test -d "$CPP"; then
8314 if test -z "$CPP"; then
8315 if ${ac_cv_prog_CPP+:} false; then :
8316 $as_echo_n "(cached
) " >&6
8318 # Double quotes because CPP needs to be expanded
8319 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8322 for ac_c_preproc_warn_flag in '' yes
8324 # Use a header file that comes with gcc, so configuring glibc
8325 # with a fresh cross-compiler works.
8326 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8327 # <limits.h> exists even on freestanding compilers.
8328 # On the NeXT, cc -E runs the code through the compiler's parser,
8329 # not just through cpp. "Syntax error
" is here to catch this case.
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8333 # include <limits.h>
8335 # include <assert.h>
8339 if ac_fn_c_try_cpp "$LINENO"; then :
8342 # Broken: fails on valid input.
8345 rm -f conftest.err conftest.i conftest.$ac_ext
8347 # OK, works on sane cases. Now check whether nonexistent headers
8348 # can be detected and how.
8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 #include <ac_nonexistent.h>
8353 if ac_fn_c_try_cpp "$LINENO"; then :
8354 # Broken: success on invalid input.
8357 # Passes both tests.
8361 rm -f conftest.err conftest.i conftest.$ac_ext
8364 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8365 rm -f conftest.i conftest.err conftest.$ac_ext
8366 if $ac_preproc_ok; then :
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8379 $as_echo "$CPP" >&6; }
8381 for ac_c_preproc_warn_flag in '' yes
8383 # Use a header file that comes with gcc, so configuring glibc
8384 # with a fresh cross-compiler works.
8385 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8386 # <limits.h> exists even on freestanding compilers.
8387 # On the NeXT, cc -E runs the code through the compiler's parser,
8388 # not just through cpp. "Syntax error
" is here to catch this case.
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8392 # include <limits.h>
8394 # include <assert.h>
8398 if ac_fn_c_try_cpp "$LINENO"; then :
8401 # Broken: fails on valid input.
8404 rm -f conftest.err conftest.i conftest.$ac_ext
8406 # OK, works on sane cases. Now check whether nonexistent headers
8407 # can be detected and how.
8408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8409 /* end confdefs.h. */
8410 #include <ac_nonexistent.h>
8412 if ac_fn_c_try_cpp "$LINENO"; then :
8413 # Broken: success on invalid input.
8416 # Passes both tests.
8420 rm -f conftest.err conftest.i conftest.$ac_ext
8423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8424 rm -f conftest.i conftest.err conftest.$ac_ext
8425 if $ac_preproc_ok; then :
8428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8430 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8431 See \`config.log' for more details
" "$LINENO" 5; }
8435 ac_cpp='$CPP $CPPFLAGS'
8436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8442 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8443 if ${ac_cv_header_stdc+:} false; then :
8444 $as_echo_n "(cached
) " >&6
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8461 if ac_fn_c_try_compile "$LINENO"; then :
8462 ac_cv_header_stdc=yes
8464 ac_cv_header_stdc=no
8466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8468 if test $ac_cv_header_stdc = yes; then
8469 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8475 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8476 $EGREP "memchr
" >/dev/null 2>&1; then :
8479 ac_cv_header_stdc=no
8485 if test $ac_cv_header_stdc = yes; then
8486 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8492 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8493 $EGREP "free
" >/dev/null 2>&1; then :
8496 ac_cv_header_stdc=no
8502 if test $ac_cv_header_stdc = yes; then
8503 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8504 if test "$cross_compiling" = yes; then :
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8511 #if ((' ' & 0x0FF) == 0x020)
8512 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8513 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8515 # define ISLOWER(c) \
8516 (('a' <= (c) && (c) <= 'i') \
8517 || ('j' <= (c) && (c) <= 'r') \
8518 || ('s' <= (c) && (c) <= 'z'))
8519 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8522 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8527 for (i = 0; i < 256; i++)
8528 if (XOR (islower (i), ISLOWER (i))
8529 || toupper (i) != TOUPPER (i))
8534 if ac_fn_c_try_run "$LINENO"; then :
8537 ac_cv_header_stdc=no
8539 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8540 conftest.$ac_objext conftest.beam conftest.$ac_ext
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8546 $as_echo "$ac_cv_header_stdc" >&6; }
8547 if test $ac_cv_header_stdc = yes; then
8549 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8553 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8554 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8555 inttypes.h stdint.h unistd.h
8557 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8558 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8560 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8561 cat >>confdefs.h
<<_ACEOF
8562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8570 for ac_header
in dlfcn.h
8572 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8574 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8575 cat >>confdefs.h
<<_ACEOF
8576 #define HAVE_DLFCN_H 1
8598 # Check whether --enable-shared was given.
8599 if test "${enable_shared+set}" = set; then :
8600 enableval
=$enable_shared; p
=${PACKAGE-default}
8602 yes) enable_shared
=yes ;;
8603 no
) enable_shared
=no
;;
8606 # Look at the argument we got. We use all the common list separators.
8607 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8608 for pkg
in $enableval; do
8610 if test "X$pkg" = "X$p"; then
8629 # Check whether --enable-static was given.
8630 if test "${enable_static+set}" = set; then :
8631 enableval
=$enable_static; p
=${PACKAGE-default}
8633 yes) enable_static
=yes ;;
8634 no
) enable_static
=no
;;
8637 # Look at the argument we got. We use all the common list separators.
8638 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8639 for pkg
in $enableval; do
8641 if test "X$pkg" = "X$p"; then
8661 # Check whether --with-pic was given.
8662 if test "${with_pic+set}" = set; then :
8663 withval
=$with_pic; pic_mode
="$withval"
8669 test -z "$pic_mode" && pic_mode
=default
8677 # Check whether --enable-fast-install was given.
8678 if test "${enable_fast_install+set}" = set; then :
8679 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8681 yes) enable_fast_install
=yes ;;
8682 no
) enable_fast_install
=no
;;
8684 enable_fast_install
=no
8685 # Look at the argument we got. We use all the common list separators.
8686 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8687 for pkg
in $enableval; do
8689 if test "X$pkg" = "X$p"; then
8690 enable_fast_install
=yes
8697 enable_fast_install
=yes
8710 # This can be used to rebuild libtool when needed
8711 LIBTOOL_DEPS
="$ltmain"
8713 # Always use our own libtool.
8714 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8741 test -z "$LN_S" && LN_S
="ln -s"
8756 if test -n "${ZSH_VERSION+set}" ; then
8757 setopt NO_GLOB_SUBST
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8761 $as_echo_n "checking for objdir... " >&6; }
8762 if ${lt_cv_objdir+:} false
; then :
8763 $as_echo_n "(cached) " >&6
8765 rm -f .libs
2>/dev
/null
8766 mkdir .libs
2>/dev
/null
8767 if test -d .libs
; then
8770 # MS-DOS does not allow filenames that begin with a dot.
8773 rmdir .libs
2>/dev
/null
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8776 $as_echo "$lt_cv_objdir" >&6; }
8777 objdir
=$lt_cv_objdir
8783 cat >>confdefs.h
<<_ACEOF
8784 #define LT_OBJDIR "$lt_cv_objdir/"
8792 # AIX sometimes has problems with the GCC collect2 program. For some
8793 # reason, if we set the COLLECT_NAMES environment variable, the problems
8794 # vanish in a puff of smoke.
8795 if test "X${COLLECT_NAMES+set}" != Xset
; then
8797 export COLLECT_NAMES
8804 can_build_shared
=yes
8806 # All known linkers require a `.a' archive for static linking (except MSVC,
8807 # which needs '.lib').
8810 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8813 old_CFLAGS
="$CFLAGS"
8815 # Set sane defaults for various variables
8816 test -z "$CC" && CC
=cc
8817 test -z "$LTCC" && LTCC
=$CC
8818 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8819 test -z "$LD" && LD
=ld
8820 test -z "$ac_objext" && ac_objext
=o
8822 for cc_temp
in $compiler""; do
8824 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8825 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8830 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8833 # Only perform the check for file, if the check method requires it
8834 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8835 case $deplibs_check_method in
8837 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8839 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8840 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8841 $as_echo_n "(cached) " >&6
8845 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8848 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8849 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8850 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8851 for ac_dir
in $ac_dummy; do
8853 test -z "$ac_dir" && ac_dir
=.
8854 if test -f $ac_dir/${ac_tool_prefix}file; then
8855 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8856 if test -n "$file_magic_test_file"; then
8857 case $deplibs_check_method in
8859 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8860 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8861 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8862 $EGREP "$file_magic_regex" > /dev
/null
; then
8867 *** Warning: the command libtool uses to detect shared libraries,
8868 *** $file_magic_cmd, produces output that libtool cannot recognize.
8869 *** The result is that libtool may fail to recognize shared libraries
8870 *** as such. This will affect the creation of libtool libraries that
8871 *** depend on shared libraries, but programs linked with such libtool
8872 *** libraries will work regardless of this problem. Nevertheless, you
8873 *** may want to report the problem to your system manager and/or to
8874 *** bug-libtool@gnu.org
8884 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8889 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8890 if test -n "$MAGIC_CMD"; then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8892 $as_echo "$MAGIC_CMD" >&6; }
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8895 $as_echo "no" >&6; }
8902 if test -z "$lt_cv_path_MAGIC_CMD"; then
8903 if test -n "$ac_tool_prefix"; then
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8905 $as_echo_n "checking for file... " >&6; }
8906 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8907 $as_echo_n "(cached) " >&6
8911 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8914 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8915 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8916 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8917 for ac_dir
in $ac_dummy; do
8919 test -z "$ac_dir" && ac_dir
=.
8920 if test -f $ac_dir/file; then
8921 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8922 if test -n "$file_magic_test_file"; then
8923 case $deplibs_check_method in
8925 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8926 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8927 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8928 $EGREP "$file_magic_regex" > /dev
/null
; then
8933 *** Warning: the command libtool uses to detect shared libraries,
8934 *** $file_magic_cmd, produces output that libtool cannot recognize.
8935 *** The result is that libtool may fail to recognize shared libraries
8936 *** as such. This will affect the creation of libtool libraries that
8937 *** depend on shared libraries, but programs linked with such libtool
8938 *** libraries will work regardless of this problem. Nevertheless, you
8939 *** may want to report the problem to your system manager and/or to
8940 *** bug-libtool@gnu.org
8950 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8955 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8956 if test -n "$MAGIC_CMD"; then
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8958 $as_echo "$MAGIC_CMD" >&6; }
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8961 $as_echo "no" >&6; }
8974 # Use C for the default configuration in the libtool script
8978 ac_cpp
='$CPP $CPPFLAGS'
8979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8984 # Source file extension for C test sources.
8987 # Object file extension for compiled C test sources.
8991 # Code to be used in simple compile tests
8992 lt_simple_compile_test_code
="int some_variable = 0;"
8994 # Code to be used in simple link tests
8995 lt_simple_link_test_code
='int main(){return(0);}'
9003 # If no C compiler was specified, use CC.
9006 # If no C compiler flags were specified, use CFLAGS.
9007 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9009 # Allow CC to be a program name with arguments.
9012 # Save the default compiler, since it gets overwritten when the other
9013 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9014 compiler_DEFAULT
=$CC
9016 # save warnings/boilerplate of simple test code
9017 ac_outfile
=conftest.
$ac_objext
9018 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9019 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9020 _lt_compiler_boilerplate
=`cat conftest.err`
9023 ac_outfile
=conftest.
$ac_objext
9024 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9025 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9026 _lt_linker_boilerplate
=`cat conftest.err`
9031 ## There is no encapsulation within the following macros, do not change
9032 ## the running order or otherwise move them around unless you know exactly
9033 ## what you are doing...
9034 if test -n "$compiler"; then
9036 lt_prog_compiler_no_builtin_flag
=
9038 if test "$GCC" = yes; then
9039 case $cc_basename in
9041 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9043 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9047 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9048 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9049 $as_echo_n "(cached) " >&6
9051 lt_cv_prog_compiler_rtti_exceptions
=no
9052 ac_outfile
=conftest.
$ac_objext
9053 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9054 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9055 # Insert the option either (1) after the last *FLAGS variable, or
9056 # (2) before a word containing "conftest.", or (3) at the end.
9057 # Note that $ac_compile itself does not contain backslashes and begins
9058 # with a dollar sign (not a hyphen), so the echo should work correctly.
9059 # The option is referenced via a variable to avoid confusing sed.
9060 lt_compile
=`echo "$ac_compile" | $SED \
9061 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9062 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9063 -e 's:$: $lt_compiler_flag:'`
9064 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9065 (eval "$lt_compile" 2>conftest.err
)
9067 cat conftest.err
>&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 if (exit $ac_status) && test -s "$ac_outfile"; then
9070 # The compiler can only warn and ignore the option if not recognized
9071 # So say no if there are warnings other than the usual output.
9072 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9073 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9074 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9075 lt_cv_prog_compiler_rtti_exceptions
=yes
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9082 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9084 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9085 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9097 lt_prog_compiler_wl
=
9098 lt_prog_compiler_pic
=
9099 lt_prog_compiler_static
=
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9102 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9104 if test "$GCC" = yes; then
9105 lt_prog_compiler_wl
='-Wl,'
9106 lt_prog_compiler_static
='-static'
9110 # All AIX code is PIC.
9111 if test "$host_cpu" = ia64
; then
9112 # AIX 5 now supports IA64 processor
9113 lt_prog_compiler_static
='-Bstatic'
9115 lt_prog_compiler_pic
='-fPIC'
9121 # see comment about AmigaOS4 .so support
9122 lt_prog_compiler_pic
='-fPIC'
9125 # FIXME: we need at least 68020 code to build shared libraries, but
9126 # adding the `-m68020' flag to GCC prevents building anything better,
9128 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9133 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9134 # PIC is the default for these OSes.
9137 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9138 # This hack is so that the source file can tell whether it is being
9139 # built for inclusion in a dll (and should export symbols for example).
9140 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9141 # (--disable-auto-import) libraries
9142 lt_prog_compiler_pic
='-DDLL_EXPORT'
9145 darwin
* | rhapsody
*)
9146 # PIC is the default on this platform
9147 # Common symbols not allowed in MH_DYLIB files
9148 lt_prog_compiler_pic
='-fno-common'
9152 # PIC is the default for Haiku.
9153 # The "-static" flag exists, but is broken.
9154 lt_prog_compiler_static
=
9158 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9159 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9160 # sets the default TLS model and affects inlining.
9166 lt_prog_compiler_pic
='-fPIC'
9172 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9173 # Instead, we relocate shared libraries at runtime.
9177 # Just because we use GCC doesn't mean we suddenly get shared libraries
9178 # on systems that don't support them.
9179 lt_prog_compiler_can_build_shared
=no
9184 # QNX uses GNU C++, but need to define -shared option too, otherwise
9186 lt_prog_compiler_pic
='-fPIC -shared'
9190 if test -d /usr
/nec
; then
9191 lt_prog_compiler_pic
=-Kconform_pic
9196 lt_prog_compiler_pic
='-fPIC'
9200 case $cc_basename in
9201 nvcc
*) # Cuda Compiler Driver 2.2
9202 lt_prog_compiler_wl
='-Xlinker '
9203 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9207 # PORTME Check for flag to pass linker flags through the system compiler.
9210 lt_prog_compiler_wl
='-Wl,'
9211 if test "$host_cpu" = ia64
; then
9212 # AIX 5 now supports IA64 processor
9213 lt_prog_compiler_static
='-Bstatic'
9215 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9219 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9220 # This hack is so that the source file can tell whether it is being
9221 # built for inclusion in a dll (and should export symbols for example).
9222 lt_prog_compiler_pic
='-DDLL_EXPORT'
9225 hpux9
* | hpux10
* | hpux11
*)
9226 lt_prog_compiler_wl
='-Wl,'
9227 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9234 lt_prog_compiler_pic
='+Z'
9237 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9238 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9241 irix5
* | irix6
* | nonstopux
*)
9242 lt_prog_compiler_wl
='-Wl,'
9243 # PIC (with -KPIC) is the default.
9244 lt_prog_compiler_static
='-non_shared'
9247 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9248 case $cc_basename in
9249 # old Intel for x86_64 which still supported -KPIC.
9251 lt_prog_compiler_wl
='-Wl,'
9252 lt_prog_compiler_pic
='-KPIC'
9253 lt_prog_compiler_static
='-static'
9255 # icc used to be incompatible with GCC.
9256 # ICC 10 doesn't accept -KPIC any more.
9258 lt_prog_compiler_wl
='-Wl,'
9259 lt_prog_compiler_pic
='-fPIC'
9260 lt_prog_compiler_static
='-static'
9262 # Lahey Fortran 8.1.
9264 lt_prog_compiler_wl
='-Wl,'
9265 lt_prog_compiler_pic
='--shared'
9266 lt_prog_compiler_static
='--static'
9268 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9269 # Portland Group compilers (*not* the Pentium gcc compiler,
9270 # which looks to be a dead project)
9271 lt_prog_compiler_wl
='-Wl,'
9272 lt_prog_compiler_pic
='-fpic'
9273 lt_prog_compiler_static
='-Bstatic'
9276 lt_prog_compiler_wl
='-Wl,'
9277 # All Alpha code is PIC.
9278 lt_prog_compiler_static
='-non_shared'
9280 xl
* | bgxl
* | bgf
* | mpixl
*)
9281 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9282 lt_prog_compiler_wl
='-Wl,'
9283 lt_prog_compiler_pic
='-qpic'
9284 lt_prog_compiler_static
='-qstaticlink'
9287 case `$CC -V 2>&1 | sed 5q` in
9288 *Sun\ F
* |
*Sun
*Fortran
*)
9289 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9290 lt_prog_compiler_pic
='-KPIC'
9291 lt_prog_compiler_static
='-Bstatic'
9292 lt_prog_compiler_wl
=''
9296 lt_prog_compiler_pic
='-KPIC'
9297 lt_prog_compiler_static
='-Bstatic'
9298 lt_prog_compiler_wl
='-Wl,'
9306 lt_prog_compiler_pic
='-KPIC'
9307 lt_prog_compiler_static
='-Bstatic'
9311 # QNX uses GNU C++, but need to define -shared option too, otherwise
9313 lt_prog_compiler_pic
='-fPIC -shared'
9316 osf3
* | osf4
* | osf5
*)
9317 lt_prog_compiler_wl
='-Wl,'
9318 # All OSF/1 code is PIC.
9319 lt_prog_compiler_static
='-non_shared'
9323 lt_prog_compiler_static
='-non_shared'
9327 lt_prog_compiler_pic
='-KPIC'
9328 lt_prog_compiler_static
='-Bstatic'
9329 case $cc_basename in
9331 lt_prog_compiler_wl
='-Qoption ld ';;
9333 lt_prog_compiler_wl
='-Wl,';;
9338 lt_prog_compiler_wl
='-Qoption ld '
9339 lt_prog_compiler_pic
='-PIC'
9340 lt_prog_compiler_static
='-Bstatic'
9343 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9344 lt_prog_compiler_wl
='-Wl,'
9345 lt_prog_compiler_pic
='-KPIC'
9346 lt_prog_compiler_static
='-Bstatic'
9350 if test -d /usr
/nec
;then
9351 lt_prog_compiler_pic
='-Kconform_pic'
9352 lt_prog_compiler_static
='-Bstatic'
9356 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9357 lt_prog_compiler_wl
='-Wl,'
9358 lt_prog_compiler_pic
='-KPIC'
9359 lt_prog_compiler_static
='-Bstatic'
9363 lt_prog_compiler_wl
='-Wl,'
9364 lt_prog_compiler_can_build_shared
=no
9368 lt_prog_compiler_pic
='-pic'
9369 lt_prog_compiler_static
='-Bstatic'
9373 lt_prog_compiler_can_build_shared
=no
9379 # For platforms which do not support PIC, -DPIC is meaningless:
9381 lt_prog_compiler_pic
=
9384 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9388 $as_echo "$lt_prog_compiler_pic" >&6; }
9396 # Check to make sure the PIC flag actually works.
9398 if test -n "$lt_prog_compiler_pic"; then
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9400 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9401 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9402 $as_echo_n "(cached) " >&6
9404 lt_cv_prog_compiler_pic_works
=no
9405 ac_outfile
=conftest.
$ac_objext
9406 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9407 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9408 # Insert the option either (1) after the last *FLAGS variable, or
9409 # (2) before a word containing "conftest.", or (3) at the end.
9410 # Note that $ac_compile itself does not contain backslashes and begins
9411 # with a dollar sign (not a hyphen), so the echo should work correctly.
9412 # The option is referenced via a variable to avoid confusing sed.
9413 lt_compile
=`echo "$ac_compile" | $SED \
9414 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9415 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9416 -e 's:$: $lt_compiler_flag:'`
9417 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9418 (eval "$lt_compile" 2>conftest.err
)
9420 cat conftest.err
>&5
9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 if (exit $ac_status) && test -s "$ac_outfile"; then
9423 # The compiler can only warn and ignore the option if not recognized
9424 # So say no if there are warnings other than the usual output.
9425 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9426 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9427 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9428 lt_cv_prog_compiler_pic_works
=yes
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9435 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9437 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9438 case $lt_prog_compiler_pic in
9440 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9443 lt_prog_compiler_pic
=
9444 lt_prog_compiler_can_build_shared
=no
9455 # Check to make sure the static flag actually works.
9457 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9459 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9460 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9461 $as_echo_n "(cached) " >&6
9463 lt_cv_prog_compiler_static_works
=no
9464 save_LDFLAGS
="$LDFLAGS"
9465 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9466 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9467 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9468 # The linker can only warn and ignore the option if not recognized
9469 # So say no if there are warnings
9470 if test -s conftest.err
; then
9471 # Append any errors to the config.log.
9472 cat conftest.err
1>&5
9473 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9474 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9475 if diff conftest.exp conftest.er2
>/dev
/null
; then
9476 lt_cv_prog_compiler_static_works
=yes
9479 lt_cv_prog_compiler_static_works
=yes
9483 LDFLAGS
="$save_LDFLAGS"
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9487 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9489 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9492 lt_prog_compiler_static
=
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9502 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9503 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9504 $as_echo_n "(cached) " >&6
9506 lt_cv_prog_compiler_c_o
=no
9507 $RM -r conftest
2>/dev
/null
9511 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9513 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9514 # Insert the option either (1) after the last *FLAGS variable, or
9515 # (2) before a word containing "conftest.", or (3) at the end.
9516 # Note that $ac_compile itself does not contain backslashes and begins
9517 # with a dollar sign (not a hyphen), so the echo should work correctly.
9518 lt_compile
=`echo "$ac_compile" | $SED \
9519 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9520 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9521 -e 's:$: $lt_compiler_flag:'`
9522 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9523 (eval "$lt_compile" 2>out
/conftest.err
)
9525 cat out
/conftest.err
>&5
9526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9529 # The compiler can only warn and ignore the option if not recognized
9530 # So say no if there are warnings
9531 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9532 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9533 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9534 lt_cv_prog_compiler_c_o
=yes
9539 # SGI C++ compiler will create directory out/ii_files/ for
9540 # template instantiation
9541 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9542 $RM out
/* && rmdir out
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9549 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9557 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9558 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9559 $as_echo_n "(cached) " >&6
9561 lt_cv_prog_compiler_c_o
=no
9562 $RM -r conftest
2>/dev
/null
9566 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9568 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9569 # Insert the option either (1) after the last *FLAGS variable, or
9570 # (2) before a word containing "conftest.", or (3) at the end.
9571 # Note that $ac_compile itself does not contain backslashes and begins
9572 # with a dollar sign (not a hyphen), so the echo should work correctly.
9573 lt_compile
=`echo "$ac_compile" | $SED \
9574 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9575 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9576 -e 's:$: $lt_compiler_flag:'`
9577 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9578 (eval "$lt_compile" 2>out
/conftest.err
)
9580 cat out
/conftest.err
>&5
9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9584 # The compiler can only warn and ignore the option if not recognized
9585 # So say no if there are warnings
9586 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9587 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9588 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9589 lt_cv_prog_compiler_c_o
=yes
9594 # SGI C++ compiler will create directory out/ii_files/ for
9595 # template instantiation
9596 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9597 $RM out
/* && rmdir out
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9604 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9609 hard_links
="nottested"
9610 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9611 # do not overwrite the value of need_locks provided by the user
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9613 $as_echo_n "checking if we can lock with hard links... " >&6; }
9616 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9618 ln conftest.a conftest.b
2>&5 || hard_links
=no
9619 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9621 $as_echo "$hard_links" >&6; }
9622 if test "$hard_links" = no
; then
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9624 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9637 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9640 allow_undefined_flag
=
9641 always_export_symbols
=no
9643 archive_expsym_cmds
=
9644 compiler_needs_object
=no
9645 enable_shared_with_static_runtimes
=no
9646 export_dynamic_flag_spec
=
9647 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9648 hardcode_automatic
=no
9650 hardcode_direct_absolute
=no
9651 hardcode_libdir_flag_spec
=
9652 hardcode_libdir_flag_spec_ld
=
9653 hardcode_libdir_separator
=
9655 hardcode_shlibpath_var
=unsupported
9657 link_all_deplibs
=unknown
9660 old_archive_from_new_cmds
=
9661 old_archive_from_expsyms_cmds
=
9662 thread_safe_flag_spec
=
9663 whole_archive_flag_spec
=
9664 # include_expsyms should be a list of space-separated symbols to be *always*
9665 # included in the symbol list
9667 # exclude_expsyms can be an extended regexp of symbols to exclude
9668 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9669 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9670 # as well as any symbol that contains `d'.
9671 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9672 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9673 # platforms (ab)use it in PIC code, but their linkers get confused if
9674 # the symbol is explicitly referenced. Since portable code cannot
9675 # rely on this symbol name, it's probably fine to never include it in
9676 # preloaded symbol tables.
9677 # Exclude shared library initialization/finalization symbols.
9678 extract_expsyms_cmds
=
9681 cygwin
* | mingw
* | pw32
* | cegcc
*)
9682 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9683 # When not using gcc, we currently assume that we are using
9684 # Microsoft Visual C++.
9685 if test "$GCC" != yes; then
9690 # we just hope/assume this is gcc and not c89 (= MSVC++)
9700 # On some targets, GNU ld is compatible enough with the native linker
9701 # that we're better off using the native interface for both.
9702 lt_use_gnu_ld_interface
=no
9703 if test "$with_gnu_ld" = yes; then
9706 # The AIX port of GNU ld has always aspired to compatibility
9707 # with the native linker. However, as the warning in the GNU ld
9708 # block says, versions before 2.19.5* couldn't really create working
9709 # shared libraries, regardless of the interface used.
9710 case `$LD -v 2>&1` in
9711 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9712 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9713 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9715 lt_use_gnu_ld_interface
=yes
9720 lt_use_gnu_ld_interface
=yes
9725 if test "$lt_use_gnu_ld_interface" = yes; then
9726 # If archive_cmds runs LD, not CC, wlarc should be empty
9729 # Set some defaults for GNU ld with shared library support. These
9730 # are reset later if shared libraries are not supported. Putting them
9731 # here allows them to be overridden if necessary.
9732 runpath_var
=LD_RUN_PATH
9733 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9734 export_dynamic_flag_spec
='${wl}--export-dynamic'
9735 # ancient GNU ld didn't support --whole-archive et. al.
9736 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9737 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9739 whole_archive_flag_spec
=
9741 supports_anon_versioning
=no
9742 case `$LD -v 2>&1` in
9743 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9744 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9745 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9746 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9747 *\
2.11.
*) ;; # other 2.11 versions
9748 *) supports_anon_versioning
=yes ;;
9751 # See if GNU ld supports shared libraries.
9754 # On AIX/PPC, the GNU linker is very broken
9755 if test "$host_cpu" != ia64
; then
9759 *** Warning: the GNU linker, at least up to release 2.19, is reported
9760 *** to be unable to reliably create shared libraries on AIX.
9761 *** Therefore, libtool is disabling shared libraries support. If you
9762 *** really care for shared libraries, you may want to install binutils
9763 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9764 *** You will then need to restart the configuration process.
9773 # see comment about AmigaOS4 .so support
9774 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9775 archive_expsym_cmds
=''
9778 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)'
9779 hardcode_libdir_flag_spec
='-L$libdir'
9780 hardcode_minus_L
=yes
9786 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9787 allow_undefined_flag
=unsupported
9788 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9789 # support --undefined. This deserves some investigation. FIXME
9790 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9796 cygwin
* | mingw
* | pw32
* | cegcc
*)
9797 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9798 # as there is no search path for DLLs.
9799 hardcode_libdir_flag_spec
='-L$libdir'
9800 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9801 allow_undefined_flag
=unsupported
9802 always_export_symbols
=no
9803 enable_shared_with_static_runtimes
=yes
9804 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9806 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9807 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9808 # If the export-symbols file already is a .def file (1st line
9809 # is EXPORTS), use it as is; otherwise, prepend...
9810 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9811 cp $export_symbols $output_objdir/$soname.def;
9813 echo EXPORTS > $output_objdir/$soname.def;
9814 cat $export_symbols >> $output_objdir/$soname.def;
9816 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9823 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9824 link_all_deplibs
=yes
9829 hardcode_shlibpath_var
=no
9830 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9831 export_dynamic_flag_spec
='${wl}-E'
9832 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9833 # Instead, shared libraries are loaded at an image base (0x10000000 by
9834 # default) and relocated if they conflict, which is a slow very memory
9835 # consuming and fragmenting process. To avoid this, we pick a random,
9836 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9837 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9838 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9839 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'
9842 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9844 if test "$host_os" = linux-dietlibc
; then
9845 case $cc_basename in
9846 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9849 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9850 && test "$tmp_diet" = no
9852 tmp_addflag
=' $pic_flag'
9853 tmp_sharedflag
='-shared'
9854 case $cc_basename,$host_cpu in
9855 pgcc
*) # Portland Group C compiler
9856 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'
9857 tmp_addflag
=' $pic_flag'
9859 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9860 # Portland Group f77 and f90 compilers
9861 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'
9862 tmp_addflag
=' $pic_flag -Mnomain' ;;
9863 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9864 tmp_addflag
=' -i_dynamic' ;;
9865 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9866 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9867 ifc
* | ifort
*) # Intel Fortran compiler
9868 tmp_addflag
=' -nofor_main' ;;
9869 lf95
*) # Lahey Fortran 8.1
9870 whole_archive_flag_spec
=
9871 tmp_sharedflag
='--shared' ;;
9872 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9873 tmp_sharedflag
='-qmkshrobj'
9875 nvcc
*) # Cuda Compiler Driver 2.2
9876 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'
9877 compiler_needs_object
=yes
9880 case `$CC -V 2>&1 | sed 5q` in
9881 *Sun\ C
*) # Sun C 5.9
9882 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'
9883 compiler_needs_object
=yes
9884 tmp_sharedflag
='-G' ;;
9885 *Sun\ F
*) # Sun Fortran 8.3
9886 tmp_sharedflag
='-G' ;;
9888 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9890 if test "x$supports_anon_versioning" = xyes
; then
9891 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9892 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9893 echo "local: *; };" >> $output_objdir/$libname.ver~
9894 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9897 case $cc_basename in
9898 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9899 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9900 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9901 hardcode_libdir_flag_spec
=
9902 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9903 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9904 if test "x$supports_anon_versioning" = xyes
; then
9905 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9906 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9907 echo "local: *; };" >> $output_objdir/$libname.ver~
9908 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9918 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9919 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9922 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9923 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9928 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9932 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9933 *** create shared libraries on Solaris systems. Therefore, libtool
9934 *** is disabling shared libraries support. We urge you to upgrade GNU
9935 *** binutils to release 2.9.1 or newer. Another option is to modify
9936 *** your PATH or compiler configuration so that the native linker is
9937 *** used, and then restart.
9940 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9941 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9942 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9948 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9949 case `$LD -v 2>&1` in
9950 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9954 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9955 *** reliably create shared libraries on SCO systems. Therefore, libtool
9956 *** is disabling shared libraries support. We urge you to upgrade GNU
9957 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9958 *** your PATH or compiler configuration so that the native linker is
9959 *** used, and then restart.
9964 # For security reasons, it is highly recommended that you always
9965 # use absolute paths for naming shared libraries, and exclude the
9966 # DT_RUNPATH tag from executables and libraries. But doing so
9967 # requires that you compile everything twice, which is a pain.
9968 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9969 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9970 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9971 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9980 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9983 hardcode_shlibpath_var
=no
9987 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9988 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9989 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9996 if test "$ld_shlibs" = no
; then
9998 hardcode_libdir_flag_spec
=
9999 export_dynamic_flag_spec
=
10000 whole_archive_flag_spec
=
10003 # PORTME fill in a description of your system's linker (not GNU ld)
10006 allow_undefined_flag
=unsupported
10007 always_export_symbols
=yes
10008 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'
10009 # Note: this linker hardcodes the directories in LIBPATH if there
10010 # are no directories specified by -L.
10011 hardcode_minus_L
=yes
10012 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10013 # Neither direct hardcoding nor static linking is supported with a
10015 hardcode_direct
=unsupported
10020 if test "$host_cpu" = ia64
; then
10021 # On IA64, the linker does run time linking by default, so we don't
10022 # have to do anything special.
10023 aix_use_runtimelinking
=no
10024 exp_sym_flag
='-Bexport'
10027 # If we're using GNU nm, then we don't want the "-C" option.
10028 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10029 # Also, AIX nm treats weak defined symbols like other global
10030 # defined symbols, whereas GNU nm marks them as "W".
10031 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10032 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'
10034 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'
10036 aix_use_runtimelinking
=no
10038 # Test if we are trying to use run time linking or normal
10039 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10040 # need to do runtime linking.
10041 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10042 for ld_flag
in $LDFLAGS; do
10043 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10044 aix_use_runtimelinking
=yes
10051 exp_sym_flag
='-bexport'
10052 no_entry_flag
='-bnoentry'
10055 # When large executables or shared objects are built, AIX ld can
10056 # have problems creating the table of contents. If linking a library
10057 # or program results in "error TOC overflow" add -mminimal-toc to
10058 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10059 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10062 hardcode_direct
=yes
10063 hardcode_direct_absolute
=yes
10064 hardcode_libdir_separator
=':'
10065 link_all_deplibs
=yes
10066 file_list_spec
='${wl}-f,'
10068 if test "$GCC" = yes; then
10069 case $host_os in aix4.
[012]|aix4.
[012].
*)
10070 # We only want to do this on AIX 4.2 and lower, the check
10071 # below for broken collect2 doesn't work under 4.3+
10072 collect2name
=`${CC} -print-prog-name=collect2`
10073 if test -f "$collect2name" &&
10074 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10076 # We have reworked collect2
10079 # We have old collect2
10080 hardcode_direct
=unsupported
10081 # It fails to find uninstalled libraries when the uninstalled
10082 # path is not listed in the libpath. Setting hardcode_minus_L
10083 # to unsupported forces relinking
10084 hardcode_minus_L
=yes
10085 hardcode_libdir_flag_spec
='-L$libdir'
10086 hardcode_libdir_separator
=
10090 shared_flag
='-shared'
10091 if test "$aix_use_runtimelinking" = yes; then
10092 shared_flag
="$shared_flag "'${wl}-G'
10096 if test "$host_cpu" = ia64
; then
10097 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10098 # chokes on -Wl,-G. The following line is correct:
10101 if test "$aix_use_runtimelinking" = yes; then
10102 shared_flag
='${wl}-G'
10104 shared_flag
='${wl}-bM:SRE'
10109 export_dynamic_flag_spec
='${wl}-bexpall'
10110 # It seems that -bexpall does not export symbols beginning with
10111 # underscore (_), so it is better to generate a list of symbols to export.
10112 always_export_symbols
=yes
10113 if test "$aix_use_runtimelinking" = yes; then
10114 # Warning - without using the other runtime loading flags (-brtl),
10115 # -berok will link without error, but may produce a broken library.
10116 allow_undefined_flag
='-berok'
10117 # Determine the default libpath from the value encoded in an
10118 # empty executable.
10119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10130 if ac_fn_c_try_link
"$LINENO"; then :
10132 lt_aix_libpath_sed
='
10133 /Import File Strings/,/^$/ {
10139 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10140 # Check for a 64-bit object if we didn't find anything.
10141 if test -z "$aix_libpath"; then
10142 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10145 rm -f core conftest.err conftest.
$ac_objext \
10146 conftest
$ac_exeext conftest.
$ac_ext
10147 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10149 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10150 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"
10152 if test "$host_cpu" = ia64
; then
10153 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10154 allow_undefined_flag
="-z nodefs"
10155 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"
10157 # Determine the default libpath from the value encoded in an
10158 # empty executable.
10159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10170 if ac_fn_c_try_link
"$LINENO"; then :
10172 lt_aix_libpath_sed
='
10173 /Import File Strings/,/^$/ {
10179 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10180 # Check for a 64-bit object if we didn't find anything.
10181 if test -z "$aix_libpath"; then
10182 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10185 rm -f core conftest.err conftest.
$ac_objext \
10186 conftest
$ac_exeext conftest.
$ac_ext
10187 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10189 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10190 # Warning - without using the other run time loading flags,
10191 # -berok will link without error, but may produce a broken library.
10192 no_undefined_flag
=' ${wl}-bernotok'
10193 allow_undefined_flag
=' ${wl}-berok'
10194 if test "$with_gnu_ld" = yes; then
10195 # We only use this code for GNU lds that support --whole-archive.
10196 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10198 # Exported symbols can be pulled into shared objects from archives
10199 whole_archive_flag_spec
='$convenience'
10201 archive_cmds_need_lc
=yes
10202 # This is similar to how AIX traditionally builds its shared libraries.
10203 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'
10211 # see comment about AmigaOS4 .so support
10212 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10213 archive_expsym_cmds
=''
10216 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)'
10217 hardcode_libdir_flag_spec
='-L$libdir'
10218 hardcode_minus_L
=yes
10224 export_dynamic_flag_spec
=-rdynamic
10227 cygwin
* | mingw
* | pw32
* | cegcc
*)
10228 # When not using gcc, we currently assume that we are using
10229 # Microsoft Visual C++.
10230 # hardcode_libdir_flag_spec is actually meaningless, as there is
10231 # no search path for DLLs.
10232 hardcode_libdir_flag_spec
=' '
10233 allow_undefined_flag
=unsupported
10234 # Tell ltmain to make .lib files, not .a files.
10236 # Tell ltmain to make .dll files, not .so files.
10238 # FIXME: Setting linknames here is a bad hack.
10239 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10240 # The linker will automatically build a .lib file if we build a DLL.
10241 old_archive_from_new_cmds
='true'
10242 # FIXME: Should let the user specify the lib program.
10243 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10244 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10245 enable_shared_with_static_runtimes
=yes
10248 darwin
* | rhapsody
*)
10251 archive_cmds_need_lc
=no
10253 hardcode_automatic
=yes
10254 hardcode_shlibpath_var
=unsupported
10255 if test "$lt_cv_ld_force_load" = "yes"; then
10256 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\"`'
10258 whole_archive_flag_spec
=''
10260 link_all_deplibs
=yes
10261 allow_undefined_flag
="$_lt_dar_allow_undefined"
10262 case $cc_basename in
10263 ifort
*) _lt_dar_can_shared
=yes ;;
10264 *) _lt_dar_can_shared
=$GCC ;;
10266 if test "$_lt_dar_can_shared" = "yes"; then
10267 output_verbose_link_cmd
=func_echo_all
10268 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10269 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10270 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}"
10271 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}"
10280 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10281 hardcode_libdir_flag_spec
='-L$libdir'
10282 hardcode_shlibpath_var
=no
10285 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10286 # support. Future versions do this automatically, but an explicit c++rt0.o
10287 # does not break anything, and helps significantly (at the cost of a little
10290 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10291 hardcode_libdir_flag_spec
='-R$libdir'
10292 hardcode_direct
=yes
10293 hardcode_shlibpath_var
=no
10296 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10298 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10299 hardcode_direct
=yes
10300 hardcode_minus_L
=yes
10301 hardcode_shlibpath_var
=no
10304 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10305 freebsd
* | dragonfly
*)
10306 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10307 hardcode_libdir_flag_spec
='-R$libdir'
10308 hardcode_direct
=yes
10309 hardcode_shlibpath_var
=no
10313 if test "$GCC" = yes; then
10314 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'
10316 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'
10318 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10319 hardcode_libdir_separator
=:
10320 hardcode_direct
=yes
10322 # hardcode_minus_L: Not really in the search PATH,
10323 # but as the default location of the library.
10324 hardcode_minus_L
=yes
10325 export_dynamic_flag_spec
='${wl}-E'
10329 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10330 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10332 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10334 if test "$with_gnu_ld" = no
; then
10335 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10336 hardcode_libdir_flag_spec_ld
='+b $libdir'
10337 hardcode_libdir_separator
=:
10338 hardcode_direct
=yes
10339 hardcode_direct_absolute
=yes
10340 export_dynamic_flag_spec
='${wl}-E'
10341 # hardcode_minus_L: Not really in the search PATH,
10342 # but as the default location of the library.
10343 hardcode_minus_L
=yes
10348 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10351 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10354 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10357 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10363 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10366 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10370 # Older versions of the 11.00 compiler do not understand -b yet
10371 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10373 $as_echo_n "checking if $CC understands -b... " >&6; }
10374 if ${lt_cv_prog_compiler__b+:} false
; then :
10375 $as_echo_n "(cached) " >&6
10377 lt_cv_prog_compiler__b
=no
10378 save_LDFLAGS
="$LDFLAGS"
10379 LDFLAGS
="$LDFLAGS -b"
10380 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10381 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10382 # The linker can only warn and ignore the option if not recognized
10383 # So say no if there are warnings
10384 if test -s conftest.err
; then
10385 # Append any errors to the config.log.
10386 cat conftest.err
1>&5
10387 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10388 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10389 if diff conftest.exp conftest.er2
>/dev
/null
; then
10390 lt_cv_prog_compiler__b
=yes
10393 lt_cv_prog_compiler__b
=yes
10397 LDFLAGS
="$save_LDFLAGS"
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10401 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10403 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10404 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10406 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10412 if test "$with_gnu_ld" = no
; then
10413 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10414 hardcode_libdir_separator
=:
10419 hardcode_shlibpath_var
=no
10422 hardcode_direct
=yes
10423 hardcode_direct_absolute
=yes
10424 export_dynamic_flag_spec
='${wl}-E'
10426 # hardcode_minus_L: Not really in the search PATH,
10427 # but as the default location of the library.
10428 hardcode_minus_L
=yes
10434 irix5
* | irix6
* | nonstopux
*)
10435 if test "$GCC" = yes; then
10436 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'
10437 # Try to use the -exported_symbol ld option, if it does not
10438 # work, assume that -exports_file does not work either and
10439 # implicitly export all symbols.
10440 save_LDFLAGS
="$LDFLAGS"
10441 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10446 if ac_fn_c_try_link
"$LINENO"; then :
10447 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'
10450 rm -f core conftest.err conftest.
$ac_objext \
10451 conftest
$ac_exeext conftest.
$ac_ext
10452 LDFLAGS
="$save_LDFLAGS"
10454 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'
10455 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'
10457 archive_cmds_need_lc
='no'
10458 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10459 hardcode_libdir_separator
=:
10461 link_all_deplibs
=yes
10465 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10466 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10468 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10470 hardcode_libdir_flag_spec
='-R$libdir'
10471 hardcode_direct
=yes
10472 hardcode_shlibpath_var
=no
10476 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10477 hardcode_direct
=yes
10478 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10479 hardcode_libdir_separator
=:
10480 hardcode_shlibpath_var
=no
10487 if test -f /usr
/libexec
/ld.so
; then
10488 hardcode_direct
=yes
10489 hardcode_shlibpath_var
=no
10490 hardcode_direct_absolute
=yes
10491 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10492 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10493 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10494 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10495 export_dynamic_flag_spec
='${wl}-E'
10498 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10499 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10500 hardcode_libdir_flag_spec
='-R$libdir'
10503 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10504 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10514 hardcode_libdir_flag_spec
='-L$libdir'
10515 hardcode_minus_L
=yes
10516 allow_undefined_flag
=unsupported
10517 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'
10518 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10522 if test "$GCC" = yes; then
10523 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10524 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'
10526 allow_undefined_flag
=' -expect_unresolved \*'
10527 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'
10529 archive_cmds_need_lc
='no'
10530 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10531 hardcode_libdir_separator
=:
10534 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10535 if test "$GCC" = yes; then
10536 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10537 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'
10538 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10540 allow_undefined_flag
=' -expect_unresolved \*'
10541 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'
10542 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~
10543 $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'
10545 # Both c and cxx compiler support -rpath directly
10546 hardcode_libdir_flag_spec
='-rpath $libdir'
10548 archive_cmds_need_lc
='no'
10549 hardcode_libdir_separator
=:
10553 no_undefined_flag
=' -z defs'
10554 if test "$GCC" = yes; then
10556 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10557 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10558 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10560 case `$CC -V 2>&1` in
10563 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10564 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10565 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10569 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10570 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10571 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10575 hardcode_libdir_flag_spec
='-R$libdir'
10576 hardcode_shlibpath_var
=no
10578 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10580 # The compiler driver will combine and reorder linker options,
10581 # but understands `-z linker_flag'. GCC discards it without `$wl',
10582 # but is careful enough not to reorder.
10583 # Supported since Solaris 2.6 (maybe 2.5.1?)
10584 if test "$GCC" = yes; then
10585 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10587 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10591 link_all_deplibs
=yes
10595 if test "x$host_vendor" = xsequent
; then
10596 # Use $CC to link under sequent, because it throws in some extra .o
10597 # files that make .init and .fini sections work.
10598 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10600 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10602 hardcode_libdir_flag_spec
='-L$libdir'
10603 hardcode_direct
=yes
10604 hardcode_minus_L
=yes
10605 hardcode_shlibpath_var
=no
10609 case $host_vendor in
10611 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10612 hardcode_direct
=yes # is this really true???
10615 ## LD is ld it makes a PLAMLIB
10616 ## CC just makes a GrossModule.
10617 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10618 reload_cmds
='$CC -r -o $output$reload_objs'
10622 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10623 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10626 runpath_var
='LD_RUN_PATH'
10627 hardcode_shlibpath_var
=no
10631 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10632 hardcode_shlibpath_var
=no
10633 export_dynamic_flag_spec
='-Bexport'
10637 if test -d /usr
/nec
; then
10638 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10639 hardcode_shlibpath_var
=no
10640 runpath_var
=LD_RUN_PATH
10641 hardcode_runpath_var
=yes
10646 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10647 no_undefined_flag
='${wl}-z,text'
10648 archive_cmds_need_lc
=no
10649 hardcode_shlibpath_var
=no
10650 runpath_var
='LD_RUN_PATH'
10652 if test "$GCC" = yes; then
10653 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10654 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10656 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10657 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10661 sysv5
* | sco3.2v5
* | sco5v6
*)
10662 # Note: We can NOT use -z defs as we might desire, because we do not
10663 # link with -lc, and that would cause any symbols used from libc to
10664 # always be unresolved, which means just about no library would
10665 # ever link correctly. If we're not using GNU ld we use -z text
10666 # though, which does catch some bad symbols but isn't as heavy-handed
10668 no_undefined_flag
='${wl}-z,text'
10669 allow_undefined_flag
='${wl}-z,nodefs'
10670 archive_cmds_need_lc
=no
10671 hardcode_shlibpath_var
=no
10672 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10673 hardcode_libdir_separator
=':'
10674 link_all_deplibs
=yes
10675 export_dynamic_flag_spec
='${wl}-Bexport'
10676 runpath_var
='LD_RUN_PATH'
10678 if test "$GCC" = yes; then
10679 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10680 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10682 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10683 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10688 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10689 hardcode_libdir_flag_spec
='-L$libdir'
10690 hardcode_shlibpath_var
=no
10698 if test x
$host_vendor = xsni
; then
10700 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10701 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10708 $as_echo "$ld_shlibs" >&6; }
10709 test "$ld_shlibs" = no
&& can_build_shared
=no
10711 with_gnu_ld
=$with_gnu_ld
10728 # Do we need to explicitly link libc?
10730 case "x$archive_cmds_need_lc" in
10732 # Assume -lc should be added
10733 archive_cmds_need_lc
=yes
10735 if test "$enable_shared" = yes && test "$GCC" = yes; then
10736 case $archive_cmds in
10738 # FIXME: we may have to deal with multi-command sequences.
10741 # Test whether the compiler implicitly links with -lc since on some
10742 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10743 # to ld, don't add -lc before -lgcc.
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10745 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10746 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10747 $as_echo_n "(cached) " >&6
10750 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10753 (eval $ac_compile) 2>&5
10755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10756 test $ac_status = 0; } 2>conftest.err
; then
10759 libobjs
=conftest.
$ac_objext
10761 wl
=$lt_prog_compiler_wl
10762 pic_flag
=$lt_prog_compiler_pic
10768 lt_save_allow_undefined_flag
=$allow_undefined_flag
10769 allow_undefined_flag
=
10770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10771 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10774 test $ac_status = 0; }
10776 lt_cv_archive_cmds_need_lc
=no
10778 lt_cv_archive_cmds_need_lc
=yes
10780 allow_undefined_flag
=$lt_save_allow_undefined_flag
10782 cat conftest.err
1>&5
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10788 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10789 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10953 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10955 if test "$GCC" = yes; then
10957 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10958 *) lt_awk_arg
="/^libraries:/" ;;
10961 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10962 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10964 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10965 case $lt_search_path_spec in
10967 # if the path contains ";" then we assume it to be the separator
10968 # otherwise default to the standard path separator (i.e. ":") - it is
10969 # assumed that no part of a normal pathname contains ";" but that should
10970 # okay in the real world where ";" in dirpaths is itself problematic.
10971 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10974 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10977 # Ok, now we have the path, separated by spaces, we can step through it
10978 # and add multilib dir if necessary.
10979 lt_tmp_lt_search_path_spec
=
10980 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10981 for lt_sys_path
in $lt_search_path_spec; do
10982 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10983 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10985 test -d "$lt_sys_path" && \
10986 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10989 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10990 BEGIN {RS=" "; FS="/|\n";} {
10993 for (lt_i = NF; lt_i > 0; lt_i--) {
10994 if ($lt_i != "" && $lt_i != ".") {
10995 if ($lt_i == "..") {
10998 if (lt_count == 0) {
10999 lt_foo="/" $lt_i lt_foo;
11006 if (lt_foo != "") { lt_freq[lt_foo]++; }
11007 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11009 # AWK program above erroneously prepends '/' to C:/dos/paths
11012 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11013 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11015 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11017 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11019 library_names_spec
=
11020 libname_spec
='lib$name'
11024 postuninstall_cmds
=
11028 shlibpath_overrides_runpath
=unknown
11030 dynamic_linker
="$host_os ld.so"
11031 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11032 need_lib_prefix
=unknown
11033 hardcode_into_libs
=no
11035 # when you set need_version to no, make sure it does not cause -set_version
11036 # flags to be left without arguments
11037 need_version
=unknown
11042 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11043 shlibpath_var
=LIBPATH
11045 # AIX 3 has no versioning support, so we append a major version to the name.
11046 soname_spec
='${libname}${release}${shared_ext}$major'
11053 hardcode_into_libs
=yes
11054 if test "$host_cpu" = ia64
; then
11055 # AIX 5 supports IA64
11056 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11057 shlibpath_var
=LD_LIBRARY_PATH
11059 # With GCC up to 2.95.x, collect2 would create an import file
11060 # for dependence libraries. The import file would start with
11061 # the line `#! .'. This would cause the generated library to
11062 # depend on `.', always an invalid library. This was fixed in
11063 # development snapshots of GCC prior to 3.0.
11065 aix4 | aix4.
[01] | aix4.
[01].
*)
11066 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11068 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11071 can_build_shared
=no
11075 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11076 # soname into executable. Probably we can add versioning support to
11077 # collect2, so additional links can be useful in future.
11078 if test "$aix_use_runtimelinking" = yes; then
11079 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11080 # instead of lib<name>.a to let people know that these are not
11081 # typical AIX shared libraries.
11082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11084 # We preserve .a as extension for shared libraries through AIX4.2
11085 # and later when we are not doing run time linking.
11086 library_names_spec
='${libname}${release}.a $libname.a'
11087 soname_spec
='${libname}${release}${shared_ext}$major'
11089 shlibpath_var
=LIBPATH
11096 # Since July 2007 AmigaOS4 officially supports .so libraries.
11097 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11101 library_names_spec
='$libname.ixlibrary $libname.a'
11102 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11103 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'
11109 library_names_spec
='${libname}${shared_ext}'
11110 dynamic_linker
="$host_os ld.so"
11111 shlibpath_var
=LIBRARY_PATH
11117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11118 soname_spec
='${libname}${release}${shared_ext}$major'
11119 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11120 shlibpath_var
=LD_LIBRARY_PATH
11121 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11122 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11123 # the default ld.so.conf also contains /usr/contrib/lib and
11124 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11125 # libtool to hard-code these into programs
11128 cygwin
* | mingw
* | pw32
* | cegcc
*)
11129 version_type
=windows
11134 case $GCC,$host_os in
11135 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11136 library_names_spec
='$libname.dll.a'
11137 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11138 postinstall_cmds
='base_file=`basename \${file}`~
11139 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11140 dldir=$destdir/`dirname \$dlpath`~
11141 test -d \$dldir || mkdir -p \$dldir~
11142 $install_prog $dir/$dlname \$dldir/$dlname~
11143 chmod a+x \$dldir/$dlname~
11144 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11145 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11147 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11148 dlpath=$dir/\$dldll~
11150 shlibpath_overrides_runpath
=yes
11154 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11155 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11157 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11160 # MinGW DLLs use traditional 'lib' prefix
11161 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11164 # pw32 DLLs use 'pw' prefix rather than 'lib'
11165 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11171 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11174 dynamic_linker
='Win32 ld.exe'
11175 # FIXME: first we should search . and the directory the executable is in
11179 darwin
* | rhapsody
*)
11180 dynamic_linker
="$host_os dyld"
11181 version_type
=darwin
11184 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11185 soname_spec
='${libname}${release}${major}$shared_ext'
11186 shlibpath_overrides_runpath
=yes
11187 shlibpath_var
=DYLD_LIBRARY_PATH
11188 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11190 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11191 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11199 soname_spec
='${libname}${release}${shared_ext}$major'
11200 shlibpath_var
=LD_LIBRARY_PATH
11203 freebsd
* | dragonfly
*)
11204 # DragonFly does not have aout. When/if they implement a new
11205 # versioning mechanism, adjust this.
11206 if test -x /usr
/bin
/objformat
; then
11207 objformat
=`/usr/bin/objformat`
11210 freebsd
[23].
*) objformat
=aout
;;
11211 *) objformat
=elf
;;
11214 version_type
=freebsd-
$objformat
11215 case $version_type in
11217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11222 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11226 shlibpath_var
=LD_LIBRARY_PATH
11229 shlibpath_overrides_runpath
=yes
11231 freebsd3.
[01]* | freebsdelf3.
[01]*)
11232 shlibpath_overrides_runpath
=yes
11233 hardcode_into_libs
=yes
11235 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11236 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11237 shlibpath_overrides_runpath
=no
11238 hardcode_into_libs
=yes
11240 *) # from 4.6 on, and DragonFly
11241 shlibpath_overrides_runpath
=yes
11242 hardcode_into_libs
=yes
11251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11252 soname_spec
='${libname}${release}${shared_ext}$major'
11253 shlibpath_var
=LD_LIBRARY_PATH
11254 hardcode_into_libs
=yes
11261 dynamic_linker
="$host_os runtime_loader"
11262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11263 soname_spec
='${libname}${release}${shared_ext}$major'
11264 shlibpath_var
=LIBRARY_PATH
11265 shlibpath_overrides_runpath
=yes
11266 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11267 hardcode_into_libs
=yes
11270 hpux9
* | hpux10
* | hpux11
*)
11271 # Give a soname corresponding to the major version so that dld.sl refuses to
11272 # link against other versions.
11279 hardcode_into_libs
=yes
11280 dynamic_linker
="$host_os dld.so"
11281 shlibpath_var
=LD_LIBRARY_PATH
11282 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11284 soname_spec
='${libname}${release}${shared_ext}$major'
11285 if test "X$HPUX_IA64_MODE" = X32
; then
11286 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11288 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11290 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11294 hardcode_into_libs
=yes
11295 dynamic_linker
="$host_os dld.sl"
11296 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11297 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11299 soname_spec
='${libname}${release}${shared_ext}$major'
11300 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11301 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11305 dynamic_linker
="$host_os dld.sl"
11306 shlibpath_var
=SHLIB_PATH
11307 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11309 soname_spec
='${libname}${release}${shared_ext}$major'
11312 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11313 postinstall_cmds
='chmod 555 $lib'
11314 # or fails outright, so override atomically:
11315 install_override_mode
=555
11322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11323 soname_spec
='${libname}${release}${shared_ext}$major'
11324 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11325 shlibpath_var
=LD_LIBRARY_PATH
11326 shlibpath_overrides_runpath
=no
11327 hardcode_into_libs
=yes
11330 irix5
* | irix6
* | nonstopux
*)
11332 nonstopux
*) version_type
=nonstopux
;;
11334 if test "$lt_cv_prog_gnu_ld" = yes; then
11342 soname_spec
='${libname}${release}${shared_ext}$major'
11343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11345 irix5
* | nonstopux
*)
11346 libsuff
= shlibsuff
=
11349 case $LD in # libtool.m4 will add one of these switches to LD
11350 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11351 libsuff
= shlibsuff
= libmagic
=32-bit;;
11352 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11353 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11354 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11355 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11356 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11360 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11361 shlibpath_overrides_runpath
=no
11362 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11363 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11364 hardcode_into_libs
=yes
11367 # No shared lib support for Linux oldld, aout, or coff.
11368 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11372 # This must be Linux ELF.
11374 # uclinux* changes (here and below) have been submitted to the libtool
11375 # project, but have not yet been accepted: they are GCC-local changes
11376 # for the time being. (See
11377 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11378 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
11382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11383 soname_spec
='${libname}${release}${shared_ext}$major'
11384 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11385 shlibpath_var
=LD_LIBRARY_PATH
11386 shlibpath_overrides_runpath
=no
11388 # Some binutils ld are patched to set DT_RUNPATH
11389 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11390 $as_echo_n "(cached) " >&6
11392 lt_cv_shlibpath_overrides_runpath
=no
11393 save_LDFLAGS
=$LDFLAGS
11394 save_libdir
=$libdir
11395 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11396 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11408 if ac_fn_c_try_link
"$LINENO"; then :
11409 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11410 lt_cv_shlibpath_overrides_runpath
=yes
11413 rm -f core conftest.err conftest.
$ac_objext \
11414 conftest
$ac_exeext conftest.
$ac_ext
11415 LDFLAGS
=$save_LDFLAGS
11416 libdir
=$save_libdir
11420 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11422 # This implies no fast_install, which is unacceptable.
11423 # Some rework will be needed to allow for fast_install
11424 # before this can be enabled.
11425 hardcode_into_libs
=yes
11427 # Append ld.so.conf contents to the search path
11428 if test -f /etc
/ld.so.conf
; then
11429 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' ' '`
11430 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11433 # We used to test for /lib/ld.so.1 and disable shared libraries on
11434 # powerpc, because MkLinux only supported shared libraries with the
11435 # GNU dynamic linker. Since this was broken with cross compilers,
11436 # most powerpc-linux boxes support dynamic linking these days and
11437 # people can always --disable-shared, the test was removed, and we
11438 # assume the GNU/Linux dynamic linker is in use.
11439 dynamic_linker
='GNU/Linux ld.so'
11446 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11448 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11449 dynamic_linker
='NetBSD (a.out) ld.so'
11451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11452 soname_spec
='${libname}${release}${shared_ext}$major'
11453 dynamic_linker
='NetBSD ld.elf_so'
11455 shlibpath_var
=LD_LIBRARY_PATH
11456 shlibpath_overrides_runpath
=yes
11457 hardcode_into_libs
=yes
11462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11463 shlibpath_var
=LD_LIBRARY_PATH
11464 shlibpath_overrides_runpath
=yes
11471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11472 soname_spec
='${libname}${release}${shared_ext}$major'
11473 shlibpath_var
=LD_LIBRARY_PATH
11474 shlibpath_overrides_runpath
=no
11475 hardcode_into_libs
=yes
11476 dynamic_linker
='ldqnx.so'
11481 sys_lib_dlsearch_path_spec
="/usr/lib"
11483 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11485 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11486 *) need_version
=no
;;
11488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11489 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11490 shlibpath_var
=LD_LIBRARY_PATH
11491 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11493 openbsd2.
[89] | openbsd2.
[89].
*)
11494 shlibpath_overrides_runpath
=no
11497 shlibpath_overrides_runpath
=yes
11501 shlibpath_overrides_runpath
=yes
11506 libname_spec
='$name'
11509 library_names_spec
='$libname${shared_ext} $libname.a'
11510 dynamic_linker
='OS/2 ld.exe'
11511 shlibpath_var
=LIBPATH
11514 osf3
* | osf4
* | osf5
*)
11518 soname_spec
='${libname}${release}${shared_ext}$major'
11519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11520 shlibpath_var
=LD_LIBRARY_PATH
11521 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11522 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11534 soname_spec
='${libname}${release}${shared_ext}$major'
11535 shlibpath_var
=LD_LIBRARY_PATH
11536 shlibpath_overrides_runpath
=yes
11537 hardcode_into_libs
=yes
11538 # ldd complains unless libraries are executable
11539 postinstall_cmds
='chmod +x $lib'
11544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11545 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11546 shlibpath_var
=LD_LIBRARY_PATH
11547 shlibpath_overrides_runpath
=yes
11548 if test "$with_gnu_ld" = yes; then
11556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11557 soname_spec
='${libname}${release}${shared_ext}$major'
11558 shlibpath_var
=LD_LIBRARY_PATH
11559 case $host_vendor in
11561 shlibpath_overrides_runpath
=no
11563 runpath_var
=LD_RUN_PATH
11571 shlibpath_overrides_runpath
=no
11572 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11578 if test -d /usr
/nec
;then
11580 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11581 soname_spec
='$libname${shared_ext}.$major'
11582 shlibpath_var
=LD_LIBRARY_PATH
11586 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11587 version_type
=freebsd-elf
11590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11591 soname_spec
='${libname}${release}${shared_ext}$major'
11592 shlibpath_var
=LD_LIBRARY_PATH
11593 shlibpath_overrides_runpath
=yes
11594 hardcode_into_libs
=yes
11595 if test "$with_gnu_ld" = yes; then
11596 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11598 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11601 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11605 sys_lib_dlsearch_path_spec
='/usr/lib'
11609 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11614 shlibpath_var
=LD_LIBRARY_PATH
11615 shlibpath_overrides_runpath
=no
11616 hardcode_into_libs
=yes
11621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11622 soname_spec
='${libname}${release}${shared_ext}$major'
11623 shlibpath_var
=LD_LIBRARY_PATH
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11631 $as_echo "$dynamic_linker" >&6; }
11632 test "$dynamic_linker" = no
&& can_build_shared
=no
11634 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11635 if test "$GCC" = yes; then
11636 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11639 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11640 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11642 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11643 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11738 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11740 if test -n "$hardcode_libdir_flag_spec" ||
11741 test -n "$runpath_var" ||
11742 test "X$hardcode_automatic" = "Xyes" ; then
11744 # We can hardcode non-existent directories.
11745 if test "$hardcode_direct" != no
&&
11746 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11747 # have to relink, otherwise we might link with an installed library
11748 # when we should be linking with a yet-to-be-installed one
11749 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11750 test "$hardcode_minus_L" != no
; then
11751 # Linking always hardcodes the temporary library directory.
11752 hardcode_action
=relink
11754 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11755 hardcode_action
=immediate
11758 # We cannot hardcode anything, or else we can only hardcode existing
11760 hardcode_action
=unsupported
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11763 $as_echo "$hardcode_action" >&6; }
11765 if test "$hardcode_action" = relink ||
11766 test "$inherit_rpath" = yes; then
11767 # Fast installation is not supported
11768 enable_fast_install
=no
11769 elif test "$shlibpath_overrides_runpath" = yes ||
11770 test "$enable_shared" = no
; then
11771 # Fast installation is not necessary
11772 enable_fast_install
=needless
11780 if test "x$enable_dlopen" != xyes
; then
11781 enable_dlopen
=unknown
11782 enable_dlopen_self
=unknown
11783 enable_dlopen_self_static
=unknown
11790 lt_cv_dlopen
="load_add_on"
11792 lt_cv_dlopen_self
=yes
11795 mingw
* | pw32
* | cegcc
*)
11796 lt_cv_dlopen
="LoadLibrary"
11801 lt_cv_dlopen
="dlopen"
11806 # if libdl is installed we need to link against it
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11808 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11809 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11810 $as_echo_n "(cached) " >&6
11812 ac_check_lib_save_LIBS
=$LIBS
11814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11817 /* Override any GCC internal prototype to avoid an error.
11818 Use char because int might match the return type of a GCC
11819 builtin and then its argument prototype would still apply. */
11832 if ac_fn_c_try_link
"$LINENO"; then :
11833 ac_cv_lib_dl_dlopen
=yes
11835 ac_cv_lib_dl_dlopen
=no
11837 rm -f core conftest.err conftest.
$ac_objext \
11838 conftest
$ac_exeext conftest.
$ac_ext
11839 LIBS
=$ac_check_lib_save_LIBS
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11842 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11843 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11844 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11847 lt_cv_dlopen
="dyld"
11849 lt_cv_dlopen_self
=yes
11856 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11857 if test "x$ac_cv_func_shl_load" = xyes
; then :
11858 lt_cv_dlopen
="shl_load"
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11861 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11862 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11863 $as_echo_n "(cached) " >&6
11865 ac_check_lib_save_LIBS
=$LIBS
11867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11868 /* end confdefs.h. */
11870 /* Override any GCC internal prototype to avoid an error.
11871 Use char because int might match the return type of a GCC
11872 builtin and then its argument prototype would still apply. */
11880 return shl_load ();
11885 if ac_fn_c_try_link
"$LINENO"; then :
11886 ac_cv_lib_dld_shl_load
=yes
11888 ac_cv_lib_dld_shl_load
=no
11890 rm -f core conftest.err conftest.
$ac_objext \
11891 conftest
$ac_exeext conftest.
$ac_ext
11892 LIBS
=$ac_check_lib_save_LIBS
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11895 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11896 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11897 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11899 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11900 if test "x$ac_cv_func_dlopen" = xyes
; then :
11901 lt_cv_dlopen
="dlopen"
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11904 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11905 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11906 $as_echo_n "(cached) " >&6
11908 ac_check_lib_save_LIBS
=$LIBS
11910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11913 /* Override any GCC internal prototype to avoid an error.
11914 Use char because int might match the return type of a GCC
11915 builtin and then its argument prototype would still apply. */
11928 if ac_fn_c_try_link
"$LINENO"; then :
11929 ac_cv_lib_dl_dlopen
=yes
11931 ac_cv_lib_dl_dlopen
=no
11933 rm -f core conftest.err conftest.
$ac_objext \
11934 conftest
$ac_exeext conftest.
$ac_ext
11935 LIBS
=$ac_check_lib_save_LIBS
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11938 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11939 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11940 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11943 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11944 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11945 $as_echo_n "(cached) " >&6
11947 ac_check_lib_save_LIBS
=$LIBS
11948 LIBS
="-lsvld $LIBS"
11949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11952 /* Override any GCC internal prototype to avoid an error.
11953 Use char because int might match the return type of a GCC
11954 builtin and then its argument prototype would still apply. */
11967 if ac_fn_c_try_link
"$LINENO"; then :
11968 ac_cv_lib_svld_dlopen
=yes
11970 ac_cv_lib_svld_dlopen
=no
11972 rm -f core conftest.err conftest.
$ac_objext \
11973 conftest
$ac_exeext conftest.
$ac_ext
11974 LIBS
=$ac_check_lib_save_LIBS
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11977 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11978 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11979 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11982 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11983 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11984 $as_echo_n "(cached) " >&6
11986 ac_check_lib_save_LIBS
=$LIBS
11988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11989 /* end confdefs.h. */
11991 /* Override any GCC internal prototype to avoid an error.
11992 Use char because int might match the return type of a GCC
11993 builtin and then its argument prototype would still apply. */
12001 return dld_link ();
12006 if ac_fn_c_try_link
"$LINENO"; then :
12007 ac_cv_lib_dld_dld_link
=yes
12009 ac_cv_lib_dld_dld_link
=no
12011 rm -f core conftest.err conftest.
$ac_objext \
12012 conftest
$ac_exeext conftest.
$ac_ext
12013 LIBS
=$ac_check_lib_save_LIBS
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12016 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12017 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12018 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12039 if test "x$lt_cv_dlopen" != xno
; then
12045 case $lt_cv_dlopen in
12047 save_CPPFLAGS
="$CPPFLAGS"
12048 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12050 save_LDFLAGS
="$LDFLAGS"
12051 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12054 LIBS
="$lt_cv_dlopen_libs $LIBS"
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12057 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12058 if ${lt_cv_dlopen_self+:} false
; then :
12059 $as_echo_n "(cached) " >&6
12061 if test "$cross_compiling" = yes; then :
12062 lt_cv_dlopen_self
=cross
12064 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12065 lt_status
=$lt_dlunknown
12066 cat > conftest.
$ac_ext <<_LT_EOF
12067 #line 12067 "configure"
12068 #include "confdefs.h"
12077 # define LT_DLGLOBAL RTLD_GLOBAL
12080 # define LT_DLGLOBAL DL_GLOBAL
12082 # define LT_DLGLOBAL 0
12086 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12087 find out it does not work in some platform. */
12088 #ifndef LT_DLLAZY_OR_NOW
12090 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12093 # define LT_DLLAZY_OR_NOW DL_LAZY
12096 # define LT_DLLAZY_OR_NOW RTLD_NOW
12099 # define LT_DLLAZY_OR_NOW DL_NOW
12101 # define LT_DLLAZY_OR_NOW 0
12108 /* When -fvisbility=hidden is used, assume the code has been annotated
12109 correspondingly for the symbols needed. */
12110 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12111 void fnord () __attribute__((visibility("default")));
12114 void fnord () { int i=42; }
12117 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12118 int status = $lt_dlunknown;
12122 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12125 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12126 else puts (dlerror ());
12128 /* dlclose (self); */
12136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12137 (eval $ac_link) 2>&5
12139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12140 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12141 (.
/conftest
; exit; ) >&5 2>/dev
/null
12143 case x
$lt_status in
12144 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12145 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12146 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12149 # compilation failed
12150 lt_cv_dlopen_self
=no
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12158 $as_echo "$lt_cv_dlopen_self" >&6; }
12160 if test "x$lt_cv_dlopen_self" = xyes
; then
12161 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12163 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12164 if ${lt_cv_dlopen_self_static+:} false
; then :
12165 $as_echo_n "(cached) " >&6
12167 if test "$cross_compiling" = yes; then :
12168 lt_cv_dlopen_self_static
=cross
12170 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12171 lt_status
=$lt_dlunknown
12172 cat > conftest.
$ac_ext <<_LT_EOF
12173 #line 12173 "configure"
12174 #include "confdefs.h"
12183 # define LT_DLGLOBAL RTLD_GLOBAL
12186 # define LT_DLGLOBAL DL_GLOBAL
12188 # define LT_DLGLOBAL 0
12192 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12193 find out it does not work in some platform. */
12194 #ifndef LT_DLLAZY_OR_NOW
12196 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12199 # define LT_DLLAZY_OR_NOW DL_LAZY
12202 # define LT_DLLAZY_OR_NOW RTLD_NOW
12205 # define LT_DLLAZY_OR_NOW DL_NOW
12207 # define LT_DLLAZY_OR_NOW 0
12214 /* When -fvisbility=hidden is used, assume the code has been annotated
12215 correspondingly for the symbols needed. */
12216 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12217 void fnord () __attribute__((visibility("default")));
12220 void fnord () { int i=42; }
12223 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12224 int status = $lt_dlunknown;
12228 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12231 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12232 else puts (dlerror ());
12234 /* dlclose (self); */
12242 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12243 (eval $ac_link) 2>&5
12245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12246 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12247 (.
/conftest
; exit; ) >&5 2>/dev
/null
12249 case x
$lt_status in
12250 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12251 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12252 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12255 # compilation failed
12256 lt_cv_dlopen_self_static
=no
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12264 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12267 CPPFLAGS
="$save_CPPFLAGS"
12268 LDFLAGS
="$save_LDFLAGS"
12273 case $lt_cv_dlopen_self in
12274 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12275 *) enable_dlopen_self
=unknown
;;
12278 case $lt_cv_dlopen_self_static in
12279 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12280 *) enable_dlopen_self_static
=unknown
;;
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12303 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12304 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12305 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12306 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12308 $as_echo "yes" >&6; }
12310 # FIXME - insert some real tests, host_os isn't really good enough
12313 if test -n "$STRIP" ; then
12314 striplib
="$STRIP -x"
12315 old_striplib
="$STRIP -S"
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12317 $as_echo "yes" >&6; }
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320 $as_echo "no" >&6; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12325 $as_echo "no" >&6; }
12341 # Report which library types will actually be built
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12343 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12345 $as_echo "$can_build_shared" >&6; }
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12348 $as_echo_n "checking whether to build shared libraries... " >&6; }
12349 test "$can_build_shared" = "no" && enable_shared
=no
12351 # On AIX, shared libraries and static libraries use the same namespace, and
12352 # are all built from PIC.
12355 test "$enable_shared" = yes && enable_static
=no
12356 if test -n "$RANLIB"; then
12357 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12358 postinstall_cmds
='$RANLIB $lib'
12363 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12364 test "$enable_shared" = yes && enable_static
=no
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12369 $as_echo "$enable_shared" >&6; }
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12372 $as_echo_n "checking whether to build static libraries... " >&6; }
12373 # Make sure either enable_shared or enable_static is yes.
12374 test "$enable_shared" = yes || enable_static
=yes
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12376 $as_echo "$enable_static" >&6; }
12383 ac_cpp
='$CPP $CPPFLAGS'
12384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12390 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12391 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12392 (test "X$CXX" != "Xg++"))) ; then
12394 ac_cpp
='$CXXCPP $CPPFLAGS'
12395 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12396 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12397 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12399 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12400 if test -z "$CXXCPP"; then
12401 if ${ac_cv_prog_CXXCPP+:} false
; then :
12402 $as_echo_n "(cached) " >&6
12404 # Double quotes because CXXCPP needs to be expanded
12405 for CXXCPP
in "$CXX -E" "/lib/cpp"
12407 ac_preproc_ok
=false
12408 for ac_cxx_preproc_warn_flag
in '' yes
12410 # Use a header file that comes with gcc, so configuring glibc
12411 # with a fresh cross-compiler works.
12412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12413 # <limits.h> exists even on freestanding compilers.
12414 # On the NeXT, cc -E runs the code through the compiler's parser,
12415 # not just through cpp. "Syntax error" is here to catch this case.
12416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12417 /* end confdefs.h. */
12419 # include <limits.h>
12421 # include <assert.h>
12425 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12428 # Broken: fails on valid input.
12431 rm -f conftest.err conftest.i conftest.
$ac_ext
12433 # OK, works on sane cases. Now check whether nonexistent headers
12434 # can be detected and how.
12435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12437 #include <ac_nonexistent.h>
12439 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12440 # Broken: success on invalid input.
12443 # Passes both tests.
12447 rm -f conftest.err conftest.i conftest.
$ac_ext
12450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12451 rm -f conftest.i conftest.err conftest.
$ac_ext
12452 if $ac_preproc_ok; then :
12457 ac_cv_prog_CXXCPP
=$CXXCPP
12460 CXXCPP
=$ac_cv_prog_CXXCPP
12462 ac_cv_prog_CXXCPP
=$CXXCPP
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12465 $as_echo "$CXXCPP" >&6; }
12466 ac_preproc_ok
=false
12467 for ac_cxx_preproc_warn_flag
in '' yes
12469 # Use a header file that comes with gcc, so configuring glibc
12470 # with a fresh cross-compiler works.
12471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12472 # <limits.h> exists even on freestanding compilers.
12473 # On the NeXT, cc -E runs the code through the compiler's parser,
12474 # not just through cpp. "Syntax error" is here to catch this case.
12475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12478 # include <limits.h>
12480 # include <assert.h>
12484 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12487 # Broken: fails on valid input.
12490 rm -f conftest.err conftest.i conftest.
$ac_ext
12492 # OK, works on sane cases. Now check whether nonexistent headers
12493 # can be detected and how.
12494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12496 #include <ac_nonexistent.h>
12498 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12499 # Broken: success on invalid input.
12502 # Passes both tests.
12506 rm -f conftest.err conftest.i conftest.
$ac_ext
12509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12510 rm -f conftest.i conftest.err conftest.
$ac_ext
12511 if $ac_preproc_ok; then :
12514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12516 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12517 See \`config.log' for more details" "$LINENO" 5; }
12521 ac_cpp
='$CPP $CPPFLAGS'
12522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12527 _lt_caught_CXX_error
=yes
12531 ac_cpp
='$CXXCPP $CPPFLAGS'
12532 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12533 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12534 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12536 archive_cmds_need_lc_CXX
=no
12537 allow_undefined_flag_CXX
=
12538 always_export_symbols_CXX
=no
12539 archive_expsym_cmds_CXX
=
12540 compiler_needs_object_CXX
=no
12541 export_dynamic_flag_spec_CXX
=
12542 hardcode_direct_CXX
=no
12543 hardcode_direct_absolute_CXX
=no
12544 hardcode_libdir_flag_spec_CXX
=
12545 hardcode_libdir_flag_spec_ld_CXX
=
12546 hardcode_libdir_separator_CXX
=
12547 hardcode_minus_L_CXX
=no
12548 hardcode_shlibpath_var_CXX
=unsupported
12549 hardcode_automatic_CXX
=no
12550 inherit_rpath_CXX
=no
12552 module_expsym_cmds_CXX
=
12553 link_all_deplibs_CXX
=unknown
12554 old_archive_cmds_CXX
=$old_archive_cmds
12555 reload_flag_CXX
=$reload_flag
12556 reload_cmds_CXX
=$reload_cmds
12557 no_undefined_flag_CXX
=
12558 whole_archive_flag_spec_CXX
=
12559 enable_shared_with_static_runtimes_CXX
=no
12561 # Source file extension for C++ test sources.
12564 # Object file extension for compiled C++ test sources.
12568 # No sense in running all these tests if we already determined that
12569 # the CXX compiler isn't working. Some variables (like enable_shared)
12570 # are currently assumed to apply to all compilers on this platform,
12571 # and will be corrupted by setting them based on a non-working compiler.
12572 if test "$_lt_caught_CXX_error" != yes; then
12573 # Code to be used in simple compile tests
12574 lt_simple_compile_test_code
="int some_variable = 0;"
12576 # Code to be used in simple link tests
12577 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12579 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12586 # If no C compiler was specified, use CC.
12589 # If no C compiler flags were specified, use CFLAGS.
12590 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12592 # Allow CC to be a program name with arguments.
12596 # save warnings/boilerplate of simple test code
12597 ac_outfile
=conftest.
$ac_objext
12598 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12599 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12600 _lt_compiler_boilerplate
=`cat conftest.err`
12603 ac_outfile
=conftest.
$ac_objext
12604 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12605 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12606 _lt_linker_boilerplate
=`cat conftest.err`
12610 # Allow CC to be a program name with arguments.
12615 lt_save_with_gnu_ld
=$with_gnu_ld
12616 lt_save_path_LD
=$lt_cv_path_LD
12617 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12618 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12620 $as_unset lt_cv_prog_gnu_ld
12622 if test -n "${lt_cv_path_LDCXX+set}"; then
12623 lt_cv_path_LD
=$lt_cv_path_LDCXX
12625 $as_unset lt_cv_path_LD
12627 test -z "${LDCXX+set}" || LD
=$LDCXX
12631 for cc_temp
in $compiler""; do
12633 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12634 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12639 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12642 if test -n "$compiler"; then
12643 # We don't want -fno-exception when compiling C++ code, so set the
12644 # no_builtin_flag separately
12645 if test "$GXX" = yes; then
12646 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12648 lt_prog_compiler_no_builtin_flag_CXX
=
12651 if test "$GXX" = yes; then
12652 # Set up default GNU C++ configuration
12656 # Check whether --with-gnu-ld was given.
12657 if test "${with_gnu_ld+set}" = set; then :
12658 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12664 if test "$GCC" = yes; then
12665 # Check if gcc -print-prog-name=ld gives a path.
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12667 $as_echo_n "checking for ld used by $CC... " >&6; }
12670 # gcc leaves a trailing carriage return which upsets mingw
12671 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12673 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12676 # Accept absolute paths.
12678 re_direlt
='/[^/][^/]*/\.\./'
12679 # Canonicalize the pathname of ld
12680 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12681 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12682 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12684 test -z "$LD" && LD
="$ac_prog"
12687 # If it fails, then pretend we aren't using GCC.
12691 # If it is relative, then search for the first ld in PATH.
12692 with_gnu_ld
=unknown
12695 elif test "$with_gnu_ld" = yes; then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12697 $as_echo_n "checking for GNU ld... " >&6; }
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12700 $as_echo_n "checking for non-GNU ld... " >&6; }
12702 if ${lt_cv_path_LD+:} false
; then :
12703 $as_echo_n "(cached) " >&6
12705 if test -z "$LD"; then
12706 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12707 for ac_dir
in $PATH; do
12709 test -z "$ac_dir" && ac_dir
=.
12710 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12711 lt_cv_path_LD
="$ac_dir/$ac_prog"
12712 # Check to see if the program is GNU ld. I'd rather use --version,
12713 # but apparently some variants of GNU ld only accept -v.
12714 # Break only if it was the GNU/non-GNU ld that we prefer.
12715 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12716 *GNU
* |
*'with BFD'*)
12717 test "$with_gnu_ld" != no
&& break
12720 test "$with_gnu_ld" != yes && break
12727 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12731 LD
="$lt_cv_path_LD"
12732 if test -n "$LD"; then
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12734 $as_echo "$LD" >&6; }
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12737 $as_echo "no" >&6; }
12739 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12741 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12742 if ${lt_cv_prog_gnu_ld+:} false
; then :
12743 $as_echo_n "(cached) " >&6
12745 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12746 case `$LD -v 2>&1 </dev/null` in
12747 *GNU
* |
*'with BFD'*)
12748 lt_cv_prog_gnu_ld
=yes
12751 lt_cv_prog_gnu_ld
=no
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12756 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12757 with_gnu_ld
=$lt_cv_prog_gnu_ld
12765 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12766 # archiving commands below assume that GNU ld is being used.
12767 if test "$with_gnu_ld" = yes; then
12768 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12769 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'
12771 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12772 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12774 # If archive_cmds runs LD, not CC, wlarc should be empty
12775 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12776 # investigate it a little bit more. (MM)
12779 # ancient GNU ld didn't support --whole-archive et. al.
12780 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12781 $GREP 'no-whole-archive' > /dev
/null
; then
12782 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12784 whole_archive_flag_spec_CXX
=
12790 # A generic and very simple default shared library creation
12791 # command for GNU C++ for the case where it uses the native
12792 # linker, instead of GNU ld. If possible, this setting should
12793 # overridden to take advantage of the native linker features on
12794 # the platform it is being used on.
12795 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12798 # Commands to make compiler produce verbose output that lists
12799 # what "hidden" libraries, object files and flags are used when
12800 # linking a shared library.
12801 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12809 # PORTME: fill in a description of your system's C++ link characteristics
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12811 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12815 # FIXME: insert proper C++ library support
12819 if test "$host_cpu" = ia64
; then
12820 # On IA64, the linker does run time linking by default, so we don't
12821 # have to do anything special.
12822 aix_use_runtimelinking
=no
12823 exp_sym_flag
='-Bexport'
12826 aix_use_runtimelinking
=no
12828 # Test if we are trying to use run time linking or normal
12829 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12830 # need to do runtime linking.
12831 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12832 for ld_flag
in $LDFLAGS; do
12835 aix_use_runtimelinking
=yes
12843 exp_sym_flag
='-bexport'
12844 no_entry_flag
='-bnoentry'
12847 # When large executables or shared objects are built, AIX ld can
12848 # have problems creating the table of contents. If linking a library
12849 # or program results in "error TOC overflow" add -mminimal-toc to
12850 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12851 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12853 archive_cmds_CXX
=''
12854 hardcode_direct_CXX
=yes
12855 hardcode_direct_absolute_CXX
=yes
12856 hardcode_libdir_separator_CXX
=':'
12857 link_all_deplibs_CXX
=yes
12858 file_list_spec_CXX
='${wl}-f,'
12860 if test "$GXX" = yes; then
12861 case $host_os in aix4.
[012]|aix4.
[012].
*)
12862 # We only want to do this on AIX 4.2 and lower, the check
12863 # below for broken collect2 doesn't work under 4.3+
12864 collect2name
=`${CC} -print-prog-name=collect2`
12865 if test -f "$collect2name" &&
12866 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12868 # We have reworked collect2
12871 # We have old collect2
12872 hardcode_direct_CXX
=unsupported
12873 # It fails to find uninstalled libraries when the uninstalled
12874 # path is not listed in the libpath. Setting hardcode_minus_L
12875 # to unsupported forces relinking
12876 hardcode_minus_L_CXX
=yes
12877 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12878 hardcode_libdir_separator_CXX
=
12881 shared_flag
='-shared'
12882 if test "$aix_use_runtimelinking" = yes; then
12883 shared_flag
="$shared_flag "'${wl}-G'
12887 if test "$host_cpu" = ia64
; then
12888 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12889 # chokes on -Wl,-G. The following line is correct:
12892 if test "$aix_use_runtimelinking" = yes; then
12893 shared_flag
='${wl}-G'
12895 shared_flag
='${wl}-bM:SRE'
12900 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12901 # It seems that -bexpall does not export symbols beginning with
12902 # underscore (_), so it is better to generate a list of symbols to
12904 always_export_symbols_CXX
=yes
12905 if test "$aix_use_runtimelinking" = yes; then
12906 # Warning - without using the other runtime loading flags (-brtl),
12907 # -berok will link without error, but may produce a broken library.
12908 allow_undefined_flag_CXX
='-berok'
12909 # Determine the default libpath from the value encoded in an empty
12911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12922 if ac_fn_cxx_try_link
"$LINENO"; then :
12924 lt_aix_libpath_sed
='
12925 /Import File Strings/,/^$/ {
12931 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12932 # Check for a 64-bit object if we didn't find anything.
12933 if test -z "$aix_libpath"; then
12934 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12937 rm -f core conftest.err conftest.
$ac_objext \
12938 conftest
$ac_exeext conftest.
$ac_ext
12939 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12941 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12943 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"
12945 if test "$host_cpu" = ia64
; then
12946 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12947 allow_undefined_flag_CXX
="-z nodefs"
12948 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"
12950 # Determine the default libpath from the value encoded in an
12951 # empty executable.
12952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12963 if ac_fn_cxx_try_link
"$LINENO"; then :
12965 lt_aix_libpath_sed
='
12966 /Import File Strings/,/^$/ {
12972 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12973 # Check for a 64-bit object if we didn't find anything.
12974 if test -z "$aix_libpath"; then
12975 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12978 rm -f core conftest.err conftest.
$ac_objext \
12979 conftest
$ac_exeext conftest.
$ac_ext
12980 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12982 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12983 # Warning - without using the other run time loading flags,
12984 # -berok will link without error, but may produce a broken library.
12985 no_undefined_flag_CXX
=' ${wl}-bernotok'
12986 allow_undefined_flag_CXX
=' ${wl}-berok'
12987 if test "$with_gnu_ld" = yes; then
12988 # We only use this code for GNU lds that support --whole-archive.
12989 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12991 # Exported symbols can be pulled into shared objects from archives
12992 whole_archive_flag_spec_CXX
='$convenience'
12994 archive_cmds_need_lc_CXX
=yes
12995 # This is similar to how AIX traditionally builds its shared
12997 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'
13003 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13004 allow_undefined_flag_CXX
=unsupported
13005 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13006 # support --undefined. This deserves some investigation. FIXME
13007 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13014 case $cc_basename in
13016 # FIXME: insert proper C++ library support
13022 cygwin
* | mingw
* | pw32
* | cegcc
*)
13023 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13024 # as there is no search path for DLLs.
13025 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13026 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13027 allow_undefined_flag_CXX
=unsupported
13028 always_export_symbols_CXX
=no
13029 enable_shared_with_static_runtimes_CXX
=yes
13031 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13032 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'
13033 # If the export-symbols file already is a .def file (1st line
13034 # is EXPORTS), use it as is; otherwise, prepend...
13035 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13036 cp $export_symbols $output_objdir/$soname.def;
13038 echo EXPORTS > $output_objdir/$soname.def;
13039 cat $export_symbols >> $output_objdir/$soname.def;
13041 $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'
13046 darwin
* | rhapsody
*)
13049 archive_cmds_need_lc_CXX
=no
13050 hardcode_direct_CXX
=no
13051 hardcode_automatic_CXX
=yes
13052 hardcode_shlibpath_var_CXX
=unsupported
13053 if test "$lt_cv_ld_force_load" = "yes"; then
13054 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\"`'
13056 whole_archive_flag_spec_CXX
=''
13058 link_all_deplibs_CXX
=yes
13059 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13060 case $cc_basename in
13061 ifort
*) _lt_dar_can_shared
=yes ;;
13062 *) _lt_dar_can_shared
=$GCC ;;
13064 if test "$_lt_dar_can_shared" = "yes"; then
13065 output_verbose_link_cmd
=func_echo_all
13066 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}"
13067 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13068 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}"
13069 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}"
13070 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13071 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}"
13072 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}"
13082 case $cc_basename in
13084 # FIXME: insert proper C++ library support
13088 # Green Hills C++ Compiler
13089 # FIXME: insert proper C++ library support
13093 # FIXME: insert proper C++ library support
13100 # C++ shared libraries reported to be fairly broken before
13106 archive_cmds_need_lc_CXX
=no
13109 freebsd
* | dragonfly
*)
13110 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13119 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13120 link_all_deplibs_CXX
=yes
13124 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13125 hardcode_libdir_separator_CXX
=:
13126 export_dynamic_flag_spec_CXX
='${wl}-E'
13127 hardcode_direct_CXX
=yes
13128 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13129 # but as the default
13130 # location of the library.
13132 case $cc_basename in
13134 # FIXME: insert proper C++ library support
13138 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'
13139 # Commands to make compiler produce verbose output that lists
13140 # what "hidden" libraries, object files and flags are used when
13141 # linking a shared library.
13143 # There doesn't appear to be a way to prevent this compiler from
13144 # explicitly linking system object files so we need to strip them
13145 # from the output so that they don't get included in the library
13147 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"'
13150 if test "$GXX" = yes; then
13151 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'
13153 # FIXME: insert proper C++ library support
13161 if test $with_gnu_ld = no
; then
13162 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13163 hardcode_libdir_separator_CXX
=:
13169 export_dynamic_flag_spec_CXX
='${wl}-E'
13175 hardcode_direct_CXX
=no
13176 hardcode_shlibpath_var_CXX
=no
13179 hardcode_direct_CXX
=yes
13180 hardcode_direct_absolute_CXX
=yes
13181 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13182 # but as the default
13183 # location of the library.
13187 case $cc_basename in
13189 # FIXME: insert proper C++ library support
13195 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13198 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13201 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13204 # Commands to make compiler produce verbose output that lists
13205 # what "hidden" libraries, object files and flags are used when
13206 # linking a shared library.
13208 # There doesn't appear to be a way to prevent this compiler from
13209 # explicitly linking system object files so we need to strip them
13210 # from the output so that they don't get included in the library
13212 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"'
13215 if test "$GXX" = yes; then
13216 if test $with_gnu_ld = no
; then
13219 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13222 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13225 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'
13230 # FIXME: insert proper C++ library support
13238 hardcode_direct_CXX
=no
13239 hardcode_shlibpath_var_CXX
=no
13240 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13241 export_dynamic_flag_spec_CXX
='${wl}-E'
13242 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13243 # Instead, shared libraries are loaded at an image base (0x10000000 by
13244 # default) and relocated if they conflict, which is a slow very memory
13245 # consuming and fragmenting process. To avoid this, we pick a random,
13246 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13247 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13248 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'
13249 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'
13252 case $cc_basename in
13255 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'
13257 # Archives containing C++ object files must be created using
13258 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13259 # necessary to make sure instantiated templates are included
13261 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13264 if test "$GXX" = yes; then
13265 if test "$with_gnu_ld" = no
; then
13266 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'
13268 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'
13271 link_all_deplibs_CXX
=yes
13274 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13275 hardcode_libdir_separator_CXX
=:
13276 inherit_rpath_CXX
=yes
13279 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13280 case $cc_basename in
13282 # Kuck and Associates, Inc. (KAI) C++ Compiler
13284 # KCC will only create a shared library if the output file
13285 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13286 # to its proper name (with version) after linking.
13287 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'
13288 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'
13289 # Commands to make compiler produce verbose output that lists
13290 # what "hidden" libraries, object files and flags are used when
13291 # linking a shared library.
13293 # There doesn't appear to be a way to prevent this compiler from
13294 # explicitly linking system object files so we need to strip them
13295 # from the output so that they don't get included in the library
13297 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"'
13299 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13300 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13302 # Archives containing C++ object files must be created using
13303 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13304 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13309 # version 8.0 and above of icpc choke on multiply defined symbols
13310 # if we add $predep_objects and $postdep_objects, however 7.1 and
13311 # earlier do not add the objects themselves.
13312 case `$CC -V 2>&1` in
13314 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13315 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'
13317 *) # Version 8.0 or newer
13320 ia64
*) tmp_idyn
=' -i_dynamic';;
13322 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13323 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'
13326 archive_cmds_need_lc_CXX
=no
13327 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13328 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13329 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13332 # Portland Group C++ compiler
13334 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13335 prelink_cmds_CXX
='tpldir=Template.dir~
13337 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13338 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13339 old_archive_cmds_CXX
='tpldir=Template.dir~
13341 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13342 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13344 archive_cmds_CXX
='tpldir=Template.dir~
13346 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13347 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13348 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13350 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13351 $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'
13353 *) # Version 6 and above use weak symbols
13354 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13355 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'
13359 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13360 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13361 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'
13365 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13366 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'
13368 runpath_var
=LD_RUN_PATH
13369 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13370 hardcode_libdir_separator_CXX
=:
13372 # Commands to make compiler produce verbose output that lists
13373 # what "hidden" libraries, object files and flags are used when
13374 # linking a shared library.
13376 # There doesn't appear to be a way to prevent this compiler from
13377 # explicitly linking system object files so we need to strip them
13378 # from the output so that they don't get included in the library
13380 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'
13382 xl
* | mpixl
* | bgxl
*)
13383 # IBM XL 8.0 on PPC, with GNU ld
13384 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13385 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13386 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13387 if test "x$supports_anon_versioning" = xyes
; then
13388 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13389 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13390 echo "local: *; };" >> $output_objdir/$libname.ver~
13391 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13395 case `$CC -V 2>&1 | sed 5q` in
13398 no_undefined_flag_CXX
=' -zdefs'
13399 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13400 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'
13401 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13402 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'
13403 compiler_needs_object_CXX
=yes
13405 # Not sure whether something based on
13406 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13408 output_verbose_link_cmd
='func_echo_all'
13410 # Archives containing C++ object files must be created using
13411 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13412 # necessary to make sure instantiated templates are included
13414 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13422 # FIXME: insert proper C++ library support
13427 # FIXME: insert proper C++ library support
13432 case $cc_basename in
13434 # FIXME: insert proper C++ library support
13438 # FIXME: insert proper C++ library support
13445 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13446 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13448 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13449 hardcode_direct_CXX
=yes
13450 hardcode_shlibpath_var_CXX
=no
13452 # Workaround some broken pre-1.5 toolchains
13453 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13461 # C++ shared libraries are fairly broken
13466 if test -f /usr
/libexec
/ld.so
; then
13467 hardcode_direct_CXX
=yes
13468 hardcode_shlibpath_var_CXX
=no
13469 hardcode_direct_absolute_CXX
=yes
13470 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13471 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13472 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13473 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13474 export_dynamic_flag_spec_CXX
='${wl}-E'
13475 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13477 output_verbose_link_cmd
=func_echo_all
13483 osf3
* | osf4
* | osf5
*)
13484 case $cc_basename in
13486 # Kuck and Associates, Inc. (KAI) C++ Compiler
13488 # KCC will only create a shared library if the output file
13489 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13490 # to its proper name (with version) after linking.
13491 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'
13493 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13494 hardcode_libdir_separator_CXX
=:
13496 # Archives containing C++ object files must be created using
13497 # the KAI C++ compiler.
13499 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13500 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13504 # Rational C++ 2.4.1
13505 # FIXME: insert proper C++ library support
13511 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13512 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'
13513 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13516 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13517 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'
13518 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13519 echo "-hidden">> $lib.exp~
13520 $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~
13522 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13526 hardcode_libdir_separator_CXX
=:
13528 # Commands to make compiler produce verbose output that lists
13529 # what "hidden" libraries, object files and flags are used when
13530 # linking a shared library.
13532 # There doesn't appear to be a way to prevent this compiler from
13533 # explicitly linking system object files so we need to strip them
13534 # from the output so that they don't get included in the library
13536 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"'
13539 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13540 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13543 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'
13546 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'
13550 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13551 hardcode_libdir_separator_CXX
=:
13553 # Commands to make compiler produce verbose output that lists
13554 # what "hidden" libraries, object files and flags are used when
13555 # linking a shared library.
13556 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13559 # FIXME: insert proper C++ library support
13567 # FIXME: insert proper C++ library support
13572 case $cc_basename in
13575 # FIXME: insert proper C++ library support
13580 # FIXME: insert proper C++ library support
13584 # FIXME: insert proper C++ library support
13591 case $cc_basename in
13593 # Sun C++ 4.2, 5.x and Centerline C++
13594 archive_cmds_need_lc_CXX
=yes
13595 no_undefined_flag_CXX
=' -zdefs'
13596 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13597 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13598 $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'
13600 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13601 hardcode_shlibpath_var_CXX
=no
13603 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13605 # The compiler driver will combine and reorder linker options,
13606 # but understands `-z linker_flag'.
13607 # Supported since Solaris 2.6 (maybe 2.5.1?)
13608 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13611 link_all_deplibs_CXX
=yes
13613 output_verbose_link_cmd
='func_echo_all'
13615 # Archives containing C++ object files must be created using
13616 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13617 # necessary to make sure instantiated templates are included
13619 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13622 # Green Hills C++ Compiler
13623 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13625 # The C++ compiler must be used to create the archive.
13626 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13629 # GNU C++ compiler with Solaris linker
13630 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13631 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13632 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13633 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13634 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13635 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13637 # Commands to make compiler produce verbose output that lists
13638 # what "hidden" libraries, object files and flags are used when
13639 # linking a shared library.
13640 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13642 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13644 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13645 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13646 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13648 # Commands to make compiler produce verbose output that lists
13649 # what "hidden" libraries, object files and flags are used when
13650 # linking a shared library.
13651 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13654 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13656 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13658 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13666 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13667 no_undefined_flag_CXX
='${wl}-z,text'
13668 archive_cmds_need_lc_CXX
=no
13669 hardcode_shlibpath_var_CXX
=no
13670 runpath_var
='LD_RUN_PATH'
13672 case $cc_basename in
13674 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13675 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13678 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13679 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13684 sysv5
* | sco3.2v5
* | sco5v6
*)
13685 # Note: We can NOT use -z defs as we might desire, because we do not
13686 # link with -lc, and that would cause any symbols used from libc to
13687 # always be unresolved, which means just about no library would
13688 # ever link correctly. If we're not using GNU ld we use -z text
13689 # though, which does catch some bad symbols but isn't as heavy-handed
13691 no_undefined_flag_CXX
='${wl}-z,text'
13692 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13693 archive_cmds_need_lc_CXX
=no
13694 hardcode_shlibpath_var_CXX
=no
13695 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13696 hardcode_libdir_separator_CXX
=':'
13697 link_all_deplibs_CXX
=yes
13698 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13699 runpath_var
='LD_RUN_PATH'
13701 case $cc_basename in
13703 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13704 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13705 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13706 '"$old_archive_cmds_CXX"
13707 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13708 '"$reload_cmds_CXX"
13711 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13712 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13718 case $cc_basename in
13720 # NonStop-UX NCC 3.20
13721 # FIXME: insert proper C++ library support
13725 # FIXME: insert proper C++ library support
13732 # FIXME: insert proper C++ library support
13737 # FIXME: insert proper C++ library support
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13743 $as_echo "$ld_shlibs_CXX" >&6; }
13744 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13750 ## There is no encapsulation within the following macros, do not change
13751 ## the running order or otherwise move them around unless you know exactly
13752 ## what you are doing...
13753 # Dependencies to place before and after the object being linked:
13754 predep_objects_CXX
=
13755 postdep_objects_CXX
=
13758 compiler_lib_search_path_CXX
=
13760 cat > conftest.
$ac_ext <<_LT_EOF
13764 Foo (void) { a = 0; }
13770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13771 (eval $ac_compile) 2>&5
13773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13774 test $ac_status = 0; }; then
13775 # Parse the compiler output and extract the necessary
13776 # objects, libraries and library flags.
13778 # Sentinel used to keep track of whether or not we are before
13779 # the conftest object file.
13780 pre_test_object_deps_done
=no
13782 for p
in `eval "$output_verbose_link_cmd"`; do
13786 # Some compilers place space between "-{L,R}" and the path.
13787 # Remove the space.
13788 if test $p = "-L" ||
13789 test $p = "-R"; then
13796 if test "$pre_test_object_deps_done" = no
; then
13799 # Internal compiler library paths should come after those
13800 # provided the user. The postdeps already come after the
13801 # user supplied libs so there is no need to process them.
13802 if test -z "$compiler_lib_search_path_CXX"; then
13803 compiler_lib_search_path_CXX
="${prev}${p}"
13805 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13808 # The "-l" case would never come before the object being
13809 # linked, so don't bother handling this case.
13812 if test -z "$postdeps_CXX"; then
13813 postdeps_CXX
="${prev}${p}"
13815 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13821 # This assumes that the test object file only shows up
13822 # once in the compiler output.
13823 if test "$p" = "conftest.$objext"; then
13824 pre_test_object_deps_done
=yes
13828 if test "$pre_test_object_deps_done" = no
; then
13829 if test -z "$predep_objects_CXX"; then
13830 predep_objects_CXX
="$p"
13832 predep_objects_CXX
="$predep_objects_CXX $p"
13835 if test -z "$postdep_objects_CXX"; then
13836 postdep_objects_CXX
="$p"
13838 postdep_objects_CXX
="$postdep_objects_CXX $p"
13843 *) ;; # Ignore the rest.
13851 echo "libtool.m4: error: problem compiling CXX test program"
13854 $RM -f confest.
$objext
13856 # PORTME: override above test on systems where it is broken
13859 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13860 # hack all around it, let's just trust "g++" to DTRT.
13861 predep_objects_CXX
=
13862 postdep_objects_CXX
=
13867 case `$CC -V 2>&1 | sed 5q` in
13871 # The more standards-conforming stlport4 library is
13872 # incompatible with the Cstd library. Avoid specifying
13873 # it if it's in CXXFLAGS. Ignore libCrun as
13874 # -library=stlport4 depends on it.
13875 case " $CXX $CXXFLAGS " in
13876 *" -library=stlport4 "*)
13877 solaris_use_stlport4
=yes
13881 if test "$solaris_use_stlport4" != yes; then
13882 postdeps_CXX
='-library=Cstd -library=Crun'
13889 case $cc_basename in
13891 # The more standards-conforming stlport4 library is
13892 # incompatible with the Cstd library. Avoid specifying
13893 # it if it's in CXXFLAGS. Ignore libCrun as
13894 # -library=stlport4 depends on it.
13895 case " $CXX $CXXFLAGS " in
13896 *" -library=stlport4 "*)
13897 solaris_use_stlport4
=yes
13901 # Adding this requires a known-good setup of shared libraries for
13902 # Sun compiler versions before 5.6, else PIC objects from an old
13903 # archive will be linked into the output, leading to subtle bugs.
13904 if test "$solaris_use_stlport4" != yes; then
13905 postdeps_CXX
='-library=Cstd -library=Crun'
13913 case " $postdeps_CXX " in
13914 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13916 compiler_lib_search_dirs_CXX
=
13917 if test -n "${compiler_lib_search_path_CXX}"; then
13918 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13951 lt_prog_compiler_wl_CXX
=
13952 lt_prog_compiler_pic_CXX
=
13953 lt_prog_compiler_static_CXX
=
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13956 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13958 # C++ specific cases for pic, static, wl, etc.
13959 if test "$GXX" = yes; then
13960 lt_prog_compiler_wl_CXX
='-Wl,'
13961 lt_prog_compiler_static_CXX
='-static'
13965 # All AIX code is PIC.
13966 if test "$host_cpu" = ia64
; then
13967 # AIX 5 now supports IA64 processor
13968 lt_prog_compiler_static_CXX
='-Bstatic'
13970 lt_prog_compiler_pic_CXX
='-fPIC'
13976 # see comment about AmigaOS4 .so support
13977 lt_prog_compiler_pic_CXX
='-fPIC'
13980 # FIXME: we need at least 68020 code to build shared libraries, but
13981 # adding the `-m68020' flag to GCC prevents building anything better,
13983 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13988 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13989 # PIC is the default for these OSes.
13991 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13992 # This hack is so that the source file can tell whether it is being
13993 # built for inclusion in a dll (and should export symbols for example).
13994 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13995 # (--disable-auto-import) libraries
13996 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13998 darwin
* | rhapsody
*)
13999 # PIC is the default on this platform
14000 # Common symbols not allowed in MH_DYLIB files
14001 lt_prog_compiler_pic_CXX
='-fno-common'
14004 # DJGPP does not support shared libraries at all
14005 lt_prog_compiler_pic_CXX
=
14008 # PIC is the default for Haiku.
14009 # The "-static" flag exists, but is broken.
14010 lt_prog_compiler_static_CXX
=
14013 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14014 # Instead, we relocate shared libraries at runtime.
14017 if test -d /usr
/nec
; then
14018 lt_prog_compiler_pic_CXX
=-Kconform_pic
14022 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14023 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14024 # sets the default TLS model and affects inlining.
14029 lt_prog_compiler_pic_CXX
='-fPIC'
14034 # QNX uses GNU C++, but need to define -shared option too, otherwise
14035 # it will coredump.
14036 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14039 lt_prog_compiler_pic_CXX
='-fPIC'
14045 # All AIX code is PIC.
14046 if test "$host_cpu" = ia64
; then
14047 # AIX 5 now supports IA64 processor
14048 lt_prog_compiler_static_CXX
='-Bstatic'
14050 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14054 case $cc_basename in
14056 # Green Hills C++ Compiler
14057 # _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"
14062 case $cc_basename in
14064 lt_prog_compiler_pic_CXX
='-KPIC'
14067 # Green Hills C++ Compiler
14068 lt_prog_compiler_pic_CXX
='-pic'
14074 freebsd
* | dragonfly
*)
14075 # FreeBSD uses GNU C++
14077 hpux9
* | hpux10
* | hpux11
*)
14078 case $cc_basename in
14080 lt_prog_compiler_wl_CXX
='-Wl,'
14081 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14082 if test "$host_cpu" != ia64
; then
14083 lt_prog_compiler_pic_CXX
='+Z'
14087 lt_prog_compiler_wl_CXX
='-Wl,'
14088 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14094 lt_prog_compiler_pic_CXX
='+Z'
14103 # This is c89, which is MS Visual C++ (no shared libs)
14104 # Anyone wants to do a port?
14106 irix5
* | irix6
* | nonstopux
*)
14107 case $cc_basename in
14109 lt_prog_compiler_wl_CXX
='-Wl,'
14110 lt_prog_compiler_static_CXX
='-non_shared'
14111 # CC pic flag -KPIC is the default.
14117 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14118 case $cc_basename in
14121 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14122 lt_prog_compiler_pic_CXX
='-fPIC'
14125 # old Intel C++ for x86_64 which still supported -KPIC.
14126 lt_prog_compiler_wl_CXX
='-Wl,'
14127 lt_prog_compiler_pic_CXX
='-KPIC'
14128 lt_prog_compiler_static_CXX
='-static'
14131 # Intel C++, used to be incompatible with GCC.
14132 # ICC 10 doesn't accept -KPIC any more.
14133 lt_prog_compiler_wl_CXX
='-Wl,'
14134 lt_prog_compiler_pic_CXX
='-fPIC'
14135 lt_prog_compiler_static_CXX
='-static'
14138 # Portland Group C++ compiler
14139 lt_prog_compiler_wl_CXX
='-Wl,'
14140 lt_prog_compiler_pic_CXX
='-fpic'
14141 lt_prog_compiler_static_CXX
='-Bstatic'
14145 # Make sure the PIC flag is empty. It appears that all Alpha
14146 # Linux and Compaq Tru64 Unix objects are PIC.
14147 lt_prog_compiler_pic_CXX
=
14148 lt_prog_compiler_static_CXX
='-non_shared'
14150 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14151 # IBM XL 8.0, 9.0 on PPC and BlueGene
14152 lt_prog_compiler_wl_CXX
='-Wl,'
14153 lt_prog_compiler_pic_CXX
='-qpic'
14154 lt_prog_compiler_static_CXX
='-qstaticlink'
14157 case `$CC -V 2>&1 | sed 5q` in
14160 lt_prog_compiler_pic_CXX
='-KPIC'
14161 lt_prog_compiler_static_CXX
='-Bstatic'
14162 lt_prog_compiler_wl_CXX
='-Qoption ld '
14173 case $cc_basename in
14175 lt_prog_compiler_pic_CXX
='-W c,exportall'
14184 # QNX uses GNU C++, but need to define -shared option too, otherwise
14185 # it will coredump.
14186 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14188 osf3
* | osf4
* | osf5
*)
14189 case $cc_basename in
14191 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14194 # Rational C++ 2.4.1
14195 lt_prog_compiler_pic_CXX
='-pic'
14198 # Digital/Compaq C++
14199 lt_prog_compiler_wl_CXX
='-Wl,'
14200 # Make sure the PIC flag is empty. It appears that all Alpha
14201 # Linux and Compaq Tru64 Unix objects are PIC.
14202 lt_prog_compiler_pic_CXX
=
14203 lt_prog_compiler_static_CXX
='-non_shared'
14212 case $cc_basename in
14214 # Sun C++ 4.2, 5.x and Centerline C++
14215 lt_prog_compiler_pic_CXX
='-KPIC'
14216 lt_prog_compiler_static_CXX
='-Bstatic'
14217 lt_prog_compiler_wl_CXX
='-Qoption ld '
14220 # Green Hills C++ Compiler
14221 lt_prog_compiler_pic_CXX
='-PIC'
14228 case $cc_basename in
14231 lt_prog_compiler_pic_CXX
='-pic'
14232 lt_prog_compiler_static_CXX
='-Bstatic'
14236 lt_prog_compiler_pic_CXX
='-pic'
14242 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14243 case $cc_basename in
14245 lt_prog_compiler_wl_CXX
='-Wl,'
14246 lt_prog_compiler_pic_CXX
='-KPIC'
14247 lt_prog_compiler_static_CXX
='-Bstatic'
14252 case $cc_basename in
14254 # NonStop-UX NCC 3.20
14255 lt_prog_compiler_pic_CXX
='-KPIC'
14264 lt_prog_compiler_can_build_shared_CXX
=no
14270 # For platforms which do not support PIC, -DPIC is meaningless:
14272 lt_prog_compiler_pic_CXX
=
14275 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14279 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14284 # Check to make sure the PIC flag actually works.
14286 if test -n "$lt_prog_compiler_pic_CXX"; then
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14288 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14289 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14290 $as_echo_n "(cached) " >&6
14292 lt_cv_prog_compiler_pic_works_CXX
=no
14293 ac_outfile
=conftest.
$ac_objext
14294 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14295 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14296 # Insert the option either (1) after the last *FLAGS variable, or
14297 # (2) before a word containing "conftest.", or (3) at the end.
14298 # Note that $ac_compile itself does not contain backslashes and begins
14299 # with a dollar sign (not a hyphen), so the echo should work correctly.
14300 # The option is referenced via a variable to avoid confusing sed.
14301 lt_compile
=`echo "$ac_compile" | $SED \
14302 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14303 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14304 -e 's:$: $lt_compiler_flag:'`
14305 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14306 (eval "$lt_compile" 2>conftest.err
)
14308 cat conftest.err
>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 if (exit $ac_status) && test -s "$ac_outfile"; then
14311 # The compiler can only warn and ignore the option if not recognized
14312 # So say no if there are warnings other than the usual output.
14313 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14314 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14315 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14316 lt_cv_prog_compiler_pic_works_CXX
=yes
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14323 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14325 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14326 case $lt_prog_compiler_pic_CXX in
14328 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14331 lt_prog_compiler_pic_CXX
=
14332 lt_prog_compiler_can_build_shared_CXX
=no
14340 # Check to make sure the static flag actually works.
14342 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14344 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14345 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14346 $as_echo_n "(cached) " >&6
14348 lt_cv_prog_compiler_static_works_CXX
=no
14349 save_LDFLAGS
="$LDFLAGS"
14350 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14351 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14352 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14353 # The linker can only warn and ignore the option if not recognized
14354 # So say no if there are warnings
14355 if test -s conftest.err
; then
14356 # Append any errors to the config.log.
14357 cat conftest.err
1>&5
14358 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14359 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14360 if diff conftest.exp conftest.er2
>/dev
/null
; then
14361 lt_cv_prog_compiler_static_works_CXX
=yes
14364 lt_cv_prog_compiler_static_works_CXX
=yes
14368 LDFLAGS
="$save_LDFLAGS"
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14372 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14374 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14377 lt_prog_compiler_static_CXX
=
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14384 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14385 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14386 $as_echo_n "(cached) " >&6
14388 lt_cv_prog_compiler_c_o_CXX
=no
14389 $RM -r conftest
2>/dev
/null
14393 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14395 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14396 # Insert the option either (1) after the last *FLAGS variable, or
14397 # (2) before a word containing "conftest.", or (3) at the end.
14398 # Note that $ac_compile itself does not contain backslashes and begins
14399 # with a dollar sign (not a hyphen), so the echo should work correctly.
14400 lt_compile
=`echo "$ac_compile" | $SED \
14401 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14402 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14403 -e 's:$: $lt_compiler_flag:'`
14404 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14405 (eval "$lt_compile" 2>out
/conftest.err
)
14407 cat out
/conftest.err
>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14411 # The compiler can only warn and ignore the option if not recognized
14412 # So say no if there are warnings
14413 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14414 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14415 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14416 lt_cv_prog_compiler_c_o_CXX
=yes
14421 # SGI C++ compiler will create directory out/ii_files/ for
14422 # template instantiation
14423 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14424 $RM out
/* && rmdir out
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14431 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14436 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14437 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14438 $as_echo_n "(cached) " >&6
14440 lt_cv_prog_compiler_c_o_CXX
=no
14441 $RM -r conftest
2>/dev
/null
14445 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14447 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14448 # Insert the option either (1) after the last *FLAGS variable, or
14449 # (2) before a word containing "conftest.", or (3) at the end.
14450 # Note that $ac_compile itself does not contain backslashes and begins
14451 # with a dollar sign (not a hyphen), so the echo should work correctly.
14452 lt_compile
=`echo "$ac_compile" | $SED \
14453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14455 -e 's:$: $lt_compiler_flag:'`
14456 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14457 (eval "$lt_compile" 2>out
/conftest.err
)
14459 cat out
/conftest.err
>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14463 # The compiler can only warn and ignore the option if not recognized
14464 # So say no if there are warnings
14465 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14466 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14467 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14468 lt_cv_prog_compiler_c_o_CXX
=yes
14473 # SGI C++ compiler will create directory out/ii_files/ for
14474 # template instantiation
14475 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14476 $RM out
/* && rmdir out
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14483 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14488 hard_links
="nottested"
14489 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14490 # do not overwrite the value of need_locks provided by the user
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14492 $as_echo_n "checking if we can lock with hard links... " >&6; }
14495 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14497 ln conftest.a conftest.b
2>&5 || hard_links
=no
14498 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14500 $as_echo "$hard_links" >&6; }
14501 if test "$hard_links" = no
; then
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14503 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14513 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14515 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14518 # If we're using GNU nm, then we don't want the "-C" option.
14519 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14520 # Also, AIX nm treats weak defined symbols like other global defined
14521 # symbols, whereas GNU nm marks them as "W".
14522 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14523 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'
14525 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'
14529 export_symbols_cmds_CXX
="$ltdll_cmds"
14531 cygwin
* | mingw
* | cegcc
*)
14532 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'
14535 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14538 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14541 $as_echo "$ld_shlibs_CXX" >&6; }
14542 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14544 with_gnu_ld_CXX
=$with_gnu_ld
14552 # Do we need to explicitly link libc?
14554 case "x$archive_cmds_need_lc_CXX" in
14556 # Assume -lc should be added
14557 archive_cmds_need_lc_CXX
=yes
14559 if test "$enable_shared" = yes && test "$GCC" = yes; then
14560 case $archive_cmds_CXX in
14562 # FIXME: we may have to deal with multi-command sequences.
14565 # Test whether the compiler implicitly links with -lc since on some
14566 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14567 # to ld, don't add -lc before -lgcc.
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14569 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14570 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14571 $as_echo_n "(cached) " >&6
14574 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14577 (eval $ac_compile) 2>&5
14579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14580 test $ac_status = 0; } 2>conftest.err
; then
14583 libobjs
=conftest.
$ac_objext
14585 wl
=$lt_prog_compiler_wl_CXX
14586 pic_flag
=$lt_prog_compiler_pic_CXX
14592 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14593 allow_undefined_flag_CXX
=
14594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14595 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14598 test $ac_status = 0; }
14600 lt_cv_archive_cmds_need_lc_CXX
=no
14602 lt_cv_archive_cmds_need_lc_CXX
=yes
14604 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14606 cat conftest.err
1>&5
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14612 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14613 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14684 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14686 library_names_spec
=
14687 libname_spec
='lib$name'
14691 postuninstall_cmds
=
14695 shlibpath_overrides_runpath
=unknown
14697 dynamic_linker
="$host_os ld.so"
14698 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14699 need_lib_prefix
=unknown
14700 hardcode_into_libs
=no
14702 # when you set need_version to no, make sure it does not cause -set_version
14703 # flags to be left without arguments
14704 need_version
=unknown
14709 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14710 shlibpath_var
=LIBPATH
14712 # AIX 3 has no versioning support, so we append a major version to the name.
14713 soname_spec
='${libname}${release}${shared_ext}$major'
14720 hardcode_into_libs
=yes
14721 if test "$host_cpu" = ia64
; then
14722 # AIX 5 supports IA64
14723 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14724 shlibpath_var
=LD_LIBRARY_PATH
14726 # With GCC up to 2.95.x, collect2 would create an import file
14727 # for dependence libraries. The import file would start with
14728 # the line `#! .'. This would cause the generated library to
14729 # depend on `.', always an invalid library. This was fixed in
14730 # development snapshots of GCC prior to 3.0.
14732 aix4 | aix4.
[01] | aix4.
[01].
*)
14733 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14735 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14738 can_build_shared
=no
14742 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14743 # soname into executable. Probably we can add versioning support to
14744 # collect2, so additional links can be useful in future.
14745 if test "$aix_use_runtimelinking" = yes; then
14746 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14747 # instead of lib<name>.a to let people know that these are not
14748 # typical AIX shared libraries.
14749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14751 # We preserve .a as extension for shared libraries through AIX4.2
14752 # and later when we are not doing run time linking.
14753 library_names_spec
='${libname}${release}.a $libname.a'
14754 soname_spec
='${libname}${release}${shared_ext}$major'
14756 shlibpath_var
=LIBPATH
14763 # Since July 2007 AmigaOS4 officially supports .so libraries.
14764 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14768 library_names_spec
='$libname.ixlibrary $libname.a'
14769 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14770 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'
14776 library_names_spec
='${libname}${shared_ext}'
14777 dynamic_linker
="$host_os ld.so"
14778 shlibpath_var
=LIBRARY_PATH
14784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14785 soname_spec
='${libname}${release}${shared_ext}$major'
14786 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14787 shlibpath_var
=LD_LIBRARY_PATH
14788 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14789 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14790 # the default ld.so.conf also contains /usr/contrib/lib and
14791 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14792 # libtool to hard-code these into programs
14795 cygwin
* | mingw
* | pw32
* | cegcc
*)
14796 version_type
=windows
14801 case $GCC,$host_os in
14802 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14803 library_names_spec
='$libname.dll.a'
14804 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14805 postinstall_cmds
='base_file=`basename \${file}`~
14806 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14807 dldir=$destdir/`dirname \$dlpath`~
14808 test -d \$dldir || mkdir -p \$dldir~
14809 $install_prog $dir/$dlname \$dldir/$dlname~
14810 chmod a+x \$dldir/$dlname~
14811 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14812 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14814 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14815 dlpath=$dir/\$dldll~
14817 shlibpath_overrides_runpath
=yes
14821 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14822 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14826 # MinGW DLLs use traditional 'lib' prefix
14827 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14830 # pw32 DLLs use 'pw' prefix rather than 'lib'
14831 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14837 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14840 dynamic_linker
='Win32 ld.exe'
14841 # FIXME: first we should search . and the directory the executable is in
14845 darwin
* | rhapsody
*)
14846 dynamic_linker
="$host_os dyld"
14847 version_type
=darwin
14850 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14851 soname_spec
='${libname}${release}${major}$shared_ext'
14852 shlibpath_overrides_runpath
=yes
14853 shlibpath_var
=DYLD_LIBRARY_PATH
14854 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14856 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14864 soname_spec
='${libname}${release}${shared_ext}$major'
14865 shlibpath_var
=LD_LIBRARY_PATH
14868 freebsd
* | dragonfly
*)
14869 # DragonFly does not have aout. When/if they implement a new
14870 # versioning mechanism, adjust this.
14871 if test -x /usr
/bin
/objformat
; then
14872 objformat
=`/usr/bin/objformat`
14875 freebsd
[23].
*) objformat
=aout
;;
14876 *) objformat
=elf
;;
14879 version_type
=freebsd-
$objformat
14880 case $version_type in
14882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14887 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14891 shlibpath_var
=LD_LIBRARY_PATH
14894 shlibpath_overrides_runpath
=yes
14896 freebsd3.
[01]* | freebsdelf3.
[01]*)
14897 shlibpath_overrides_runpath
=yes
14898 hardcode_into_libs
=yes
14900 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14901 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14902 shlibpath_overrides_runpath
=no
14903 hardcode_into_libs
=yes
14905 *) # from 4.6 on, and DragonFly
14906 shlibpath_overrides_runpath
=yes
14907 hardcode_into_libs
=yes
14916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14917 soname_spec
='${libname}${release}${shared_ext}$major'
14918 shlibpath_var
=LD_LIBRARY_PATH
14919 hardcode_into_libs
=yes
14926 dynamic_linker
="$host_os runtime_loader"
14927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14928 soname_spec
='${libname}${release}${shared_ext}$major'
14929 shlibpath_var
=LIBRARY_PATH
14930 shlibpath_overrides_runpath
=yes
14931 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14932 hardcode_into_libs
=yes
14935 hpux9
* | hpux10
* | hpux11
*)
14936 # Give a soname corresponding to the major version so that dld.sl refuses to
14937 # link against other versions.
14944 hardcode_into_libs
=yes
14945 dynamic_linker
="$host_os dld.so"
14946 shlibpath_var
=LD_LIBRARY_PATH
14947 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14949 soname_spec
='${libname}${release}${shared_ext}$major'
14950 if test "X$HPUX_IA64_MODE" = X32
; then
14951 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14953 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14955 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14959 hardcode_into_libs
=yes
14960 dynamic_linker
="$host_os dld.sl"
14961 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14962 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14964 soname_spec
='${libname}${release}${shared_ext}$major'
14965 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14966 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14970 dynamic_linker
="$host_os dld.sl"
14971 shlibpath_var
=SHLIB_PATH
14972 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14974 soname_spec
='${libname}${release}${shared_ext}$major'
14977 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14978 postinstall_cmds
='chmod 555 $lib'
14979 # or fails outright, so override atomically:
14980 install_override_mode
=555
14987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14988 soname_spec
='${libname}${release}${shared_ext}$major'
14989 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14990 shlibpath_var
=LD_LIBRARY_PATH
14991 shlibpath_overrides_runpath
=no
14992 hardcode_into_libs
=yes
14995 irix5
* | irix6
* | nonstopux
*)
14997 nonstopux
*) version_type
=nonstopux
;;
14999 if test "$lt_cv_prog_gnu_ld" = yes; then
15007 soname_spec
='${libname}${release}${shared_ext}$major'
15008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15010 irix5
* | nonstopux
*)
15011 libsuff
= shlibsuff
=
15014 case $LD in # libtool.m4 will add one of these switches to LD
15015 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15016 libsuff
= shlibsuff
= libmagic
=32-bit;;
15017 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15018 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15019 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15020 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15021 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15025 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15026 shlibpath_overrides_runpath
=no
15027 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15028 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15029 hardcode_into_libs
=yes
15032 # No shared lib support for Linux oldld, aout, or coff.
15033 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15037 # This must be Linux ELF.
15039 # uclinux* changes (here and below) have been submitted to the libtool
15040 # project, but have not yet been accepted: they are GCC-local changes
15041 # for the time being. (See
15042 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15043 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
15047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15048 soname_spec
='${libname}${release}${shared_ext}$major'
15049 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15050 shlibpath_var
=LD_LIBRARY_PATH
15051 shlibpath_overrides_runpath
=no
15053 # Some binutils ld are patched to set DT_RUNPATH
15054 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15055 $as_echo_n "(cached) " >&6
15057 lt_cv_shlibpath_overrides_runpath
=no
15058 save_LDFLAGS
=$LDFLAGS
15059 save_libdir
=$libdir
15060 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15061 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15073 if ac_fn_cxx_try_link
"$LINENO"; then :
15074 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15075 lt_cv_shlibpath_overrides_runpath
=yes
15078 rm -f core conftest.err conftest.
$ac_objext \
15079 conftest
$ac_exeext conftest.
$ac_ext
15080 LDFLAGS
=$save_LDFLAGS
15081 libdir
=$save_libdir
15085 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15087 # This implies no fast_install, which is unacceptable.
15088 # Some rework will be needed to allow for fast_install
15089 # before this can be enabled.
15090 hardcode_into_libs
=yes
15092 # Append ld.so.conf contents to the search path
15093 if test -f /etc
/ld.so.conf
; then
15094 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' ' '`
15095 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15098 # We used to test for /lib/ld.so.1 and disable shared libraries on
15099 # powerpc, because MkLinux only supported shared libraries with the
15100 # GNU dynamic linker. Since this was broken with cross compilers,
15101 # most powerpc-linux boxes support dynamic linking these days and
15102 # people can always --disable-shared, the test was removed, and we
15103 # assume the GNU/Linux dynamic linker is in use.
15104 dynamic_linker
='GNU/Linux ld.so'
15111 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15113 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15114 dynamic_linker
='NetBSD (a.out) ld.so'
15116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15117 soname_spec
='${libname}${release}${shared_ext}$major'
15118 dynamic_linker
='NetBSD ld.elf_so'
15120 shlibpath_var
=LD_LIBRARY_PATH
15121 shlibpath_overrides_runpath
=yes
15122 hardcode_into_libs
=yes
15127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15128 shlibpath_var
=LD_LIBRARY_PATH
15129 shlibpath_overrides_runpath
=yes
15136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15137 soname_spec
='${libname}${release}${shared_ext}$major'
15138 shlibpath_var
=LD_LIBRARY_PATH
15139 shlibpath_overrides_runpath
=no
15140 hardcode_into_libs
=yes
15141 dynamic_linker
='ldqnx.so'
15146 sys_lib_dlsearch_path_spec
="/usr/lib"
15148 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15150 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15151 *) need_version
=no
;;
15153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15154 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15155 shlibpath_var
=LD_LIBRARY_PATH
15156 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15158 openbsd2.
[89] | openbsd2.
[89].
*)
15159 shlibpath_overrides_runpath
=no
15162 shlibpath_overrides_runpath
=yes
15166 shlibpath_overrides_runpath
=yes
15171 libname_spec
='$name'
15174 library_names_spec
='$libname${shared_ext} $libname.a'
15175 dynamic_linker
='OS/2 ld.exe'
15176 shlibpath_var
=LIBPATH
15179 osf3
* | osf4
* | osf5
*)
15183 soname_spec
='${libname}${release}${shared_ext}$major'
15184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15185 shlibpath_var
=LD_LIBRARY_PATH
15186 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15187 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15199 soname_spec
='${libname}${release}${shared_ext}$major'
15200 shlibpath_var
=LD_LIBRARY_PATH
15201 shlibpath_overrides_runpath
=yes
15202 hardcode_into_libs
=yes
15203 # ldd complains unless libraries are executable
15204 postinstall_cmds
='chmod +x $lib'
15209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15210 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15211 shlibpath_var
=LD_LIBRARY_PATH
15212 shlibpath_overrides_runpath
=yes
15213 if test "$with_gnu_ld" = yes; then
15221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15222 soname_spec
='${libname}${release}${shared_ext}$major'
15223 shlibpath_var
=LD_LIBRARY_PATH
15224 case $host_vendor in
15226 shlibpath_overrides_runpath
=no
15228 runpath_var
=LD_RUN_PATH
15236 shlibpath_overrides_runpath
=no
15237 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15243 if test -d /usr
/nec
;then
15245 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15246 soname_spec
='$libname${shared_ext}.$major'
15247 shlibpath_var
=LD_LIBRARY_PATH
15251 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15252 version_type
=freebsd-elf
15255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15256 soname_spec
='${libname}${release}${shared_ext}$major'
15257 shlibpath_var
=LD_LIBRARY_PATH
15258 shlibpath_overrides_runpath
=yes
15259 hardcode_into_libs
=yes
15260 if test "$with_gnu_ld" = yes; then
15261 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15263 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15266 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15270 sys_lib_dlsearch_path_spec
='/usr/lib'
15274 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15279 shlibpath_var
=LD_LIBRARY_PATH
15280 shlibpath_overrides_runpath
=no
15281 hardcode_into_libs
=yes
15286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15287 soname_spec
='${libname}${release}${shared_ext}$major'
15288 shlibpath_var
=LD_LIBRARY_PATH
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15296 $as_echo "$dynamic_linker" >&6; }
15297 test "$dynamic_linker" = no
&& can_build_shared
=no
15299 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15300 if test "$GCC" = yes; then
15301 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15304 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15305 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15307 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15308 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15349 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15350 hardcode_action_CXX
=
15351 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15352 test -n "$runpath_var_CXX" ||
15353 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15355 # We can hardcode non-existent directories.
15356 if test "$hardcode_direct_CXX" != no
&&
15357 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15358 # have to relink, otherwise we might link with an installed library
15359 # when we should be linking with a yet-to-be-installed one
15360 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15361 test "$hardcode_minus_L_CXX" != no
; then
15362 # Linking always hardcodes the temporary library directory.
15363 hardcode_action_CXX
=relink
15365 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15366 hardcode_action_CXX
=immediate
15369 # We cannot hardcode anything, or else we can only hardcode existing
15371 hardcode_action_CXX
=unsupported
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15374 $as_echo "$hardcode_action_CXX" >&6; }
15376 if test "$hardcode_action_CXX" = relink ||
15377 test "$inherit_rpath_CXX" = yes; then
15378 # Fast installation is not supported
15379 enable_fast_install
=no
15380 elif test "$shlibpath_overrides_runpath" = yes ||
15381 test "$enable_shared" = no
; then
15382 # Fast installation is not necessary
15383 enable_fast_install
=needless
15392 fi # test -n "$compiler"
15398 with_gnu_ld
=$lt_save_with_gnu_ld
15399 lt_cv_path_LDCXX
=$lt_cv_path_LD
15400 lt_cv_path_LD
=$lt_save_path_LD
15401 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15402 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15403 fi # test "$_lt_caught_CXX_error" != yes
15406 ac_cpp
='$CPP $CPPFLAGS'
15407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15423 ac_config_commands
="$ac_config_commands libtool"
15428 # Only expand once:
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
15436 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
15437 # Check whether --enable-maintainer-mode was given.
15438 if test "${enable_maintainer_mode+set}" = set; then :
15439 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
15441 USE_MAINTAINER_MODE
=no
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
15445 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15446 if test $USE_MAINTAINER_MODE = yes; then
15447 MAINTAINER_MODE_TRUE
=
15448 MAINTAINER_MODE_FALSE
='#'
15450 MAINTAINER_MODE_TRUE
='#'
15451 MAINTAINER_MODE_FALSE
=
15454 MAINT
=$MAINTAINER_MODE_TRUE
15458 # For libtool versioning info, format is CURRENT:REVISION:AGE
15459 libtool_VERSION
=1:0:0
15462 # Check header files.
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15464 $as_echo_n "checking for ANSI C header files... " >&6; }
15465 if ${ac_cv_header_stdc+:} false
; then :
15466 $as_echo_n "(cached) " >&6
15468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15469 /* end confdefs.h. */
15470 #include <stdlib.h>
15471 #include <stdarg.h>
15472 #include <string.h>
15483 if ac_fn_c_try_compile
"$LINENO"; then :
15484 ac_cv_header_stdc
=yes
15486 ac_cv_header_stdc
=no
15488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15490 if test $ac_cv_header_stdc = yes; then
15491 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15494 #include <string.h>
15497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15498 $EGREP "memchr" >/dev
/null
2>&1; then :
15501 ac_cv_header_stdc
=no
15507 if test $ac_cv_header_stdc = yes; then
15508 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15510 /* end confdefs.h. */
15511 #include <stdlib.h>
15514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15515 $EGREP "free" >/dev
/null
2>&1; then :
15518 ac_cv_header_stdc
=no
15524 if test $ac_cv_header_stdc = yes; then
15525 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15526 if test "$cross_compiling" = yes; then :
15529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h. */
15532 #include <stdlib.h>
15533 #if ((' ' & 0x0FF) == 0x020)
15534 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15535 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15537 # define ISLOWER(c) \
15538 (('a' <= (c) && (c) <= 'i') \
15539 || ('j' <= (c) && (c) <= 'r') \
15540 || ('s' <= (c) && (c) <= 'z'))
15541 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15544 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15549 for (i = 0; i < 256; i++)
15550 if (XOR (islower (i), ISLOWER (i))
15551 || toupper (i) != TOUPPER (i))
15556 if ac_fn_c_try_run
"$LINENO"; then :
15559 ac_cv_header_stdc
=no
15561 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15562 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15568 $as_echo "$ac_cv_header_stdc" >&6; }
15569 if test $ac_cv_header_stdc = yes; then
15571 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15576 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15577 if ${ac_cv_header_time+:} false
; then :
15578 $as_echo_n "(cached) " >&6
15580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15581 /* end confdefs.h. */
15582 #include <sys/types.h>
15583 #include <sys/time.h>
15589 if ((struct tm *) 0)
15595 if ac_fn_c_try_compile
"$LINENO"; then :
15596 ac_cv_header_time
=yes
15598 ac_cv_header_time
=no
15600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15603 $as_echo "$ac_cv_header_time" >&6; }
15604 if test $ac_cv_header_time = yes; then
15606 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
15611 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
15612 if ${gcc_cv_header_string+:} false
; then :
15613 $as_echo_n "(cached) " >&6
15615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15616 /* end confdefs.h. */
15617 #include <string.h>
15618 #include <strings.h>
15627 if ac_fn_c_try_compile
"$LINENO"; then :
15628 gcc_cv_header_string
=yes
15630 gcc_cv_header_string
=no
15632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
15635 $as_echo "$gcc_cv_header_string" >&6; }
15636 if test $gcc_cv_header_string = yes; then
15638 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
15642 for ac_header
in unistd.h semaphore.h sys
/time.h sys
/auxv.h malloc.h
15644 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15645 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15646 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15647 cat >>confdefs.h
<<_ACEOF
15648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15658 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15660 acx_cv_header_stdint
=stddef.h
15661 acx_cv_header_stdint_kind
="(already complete)"
15662 for i
in stdint.h
$inttype_headers; do
15663 unset ac_cv_type_uintptr_t
15664 unset ac_cv_type_uintmax_t
15665 unset ac_cv_type_int_least32_t
15666 unset ac_cv_type_int_fast32_t
15667 unset ac_cv_type_uint64_t
15668 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15669 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15672 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
15673 acx_cv_header_stdint
=$i
15678 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15681 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
15684 acx_cv_header_stdint_kind
="(mostly complete)"
15687 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15690 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
15693 acx_cv_header_stdint_kind
="(mostly complete)"
15696 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15699 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
15702 acx_cv_header_stdint_kind
="(mostly complete)"
15705 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15708 if test "x$ac_cv_type_uint64_t" = xyes
; then :
15711 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15716 if test "$acx_cv_header_stdint" = stddef.h
; then
15717 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15718 for i
in stdint.h
$inttype_headers; do
15719 unset ac_cv_type_uintptr_t
15720 unset ac_cv_type_uint32_t
15721 unset ac_cv_type_uint64_t
15722 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15723 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15726 if test "x$ac_cv_type_uint32_t" = xyes
; then :
15727 acx_cv_header_stdint
=$i
15732 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15735 if test "x$ac_cv_type_uint64_t" = xyes
; then :
15739 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15742 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
15749 if test "$acx_cv_header_stdint" = stddef.h
; then
15750 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15751 for i
in sys
/types.h
$inttype_headers; do
15752 unset ac_cv_type_u_int32_t
15753 unset ac_cv_type_u_int64_t
15754 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15755 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15758 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
15759 acx_cv_header_stdint
=$i
15764 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15767 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
15774 if test "$acx_cv_header_stdint" = stddef.h
; then
15775 acx_cv_header_stdint_kind
="(using manual detection)"
15778 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15779 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15780 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15781 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15782 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15784 # ----------------- Summarize what we found so far
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15787 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15789 case `$as_basename -- gstdint.h ||
15790 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15791 Xgstdint.h : 'X\(//\)$' \| \
15792 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15793 $as_echo X/gstdint.h |
15794 sed '/^.*\/\([^/][^/]*\)\/*$/{
15807 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15808 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15809 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15810 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15815 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15817 # ----------------- done included file, check C basic types --------
15819 # Lacking an uintptr_t? Test size of void *
15820 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15821 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15824 # This bug is HP SR number 8606223364.
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15826 $as_echo_n "checking size of void *... " >&6; }
15827 if ${ac_cv_sizeof_void_p+:} false
; then :
15828 $as_echo_n "(cached) " >&6
15830 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15833 if test "$ac_cv_type_void_p" = yes; then
15834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15836 as_fn_error
77 "cannot compute sizeof (void *)
15837 See \`config.log' for more details" "$LINENO" 5; }
15839 ac_cv_sizeof_void_p
=0
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15845 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15849 cat >>confdefs.h
<<_ACEOF
15850 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15856 # Lacking an uint64_t? Test size of long
15857 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15858 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15859 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15860 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15861 # This bug is HP SR number 8606223364.
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15863 $as_echo_n "checking size of long... " >&6; }
15864 if ${ac_cv_sizeof_long+:} false
; then :
15865 $as_echo_n "(cached) " >&6
15867 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15870 if test "$ac_cv_type_long" = yes; then
15871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15873 as_fn_error
77 "cannot compute sizeof (long)
15874 See \`config.log' for more details" "$LINENO" 5; }
15876 ac_cv_sizeof_long
=0
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15882 $as_echo "$ac_cv_sizeof_long" >&6; }
15886 cat >>confdefs.h
<<_ACEOF
15887 #define SIZEOF_LONG $ac_cv_sizeof_long
15893 if test $acx_cv_header_stdint = stddef.h
; then
15894 # Lacking a good header? Test size of everything and deduce all types.
15895 # The cast to long int works around a bug in the HP C Compiler
15896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15897 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15898 # This bug is HP SR number 8606223364.
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15900 $as_echo_n "checking size of int... " >&6; }
15901 if ${ac_cv_sizeof_int+:} false
; then :
15902 $as_echo_n "(cached) " >&6
15904 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15907 if test "$ac_cv_type_int" = yes; then
15908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15910 as_fn_error
77 "cannot compute sizeof (int)
15911 See \`config.log' for more details" "$LINENO" 5; }
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15919 $as_echo "$ac_cv_sizeof_int" >&6; }
15923 cat >>confdefs.h
<<_ACEOF
15924 #define SIZEOF_INT $ac_cv_sizeof_int
15928 # The cast to long int works around a bug in the HP C Compiler
15929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15930 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15931 # This bug is HP SR number 8606223364.
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15933 $as_echo_n "checking size of short... " >&6; }
15934 if ${ac_cv_sizeof_short+:} false
; then :
15935 $as_echo_n "(cached) " >&6
15937 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15940 if test "$ac_cv_type_short" = yes; then
15941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15943 as_fn_error
77 "cannot compute sizeof (short)
15944 See \`config.log' for more details" "$LINENO" 5; }
15946 ac_cv_sizeof_short
=0
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15952 $as_echo "$ac_cv_sizeof_short" >&6; }
15956 cat >>confdefs.h
<<_ACEOF
15957 #define SIZEOF_SHORT $ac_cv_sizeof_short
15961 # The cast to long int works around a bug in the HP C Compiler
15962 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15963 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15964 # This bug is HP SR number 8606223364.
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15966 $as_echo_n "checking size of char... " >&6; }
15967 if ${ac_cv_sizeof_char+:} false
; then :
15968 $as_echo_n "(cached) " >&6
15970 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15973 if test "$ac_cv_type_char" = yes; then
15974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15976 as_fn_error
77 "cannot compute sizeof (char)
15977 See \`config.log' for more details" "$LINENO" 5; }
15979 ac_cv_sizeof_char
=0
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15985 $as_echo "$ac_cv_sizeof_char" >&6; }
15989 cat >>confdefs.h
<<_ACEOF
15990 #define SIZEOF_CHAR $ac_cv_sizeof_char
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15996 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15997 case "$ac_cv_sizeof_char" in
15998 1) acx_cv_type_int8_t
=char
;;
15999 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16002 $as_echo "$acx_cv_type_int8_t" >&6; }
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16005 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16006 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16007 2:*) acx_cv_type_int16_t
=int
;;
16008 *:2) acx_cv_type_int16_t
=short
;;
16009 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16012 $as_echo "$acx_cv_type_int16_t" >&6; }
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16015 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16016 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16017 4:*) acx_cv_type_int32_t
=int
;;
16018 *:4) acx_cv_type_int32_t
=long
;;
16019 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16022 $as_echo "$acx_cv_type_int32_t" >&6; }
16025 # These tests are here to make the output prettier
16027 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16028 case "$ac_cv_sizeof_long" in
16029 8) acx_cv_type_int64_t
=long
;;
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16032 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16034 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16037 # Now we can use the above types
16039 if test "$ac_cv_type_uintptr_t" != yes; then
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16041 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16042 case $ac_cv_sizeof_void_p in
16043 2) acx_cv_type_intptr_t
=int16_t
;;
16044 4) acx_cv_type_intptr_t
=int32_t
;;
16045 8) acx_cv_type_intptr_t
=int64_t
;;
16046 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16049 $as_echo "$acx_cv_type_intptr_t" >&6; }
16052 # ----------------- done all checks, emit header -------------
16053 ac_config_commands
="$ac_config_commands gstdint.h"
16059 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
16060 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
16061 gcc_header_sys_mman_h
=yes
16063 gcc_header_sys_mman_h
=no
16067 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
16068 if test "x$ac_cv_func_mmap" = xyes
; then :
16074 if test "$gcc_header_sys_mman_h" != yes \
16075 ||
test "$gcc_func_mmap" != yes; then
16076 gcc_cv_func_mmap_file
=no
16077 gcc_cv_func_mmap_dev_zero
=no
16078 gcc_cv_func_mmap_anon
=no
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5
16081 $as_echo_n "checking whether read-only mmap of a plain file works... " >&6; }
16082 if ${gcc_cv_func_mmap_file+:} false
; then :
16083 $as_echo_n "(cached) " >&6
16085 # Add a system to this blacklist if
16086 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
16087 # memory area containing the same data that you'd get if you applied
16088 # read() to the same fd. The only system known to have a problem here
16089 # is VMS, where text files have record structure.
16092 gcc_cv_func_mmap_file
=no
;;
16094 gcc_cv_func_mmap_file
=yes;;
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_file" >&5
16098 $as_echo "$gcc_cv_func_mmap_file" >&6; }
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5
16100 $as_echo_n "checking whether mmap from /dev/zero works... " >&6; }
16101 if ${gcc_cv_func_mmap_dev_zero+:} false
; then :
16102 $as_echo_n "(cached) " >&6
16104 # Add a system to this blacklist if it has mmap() but /dev/zero
16105 # does not exist, or if mmapping /dev/zero does not give anonymous
16106 # zeroed pages with both the following properties:
16107 # 1. If you map N consecutive pages in with one call, and then
16108 # unmap any subset of those pages, the pages that were not
16109 # explicitly unmapped remain accessible.
16110 # 2. If you map two adjacent blocks of memory and then unmap them
16111 # both at once, they must both go away.
16112 # Systems known to be in this category are Windows (all variants),
16115 *vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
16116 gcc_cv_func_mmap_dev_zero
=no
;;
16118 gcc_cv_func_mmap_dev_zero
=yes;;
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_dev_zero" >&5
16122 $as_echo "$gcc_cv_func_mmap_dev_zero" >&6; }
16124 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5
16126 $as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; }
16127 if ${gcc_cv_decl_map_anon+:} false
; then :
16128 $as_echo_n "(cached) " >&6
16130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16132 #include <sys/types.h>
16133 #include <sys/mman.h>
16134 #include <unistd.h>
16136 #ifndef MAP_ANONYMOUS
16137 #define MAP_ANONYMOUS MAP_ANON
16143 int n = MAP_ANONYMOUS;
16148 if ac_fn_c_try_compile
"$LINENO"; then :
16149 gcc_cv_decl_map_anon
=yes
16151 gcc_cv_decl_map_anon
=no
16153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_decl_map_anon" >&5
16156 $as_echo "$gcc_cv_decl_map_anon" >&6; }
16158 if test $gcc_cv_decl_map_anon = no
; then
16159 gcc_cv_func_mmap_anon
=no
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5
16162 $as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; }
16163 if ${gcc_cv_func_mmap_anon+:} false
; then :
16164 $as_echo_n "(cached) " >&6
16166 # Add a system to this blacklist if it has mmap() and MAP_ANON or
16167 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
16168 # doesn't give anonymous zeroed pages with the same properties listed
16169 # above for use of /dev/zero.
16170 # Systems known to be in this category are Windows, VMS, and SCO Unix.
16172 *vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
16173 gcc_cv_func_mmap_anon
=no
;;
16175 gcc_cv_func_mmap_anon
=yes;;
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_anon" >&5
16179 $as_echo "$gcc_cv_func_mmap_anon" >&6; }
16183 if test $gcc_cv_func_mmap_file = yes; then
16185 $as_echo "#define HAVE_MMAP_FILE 1" >>confdefs.h
16188 if test $gcc_cv_func_mmap_dev_zero = yes; then
16190 $as_echo "#define HAVE_MMAP_DEV_ZERO 1" >>confdefs.h
16193 if test $gcc_cv_func_mmap_anon = yes; then
16195 $as_echo "#define HAVE_MMAP_ANON 1" >>confdefs.h
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16201 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16202 if ${ac_cv_c_bigendian+:} false
; then :
16203 $as_echo_n "(cached) " >&6
16205 ac_cv_c_bigendian
=unknown
16206 # See if we're dealing with a universal compiler.
16207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h. */
16209 #ifndef __APPLE_CC__
16210 not a universal capable compiler
16215 if ac_fn_c_try_compile
"$LINENO"; then :
16217 # Check for potential -arch flags. It is not universal unless
16218 # there are at least two -arch flags with different values.
16221 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16222 if test -n "$ac_prev"; then
16224 i?
86 | x86_64 | ppc | ppc64
)
16225 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
16228 ac_cv_c_bigendian
=universal
16234 elif test "x$ac_word" = "x-arch"; then
16239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16240 if test $ac_cv_c_bigendian = unknown
; then
16241 # See if sys/param.h defines the BYTE_ORDER macro.
16242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16244 #include <sys/types.h>
16245 #include <sys/param.h>
16250 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16251 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16253 bogus endian macros
16260 if ac_fn_c_try_compile
"$LINENO"; then :
16261 # It does; now see whether it defined to BIG_ENDIAN or not.
16262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16263 /* end confdefs.h. */
16264 #include <sys/types.h>
16265 #include <sys/param.h>
16270 #if BYTE_ORDER != BIG_ENDIAN
16278 if ac_fn_c_try_compile
"$LINENO"; then :
16279 ac_cv_c_bigendian
=yes
16281 ac_cv_c_bigendian
=no
16283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16287 if test $ac_cv_c_bigendian = unknown
; then
16288 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16291 #include <limits.h>
16296 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16297 bogus endian macros
16304 if ac_fn_c_try_compile
"$LINENO"; then :
16305 # It does; now see whether it defined to _BIG_ENDIAN or not.
16306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16307 /* end confdefs.h. */
16308 #include <limits.h>
16313 #ifndef _BIG_ENDIAN
16321 if ac_fn_c_try_compile
"$LINENO"; then :
16322 ac_cv_c_bigendian
=yes
16324 ac_cv_c_bigendian
=no
16326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16330 if test $ac_cv_c_bigendian = unknown
; then
16331 # Compile a test program.
16332 if test "$cross_compiling" = yes; then :
16333 # Try to guess by grepping values from an object file.
16334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16335 /* end confdefs.h. */
16336 short int ascii_mm[] =
16337 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16338 short int ascii_ii[] =
16339 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16340 int use_ascii (int i) {
16341 return ascii_mm[i] + ascii_ii[i];
16343 short int ebcdic_ii[] =
16344 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16345 short int ebcdic_mm[] =
16346 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16347 int use_ebcdic (int i) {
16348 return ebcdic_mm[i] + ebcdic_ii[i];
16355 return use_ascii (foo) == use_ebcdic (foo);
16360 if ac_fn_c_try_compile
"$LINENO"; then :
16361 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
16362 ac_cv_c_bigendian
=yes
16364 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
16365 if test "$ac_cv_c_bigendian" = unknown
; then
16366 ac_cv_c_bigendian
=no
16368 # finding both strings is unlikely to happen, but who knows?
16369 ac_cv_c_bigendian
=unknown
16373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16377 $ac_includes_default
16382 /* Are we little or big endian? From Harbison&Steele. */
16386 char c[sizeof (long int)];
16389 return u.c[sizeof (long int) - 1] == 1;
16395 if ac_fn_c_try_run
"$LINENO"; then :
16396 ac_cv_c_bigendian
=no
16398 ac_cv_c_bigendian
=yes
16400 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16401 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16407 $as_echo "$ac_cv_c_bigendian" >&6; }
16408 case $ac_cv_c_bigendian in #(
16410 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16416 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16420 as_fn_error $?
"unknown endianness
16421 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16424 # I don't like the default behaviour of WORDS_BIGENDIAN undefined for LE.
16427 # Check to see if -pthread or -lpthread is needed. Prefer the former.
16428 # In case the pthread.h system header is not found, this test will fail.
16430 CFLAGS
="$CFLAGS -pthread"
16431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16433 #include <pthread.h>
16434 void *g(void *d) { return NULL; }
16438 pthread_t t; pthread_create(&t,NULL,g,NULL);
16443 if ac_fn_c_try_link
"$LINENO"; then :
16444 XPCFLAGS
=" -Wc,-pthread"
16446 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
16447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16448 /* end confdefs.h. */
16449 #include <pthread.h>
16450 void *g(void *d) { return NULL; }
16454 pthread_t t; pthread_create(&t,NULL,g,NULL);
16459 if ac_fn_c_try_link
"$LINENO"; then :
16462 as_fn_error $?
"Pthreads are required to build libitm" "$LINENO" 5
16464 rm -f core conftest.err conftest.
$ac_objext \
16465 conftest
$ac_exeext conftest.
$ac_ext
16467 rm -f core conftest.err conftest.
$ac_objext \
16468 conftest
$ac_exeext conftest.
$ac_ext
16470 # Check for functions needed.
16471 for ac_func
in strtoull memalign posix_memalign getauxval
16473 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16474 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16475 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16476 cat >>confdefs.h
<<_ACEOF
16477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16484 # Check for broken semaphore implementation on darwin.
16485 # sem_init returns: sem_init error: Function not implemented.
16489 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
16494 # Check whether --enable-linux-futex was given.
16495 if test "${enable_linux_futex+set}" = set; then :
16496 enableval
=$enable_linux_futex;
16497 case "$enableval" in
16499 *) as_fn_error $?
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
16503 enable_linux_futex
=default
16508 *-linux* |
*-uclinux*)
16509 case "$enable_linux_futex" in
16511 # If headers don't have gettid/futex syscalls definition, then
16512 # default to no, otherwise there will be compile time failures.
16513 # Otherwise, default to yes. If we don't detect we are
16514 # compiled/linked against NPTL and not cross-compiling, check
16515 # if programs are run by default against NPTL and if not, issue
16517 enable_linux_futex
=no
16518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16519 /* end confdefs.h. */
16520 #include <sys/syscall.h>
16521 #include <unistd.h>
16526 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16531 if ac_fn_c_try_link
"$LINENO"; then :
16533 LIBS
="-lpthread $LIBS"
16534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16536 #ifndef _GNU_SOURCE
16537 #define _GNU_SOURCE 1
16539 #include <pthread.h>
16540 pthread_t th; void *status;
16544 pthread_tryjoin_np (th, &status);
16549 if ac_fn_c_try_link
"$LINENO"; then :
16550 enable_linux_futex
=yes
16552 if test x
$cross_compiling = xno
; then
16553 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
16554 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
16556 If so, please configure with --disable-linux-futex" >&5
16557 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
16558 If so, please configure with --disable-linux-futex" >&2;}
16561 enable_linux_futex
=yes
16563 rm -f core conftest.err conftest.
$ac_objext \
16564 conftest
$ac_exeext conftest.
$ac_ext
16567 rm -f core conftest.err conftest.
$ac_objext \
16568 conftest
$ac_exeext conftest.
$ac_ext
16571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16573 #include <sys/syscall.h>
16574 #include <unistd.h>
16579 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16584 if ac_fn_c_try_link
"$LINENO"; then :
16587 as_fn_error $?
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
16589 rm -f core conftest.err conftest.
$ac_objext \
16590 conftest
$ac_exeext conftest.
$ac_ext
16595 enable_linux_futex
=no
16598 if test x
$enable_linux_futex = xyes
; then
16603 # See if we support thread-local storage.
16606 # Check whether --enable-tls was given.
16607 if test "${enable_tls+set}" = set; then :
16608 enableval
=$enable_tls;
16609 case "$enableval" in
16611 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
16620 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
16621 if ${gcc_cv_have_tls+:} false
; then :
16622 $as_echo_n "(cached) " >&6
16625 if test "$cross_compiling" = yes; then :
16626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16628 __thread int a; int b; int main() { return a = b; }
16630 if ac_fn_c_try_link
"$LINENO"; then :
16631 chktls_save_LDFLAGS
="$LDFLAGS"
16633 *-*-linux* |
-*-uclinuxfdpic*)
16634 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
16637 chktls_save_CFLAGS
="$CFLAGS"
16638 CFLAGS
="-fPIC $CFLAGS"
16639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16641 int f() { return 0; }
16643 if ac_fn_c_try_link
"$LINENO"; then :
16644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16645 /* end confdefs.h. */
16646 __thread int a; int b; int f() { return a = b; }
16648 if ac_fn_c_try_link
"$LINENO"; then :
16649 gcc_cv_have_tls
=yes
16653 rm -f core conftest.err conftest.
$ac_objext \
16654 conftest
$ac_exeext conftest.
$ac_ext
16656 gcc_cv_have_tls
=yes
16658 rm -f core conftest.err conftest.
$ac_objext \
16659 conftest
$ac_exeext conftest.
$ac_ext
16660 CFLAGS
="$chktls_save_CFLAGS"
16661 LDFLAGS
="$chktls_save_LDFLAGS"
16665 rm -f core conftest.err conftest.
$ac_objext \
16666 conftest
$ac_exeext conftest.
$ac_ext
16670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16672 __thread int a; int b; int main() { return a = b; }
16674 if ac_fn_c_try_run
"$LINENO"; then :
16675 chktls_save_LDFLAGS
="$LDFLAGS"
16676 LDFLAGS
="-static $LDFLAGS"
16677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16678 /* end confdefs.h. */
16679 int main() { return 0; }
16681 if ac_fn_c_try_link
"$LINENO"; then :
16682 if test "$cross_compiling" = yes; then :
16683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16685 as_fn_error $?
"cannot run test program while cross compiling
16686 See \`config.log' for more details" "$LINENO" 5; }
16688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16689 /* end confdefs.h. */
16690 __thread int a; int b; int main() { return a = b; }
16692 if ac_fn_c_try_run
"$LINENO"; then :
16693 gcc_cv_have_tls
=yes
16697 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16698 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16702 gcc_cv_have_tls
=yes
16704 rm -f core conftest.err conftest.
$ac_objext \
16705 conftest
$ac_exeext conftest.
$ac_ext
16706 LDFLAGS
="$chktls_save_LDFLAGS"
16707 if test $gcc_cv_have_tls = yes; then
16708 chktls_save_CFLAGS
="$CFLAGS"
16709 thread_CFLAGS
=failed
16710 for flag
in '' '-pthread' '-lpthread'; do
16711 CFLAGS
="$flag $chktls_save_CFLAGS"
16712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h. */
16714 #include <pthread.h>
16715 void *g(void *d) { return NULL; }
16719 pthread_t t; pthread_create(&t,NULL,g,NULL);
16724 if ac_fn_c_try_link
"$LINENO"; then :
16725 thread_CFLAGS
="$flag"
16727 rm -f core conftest.err conftest.
$ac_objext \
16728 conftest
$ac_exeext conftest.
$ac_ext
16729 if test "X$thread_CFLAGS" != Xfailed
; then
16733 CFLAGS
="$chktls_save_CFLAGS"
16734 if test "X$thread_CFLAGS" != Xfailed
; then
16735 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
16736 if test "$cross_compiling" = yes; then :
16737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16739 as_fn_error $?
"cannot run test program while cross compiling
16740 See \`config.log' for more details" "$LINENO" 5; }
16742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16744 #include <pthread.h>
16746 static int *volatile a_in_other_thread;
16748 thread_func (void *arg)
16750 a_in_other_thread = &a;
16757 void *thread_retval;
16758 int *volatile a_in_main_thread;
16759 a_in_main_thread = &a;
16760 if (pthread_create (&thread, (pthread_attr_t *)0,
16761 thread_func, (void *)0))
16763 if (pthread_join (thread, &thread_retval))
16765 return (a_in_other_thread == a_in_main_thread);
16770 if ac_fn_c_try_run
"$LINENO"; then :
16771 gcc_cv_have_tls
=yes
16775 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16776 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16779 CFLAGS
="$chktls_save_CFLAGS"
16785 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16786 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
16791 $as_echo "$gcc_cv_have_tls" >&6; }
16792 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
16794 $as_echo "#define HAVE_TLS 1" >>confdefs.h
16798 # See what sort of export controls are available.
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
16801 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
16802 if ${libitm_cv_have_attribute_visibility+:} false
; then :
16803 $as_echo_n "(cached) " >&6
16806 save_CFLAGS
="$CFLAGS"
16807 CFLAGS
="$CFLAGS -Werror"
16808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16810 void __attribute__((visibility("hidden"))) foo(void) { }
16819 if ac_fn_c_try_compile
"$LINENO"; then :
16820 libitm_cv_have_attribute_visibility
=yes
16822 libitm_cv_have_attribute_visibility
=no
16824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16825 CFLAGS
="$save_CFLAGS"
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_visibility" >&5
16828 $as_echo "$libitm_cv_have_attribute_visibility" >&6; }
16829 if test $libitm_cv_have_attribute_visibility = yes; then
16831 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
16836 $as_echo_n "checking whether the target supports dllexport... " >&6; }
16837 if ${libitm_cv_have_attribute_dllexport+:} false
; then :
16838 $as_echo_n "(cached) " >&6
16841 save_CFLAGS
="$CFLAGS"
16842 CFLAGS
="$CFLAGS -Werror"
16843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16844 /* end confdefs.h. */
16845 void __attribute__((dllexport)) foo(void) { }
16854 if ac_fn_c_try_compile
"$LINENO"; then :
16855 libitm_cv_have_attribute_dllexport
=yes
16857 libitm_cv_have_attribute_dllexport
=no
16859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16860 CFLAGS
="$save_CFLAGS"
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_dllexport" >&5
16863 $as_echo "$libitm_cv_have_attribute_dllexport" >&6; }
16864 if test $libitm_cv_have_attribute_dllexport = yes; then
16866 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
16871 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
16872 if ${libitm_cv_have_attribute_alias+:} false
; then :
16873 $as_echo_n "(cached) " >&6
16876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h. */
16880 extern void bar(void) __attribute__((alias("foo")));
16889 if ac_fn_c_try_link
"$LINENO"; then :
16890 libitm_cv_have_attribute_alias
=yes
16892 libitm_cv_have_attribute_alias
=no
16894 rm -f core conftest.err conftest.
$ac_objext \
16895 conftest
$ac_exeext conftest.
$ac_ext
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_attribute_alias" >&5
16898 $as_echo "$libitm_cv_have_attribute_alias" >&6; }
16899 if test $libitm_cv_have_attribute_alias = yes; then
16901 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
16905 # Check linker hardware capability support.
16908 # Check whether --with-gnu-ld was given.
16909 if test "${with_gnu_ld+set}" = set; then :
16910 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16916 if test "$GCC" = yes; then
16917 # Check if gcc -print-prog-name=ld gives a path.
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16919 $as_echo_n "checking for ld used by $CC... " >&6; }
16922 # gcc leaves a trailing carriage return which upsets mingw
16923 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16925 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16928 # Accept absolute paths.
16930 re_direlt
='/[^/][^/]*/\.\./'
16931 # Canonicalize the pathname of ld
16932 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16933 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
16934 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16936 test -z "$LD" && LD
="$ac_prog"
16939 # If it fails, then pretend we aren't using GCC.
16943 # If it is relative, then search for the first ld in PATH.
16944 with_gnu_ld
=unknown
16947 elif test "$with_gnu_ld" = yes; then
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16949 $as_echo_n "checking for GNU ld... " >&6; }
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16952 $as_echo_n "checking for non-GNU ld... " >&6; }
16954 if ${lt_cv_path_LD+:} false
; then :
16955 $as_echo_n "(cached) " >&6
16957 if test -z "$LD"; then
16958 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
16959 for ac_dir
in $PATH; do
16961 test -z "$ac_dir" && ac_dir
=.
16962 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16963 lt_cv_path_LD
="$ac_dir/$ac_prog"
16964 # Check to see if the program is GNU ld. I'd rather use --version,
16965 # but apparently some variants of GNU ld only accept -v.
16966 # Break only if it was the GNU/non-GNU ld that we prefer.
16967 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16968 *GNU
* |
*'with BFD'*)
16969 test "$with_gnu_ld" != no
&& break
16972 test "$with_gnu_ld" != yes && break
16979 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
16983 LD
="$lt_cv_path_LD"
16984 if test -n "$LD"; then
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16986 $as_echo "$LD" >&6; }
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16989 $as_echo "no" >&6; }
16991 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16993 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16994 if ${lt_cv_prog_gnu_ld+:} false
; then :
16995 $as_echo_n "(cached) " >&6
16997 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16998 case `$LD -v 2>&1 </dev/null` in
16999 *GNU
* |
*'with BFD'*)
17000 lt_cv_prog_gnu_ld
=yes
17003 lt_cv_prog_gnu_ld
=no
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17008 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
17009 with_gnu_ld
=$lt_cv_prog_gnu_ld
17017 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS
=''
17020 ac_save_LDFLAGS
="$LDFLAGS"
17021 LDFLAGS
="$LFLAGS -mclear-hwcap"
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
17024 $as_echo_n "checking for -mclear-hwcap... " >&6; }
17025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17036 if ac_fn_c_try_link
"$LINENO"; then :
17037 ac_hwcap_ldflags
=yes
17039 ac_hwcap_ldflags
=no
17041 rm -f core conftest.err conftest.
$ac_objext \
17042 conftest
$ac_exeext conftest.
$ac_ext
17043 if test "$ac_hwcap_ldflags" = "yes"; then
17044 HWCAP_LDFLAGS
="-mclear-hwcap $HWCAP_LDFLAGS"
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
17047 $as_echo "$ac_hwcap_ldflags" >&6; }
17049 LDFLAGS
="$ac_save_LDFLAGS"
17053 if test $ac_hwcap_ldflags != no
; then
17055 HAVE_HWCAP_FALSE
='#'
17057 HAVE_HWCAP_TRUE
='#'
17062 # If defaulting to -mavx, don't clear hwcaps.
17063 ac_fn_c_check_decl
"$LINENO" "__AVX__" "ac_cv_have_decl___AVX__" "$ac_includes_default"
17064 if test "x$ac_cv_have_decl___AVX__" = xyes
; then :
17070 # If we're not using GNU ld, then there's no point in even trying these
17071 # tests. Check for that first. We should have already tested for gld
17072 # by now (in libtool), but require it now just to be safe...
17073 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
17074 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
17078 # The name set by libtool depends on the version of libtool. Shame on us
17079 # for depending on an impl detail, but c'est la vie. Older versions used
17080 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17081 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17082 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17083 # set (hence we're using an older libtool), then set it.
17084 if test x
${with_gnu_ld+set} != xset
; then
17085 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
17086 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17089 with_gnu_ld
=$ac_cv_prog_gnu_ld
17093 # Start by getting the version number. I think the libtool test already
17094 # does some of this, but throws away the result.
17095 libitm_ld_is_gold
=no
17096 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
17097 libitm_ld_is_gold
=yes
17100 ldver
=`$LD --version 2>/dev/null |
17101 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
17103 libitm_gnu_ld_version
=`echo $ldver | \
17104 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17106 # Set --gc-sections.
17107 if test "$with_gnu_ld" = "notbroken"; then
17108 # GNU ld it is! Joy and bunny rabbits!
17110 # All these tests are for C++; save the language and the compiler flags.
17111 # Need to do this so that g++ won't try to link in libstdc++
17112 ac_test_CFLAGS
="${CFLAGS+set}"
17113 ac_save_CFLAGS
="$CFLAGS"
17114 CFLAGS
='-x c++ -Wl,--gc-sections'
17116 # Check for -Wl,--gc-sections
17117 # XXX This test is broken at the moment, as symbols required for linking
17118 # are now in libsupc++ (not built yet). In addition, this test has
17119 # cored on solaris in the past. In addition, --gc-sections doesn't
17120 # really work at the moment (keeps on discarding used sections, first
17121 # .eh_frame and now some of the glibc sections for iconv).
17122 # Bzzzzt. Thanks for playing, maybe next time.
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
17124 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
17125 if test "$cross_compiling" = yes; then :
17126 ac_sectionLDflags
=yes
17128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17139 if ac_fn_c_try_run
"$LINENO"; then :
17140 ac_sectionLDflags
=yes
17142 ac_sectionLDflags
=no
17144 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17145 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17148 if test "$ac_test_CFLAGS" = set; then
17149 CFLAGS
="$ac_save_CFLAGS"
17151 # this is the suspicious part
17154 if test "$ac_sectionLDflags" = "yes"; then
17155 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
17158 $as_echo "$ac_sectionLDflags" >&6; }
17161 # Set linker optimization flags.
17162 if test x
"$with_gnu_ld" = x
"yes"; then
17163 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
17171 # Check whether --enable-symvers was given.
17172 if test "${enable_symvers+set}" = set; then :
17173 enableval
=$enable_symvers;
17174 case "$enableval" in
17175 yes|no|gnu
*|sun
) ;;
17176 *) as_fn_error $?
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
17185 # If we never went through the LIBITM_CHECK_LINKER_FEATURES macro, then we
17186 # don't know enough about $LD to do tricks...
17189 # Turn a 'yes' into a suitable default.
17190 if test x
$enable_symvers = xyes
; then
17191 # FIXME The following test is too strict, in theory.
17192 if test $enable_shared = no ||
test "x$LD" = x
; then
17195 if test $with_gnu_ld = yes ; then
17198 case ${target_os} in
17199 # Sun symbol versioning exists since Solaris 2.5.
17200 solaris2.
[5-9]* | solaris2.1
[0-9]*)
17201 enable_symvers
=sun
;;
17203 enable_symvers
=no
;;
17209 # Check if 'sun' was requested on non-Solaris 2 platforms.
17210 if test x
$enable_symvers = xsun
; then
17211 case ${target_os} in
17216 # Unlikely to work.
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
17218 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
17220 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17222 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17228 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
17229 if test $enable_symvers != no
; then
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
17231 $as_echo_n "checking for shared libgcc... " >&6; }
17232 ac_save_CFLAGS
="$CFLAGS"
17234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17245 if ac_fn_c_try_link
"$LINENO"; then :
17246 libitm_shared_libgcc
=yes
17248 libitm_shared_libgcc
=no
17250 rm -f core conftest.err conftest.
$ac_objext \
17251 conftest
$ac_exeext conftest.
$ac_ext
17252 CFLAGS
="$ac_save_CFLAGS"
17253 if test $libitm_shared_libgcc = no
; then
17254 cat > conftest.c
<<EOF
17255 int main (void) { return 0; }
17257 libitm_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
17258 -shared -shared-libgcc -o conftest.so \
17259 conftest.c -v 2>&1 >/dev/null \
17260 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
17261 rm -f conftest.c conftest.so
17262 if test x
${libitm_libgcc_s_suffix+set} = xset
; then
17263 CFLAGS
=" -lgcc_s$libitm_libgcc_s_suffix"
17264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h. */
17275 if ac_fn_c_try_link
"$LINENO"; then :
17276 libitm_shared_libgcc
=yes
17278 rm -f core conftest.err conftest.
$ac_objext \
17279 conftest
$ac_exeext conftest.
$ac_ext
17280 CFLAGS
="$ac_save_CFLAGS"
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_shared_libgcc" >&5
17284 $as_echo "$libitm_shared_libgcc" >&6; }
17287 # For GNU ld, we need at least this version. The format is described in
17288 # LIBITM_CHECK_LINKER_FEATURES above.
17289 libitm_min_gnu_ld_version
=21400
17290 # XXXXXXXXXXX libitm_gnu_ld_version=21390
17292 # Check to see if unspecified "yes" value can win, given results above.
17293 # Change "yes" into either "no" or a style name.
17294 if test $enable_symvers != no
&& test $libitm_shared_libgcc = yes; then
17295 if test $with_gnu_ld = yes; then
17296 if test $libitm_gnu_ld_version -ge $libitm_min_gnu_ld_version ; then
17298 elif test $libitm_ld_is_gold = yes ; then
17301 # The right tools, the right setup, but too old. Fallbacks?
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libitm_gnu_ld_version is too old for" >&5
17303 $as_echo "$as_me: WARNING: === Linker version $libitm_gnu_ld_version is too old for" >&2;}
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
17305 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
17307 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libitm_min_gnu_ld_version or later and rebuild GCC." >&5
17309 $as_echo "$as_me: WARNING: === $libitm_min_gnu_ld_version or later and rebuild GCC." >&2;}
17310 if test $libitm_gnu_ld_version -ge 21200 ; then
17311 # Globbing fix is present, proper block support is not.
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17313 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17318 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17322 elif test $enable_symvers = sun
; then
17323 : All interesting versions of Sun ld support sun style symbol versioning.
17325 # just fail for now
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
17327 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
17329 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
17331 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
17333 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17338 if test $enable_symvers != no
; then
17339 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
=
17340 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
='#'
17342 LIBITM_BUILD_VERSIONED_SHLIB_TRUE
='#'
17343 LIBITM_BUILD_VERSIONED_SHLIB_FALSE
=
17346 if test $enable_symvers = gnu
; then
17347 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
=
17348 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
='#'
17350 LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE
='#'
17351 LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE
=
17354 if test $enable_symvers = sun
; then
17355 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
=
17356 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
='#'
17358 LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE
='#'
17359 LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE
=
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
17363 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
17365 if test $enable_symvers = gnu
; then
17367 $as_echo "#define LIBITM_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
17371 # See if we can emit unwind info in the sjlj stub.
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .cfi pseudo-op support" >&5
17373 $as_echo_n "checking assembler .cfi pseudo-op support... " >&6; }
17374 if ${gcc_cv_as_cfi_pseudo_op+:} false
; then :
17375 $as_echo_n "(cached) " >&6
17378 gcc_cv_as_cfi_pseudo_op
=unknown
17379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 asm (".cfi_startproc\n\t.cfi_endproc");
17390 if ac_fn_c_try_compile
"$LINENO"; then :
17391 gcc_cv_as_cfi_pseudo_op
=yes
17393 gcc_cv_as_cfi_pseudo_op
=no
17395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_cfi_pseudo_op" >&5
17399 $as_echo "$gcc_cv_as_cfi_pseudo_op" >&6; }
17400 if test "x$gcc_cv_as_cfi_pseudo_op" = xyes
; then
17402 $as_echo "#define HAVE_AS_CFI_PSEUDO_OP 1" >>confdefs.h
17407 # Determine the proper ABI type for size_t.
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
17410 $as_echo_n "checking how size_t is mangled... " >&6; }
17411 if ${libitm_cv_size_t_mangling+:} false
; then :
17412 $as_echo_n "(cached) " >&6
17415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17421 extern __SIZE_TYPE__ x; extern unsigned long x;
17426 if ac_fn_c_try_compile
"$LINENO"; then :
17427 libitm_cv_size_t_mangling
=m
17430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17436 extern __SIZE_TYPE__ x; extern unsigned int x;
17441 if ac_fn_c_try_compile
"$LINENO"; then :
17442 libitm_cv_size_t_mangling
=j
17445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17451 extern __SIZE_TYPE__ x; extern unsigned long long x;
17456 if ac_fn_c_try_compile
"$LINENO"; then :
17457 libitm_cv_size_t_mangling
=y
17460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17466 extern __SIZE_TYPE__ x; extern unsigned short x;
17471 if ac_fn_c_try_compile
"$LINENO"; then :
17472 libitm_cv_size_t_mangling
=t
17474 libitm_cv_size_t_mangling
=x
17476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_size_t_mangling" >&5
17489 $as_echo "$libitm_cv_size_t_mangling" >&6; }
17490 if test $libitm_cv_size_t_mangling = x
; then
17491 as_fn_error $?
"Unknown underlying type for size_t" "$LINENO" 5
17494 cat >>confdefs.h
<<_ACEOF
17495 #define MANGLE_SIZE_T $libitm_cv_size_t_mangling
17500 # Get target configury.
17501 .
${srcdir}/configure.tgt
17502 if test -n "$UNSUPPORTED"; then
17503 as_fn_error $?
"Configuration ${target} is unsupported." "$LINENO" 5
17506 CFLAGS
="$save_CFLAGS $XCFLAGS"
17508 # Check for __sync_val_compare_and_swap, but only after the target has
17509 # had a chance to set XCFLAGS.
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
17512 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
17513 if ${libitm_cv_have_sync_builtins+:} false
; then :
17514 $as_echo_n "(cached) " >&6
17517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17523 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
17528 if ac_fn_c_try_link
"$LINENO"; then :
17529 libitm_cv_have_sync_builtins
=yes
17531 libitm_cv_have_sync_builtins
=no
17533 rm -f core conftest.err conftest.
$ac_objext \
17534 conftest
$ac_exeext conftest.
$ac_ext
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_sync_builtins" >&5
17537 $as_echo "$libitm_cv_have_sync_builtins" >&6; }
17538 if test $libitm_cv_have_sync_builtins = yes; then
17540 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports 64-bit __sync_*_compare_and_swap" >&5
17545 $as_echo_n "checking whether the target supports 64-bit __sync_*_compare_and_swap... " >&6; }
17546 if ${libitm_cv_have_64bit_sync_builtins+:} false
; then :
17547 $as_echo_n "(cached) " >&6
17550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 #include <stdint.h>
17557 bar = __sync_val_compare_and_swap(&foo, 0, 1);
17562 if ac_fn_c_try_link
"$LINENO"; then :
17563 libitm_cv_have_64bit_sync_builtins
=yes
17565 libitm_cv_have_64bit_sync_builtins
=no
17567 rm -f core conftest.err conftest.
$ac_objext \
17568 conftest
$ac_exeext conftest.
$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_have_64bit_sync_builtins" >&5
17571 $as_echo "$libitm_cv_have_64bit_sync_builtins" >&6; }
17572 if test $libitm_cv_have_64bit_sync_builtins = yes; then
17574 $as_echo "#define HAVE_64BIT_SYNC_BUILTINS 1" >>confdefs.h
17578 case "${target_cpu}" in
17579 i
[34567]86 | x86_64
)
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports AVX" >&5
17581 $as_echo_n "checking if the assembler supports AVX... " >&6; }
17582 if ${libitm_cv_as_avx+:} false
; then :
17583 $as_echo_n "(cached) " >&6
17586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17597 if ac_fn_c_try_compile
"$LINENO"; then :
17598 libitm_cv_as_avx
=yes
17600 libitm_cv_as_avx
=no
17602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_avx" >&5
17606 $as_echo "$libitm_cv_as_avx" >&6; }
17607 if test x
$libitm_cv_as_avx = xyes
; then
17609 $as_echo "#define HAVE_AS_AVX 1" >>confdefs.h
17615 case "${target_cpu}" in
17616 i
[34567]86 | x86_64
)
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports RTM" >&5
17618 $as_echo_n "checking if the assembler supports RTM... " >&6; }
17619 if ${libitm_cv_as_rtm+:} false
; then :
17620 $as_echo_n "(cached) " >&6
17623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17629 asm("1: xbegin 1b; xend");
17634 if ac_fn_c_try_compile
"$LINENO"; then :
17635 libitm_cv_as_rtm
=yes
17637 libitm_cv_as_rtm
=no
17639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_rtm" >&5
17643 $as_echo "$libitm_cv_as_rtm" >&6; }
17644 if test x
$libitm_cv_as_rtm = xyes
; then
17646 $as_echo "#define HAVE_AS_RTM 1" >>confdefs.h
17652 case "${target_cpu}" in
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports HTM" >&5
17655 $as_echo_n "checking if the assembler supports HTM... " >&6; }
17656 if ${libitm_cv_as_htm+:} false
; then :
17657 $as_echo_n "(cached) " >&6
17660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17666 asm("tbegin. 0; tend. 0");
17671 if ac_fn_c_try_compile
"$LINENO"; then :
17672 libitm_cv_as_htm
=yes
17674 libitm_cv_as_htm
=no
17676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_htm" >&5
17680 $as_echo "$libitm_cv_as_htm" >&6; }
17681 if test x
$libitm_cv_as_htm = xyes
; then
17683 $as_echo "#define HAVE_AS_HTM 1" >>confdefs.h
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports HTM" >&5
17689 $as_echo_n "checking if the assembler supports HTM... " >&6; }
17690 if ${libitm_cv_as_htm+:} false
; then :
17691 $as_echo_n "(cached) " >&6
17694 save_CFLAGS
="$CFLAGS"
17695 CFLAGS
="$CFLAGS -march=zEC12"
17696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17702 asm("tbegin 0,0; tend");
17707 if ac_fn_c_try_compile
"$LINENO"; then :
17708 libitm_cv_as_htm
=yes
17710 libitm_cv_as_htm
=no
17712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17713 CFLAGS
="$save_CFLAGS"
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libitm_cv_as_htm" >&5
17716 $as_echo "$libitm_cv_as_htm" >&6; }
17717 if test x
$libitm_cv_as_htm = xyes
; then
17719 $as_echo "#define HAVE_AS_HTM 1" >>confdefs.h
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether weak refs work like ELF" >&5
17727 $as_echo_n "checking whether weak refs work like ELF... " >&6; }
17728 if ${ac_cv_have_elf_style_weakref+:} false
; then :
17729 $as_echo_n "(cached) " >&6
17732 weakref_m4_saved_CFLAGS
="$CFLAGS"
17734 *-apple-darwin*) CFLAGS
="$CFLAGS -Wl,-undefined,dynamic_lookup" ;;
17737 if test "$cross_compiling" = yes; then :
17740 *-apple-darwin[89]*) ac_cv_have_elf_style_weakref
=no
;;
17741 *) ac_cv_have_elf_style_weakref
=yes;;
17744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17745 /* end confdefs.h. */
17747 extern void fNotToBeFound(void) __attribute__((weak));
17757 if ac_fn_c_try_run
"$LINENO"; then :
17758 ac_cv_have_elf_style_weakref
=yes
17760 ac_cv_have_elf_style_weakref
=no
17762 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17763 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17765 CFLAGS
="$weakref_m4_saved_CFLAGS"
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_elf_style_weakref" >&5
17768 $as_echo "$ac_cv_have_elf_style_weakref" >&6; }
17769 if test x
"$ac_cv_have_elf_style_weakref" = xyes
; then
17771 $as_echo "#define HAVE_ELF_STYLE_WEAKREF 1" >>confdefs.h
17775 # Cleanup and exit.
17776 CFLAGS
="$save_CFLAGS"
17777 cat >confcache
<<\_ACEOF
17778 # This file is a shell script that caches the results of configure
17779 # tests run on this system so they can be shared between configure
17780 # scripts and configure runs, see configure's option --config-cache.
17781 # It is not useful on other systems. If it contains results you don't
17782 # want to keep, you may remove or edit it.
17784 # config.status only pays attention to the cache file if you give it
17785 # the --recheck option to rerun configure.
17787 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17788 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17789 # following values.
17793 # The following way of writing the cache mishandles newlines in values,
17794 # but we know of no workaround that is simple, portable, and efficient.
17795 # So, we kill variables containing newlines.
17796 # Ultrix sh set writes to stderr and can't be redirected directly,
17797 # and sets the high bit in the cache file unless we assign to the vars.
17799 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17800 eval ac_val
=\$
$ac_var
17804 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17805 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17808 _ | IFS | as_nl
) ;; #(
17809 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17810 *) { eval $ac_var=; unset $ac_var;} ;;
17816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17817 *${as_nl}ac_space
=\
*)
17818 # `set' does not quote correctly, so add quotes: double-quote
17819 # substitution turns \\\\ into \\, and sed turns \\ into \.
17822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17825 # `set' quotes correctly as required by POSIX, so do not add quotes.
17826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17839 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17840 if test -w "$cache_file"; then
17841 if test "x$cache_file" != "x/dev/null"; then
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17843 $as_echo "$as_me: updating cache $cache_file" >&6;}
17844 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17845 cat confcache
>"$cache_file"
17847 case $cache_file in #(
17849 mv -f confcache
"$cache_file"$$
&&
17850 mv -f "$cache_file"$$
"$cache_file" ;; #(
17852 mv -f confcache
"$cache_file" ;;
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17858 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17863 # Add -Wall -Werror if we are using GCC.
17864 if test "x$GCC" = "xyes"; then
17865 XCFLAGS
="$XCFLAGS -Wall -Werror"
17868 XCFLAGS
="$XCFLAGS $XPCFLAGS"
17870 # Add CET specific flags if CET is enabled
17871 # Check whether --enable-cet was given.
17872 if test "${enable_cet+set}" = set; then :
17873 enableval
=$enable_cet;
17874 case "$enableval" in
17876 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
17885 $as_echo_n "checking for CET support... " >&6; }
17887 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
17889 i
[34567]86-*-linux* | x86_64-
*-linux*)
17890 case "$enable_cet" in
17892 # Check if target supports multi-byte NOPs
17893 # and if assembler supports CET insn.
17894 cet_save_CFLAGS
="$CFLAGS"
17895 CFLAGS
="$CFLAGS -fcf-protection"
17896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17903 #if !defined(__SSE2__)
17904 #error target does not support multi-byte NOPs
17913 if ac_fn_c_try_compile
"$LINENO"; then :
17918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17919 CFLAGS
="$cet_save_CFLAGS"
17922 # Check if assembler supports CET.
17923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17924 /* end confdefs.h. */
17934 if ac_fn_c_try_compile
"$LINENO"; then :
17937 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
17939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17947 if test x
$enable_cet = xyes
; then
17948 CET_FLAGS
="-fcf-protection -mshstk"
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17950 $as_echo "yes" >&6; }
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17953 $as_echo "no" >&6; }
17956 XCFLAGS
="$XCFLAGS $CET_FLAGS"
17962 if test ${multilib} = yes; then
17963 multilib_arg
="--enable-multilib"
17968 # Set up the set of libraries that we need to link against for libitm.
17969 # Note that the GTM_SELF_SPECS in gcc.c will force -pthread for -fgnu-tm,
17970 # which will force linkage against -lpthread (or equivalent for the system).
17971 # That's not 100% ideal, but about the best we can do easily.
17972 if test $enable_shared = yes; then
17973 link_itm
="-litm %{static: $LIBS}"
17975 link_itm
="-litm $LIBS"
17979 if test "$ARCH" = arm
; then
17987 if test "$ARCH" = x86
; then
17995 if test "$libitm_cv_as_avx" = yes; then
17997 ARCH_X86_AVX_FALSE
='#'
17999 ARCH_X86_AVX_TRUE
='#'
18000 ARCH_X86_AVX_FALSE
=
18003 if test $enable_linux_futex = yes; then
18005 ARCH_FUTEX_FALSE
='#'
18007 ARCH_FUTEX_TRUE
='#'
18012 # Determine what GCC version number to use in filesystem paths.
18014 get_gcc_base_ver
="cat"
18016 # Check whether --with-gcc-major-version-only was given.
18017 if test "${with_gcc_major_version_only+set}" = set; then :
18018 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
18019 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
18027 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libitm.spec"
18029 cat >confcache
<<\_ACEOF
18030 # This file is a shell script that caches the results of configure
18031 # tests run on this system so they can be shared between configure
18032 # scripts and configure runs, see configure's option --config-cache.
18033 # It is not useful on other systems. If it contains results you don't
18034 # want to keep, you may remove or edit it.
18036 # config.status only pays attention to the cache file if you give it
18037 # the --recheck option to rerun configure.
18039 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18040 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18041 # following values.
18045 # The following way of writing the cache mishandles newlines in values,
18046 # but we know of no workaround that is simple, portable, and efficient.
18047 # So, we kill variables containing newlines.
18048 # Ultrix sh set writes to stderr and can't be redirected directly,
18049 # and sets the high bit in the cache file unless we assign to the vars.
18051 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18052 eval ac_val
=\$
$ac_var
18056 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18057 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18060 _ | IFS | as_nl
) ;; #(
18061 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18062 *) { eval $ac_var=; unset $ac_var;} ;;
18068 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18069 *${as_nl}ac_space
=\
*)
18070 # `set' does not quote correctly, so add quotes: double-quote
18071 # substitution turns \\\\ into \\, and sed turns \\ into \.
18074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18077 # `set' quotes correctly as required by POSIX, so do not add quotes.
18078 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18087 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18089 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18091 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18092 if test -w "$cache_file"; then
18093 if test "x$cache_file" != "x/dev/null"; then
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18095 $as_echo "$as_me: updating cache $cache_file" >&6;}
18096 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18097 cat confcache
>"$cache_file"
18099 case $cache_file in #(
18101 mv -f confcache
"$cache_file"$$
&&
18102 mv -f "$cache_file"$$
"$cache_file" ;; #(
18104 mv -f confcache
"$cache_file" ;;
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18110 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18115 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18116 # Let make expand exec_prefix.
18117 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18119 DEFS
=-DHAVE_CONFIG_H
18124 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18125 # 1. Remove the extension, and $U if already installed.
18126 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18127 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18128 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18129 # will be set to the directory where LIBOBJS objects are built.
18130 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18131 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18133 LIBOBJS
=$ac_libobjs
18135 LTLIBOBJS
=$ac_ltlibobjs
18138 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
18139 as_fn_error $?
"conditional \"GENINSRC\" was never defined.
18140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18143 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18144 if test -n "$am_sleep_pid"; then
18145 # Hide warnings about reused PIDs.
18146 wait $am_sleep_pid 2>/dev
/null
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18149 $as_echo "done" >&6; }
18150 if test -n "$EXEEXT"; then
18152 am__EXEEXT_FALSE
='#'
18154 am__EXEEXT_TRUE
='#'
18158 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18159 as_fn_error $?
"conditional \"AMDEP\" was never defined.
18160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18162 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18163 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
18164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18166 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18167 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
18168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18170 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
18171 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
18172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18174 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
18175 as_fn_error $?
"conditional \"BUILD_INFO\" was never defined.
18176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18178 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18179 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
18180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18183 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
18184 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
18185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18187 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_FALSE}"; then
18188 as_fn_error $?
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB\" was never defined.
18189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18191 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_GNU_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_GNU_FALSE}"; then
18192 as_fn_error $?
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB_GNU\" was never defined.
18193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18195 if test -z "${LIBITM_BUILD_VERSIONED_SHLIB_SUN_TRUE}" && test -z "${LIBITM_BUILD_VERSIONED_SHLIB_SUN_FALSE}"; then
18196 as_fn_error $?
"conditional \"LIBITM_BUILD_VERSIONED_SHLIB_SUN\" was never defined.
18197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18199 if test -z "${ARCH_ARM_TRUE}" && test -z "${ARCH_ARM_FALSE}"; then
18200 as_fn_error $?
"conditional \"ARCH_ARM\" was never defined.
18201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18203 if test -z "${ARCH_X86_TRUE}" && test -z "${ARCH_X86_FALSE}"; then
18204 as_fn_error $?
"conditional \"ARCH_X86\" was never defined.
18205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18207 if test -z "${ARCH_X86_AVX_TRUE}" && test -z "${ARCH_X86_AVX_FALSE}"; then
18208 as_fn_error $?
"conditional \"ARCH_X86_AVX\" was never defined.
18209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18211 if test -z "${ARCH_FUTEX_TRUE}" && test -z "${ARCH_FUTEX_FALSE}"; then
18212 as_fn_error $?
"conditional \"ARCH_FUTEX\" was never defined.
18213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18216 : "${CONFIG_STATUS=./config.status}"
18218 ac_clean_files_save
=$ac_clean_files
18219 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18221 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18223 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18225 # Generated by $as_me.
18226 # Run this file to recreate the current configuration.
18227 # Compiler output produced by configure, useful for debugging
18228 # configure, is in config.log if it exists.
18231 ac_cs_recheck=false
18234 SHELL=\${CONFIG_SHELL-$SHELL}
18237 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18238 ## -------------------- ##
18239 ## M4sh Initialization. ##
18240 ## -------------------- ##
18242 # Be more Bourne compatible
18243 DUALCASE
=1; export DUALCASE
# for MKS sh
18244 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18247 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18248 # is contrary to our usage. Disable this feature.
18249 alias -g '${1+"$@"}'='"$@"'
18250 setopt NO_GLOB_SUBST
18252 case `(set -o) 2>/dev/null` in #(
18264 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18265 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18266 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18267 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18268 # Prefer a ksh shell builtin over an external printf program on Solaris,
18269 # but without wasting forks for bash or zsh.
18270 if test -z "$BASH_VERSION$ZSH_VERSION" \
18271 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18272 as_echo='print
-r --'
18273 as_echo_n='print
-rn --'
18274 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18275 as_echo='printf %s
\n'
18276 as_echo_n='printf %s
'
18278 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18279 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18280 as_echo_n='/usr
/ucb
/echo -n'
18282 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18283 as_echo_n_body='eval
18287 expr "X$arg" : "X\\(.*\\)$as_nl";
18288 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18290 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18292 export as_echo_n_body
18293 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18295 export as_echo_body
18296 as_echo='sh
-c $as_echo_body as_echo
'
18299 # The user is always right.
18300 if test "${PATH_SEPARATOR+set}" != set; then
18302 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18303 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18310 # We need space, tab and new line, in precisely that order. Quoting is
18311 # there to prevent editors from complaining about space-tab.
18312 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18313 # splitting by setting IFS to empty value.)
18316 # Find who we are. Look in the path if we contain no directory separator.
18319 *[\\/]* ) as_myself=$0 ;;
18320 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18321 for as_dir in $PATH
18324 test -z "$as_dir" && as_dir=.
18325 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18331 # We did not find ourselves, most probably we were run as `sh COMMAND'
18332 # in which case we are not to be found in the path.
18333 if test "x$as_myself" = x
; then
18336 if test ! -f "$as_myself"; then
18337 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18341 # Unset variables that we do not need and which cause bugs (e.g. in
18342 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18343 # suppresses any "Segmentation fault" message there. '((' could
18344 # trigger a bug in pdksh 5.2.14.
18345 for as_var
in BASH_ENV ENV MAIL MAILPATH
18346 do eval test x\
${$as_var+set} = xset \
18347 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18360 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18364 # ----------------------------------------
18365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18367 # script with STATUS, using 1 if that was 0.
18370 as_status
=$1; test $as_status -eq 0 && as_status
=1
18372 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18375 $as_echo "$as_me: error: $2" >&2
18376 as_fn_exit
$as_status
18380 # as_fn_set_status STATUS
18381 # -----------------------
18382 # Set $? to STATUS, without forking.
18383 as_fn_set_status
()
18386 } # as_fn_set_status
18388 # as_fn_exit STATUS
18389 # -----------------
18390 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18394 as_fn_set_status
$1
18400 # Portably unset VAR.
18403 { eval $1=; unset $1;}
18405 as_unset
=as_fn_unset
18406 # as_fn_append VAR VALUE
18407 # ----------------------
18408 # Append the text in VALUE to the end of the definition contained in VAR. Take
18409 # advantage of any shell optimizations that allow amortized linear growth over
18410 # repeated appends, instead of the typical quadratic growth present in naive
18412 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18413 eval 'as_fn_append ()
18424 # as_fn_arith ARG...
18425 # ------------------
18426 # Perform arithmetic evaluation on the ARGs, and store the result in the
18427 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18428 # must be portable across $(()) and expr.
18429 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18430 eval 'as_fn_arith ()
18437 as_val
=`expr "$@" || test $? -eq 1`
18442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18450 as_basename
=basename
18455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18461 as_me
=`$as_basename -- "$0" ||
18462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18463 X"$0" : 'X\(//\)$' \| \
18464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18466 sed '/^.*\/\([^/][^/]*\)\/*$/{
18480 # Avoid depending upon Character Ranges.
18481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18484 as_cr_digits
='0123456789'
18485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18487 ECHO_C
= ECHO_N
= ECHO_T
=
18488 case `echo -n x` in #(((((
18490 case `echo 'xy\c'` in
18491 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18493 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18500 rm -f conf$$ conf$$.exe conf$$.
file
18501 if test -d conf$$.dir
; then
18502 rm -f conf$$.dir
/conf$$.
file
18505 mkdir conf$$.dir
2>/dev
/null
18507 if (echo >conf$$.
file) 2>/dev
/null
; then
18508 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18510 # ... but there are two gotchas:
18511 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18512 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18513 # In both cases, we have to default to `cp -pR'.
18514 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18516 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18524 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18525 rmdir conf$$.dir
2>/dev
/null
18530 # Create "$as_dir" as a directory, including parents if necessary.
18535 -*) as_dir
=.
/$as_dir;;
18537 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18541 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18542 *) as_qdir
=$as_dir;;
18544 as_dirs
="'$as_qdir' $as_dirs"
18545 as_dir
=`$as_dirname -- "$as_dir" ||
18546 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18547 X"$as_dir" : 'X\(//\)[^/]' \| \
18548 X"$as_dir" : 'X\(//\)$' \| \
18549 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18550 $as_echo X"$as_dir" |
18551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18555 /^X\(\/\/\)[^/].*/{
18568 test -d "$as_dir" && break
18570 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18571 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18575 if mkdir
-p .
2>/dev
/null
; then
18576 as_mkdir_p
='mkdir -p "$as_dir"'
18578 test -d .
/-p && rmdir .
/-p
18583 # as_fn_executable_p FILE
18584 # -----------------------
18585 # Test if FILE is an executable regular file.
18586 as_fn_executable_p
()
18588 test -f "$1" && test -x "$1"
18589 } # as_fn_executable_p
18590 as_test_x
='test -x'
18591 as_executable_p
=as_fn_executable_p
18593 # Sed expression to map a string onto a valid CPP name.
18594 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18596 # Sed expression to map a string onto a valid variable name.
18597 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18601 ## ----------------------------------- ##
18602 ## Main body of $CONFIG_STATUS script. ##
18603 ## ----------------------------------- ##
18605 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18608 # Save the log message, to keep $0 and so on meaningful, and to
18609 # report actual input values of CONFIG_FILES etc. instead of their
18610 # values after options handling.
18612 This file was extended by GNU TM Runtime Library $as_me 1.0, which was
18613 generated by GNU Autoconf 2.69. Invocation command line was
18615 CONFIG_FILES = $CONFIG_FILES
18616 CONFIG_HEADERS = $CONFIG_HEADERS
18617 CONFIG_LINKS = $CONFIG_LINKS
18618 CONFIG_COMMANDS = $CONFIG_COMMANDS
18621 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18626 case $ac_config_files in *"
18627 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18630 case $ac_config_headers in *"
18631 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18636 # Files that config.status was made for.
18637 config_files="$ac_config_files"
18638 config_headers="$ac_config_headers"
18639 config_commands="$ac_config_commands"
18643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18645 \`$as_me' instantiates files and other configuration actions
18646 from templates according to the current configuration. Unless the files
18647 and actions are specified as TAGs, all are instantiated by default.
18649 Usage: $0 [OPTION]... [TAG]...
18651 -h, --help print this help, then exit
18652 -V, --version print version number and configuration settings, then exit
18653 --config print configuration, then exit
18654 -q, --quiet, --silent
18655 do not print progress messages
18656 -d, --debug don't remove temporary files
18657 --recheck update $as_me by reconfiguring in the same conditions
18658 --file=FILE[:TEMPLATE]
18659 instantiate the configuration file FILE
18660 --header=FILE[:TEMPLATE]
18661 instantiate the configuration header FILE
18663 Configuration files:
18666 Configuration headers:
18669 Configuration commands:
18672 Report bugs to the package provider.
18673 GNU TM Runtime Library home page: <http://www.gnu.org/software/libitm/>.
18674 General help using GNU software: <http://www.gnu.org/gethelp/>."
18677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18678 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18680 GNU TM Runtime Library config.status 1.0
18681 configured by $0, generated by GNU Autoconf 2.69,
18682 with options \\"\$ac_cs_config\\"
18684 Copyright (C) 2012 Free Software Foundation, Inc.
18685 This config.status script is free software; the Free Software Foundation
18686 gives unlimited permission to copy, distribute and modify it."
18693 test -n "\$AWK" || AWK=awk
18696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18697 # The default lists apply if the user does not specify any file.
18703 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18704 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18708 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18720 # Handling of the options.
18721 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18723 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18724 $as_echo "$ac_cs_version"; exit ;;
18725 --config |
--confi |
--conf |
--con |
--co |
--c )
18726 $as_echo "$ac_cs_config"; exit ;;
18727 --debug |
--debu |
--deb |
--de |
--d |
-d )
18729 --file |
--fil |
--fi |
--f )
18732 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18733 '') as_fn_error $?
"missing file argument" ;;
18735 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18736 ac_need_defaults
=false
;;
18737 --header |
--heade |
--head |
--hea )
18740 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18742 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18743 ac_need_defaults
=false
;;
18745 # Conflict between --help and --header
18746 as_fn_error $?
"ambiguous option: \`$1'
18747 Try \`$0 --help' for more information.";;
18748 --help |
--hel |
-h )
18749 $as_echo "$ac_cs_usage"; exit ;;
18750 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18751 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18754 # This is an error.
18755 -*) as_fn_error $?
"unrecognized option: \`$1'
18756 Try \`$0 --help' for more information." ;;
18758 *) as_fn_append ac_config_targets
" $1"
18759 ac_need_defaults
=false
;;
18765 ac_configure_extra_args
=
18767 if $ac_cs_silent; then
18769 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18774 if \$ac_cs_recheck; then
18775 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18777 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18778 CONFIG_SHELL='$SHELL'
18779 export CONFIG_SHELL
18784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18788 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18789 ## Running $as_me. ##
18795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18803 with_multisubdir="$with_multisubdir"
18804 with_multisrctop="$with_multisrctop"
18805 with_target_subdir="$with_target_subdir"
18806 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18807 multi_basedir="$multi_basedir"
18808 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18811 GFORTRAN="$GFORTRAN"
18813 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18816 # The HP-UX ksh and POSIX shell print the target directory to stdout
18817 # if CDPATH is set.
18818 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18820 sed_quote_subst='$sed_quote_subst'
18821 double_quote_subst='$double_quote_subst'
18822 delay_variable_subst='$delay_variable_subst'
18823 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18824 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18825 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18826 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18827 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18828 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18829 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18830 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18831 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18832 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18833 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18834 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18835 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18836 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18837 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18838 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18839 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18840 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18841 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18842 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18843 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18844 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18845 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18846 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18847 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18848 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18849 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18850 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18851 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18852 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18853 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18854 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18855 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18856 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18857 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18858 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18859 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18860 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18861 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18862 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18863 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18864 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18865 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18866 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18867 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18868 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18869 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18870 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18871 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"`'
18872 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18873 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18874 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18875 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18876 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18877 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18878 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18879 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18880 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18881 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18882 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18883 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18884 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18885 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18886 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18887 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18888 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18889 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18890 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18891 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18892 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18893 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18894 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18895 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18896 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18897 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18898 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18899 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18900 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18901 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18902 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18903 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18904 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18905 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18906 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18907 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18908 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18909 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18910 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18911 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18912 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18913 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18914 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18915 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18916 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18917 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18918 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18919 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18920 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18921 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18922 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18923 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18924 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18925 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18926 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18927 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18928 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18929 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18930 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18931 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18932 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18933 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18934 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18935 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18936 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18937 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18938 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18939 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18940 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18941 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18942 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18943 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18944 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18945 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18946 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18947 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18948 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18949 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18950 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18951 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18952 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18953 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18954 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18955 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18956 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18957 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18958 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18959 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18960 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18961 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18962 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18963 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18964 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18965 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18966 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18967 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18968 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18969 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18970 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18971 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18972 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18973 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18974 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18975 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18976 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18977 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18978 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18979 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18980 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18981 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18982 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18983 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18984 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18985 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18986 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18987 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18988 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18989 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18990 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18991 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18992 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18993 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18994 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18995 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18996 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18997 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19000 LTCFLAGS='$LTCFLAGS'
19001 compiler='$compiler_DEFAULT'
19003 # A function that is used when there is no print builtin or printf.
19004 func_fallback_echo ()
19006 eval 'cat <<_LTECHO_EOF
19011 # Quote evaled strings.
19025 deplibs_check_method \
19034 lt_cv_sys_global_symbol_pipe \
19035 lt_cv_sys_global_symbol_to_cdecl \
19036 lt_cv_sys_global_symbol_to_c_name_address \
19037 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19038 lt_prog_compiler_no_builtin_flag \
19039 lt_prog_compiler_wl \
19040 lt_prog_compiler_pic \
19041 lt_prog_compiler_static \
19042 lt_cv_prog_compiler_c_o \
19050 export_dynamic_flag_spec \
19051 whole_archive_flag_spec \
19052 compiler_needs_object \
19054 allow_undefined_flag \
19055 no_undefined_flag \
19056 hardcode_libdir_flag_spec \
19057 hardcode_libdir_flag_spec_ld \
19058 hardcode_libdir_separator \
19063 variables_saved_for_relink \
19065 library_names_spec \
19067 install_override_mode \
19071 compiler_lib_search_dirs \
19076 compiler_lib_search_path \
19080 lt_prog_compiler_no_builtin_flag_CXX \
19081 lt_prog_compiler_wl_CXX \
19082 lt_prog_compiler_pic_CXX \
19083 lt_prog_compiler_static_CXX \
19084 lt_cv_prog_compiler_c_o_CXX \
19085 export_dynamic_flag_spec_CXX \
19086 whole_archive_flag_spec_CXX \
19087 compiler_needs_object_CXX \
19089 allow_undefined_flag_CXX \
19090 no_undefined_flag_CXX \
19091 hardcode_libdir_flag_spec_CXX \
19092 hardcode_libdir_flag_spec_ld_CXX \
19093 hardcode_libdir_separator_CXX \
19094 fix_srcfile_path_CXX \
19095 exclude_expsyms_CXX \
19096 include_expsyms_CXX \
19097 file_list_spec_CXX \
19098 compiler_lib_search_dirs_CXX \
19099 predep_objects_CXX \
19100 postdep_objects_CXX \
19103 compiler_lib_search_path_CXX; do
19104 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19105 *[\\\\\\\`\\"\\\$]*)
19106 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19109 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19114 # Double-quote double-evaled strings.
19115 for var in reload_cmds \
19116 old_postinstall_cmds \
19117 old_postuninstall_cmds \
19119 extract_expsyms_cmds \
19120 old_archive_from_new_cmds \
19121 old_archive_from_expsyms_cmds \
19123 archive_expsym_cmds \
19125 module_expsym_cmds \
19126 export_symbols_cmds \
19129 postuninstall_cmds \
19131 sys_lib_search_path_spec \
19132 sys_lib_dlsearch_path_spec \
19134 old_archive_cmds_CXX \
19135 old_archive_from_new_cmds_CXX \
19136 old_archive_from_expsyms_cmds_CXX \
19138 archive_expsym_cmds_CXX \
19140 module_expsym_cmds_CXX \
19141 export_symbols_cmds_CXX \
19142 prelink_cmds_CXX; do
19143 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19144 *[\\\\\\\`\\"\\\$]*)
19145 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19148 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19153 ac_aux_dir='$ac_aux_dir'
19154 xsi_shell='$xsi_shell'
19155 lt_shell_append='$lt_shell_append'
19157 # See if we are running on zsh, and set the options which allow our
19158 # commands through without removal of \ escapes INIT.
19159 if test -n "\${ZSH_VERSION+set}" ; then
19160 setopt NO_GLOB_SUBST
19166 TIMESTAMP='$TIMESTAMP'
19177 acx_cv_header_stdint="$acx_cv_header_stdint"
19178 acx_cv_type_int8_t="$acx_cv_type_int8_t"
19179 acx_cv_type_int16_t="$acx_cv_type_int16_t"
19180 acx_cv_type_int32_t="$acx_cv_type_int32_t"
19181 acx_cv_type_int64_t="$acx_cv_type_int64_t"
19182 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
19183 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
19184 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
19185 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
19186 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
19187 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
19188 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
19189 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
19190 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
19195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19197 # Handling of arguments.
19198 for ac_config_target
in $ac_config_targets
19200 case $ac_config_target in
19201 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19202 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
19203 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19204 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19205 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
19206 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19207 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
19208 "libitm.spec") CONFIG_FILES
="$CONFIG_FILES libitm.spec" ;;
19210 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19215 # If the user did not use the arguments to specify the items to instantiate,
19216 # then the envvar interface is used. Set only those that are not.
19217 # We use the long form for the default assignment because of an extremely
19218 # bizarre bug on SunOS 4.1.3.
19219 if $ac_need_defaults; then
19220 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19221 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19222 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19225 # Have a temporary directory for convenience. Make it in the build tree
19226 # simply because there is no reason against having it here, and in addition,
19227 # creating and moving files from /tmp can sometimes cause problems.
19228 # Hook for its removal unless debugging.
19229 # Note that there is a small window in which the directory will not be cleaned:
19230 # after its creation but before its name has been assigned to `$tmp'.
19234 trap 'exit_status=$?
19235 : "${ac_tmp:=$tmp}"
19236 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19238 trap 'as_fn_exit 1' 1 2 13 15
19240 # Create a (secure) tmp directory for tmp files.
19243 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19247 tmp
=.
/conf$$
-$RANDOM
19248 (umask 077 && mkdir
"$tmp")
19249 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19252 # Set up the scripts for CONFIG_FILES section.
19253 # No need to generate them if there are no CONFIG_FILES.
19254 # This happens for instance with `./config.status config.h'.
19255 if test -n "$CONFIG_FILES"; then
19258 ac_cr
=`echo X | tr X '\015'`
19259 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19260 # But we know of no other shell where ac_cr would be empty at this
19261 # point, so we can use a bashism as a fallback.
19262 if test "x$ac_cr" = x
; then
19263 eval ac_cr
=\$
\'\\r
\'
19265 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19266 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19269 ac_cs_awk_cr
=$ac_cr
19272 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19277 echo "cat >conf$$subs.awk <<_ACEOF" &&
19278 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19280 } >conf$$subs.sh ||
19281 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19282 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19284 for ac_last_try in false false false false false :; do
19285 . ./conf$$subs.sh ||
19286 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19288 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19289 if test $ac_delim_n = $ac_delim_num; then
19291 elif $ac_last_try; then
19292 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19294 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19297 rm -f conf$$subs.sh
19299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19300 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19304 s/^/S["/; s
/!.
*/"]=/
19314 s/\(.\{148\}\)..*/\1/
19316 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19321 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19328 s/\(.\{148\}\)..*/\1/
19330 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19334 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19339 ' <conf$$subs.awk | sed '
19344 ' >>$CONFIG_STATUS || ac_write_fail=1
19345 rm -f conf$$subs.awk
19346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19348 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19349 for (key in S) S_is_set[key] = 1
19355 nfields = split(line, field, "@
")
19357 len = length(field[1])
19358 for (i = 2; i < nfields; i++) {
19360 keylen = length(key)
19361 if (S_is_set[key]) {
19363 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19364 len += length(value) + length(field[++i])
19375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19376 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19377 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19380 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19381 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19384 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19385 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19386 # trailing colons and then remove the whole line if VPATH becomes empty
19387 # (actually we leave an empty line to preserve line numbers).
19388 if test "x
$srcdir" = x.; then
19389 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19408 fi # test -n "$CONFIG_FILES"
19410 # Set up the scripts for CONFIG_HEADERS section.
19411 # No need to generate them if there are no CONFIG_HEADERS.
19412 # This happens for instance with `./config.status Makefile'.
19413 if test -n "$CONFIG_HEADERS"; then
19414 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19418 # Transform confdefs.h into an awk script `defines.awk', embedded as
19419 # here-document in config.status, that substitutes the proper values into
19420 # config.h.in to produce config.h.
19422 # Create a delimiter string that does not exist in confdefs.h, to ease
19423 # handling of long lines.
19425 for ac_last_try in false false :; do
19426 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19427 if test -z "$ac_tt"; then
19429 elif $ac_last_try; then
19430 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19432 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19436 # For the awk script, D is an array of macro values keyed by name,
19437 # likewise P contains macro parameters if any. Preserve backslash
19438 # newline sequences.
19440 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19442 s/.\{148\}/&'"$ac_delim"'/g
19445 s/^[ ]*#[ ]*define[ ][ ]*/ /
19452 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19454 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19458 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19459 D["\
1"]=" \
3\\\\\\n
"\\/p
19461 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19466 s/.\{148\}/&'"$ac_delim"'/g
19471 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19474 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19476 ' <confdefs.h | sed '
19477 s/'"$ac_delim"'/"\\\
19478 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19481 for (key in D) D_is_set[key] = 1
19484 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19486 split(line, arg, " ")
19487 if (arg[1] == "#") {
19491 defundef
= substr
(arg
[1], 2)
19494 split(mac1
, mac2
, "(") #)
19496 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19497 if (D_is_set
[macro
]) {
19498 # Preserve the white space surrounding the "#".
19499 print prefix
"define", macro P
[macro
] D
[macro
]
19502 # Replace #undef with comments. This is necessary, for example,
19503 # in the case of _POSIX_SOURCE, which is predefined and required
19504 # on some systems where configure will not decide to define it.
19505 if (defundef
== "undef") {
19506 print
"/*", prefix defundef
, macro
, "*/"
19514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19515 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19516 fi # test -n "$CONFIG_HEADERS"
19519 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19524 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19526 case $ac_mode$ac_tag in
19528 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19529 :[FH
]-) ac_tag
=-:-;;
19530 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19547 -) ac_f
="$ac_tmp/stdin";;
19548 *) # Look for the file first in the build tree, then in the source tree
19549 # (if the path is not absolute). The absolute path cannot be DOS-style,
19550 # because $ac_f cannot contain `:'.
19554 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19556 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19558 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19559 as_fn_append ac_file_inputs
" '$ac_f'"
19562 # Let's still pretend it is `configure' which instantiates (i.e., don't
19563 # use $as_me), people would be surprised to read:
19564 # /* config.h. Generated by config.status. */
19565 configure_input
='Generated from '`
19566 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19568 if test x
"$ac_file" != x-
; then
19569 configure_input
="$ac_file. $configure_input"
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19571 $as_echo "$as_me: creating $ac_file" >&6;}
19573 # Neutralize special characters interpreted by sed in replacement strings.
19574 case $configure_input in #(
19575 *\
&* |
*\|
* |
*\\* )
19576 ac_sed_conf_input
=`$as_echo "$configure_input" |
19577 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19578 *) ac_sed_conf_input
=$configure_input;;
19582 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19583 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19588 ac_dir
=`$as_dirname -- "$ac_file" ||
19589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19590 X"$ac_file" : 'X\(//\)[^/]' \| \
19591 X"$ac_file" : 'X\(//\)$' \| \
19592 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19593 $as_echo X"$ac_file" |
19594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19598 /^X\(\/\/\)[^/].*/{
19611 as_dir
="$ac_dir"; as_fn_mkdir_p
19615 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19617 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19618 # A ".." for each directory in $ac_dir_suffix.
19619 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19620 case $ac_top_builddir_sub in
19621 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19622 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19625 ac_abs_top_builddir
=$ac_pwd
19626 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19627 # for backward compatibility:
19628 ac_top_builddir
=$ac_top_build_prefix
19631 .
) # We are building in place.
19633 ac_top_srcdir
=$ac_top_builddir_sub
19634 ac_abs_top_srcdir
=$ac_pwd ;;
19635 [\\/]* | ?
:[\\/]* ) # Absolute name.
19636 ac_srcdir
=$srcdir$ac_dir_suffix;
19637 ac_top_srcdir
=$srcdir
19638 ac_abs_top_srcdir
=$srcdir ;;
19639 *) # Relative name.
19640 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19641 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19642 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19644 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19654 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19655 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19657 ac_MKDIR_P
=$MKDIR_P
19659 [\\/$
]* | ?
:[\\/]* ) ;;
19660 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19665 # If the template does not know about datarootdir, expand it.
19666 # FIXME: This hack should be removed a few years after 2.60.
19667 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19678 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19679 *datarootdir
*) ac_datarootdir_seen
=yes;;
19680 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19682 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19685 ac_datarootdir_hack='
19686 s&@datadir@&$datadir&g
19687 s&@docdir@&$docdir&g
19688 s&@infodir@&$infodir&g
19689 s&@localedir@&$localedir&g
19690 s&@mandir@&$mandir&g
19691 s&\\\${datarootdir}&$datarootdir&g' ;;
19695 # Neutralize VPATH when `$srcdir' = `.'.
19696 # Shell code in configure.ac might set extrasub.
19697 # FIXME: do we really want to maintain this feature?
19698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19699 ac_sed_extra="$ac_vpsub
19702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19704 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19705 s|@configure_input@|
$ac_sed_conf_input|
;t t
19706 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19707 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19708 s
&@srcdir@
&$ac_srcdir&;t t
19709 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19710 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19711 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19712 s
&@builddir@
&$ac_builddir&;t t
19713 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19714 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19715 s
&@INSTALL@
&$ac_INSTALL&;t t
19716 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19717 $ac_datarootdir_hack
19719 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19720 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19722 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19723 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19724 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19725 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19727 which seems to be undefined. Please make sure it is defined" >&5
19728 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19729 which seems to be undefined. Please make sure it is defined" >&2;}
19731 rm -f "$ac_tmp/stdin"
19733 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19734 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19736 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19742 if test x"$ac_file" != x-; then
19744 $as_echo "/* $configure_input */" \
19745 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19746 } >"$ac_tmp/config.h" \
19747 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19748 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19750 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19753 mv "$ac_tmp/config.h" "$ac_file" \
19754 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19757 $as_echo "/* $configure_input */" \
19758 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19759 || as_fn_error $? "could not create -" "$LINENO" 5
19761 # Compute "$ac_file"'s index
in $config_headers.
19764 for _am_header
in $config_headers :; do
19765 case $_am_header in
19766 $_am_arg |
$_am_arg:* )
19769 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19772 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19773 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19774 X"$_am_arg" : 'X\(//\)[^/]' \| \
19775 X"$_am_arg" : 'X\(//\)$' \| \
19776 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19777 $as_echo X"$_am_arg" |
19778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19782 /^X\(\/\/\)[^/].*/{
19794 s/.*/./; q'`/stamp-h
$_am_stamp_count
19797 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19798 $as_echo "$as_me: executing $ac_file commands" >&6;}
19803 case $ac_file$ac_mode in
19805 # Only add multilib support code if we just rebuilt the top-level
19807 case " $CONFIG_FILES " in
19809 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
19812 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19813 # Older Autoconf quotes --file arguments for eval, but not when files
19814 # are listed without --file. Let's play safe and only enable the eval
19815 # if we detect the quoting.
19816 case $CONFIG_FILES in
19817 *\'*) eval set x
"$CONFIG_FILES" ;;
19818 *) set x
$CONFIG_FILES ;;
19823 # Strip MF so we end up with the name of the file.
19824 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19825 # Check whether this is an Automake generated Makefile or not.
19826 # We used to match only the files named 'Makefile.in', but
19827 # some people rename them; so instead we look at the file content.
19828 # Grep'ing the first line is not enough: some people post-process
19829 # each Makefile.in and add a new line on top of each file to say so.
19830 # Grep'ing the whole file is not good either: AIX grep has a line
19831 # limit of 2048, but all sed's we know have understand at least 4000.
19832 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19833 dirpart
=`$as_dirname -- "$mf" ||
19834 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19835 X"$mf" : 'X\(//\)[^/]' \| \
19836 X"$mf" : 'X\(//\)$' \| \
19837 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19843 /^X\(\/\/\)[^/].*/{
19859 # Extract the definition of DEPDIR, am__include, and am__quote
19860 # from the Makefile without running 'make'.
19861 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19862 test -z "$DEPDIR" && continue
19863 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19864 test -z "$am__include" && continue
19865 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19866 # Find all dependency output files, they are included files with
19867 # $(DEPDIR) in their names. We invoke sed twice because it is the
19868 # simplest approach to changing $(DEPDIR) to its actual value in the
19870 for file in `sed -n "
19871 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19872 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19873 # Make sure the directory exists.
19874 test -f "$dirpart/$file" && continue
19875 fdir
=`$as_dirname -- "$file" ||
19876 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19877 X"$file" : 'X\(//\)[^/]' \| \
19878 X"$file" : 'X\(//\)$' \| \
19879 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19880 $as_echo X"$file" |
19881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19885 /^X\(\/\/\)[^/].*/{
19898 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19899 # echo "creating $dirpart/$file"
19900 echo '# dummy' > "$dirpart/$file"
19907 # See if we are running on zsh, and set the options which allow our
19908 # commands through without removal of \ escapes.
19909 if test -n "${ZSH_VERSION+set}" ; then
19910 setopt NO_GLOB_SUBST
19913 cfgfile
="${ofile}T"
19914 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19917 cat <<_LT_EOF >> "$cfgfile"
19920 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19921 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19922 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19923 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19925 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19926 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19927 # Written by Gordon Matzigkeit, 1996
19929 # This file is part of GNU Libtool.
19931 # GNU Libtool is free software; you can redistribute it and/or
19932 # modify it under the terms of the GNU General Public License as
19933 # published by the Free Software Foundation; either version 2 of
19934 # the License, or (at your option) any later version.
19936 # As a special exception to the GNU General Public License,
19937 # if you distribute this file as part of a program or library that
19938 # is built using GNU Libtool, you may include this file under the
19939 # same distribution terms that you use for the rest of that program.
19941 # GNU Libtool is distributed in the hope that it will be useful,
19942 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19943 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19944 # GNU General Public License for more details.
19946 # You should have received a copy of the GNU General Public License
19947 # along with GNU Libtool; see the file COPYING. If not, a copy
19948 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19949 # obtained by writing to the Free Software Foundation, Inc.,
19950 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19953 # The names of the tagged configurations supported by this script.
19954 available_tags="CXX "
19956 # ### BEGIN LIBTOOL CONFIG
19958 # Which release of libtool.m4 was used?
19959 macro_version=$macro_version
19960 macro_revision=$macro_revision
19962 # Whether or not to build shared libraries.
19963 build_libtool_libs=$enable_shared
19965 # Whether or not to build static libraries.
19966 build_old_libs=$enable_static
19968 # What type of objects to build.
19971 # Whether or not to optimize for fast installation.
19972 fast_install=$enable_fast_install
19974 # Shell to use when invoking shell scripts.
19977 # An echo program that protects backslashes.
19981 host_alias=$host_alias
19985 # The build system.
19986 build_alias=$build_alias
19990 # A sed program that does not truncate output.
19993 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19994 Xsed="\$SED -e 1s/^X//"
19996 # A grep program that handles long lines.
20002 # A literal string matcher.
20005 # A BSD- or MS-compatible name lister.
20008 # Whether we need soft or hard links.
20011 # What is the maximum length of a command?
20012 max_cmd_len=$max_cmd_len
20014 # Object file suffix (normally "o").
20017 # Executable file suffix (normally "").
20020 # whether the shell understands "unset".
20023 # turn spaces into newlines.
20026 # turn newlines into spaces.
20029 # An object symbol dumper.
20030 OBJDUMP=$lt_OBJDUMP
20032 # Method to check whether dependent libraries are shared objects.
20033 deplibs_check_method=$lt_deplibs_check_method
20035 # Command to use when deplibs_check_method == "file_magic".
20036 file_magic_cmd=$lt_file_magic_cmd
20040 AR_FLAGS=$lt_AR_FLAGS
20042 # A symbol stripping program.
20045 # Commands used to install an old-style archive.
20047 old_postinstall_cmds=$lt_old_postinstall_cmds
20048 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20050 # Whether to use a lock for old archive extraction.
20051 lock_old_archive_extraction=$lock_old_archive_extraction
20056 # LTCC compiler flags.
20057 LTCFLAGS=$lt_CFLAGS
20059 # Take the output of nm and produce a listing of raw symbols and C names.
20060 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20062 # Transform the output of nm in a proper C declaration.
20063 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20065 # Transform the output of nm in a C name address pair.
20066 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20068 # Transform the output of nm in a C name address pair when lib prefix is needed.
20069 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20071 # The name of the directory that contains temporary libtool files.
20074 # Used to examine libraries when file_magic_cmd begins with "file".
20075 MAGIC_CMD=$MAGIC_CMD
20077 # Must we lock files when doing compilation?
20078 need_locks=$lt_need_locks
20080 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20081 DSYMUTIL=$lt_DSYMUTIL
20083 # Tool to change global to local symbols on Mac OS X.
20086 # Tool to manipulate fat objects and archives on Mac OS X.
20089 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20092 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20093 OTOOL64=$lt_OTOOL64
20095 # Old archive suffix (normally "a").
20098 # Shared library suffix (normally ".so").
20099 shrext_cmds=$lt_shrext_cmds
20101 # The commands to extract the exported symbol list from a shared archive.
20102 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20104 # Variables whose values should be saved in libtool wrapper scripts and
20105 # restored at link time.
20106 variables_saved_for_relink=$lt_variables_saved_for_relink
20108 # Do we need the "lib" prefix for modules?
20109 need_lib_prefix=$need_lib_prefix
20111 # Do we need a version for libraries?
20112 need_version=$need_version
20114 # Library versioning type.
20115 version_type=$version_type
20117 # Shared library runtime path variable.
20118 runpath_var=$runpath_var
20120 # Shared library path variable.
20121 shlibpath_var=$shlibpath_var
20123 # Is shlibpath searched before the hard-coded library search path?
20124 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20126 # Format of library name prefix.
20127 libname_spec=$lt_libname_spec
20129 # List of archive names. First name is the real one, the rest are links.
20130 # The last name is the one that the linker finds with -lNAME
20131 library_names_spec=$lt_library_names_spec
20133 # The coded name of the library, if different from the real name.
20134 soname_spec=$lt_soname_spec
20136 # Permission mode override for installation of shared libraries.
20137 install_override_mode=$lt_install_override_mode
20139 # Command to use after installation of a shared archive.
20140 postinstall_cmds=$lt_postinstall_cmds
20142 # Command to use after uninstallation of a shared archive.
20143 postuninstall_cmds=$lt_postuninstall_cmds
20145 # Commands used to finish a libtool library installation in a directory.
20146 finish_cmds=$lt_finish_cmds
20148 # As "finish_cmds", except a single script fragment to be evaled but
20150 finish_eval=$lt_finish_eval
20152 # Whether we should hardcode library paths into libraries.
20153 hardcode_into_libs=$hardcode_into_libs
20155 # Compile-time system search path for libraries.
20156 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20158 # Run-time system search path for libraries.
20159 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20161 # Whether dlopen is supported.
20162 dlopen_support=$enable_dlopen
20164 # Whether dlopen of programs is supported.
20165 dlopen_self=$enable_dlopen_self
20167 # Whether dlopen of statically linked programs is supported.
20168 dlopen_self_static=$enable_dlopen_self_static
20170 # Commands to strip libraries.
20171 old_striplib=$lt_old_striplib
20172 striplib=$lt_striplib
20175 # The linker used to build libraries.
20178 # How to create reloadable object files.
20179 reload_flag=$lt_reload_flag
20180 reload_cmds=$lt_reload_cmds
20182 # Commands used to build an old-style archive.
20183 old_archive_cmds=$lt_old_archive_cmds
20185 # A language specific compiler.
20188 # Is the compiler the GNU compiler?
20191 # Compiler flag to turn off builtin functions.
20192 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20194 # How to pass a linker flag through the compiler.
20195 wl=$lt_lt_prog_compiler_wl
20197 # Additional compiler flags for building library objects.
20198 pic_flag=$lt_lt_prog_compiler_pic
20200 # Compiler flag to prevent dynamic linking.
20201 link_static_flag=$lt_lt_prog_compiler_static
20203 # Does compiler simultaneously support -c and -o options?
20204 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20206 # Whether or not to add -lc for building shared libraries.
20207 build_libtool_need_lc=$archive_cmds_need_lc
20209 # Whether or not to disallow shared libs when runtime libs are static.
20210 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20212 # Compiler flag to allow reflexive dlopens.
20213 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20215 # Compiler flag to generate shared objects directly from archives.
20216 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20218 # Whether the compiler copes with passing no objects directly.
20219 compiler_needs_object=$lt_compiler_needs_object
20221 # Create an old-style archive from a shared archive.
20222 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20224 # Create a temporary old-style archive to link instead of a shared archive.
20225 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20227 # Commands used to build a shared archive.
20228 archive_cmds=$lt_archive_cmds
20229 archive_expsym_cmds=$lt_archive_expsym_cmds
20231 # Commands used to build a loadable module if different from building
20232 # a shared archive.
20233 module_cmds=$lt_module_cmds
20234 module_expsym_cmds=$lt_module_expsym_cmds
20236 # Whether we are building with GNU ld or not.
20237 with_gnu_ld=$lt_with_gnu_ld
20239 # Flag that allows shared libraries with undefined symbols to be built.
20240 allow_undefined_flag=$lt_allow_undefined_flag
20242 # Flag that enforces no undefined symbols.
20243 no_undefined_flag=$lt_no_undefined_flag
20245 # Flag to hardcode \$libdir into a binary during linking.
20246 # This must work even if \$libdir does not exist
20247 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20249 # If ld is used when linking, flag to hardcode \$libdir into a binary
20250 # during linking. This must work even if \$libdir does not exist.
20251 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20253 # Whether we need a single "-rpath" flag with a separated argument.
20254 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20256 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20257 # DIR into the resulting binary.
20258 hardcode_direct=$hardcode_direct
20260 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20261 # DIR into the resulting binary and the resulting library dependency is
20262 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20263 # library is relocated.
20264 hardcode_direct_absolute=$hardcode_direct_absolute
20266 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20267 # into the resulting binary.
20268 hardcode_minus_L=$hardcode_minus_L
20270 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20271 # into the resulting binary.
20272 hardcode_shlibpath_var=$hardcode_shlibpath_var
20274 # Set to "yes" if building a shared library automatically hardcodes DIR
20275 # into the library and all subsequent libraries and executables linked
20277 hardcode_automatic=$hardcode_automatic
20279 # Set to yes if linker adds runtime paths of dependent libraries
20280 # to runtime path list.
20281 inherit_rpath=$inherit_rpath
20283 # Whether libtool must link a program against all its dependency libraries.
20284 link_all_deplibs=$link_all_deplibs
20286 # Fix the shell variable \$srcfile for the compiler.
20287 fix_srcfile_path=$lt_fix_srcfile_path
20289 # Set to "yes" if exported symbols are required.
20290 always_export_symbols=$always_export_symbols
20292 # The commands to list exported symbols.
20293 export_symbols_cmds=$lt_export_symbols_cmds
20295 # Symbols that should not be listed in the preloaded symbols.
20296 exclude_expsyms=$lt_exclude_expsyms
20298 # Symbols that must always be exported.
20299 include_expsyms=$lt_include_expsyms
20301 # Commands necessary for linking programs (against libraries) with templates.
20302 prelink_cmds=$lt_prelink_cmds
20304 # Specify filename containing input files.
20305 file_list_spec=$lt_file_list_spec
20307 # How to hardcode a shared library path into an executable.
20308 hardcode_action=$hardcode_action
20310 # The directories searched by this compiler when creating a shared library.
20311 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20313 # Dependencies to place before and after the objects being linked to
20314 # create a shared library.
20315 predep_objects=$lt_predep_objects
20316 postdep_objects=$lt_postdep_objects
20317 predeps=$lt_predeps
20318 postdeps=$lt_postdeps
20320 # The library search path used internally by the compiler when linking
20321 # a shared library.
20322 compiler_lib_search_path=$lt_compiler_lib_search_path
20324 # ### END LIBTOOL CONFIG
20330 cat <<\_LT_EOF
>> "$cfgfile"
20331 # AIX sometimes has problems with the GCC collect2 program. For some
20332 # reason, if we set the COLLECT_NAMES environment variable, the problems
20333 # vanish in a puff of smoke.
20334 if test "X${COLLECT_NAMES+set}" != Xset
; then
20336 export COLLECT_NAMES
20343 ltmain
="$ac_aux_dir/ltmain.sh"
20346 # We use sed instead of cat because bash on DJGPP gets confused if
20347 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20348 # text mode, it properly converts lines to CR/LF. This bash problem
20349 # is reportedly fixed, but why not run on old versions too?
20350 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20351 ||
(rm -f "$cfgfile"; exit 1)
20355 cat << \_LT_EOF
>> "$cfgfile"
20357 # func_dirname file append nondir_replacement
20358 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20359 # otherwise set result to NONDIR_REPLACEMENT.
20363 */*) func_dirname_result
="${1%/*}${2}" ;;
20364 * ) func_dirname_result
="${3}" ;;
20368 # func_basename file
20371 func_basename_result
="${1##*/}"
20374 # func_dirname_and_basename file append nondir_replacement
20375 # perform func_basename and func_dirname in a single function
20377 # dirname: Compute the dirname of FILE. If nonempty,
20378 # add APPEND to the result, otherwise set result
20379 # to NONDIR_REPLACEMENT.
20380 # value returned in "$func_dirname_result"
20381 # basename: Compute filename of FILE.
20382 # value retuned in "$func_basename_result"
20383 # Implementation must be kept synchronized with func_dirname
20384 # and func_basename. For efficiency, we do not delegate to
20385 # those functions but instead duplicate the functionality here.
20386 func_dirname_and_basename
()
20389 */*) func_dirname_result
="${1%/*}${2}" ;;
20390 * ) func_dirname_result
="${3}" ;;
20392 func_basename_result
="${1##*/}"
20395 # func_stripname prefix suffix name
20396 # strip PREFIX and SUFFIX off of NAME.
20397 # PREFIX and SUFFIX must not contain globbing or regex special
20398 # characters, hashes, percent signs, but SUFFIX may contain a leading
20399 # dot (in which case that matches only a dot).
20402 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20403 # positional parameters, so assign one to ordinary parameter first.
20404 func_stripname_result
=${3}
20405 func_stripname_result
=${func_stripname_result#"${1}"}
20406 func_stripname_result
=${func_stripname_result%"${2}"}
20412 func_opt_split_opt
=${1%%=*}
20413 func_opt_split_arg
=${1#*=}
20420 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20421 *) func_lo2o_result
=${1} ;;
20425 # func_xform libobj-or-source
20428 func_xform_result
=${1%.*}.lo
20431 # func_arith arithmetic-term...
20434 func_arith_result
=$
(( $
* ))
20438 # STRING may not start with a hyphen.
20441 func_len_result
=${#1}
20446 *) # Bourne compatible functions.
20447 cat << \_LT_EOF
>> "$cfgfile"
20449 # func_dirname file append nondir_replacement
20450 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20451 # otherwise set result to NONDIR_REPLACEMENT.
20454 # Extract subdirectory from the argument.
20455 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
20456 if test "X$func_dirname_result" = "X${1}"; then
20457 func_dirname_result
="${3}"
20459 func_dirname_result
="$func_dirname_result${2}"
20463 # func_basename file
20466 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
20470 # func_stripname prefix suffix name
20471 # strip PREFIX and SUFFIX off of NAME.
20472 # PREFIX and SUFFIX must not contain globbing or regex special
20473 # characters, hashes, percent signs, but SUFFIX may contain a leading
20474 # dot (in which case that matches only a dot).
20475 # func_strip_suffix prefix name
20479 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
20480 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
20485 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
20486 my_sed_long_arg
='1s/^-[^=]*=//'
20491 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
20492 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
20498 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
20501 # func_xform libobj-or-source
20504 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
20507 # func_arith arithmetic-term...
20510 func_arith_result
=`expr "$@"`
20514 # STRING may not start with a hyphen.
20517 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20523 case $lt_shell_append in
20525 cat << \_LT_EOF
>> "$cfgfile"
20527 # func_append var value
20528 # Append VALUE to the end of shell variable VAR.
20536 cat << \_LT_EOF
>> "$cfgfile"
20538 # func_append var value
20539 # Append VALUE to the end of shell variable VAR.
20550 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20551 ||
(rm -f "$cfgfile"; exit 1)
20553 mv -f "$cfgfile" "$ofile" ||
20554 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20558 cat <<_LT_EOF >> "$ofile"
20560 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20562 # The linker used to build libraries.
20565 # How to create reloadable object files.
20566 reload_flag=$lt_reload_flag_CXX
20567 reload_cmds=$lt_reload_cmds_CXX
20569 # Commands used to build an old-style archive.
20570 old_archive_cmds=$lt_old_archive_cmds_CXX
20572 # A language specific compiler.
20573 CC=$lt_compiler_CXX
20575 # Is the compiler the GNU compiler?
20578 # Compiler flag to turn off builtin functions.
20579 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20581 # How to pass a linker flag through the compiler.
20582 wl=$lt_lt_prog_compiler_wl_CXX
20584 # Additional compiler flags for building library objects.
20585 pic_flag=$lt_lt_prog_compiler_pic_CXX
20587 # Compiler flag to prevent dynamic linking.
20588 link_static_flag=$lt_lt_prog_compiler_static_CXX
20590 # Does compiler simultaneously support -c and -o options?
20591 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20593 # Whether or not to add -lc for building shared libraries.
20594 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20596 # Whether or not to disallow shared libs when runtime libs are static.
20597 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20599 # Compiler flag to allow reflexive dlopens.
20600 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20602 # Compiler flag to generate shared objects directly from archives.
20603 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20605 # Whether the compiler copes with passing no objects directly.
20606 compiler_needs_object=$lt_compiler_needs_object_CXX
20608 # Create an old-style archive from a shared archive.
20609 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20611 # Create a temporary old-style archive to link instead of a shared archive.
20612 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20614 # Commands used to build a shared archive.
20615 archive_cmds=$lt_archive_cmds_CXX
20616 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20618 # Commands used to build a loadable module if different from building
20619 # a shared archive.
20620 module_cmds=$lt_module_cmds_CXX
20621 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20623 # Whether we are building with GNU ld or not.
20624 with_gnu_ld=$lt_with_gnu_ld_CXX
20626 # Flag that allows shared libraries with undefined symbols to be built.
20627 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20629 # Flag that enforces no undefined symbols.
20630 no_undefined_flag=$lt_no_undefined_flag_CXX
20632 # Flag to hardcode \$libdir into a binary during linking.
20633 # This must work even if \$libdir does not exist
20634 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20636 # If ld is used when linking, flag to hardcode \$libdir into a binary
20637 # during linking. This must work even if \$libdir does not exist.
20638 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20640 # Whether we need a single "-rpath" flag with a separated argument.
20641 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20643 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20644 # DIR into the resulting binary.
20645 hardcode_direct=$hardcode_direct_CXX
20647 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20648 # DIR into the resulting binary and the resulting library dependency is
20649 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20650 # library is relocated.
20651 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20653 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20654 # into the resulting binary.
20655 hardcode_minus_L=$hardcode_minus_L_CXX
20657 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20658 # into the resulting binary.
20659 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20661 # Set to "yes" if building a shared library automatically hardcodes DIR
20662 # into the library and all subsequent libraries and executables linked
20664 hardcode_automatic=$hardcode_automatic_CXX
20666 # Set to yes if linker adds runtime paths of dependent libraries
20667 # to runtime path list.
20668 inherit_rpath=$inherit_rpath_CXX
20670 # Whether libtool must link a program against all its dependency libraries.
20671 link_all_deplibs=$link_all_deplibs_CXX
20673 # Fix the shell variable \$srcfile for the compiler.
20674 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20676 # Set to "yes" if exported symbols are required.
20677 always_export_symbols=$always_export_symbols_CXX
20679 # The commands to list exported symbols.
20680 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20682 # Symbols that should not be listed in the preloaded symbols.
20683 exclude_expsyms=$lt_exclude_expsyms_CXX
20685 # Symbols that must always be exported.
20686 include_expsyms=$lt_include_expsyms_CXX
20688 # Commands necessary for linking programs (against libraries) with templates.
20689 prelink_cmds=$lt_prelink_cmds_CXX
20691 # Specify filename containing input files.
20692 file_list_spec=$lt_file_list_spec_CXX
20694 # How to hardcode a shared library path into an executable.
20695 hardcode_action=$hardcode_action_CXX
20697 # The directories searched by this compiler when creating a shared library.
20698 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20700 # Dependencies to place before and after the objects being linked to
20701 # create a shared library.
20702 predep_objects=$lt_predep_objects_CXX
20703 postdep_objects=$lt_postdep_objects_CXX
20704 predeps=$lt_predeps_CXX
20705 postdeps=$lt_postdeps_CXX
20707 # The library search path used internally by the compiler when linking
20708 # a shared library.
20709 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20711 # ### END LIBTOOL TAG CONFIG: CXX
20716 if test "$GCC" = yes; then
20717 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
20719 echo "/* generated for $CC */" > tmp-stdint.h
20722 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20724 #ifndef GCC_GENERATED_STDINT_H
20725 #define GCC_GENERATED_STDINT_H 1
20727 #include <sys/types.h>
20730 if test "$acx_cv_header_stdint" != stdint.h
; then
20731 echo "#include <stddef.h>" >> tmp-stdint.h
20733 if test "$acx_cv_header_stdint" != stddef.h
; then
20734 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
20737 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20738 /* glibc uses these symbols as guards to prevent redefinitions. */
20739 #ifdef __int8_t_defined
20744 #ifdef __uint32_t_defined
20750 # ----------------- done header, emit basic int types -------------
20751 if test "$acx_cv_header_stdint" = stddef.h
; then
20752 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20756 #ifndef __uint8_t_defined
20757 #define __uint8_t_defined
20759 typedef unsigned $acx_cv_type_int8_t uint8_t;
20766 #ifndef __uint16_t_defined
20767 #define __uint16_t_defined
20769 typedef unsigned $acx_cv_type_int16_t uint16_t;
20776 #ifndef __uint32_t_defined
20777 #define __uint32_t_defined
20779 typedef unsigned $acx_cv_type_int32_t uint32_t;
20786 #ifndef __int8_t_defined
20787 #define __int8_t_defined
20789 typedef $acx_cv_type_int8_t int8_t;
20796 #ifndef __int16_t_defined
20797 #define __int16_t_defined
20799 typedef $acx_cv_type_int16_t int16_t;
20806 #ifndef __int32_t_defined
20807 #define __int32_t_defined
20809 typedef $acx_cv_type_int32_t int32_t;
20814 elif test "$ac_cv_type_u_int32_t" = yes; then
20815 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20817 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
20830 #ifndef __uint8_t_defined
20831 #define __uint8_t_defined
20833 typedef u_int8_t uint8_t;
20840 #ifndef __uint16_t_defined
20841 #define __uint16_t_defined
20843 typedef u_int16_t uint16_t;
20850 #ifndef __uint32_t_defined
20851 #define __uint32_t_defined
20853 typedef u_int32_t uint32_t;
20859 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20861 /* Some systems have guard macros to prevent redefinitions, define them. */
20883 # ------------- done basic int types, emit int64_t types ------------
20884 if test "$ac_cv_type_uint64_t" = yes; then
20885 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20887 /* system headers have good uint64_t and int64_t */
20895 elif test "$ac_cv_type_u_int64_t" = yes; then
20896 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20898 /* system headers have an u_int64_t (and int64_t) */
20904 #ifndef __uint64_t_defined
20905 #define __uint64_t_defined
20907 typedef u_int64_t uint64_t;
20912 elif test -n "$acx_cv_type_int64_t"; then
20913 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20915 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
20919 typedef $acx_cv_type_int64_t int64_t;
20924 #ifndef __uint64_t_defined
20925 #define __uint64_t_defined
20927 typedef unsigned $acx_cv_type_int64_t uint64_t;
20933 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20935 /* some common heuristics for int64_t, using compiler-specific tests */
20936 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
20939 #ifndef __int64_t_defined
20941 typedef long long int64_t;
20948 typedef unsigned long long uint64_t;
20952 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
20953 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
20954 does not implement __extension__. But that compiler doesn't define
20956 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
20957 # define __extension__
20963 __extension__ typedef long long int64_t;
20969 __extension__ typedef unsigned long long uint64_t;
20973 #elif !defined __STRICT_ANSI__
20974 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
20979 typedef __int64 int64_t;
20985 typedef unsigned __int64 uint64_t;
20988 # endif /* compiler */
20990 #endif /* ANSI version */
20994 # ------------- done int64_t types, emit intptr types ------------
20995 if test "$ac_cv_type_uintptr_t" != yes; then
20996 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20998 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
20999 #ifndef __uintptr_t_defined
21001 typedef u$acx_cv_type_intptr_t uintptr_t;
21004 #ifndef __intptr_t_defined
21006 typedef $acx_cv_type_intptr_t intptr_t;
21012 # ------------- done intptr types, emit int_least types ------------
21013 if test "$ac_cv_type_int_least32_t" != yes; then
21014 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21016 /* Define int_least types */
21017 typedef int8_t int_least8_t;
21018 typedef int16_t int_least16_t;
21019 typedef int32_t int_least32_t;
21021 typedef int64_t int_least64_t;
21024 typedef uint8_t uint_least8_t;
21025 typedef uint16_t uint_least16_t;
21026 typedef uint32_t uint_least32_t;
21028 typedef uint64_t uint_least64_t;
21033 # ------------- done intptr types, emit int_fast types ------------
21034 if test "$ac_cv_type_int_fast32_t" != yes; then
21035 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21037 /* Define int_fast types. short is often slow */
21038 typedef int8_t int_fast8_t;
21039 typedef int int_fast16_t;
21040 typedef int32_t int_fast32_t;
21042 typedef int64_t int_fast64_t;
21045 typedef uint8_t uint_fast8_t;
21046 typedef unsigned int uint_fast16_t;
21047 typedef uint32_t uint_fast32_t;
21049 typedef uint64_t uint_fast64_t;
21054 if test "$ac_cv_type_uintmax_t" != yes; then
21055 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21057 /* Define intmax based on what we found */
21060 typedef int64_t intmax_t;
21062 typedef long intmax_t;
21067 typedef uint64_t uintmax_t;
21069 typedef unsigned long uintmax_t;
21075 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21077 #endif /* GCC_GENERATED_STDINT_H */
21080 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
21083 mv -f tmp-stdint.h gstdint.h
21094 ac_clean_files
=$ac_clean_files_save
21096 test $ac_write_fail = 0 ||
21097 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21100 # configure is writing to config.log, and then calls config.status.
21101 # config.status does its own redirection, appending to config.log.
21102 # Unfortunately, on DOS this fails, as config.log is still kept open
21103 # by configure, so config.status won't be able to write to it; its
21104 # output is simply discarded. So we exec the FD to /dev/null,
21105 # effectively closing config.log, so it can be properly (re)opened and
21106 # appended to by config.status. When coming back to configure, we
21107 # need to make the FD available again.
21108 if test "$no_create" != yes; then
21110 ac_config_status_args
=
21111 test "$silent" = yes &&
21112 ac_config_status_args
="$ac_config_status_args --quiet"
21114 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21116 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21117 # would make configure fail if this is the last instruction.
21118 $ac_cs_success || as_fn_exit
1
21120 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21122 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}