2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for MIC Offload 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
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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
='MIC Offload Runtime Library'
589 PACKAGE_TARNAME
='liboffloadmic'
590 PACKAGE_VERSION
='1.0'
591 PACKAGE_STRING
='MIC Offload Runtime Library 1.0'
595 enable_option_checking
=no
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
637 link_offloadmic_target
659 LIBOFFLOADMIC_HOST_FALSE
660 LIBOFFLOADMIC_HOST_TRUE
691 MAINTAINER_MODE_FALSE
705 INSTALL_STRIP_PROGRAM
759 program_transform_name
772 enable_option_checking
774 enable_maintainer_mode
775 enable_dependency_tracking
777 enable_version_specific_runtime_libs
785 with_gcc_major_version_only
787 ac_precious_vars
='build_alias
800 ac_subdirs_all
='plugin'
802 # Initialize some variables set by options.
804 ac_init_version
=false
805 ac_unrecognized_opts
=
807 # The variables have the same names as the options, with
808 # dashes changed to underlines.
816 program_transform_name
=s
,x
,x
,
824 # Installation directory options.
825 # These are left unexpanded so users can "make install exec_prefix=/foo"
826 # and all the variables that are supposed to be based on exec_prefix
827 # by default will actually change.
828 # Use braces instead of parens because sh, perl, etc. also accept them.
829 # (The list follows the same order as the GNU Coding Standards.)
830 bindir
='${exec_prefix}/bin'
831 sbindir
='${exec_prefix}/sbin'
832 libexecdir
='${exec_prefix}/libexec'
833 datarootdir
='${prefix}/share'
834 datadir
='${datarootdir}'
835 sysconfdir
='${prefix}/etc'
836 sharedstatedir
='${prefix}/com'
837 localstatedir
='${prefix}/var'
838 includedir
='${prefix}/include'
839 oldincludedir
='/usr/include'
840 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
841 infodir
='${datarootdir}/info'
846 libdir
='${exec_prefix}/lib'
847 localedir
='${datarootdir}/locale'
848 mandir
='${datarootdir}/man'
854 # If the previous option needs an argument, assign it.
855 if test -n "$ac_prev"; then
856 eval $ac_prev=\
$ac_option
862 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867 # Accept the important Cygnus configure options, so we can diagnose typos.
869 case $ac_dashdash$ac_option in
873 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
875 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
878 -build |
--build |
--buil |
--bui |
--bu)
879 ac_prev
=build_alias
;;
880 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
881 build_alias
=$ac_optarg ;;
883 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
884 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
885 ac_prev
=cache_file
;;
886 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
887 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
888 cache_file
=$ac_optarg ;;
891 cache_file
=config.cache
;;
893 -datadir |
--datadir |
--datadi |
--datad)
895 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
896 datadir
=$ac_optarg ;;
898 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
899 |
--dataroo |
--dataro |
--datar)
900 ac_prev
=datarootdir
;;
901 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
902 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
903 datarootdir
=$ac_optarg ;;
905 -disable-* |
--disable-*)
906 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
909 as_fn_error $?
"invalid feature name: $ac_useropt"
910 ac_useropt_orig
=$ac_useropt
911 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
917 ac_unrecognized_sep
=', ';;
919 eval enable_
$ac_useropt=no
;;
921 -docdir |
--docdir |
--docdi |
--doc |
--do)
923 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
926 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
928 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
931 -enable-* |
--enable-*)
932 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=\
$ac_optarg ;;
947 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
948 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
949 |
--exec |
--exe |
--ex)
950 ac_prev
=exec_prefix
;;
951 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
952 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
953 |
--exec=* |
--exe=* |
--ex=*)
954 exec_prefix
=$ac_optarg ;;
956 -gas |
--gas |
--ga |
--g)
957 # Obsolete; use --with-gas.
960 -help |
--help |
--hel |
--he |
-h)
962 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
963 ac_init_help
=recursive
;;
964 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
965 ac_init_help
=short
;;
967 -host |
--host |
--hos |
--ho)
968 ac_prev
=host_alias
;;
969 -host=* |
--host=* |
--hos=* |
--ho=*)
970 host_alias
=$ac_optarg ;;
972 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
974 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
976 htmldir
=$ac_optarg ;;
978 -includedir |
--includedir |
--includedi |
--included |
--include \
979 |
--includ |
--inclu |
--incl |
--inc)
980 ac_prev
=includedir
;;
981 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
982 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
983 includedir
=$ac_optarg ;;
985 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
987 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
988 infodir
=$ac_optarg ;;
990 -libdir |
--libdir |
--libdi |
--libd)
992 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
995 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
996 |
--libexe |
--libex |
--libe)
997 ac_prev
=libexecdir
;;
998 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
999 |
--libexe=* |
--libex=* |
--libe=*)
1000 libexecdir
=$ac_optarg ;;
1002 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1003 ac_prev
=localedir
;;
1004 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1005 localedir
=$ac_optarg ;;
1007 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1008 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1009 ac_prev
=localstatedir
;;
1010 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1011 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1012 localstatedir
=$ac_optarg ;;
1014 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1016 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1017 mandir
=$ac_optarg ;;
1019 -nfp |
--nfp |
--nf)
1020 # Obsolete; use --without-fp.
1023 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1024 |
--no-cr |
--no-c |
-n)
1027 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1028 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1031 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1032 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1033 |
--oldin |
--oldi |
--old |
--ol |
--o)
1034 ac_prev
=oldincludedir
;;
1035 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1036 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1037 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1038 oldincludedir
=$ac_optarg ;;
1040 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1042 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1043 prefix
=$ac_optarg ;;
1045 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1046 |
--program-pre |
--program-pr |
--program-p)
1047 ac_prev
=program_prefix
;;
1048 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1049 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1050 program_prefix
=$ac_optarg ;;
1052 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1053 |
--program-suf |
--program-su |
--program-s)
1054 ac_prev
=program_suffix
;;
1055 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1056 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1057 program_suffix
=$ac_optarg ;;
1059 -program-transform-name |
--program-transform-name \
1060 |
--program-transform-nam |
--program-transform-na \
1061 |
--program-transform-n |
--program-transform- \
1062 |
--program-transform |
--program-transfor \
1063 |
--program-transfo |
--program-transf \
1064 |
--program-trans |
--program-tran \
1065 |
--progr-tra |
--program-tr |
--program-t)
1066 ac_prev
=program_transform_name
;;
1067 -program-transform-name=* |
--program-transform-name=* \
1068 |
--program-transform-nam=* |
--program-transform-na=* \
1069 |
--program-transform-n=* |
--program-transform-=* \
1070 |
--program-transform=* |
--program-transfor=* \
1071 |
--program-transfo=* |
--program-transf=* \
1072 |
--program-trans=* |
--program-tran=* \
1073 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1074 program_transform_name
=$ac_optarg ;;
1076 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1078 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1079 pdfdir
=$ac_optarg ;;
1081 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1083 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1087 |
-silent |
--silent |
--silen |
--sile |
--sil)
1090 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1092 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1094 sbindir
=$ac_optarg ;;
1096 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1097 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1098 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1100 ac_prev
=sharedstatedir
;;
1101 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1102 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1103 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1105 sharedstatedir
=$ac_optarg ;;
1107 -site |
--site |
--sit)
1109 -site=* |
--site=* |
--sit=*)
1112 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1114 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1115 srcdir
=$ac_optarg ;;
1117 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1118 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1119 ac_prev
=sysconfdir
;;
1120 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1121 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1122 sysconfdir
=$ac_optarg ;;
1124 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1125 ac_prev
=target_alias
;;
1126 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1127 target_alias
=$ac_optarg ;;
1129 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1132 -version |
--version |
--versio |
--versi |
--vers |
-V)
1133 ac_init_version
=: ;;
1136 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error $?
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=\
$ac_optarg ;;
1151 -without-* |
--without-*)
1152 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1155 as_fn_error $?
"invalid package name: $ac_useropt"
1156 ac_useropt_orig
=$ac_useropt
1157 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163 ac_unrecognized_sep
=', ';;
1165 eval with_
$ac_useropt=no
;;
1168 # Obsolete; use --with-x.
1171 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1172 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1173 ac_prev
=x_includes
;;
1174 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1175 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1176 x_includes
=$ac_optarg ;;
1178 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1179 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1180 ac_prev
=x_libraries
;;
1181 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1182 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1183 x_libraries
=$ac_optarg ;;
1185 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information"
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 case $ac_envvar in #(
1193 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1194 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1196 eval $ac_envvar=\
$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210 if test -n "$ac_prev"; then
1211 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1212 as_fn_error $?
"missing argument to $ac_option"
1215 if test -n "$ac_unrecognized_opts"; then
1216 case $enable_option_checking in
1218 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223 # Check all directory arguments for consistency.
1224 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225 datadir sysconfdir sharedstatedir localstatedir includedir \
1226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227 libdir localedir mandir
1229 eval ac_val
=\$
$ac_var
1230 # Remove trailing slashes.
1233 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234 eval $ac_var=\
$ac_val;;
1236 # Be sure to have absolute directory names.
1238 [\\/$
]* | ?
:[\\/]* ) continue;;
1239 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1241 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1249 target
=$target_alias
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x
; then
1253 if test "x$build_alias" = x
; then
1254 cross_compiling
=maybe
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error $?
"working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error $?
"pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted
=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir
=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1306 ac_srcdir_defaulted
=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1310 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var
in $ac_precious_vars; do
1327 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1329 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures MIC Offload Runtime Library 1.0 to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking ...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/liboffloadmic]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1398 --program-prefix=PREFIX prepend PREFIX to installed program names
1399 --program-suffix=SUFFIX append SUFFIX to installed program names
1400 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1403 --build=BUILD configure
for building on BUILD
[guessed
]
1404 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1405 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive
) echo "Configuration of MIC Offload Runtime Library 1.0:";;
1416 --disable-option-checking ignore unrecognized
--enable/--with options
1417 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1418 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1419 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1420 --disable-silent-rules verbose build output
(undo
: "make V=0")
1421 --enable-maintainer-mode
1422 enable make rules and dependencies not useful
(and
1423 sometimes confusing
) to the casual installer
1424 --enable-dependency-tracking
1425 do not reject slow dependency extractors
1426 --disable-dependency-tracking
1427 speeds up one-time build
1428 --enable-multilib build many library versions
(default
)
1429 --enable-version-specific-runtime-libs
1430 Specify that runtime libraries should be installed
1431 in a compiler-specific directory
1432 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1433 --enable-static[=PKGS
] build static libraries
[default
=yes]
1434 --enable-fast-install[=PKGS
]
1435 optimize
for fast installation
[default
=yes]
1436 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1439 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1440 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1441 --with-toolexeclibdir=DIR
1442 install libraries built with a cross compiler within
1444 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1446 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1447 --with-gcc-major-version-only
1448 use only GCC major number
in filesystem paths
1450 Some influential environment variables
:
1451 CC C compiler
command
1452 CFLAGS C compiler flags
1453 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1454 nonstandard directory
<lib dir
>
1455 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1456 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1457 you have headers
in a nonstandard directory
<include dir
>
1458 CXX C
++ compiler
command
1459 CXXFLAGS C
++ compiler flags
1461 CXXCPP C
++ preprocessor
1463 Use these variables to override the choices made by
`configure' or to help
1464 it to find libraries and programs with nonstandard names/locations.
1466 Report bugs to the package provider.
1471 if test "$ac_init_help" = "recursive"; then
1472 # If there are subdirs, report their specific --help.
1473 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1474 test -d "$ac_dir" ||
1475 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1480 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1483 # A ".." for each directory in $ac_dir_suffix.
1484 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1485 case $ac_top_builddir_sub in
1486 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1490 ac_abs_top_builddir=$ac_pwd
1491 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1492 # for backward compatibility:
1493 ac_top_builddir=$ac_top_build_prefix
1496 .) # We are building in place.
1498 ac_top_srcdir=$ac_top_builddir_sub
1499 ac_abs_top_srcdir=$ac_pwd ;;
1500 [\\/]* | ?:[\\/]* ) # Absolute name.
1501 ac_srcdir=$srcdir$ac_dir_suffix;
1502 ac_top_srcdir=$srcdir
1503 ac_abs_top_srcdir=$srcdir ;;
1505 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1506 ac_top_srcdir=$ac_top_build_prefix$srcdir
1507 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1509 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1511 cd "$ac_dir" || { ac_status=$?; continue; }
1512 # Check for guested configure.
1513 if test -f "$ac_srcdir/configure.gnu"; then
1515 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1516 elif test -f "$ac_srcdir/configure"; then
1518 $SHELL "$ac_srcdir/configure" --help=recursive
1520 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1522 cd "$ac_pwd" || { ac_status=$?; break; }
1526 test -n "$ac_init_help" && exit $ac_status
1527 if $ac_init_version; then
1529 MIC Offload Runtime Library configure 1.0
1530 generated by GNU Autoconf 2.69
1532 Copyright (C) 2012 Free Software Foundation, Inc.
1533 This configure script is free software; the Free Software Foundation
1534 gives unlimited permission to copy, distribute and modify it.
1539 ## ------------------------ ##
1540 ## Autoconf initialization. ##
1541 ## ------------------------ ##
1543 # ac_fn_c_try_compile LINENO
1544 # --------------------------
1545 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1546 ac_fn_c_try_compile ()
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 rm -f conftest.$ac_objext
1550 if { { ac_try="$ac_compile"
1552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1553 *) ac_try_echo
=$ac_try;;
1555 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557 (eval "$ac_compile") 2>conftest.err
1559 if test -s conftest.err
; then
1560 grep -v '^ *+' conftest.err
>conftest.er1
1561 cat conftest.er1
>&5
1562 mv -f conftest.er1 conftest.err
1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565 test $ac_status = 0; } && {
1566 test -z "$ac_c_werror_flag" ||
1567 test ! -s conftest.err
1568 } && test -s conftest.
$ac_objext; then :
1571 $as_echo "$as_me: failed program was:" >&5
1572 sed 's/^/| /' conftest.
$ac_ext >&5
1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1577 as_fn_set_status
$ac_retval
1579 } # ac_fn_c_try_compile
1581 # ac_fn_cxx_try_compile LINENO
1582 # ----------------------------
1583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1584 ac_fn_cxx_try_compile
()
1586 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1587 rm -f conftest.
$ac_objext
1588 if { { ac_try
="$ac_compile"
1590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1591 *) ac_try_echo=$ac_try;;
1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_compile") 2>conftest.err
1597 if test -s conftest.err; then
1598 grep -v '^ *+' conftest.err >conftest.er1
1599 cat conftest.er1 >&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } && {
1604 test -z "$ac_cxx_werror_flag" ||
1605 test ! -s conftest.err
1606 } && test -s conftest.$ac_objext; then :
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status $ac_retval
1617 } # ac_fn_cxx_try_compile
1619 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1620 # -------------------------------------------
1621 # Tests whether TYPE exists after having included INCLUDES, setting cache
1622 # variable VAR accordingly.
1623 ac_fn_c_check_type ()
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1627 $as_echo_n "checking for $2... " >&6; }
1628 if eval \${$3+:} false; then :
1629 $as_echo_n "(cached) " >&6
1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h. */
1644 if ac_fn_c_try_compile "$LINENO"; then :
1645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1657 if ac_fn_c_try_compile "$LINENO"; then :
1662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 } # ac_fn_c_check_type
1673 # ac_fn_c_try_cpp LINENO
1674 # ----------------------
1675 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 if { { ac_try="$ac_cpp conftest.$ac_ext"
1681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1682 *) ac_try_echo
=$ac_try;;
1684 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1688 if test -s conftest.err
; then
1689 grep -v '^ *+' conftest.err
>conftest.er1
1690 cat conftest.er1
>&5
1691 mv -f conftest.er1 conftest.err
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } > conftest.i
&& {
1695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1696 test ! -s conftest.err
1700 $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.
$ac_ext >&5
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status
$ac_retval
1710 # ac_fn_c_try_run LINENO
1711 # ----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1713 # that executables *can* be run.
1716 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1717 if { { ac_try
="$ac_link"
1719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_link") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1728 { { case "(($ac_try" in
1729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1730 *) ac_try_echo
=$ac_try;;
1732 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_try") 2>&5
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; }; }; then :
1740 $as_echo "$as_me: program exited with status $ac_status" >&5
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.
$ac_ext >&5
1744 ac_retval
=$ac_status
1746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status
$ac_retval
1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists and can be compiled using the include files in
1755 # INCLUDES, setting the cache variable VAR accordingly.
1756 ac_fn_c_check_header_compile
()
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if eval \
${$3+:} false
; then :
1762 $as_echo_n "(cached) " >&6
1764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1769 if ac_fn_c_try_compile
"$LINENO"; then :
1774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 } # ac_fn_c_check_header_compile
1783 # ac_fn_c_try_link LINENO
1784 # -----------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 rm -f conftest.
$ac_objext conftest
$ac_exeext
1790 if { { ac_try
="$ac_link"
1792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_link") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest$ac_exeext && {
1809 test "$cross_compiling" = yes ||
1810 test -x conftest$ac_exeext
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821 # interfere with the next link command; also delete a directory that is
1822 # left behind by Apple's compiler. We do this before executing the actions.
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1827 } # ac_fn_c_try_link
1829 # ac_fn_c_check_func LINENO FUNC VAR
1830 # ----------------------------------
1831 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1832 ac_fn_c_check_func ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval \${$3+:} false; then :
1838 $as_echo_n "(cached) " >&6
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1842 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1844 #define $2 innocuous_$2
1846 /* System header to define __stub macros and hopefully few prototypes,
1847 which can conflict with char $2 (); below.
1848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1849 <limits.h> exists even on freestanding compilers. */
1852 # include <limits.h>
1854 # include <assert.h>
1859 /* Override any GCC internal prototype to avoid an error.
1860 Use char because int might match the return type of a GCC
1861 builtin and then its argument prototype would still apply. */
1866 /* The GNU C library defines this for functions which it implements
1867 to always fail with ENOSYS. Some functions are actually named
1868 something starting with __ and the normal name is an alias. */
1869 #if defined __stub_$2 || defined __stub___$2
1881 if ac_fn_c_try_link "$LINENO"; then :
1886 rm -f core conftest.err conftest.$ac_objext \
1887 conftest$ac_exeext conftest.$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 } # ac_fn_c_check_func
1896 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1897 # -------------------------------------------------------
1898 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1899 # the include files in INCLUDES and setting the cache variable VAR
1901 ac_fn_c_check_header_mongrel ()
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 if eval \${$3+:} false; then :
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 $as_echo_n "checking for $2... " >&6; }
1907 if eval \${$3+:} false; then :
1908 $as_echo_n "(cached) " >&6
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912 $as_echo "$ac_res" >&6; }
1914 # Is the header compilable?
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1916 $as_echo_n "checking $2 usability... " >&6; }
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1922 if ac_fn_c_try_compile "$LINENO"; then :
1923 ac_header_compiler=yes
1925 ac_header_compiler=no
1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1929 $as_echo "$ac_header_compiler" >&6; }
1931 # Is the header present?
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1933 $as_echo_n "checking $2 presence... " >&6; }
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1938 if ac_fn_c_try_cpp "$LINENO"; then :
1939 ac_header_preproc=yes
1941 ac_header_preproc=no
1943 rm -f conftest.err conftest.i conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1945 $as_echo "$ac_header_preproc" >&6; }
1947 # So? What about this header?
1948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1951 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1957 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1959 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1961 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1963 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1965 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969 $as_echo_n "checking for $2... " >&6; }
1970 if eval \${$3+:} false; then :
1971 $as_echo_n "(cached) " >&6
1973 eval "$3=\$ac_header_compiler"
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1977 $as_echo "$ac_res" >&6; }
1979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981 } # ac_fn_c_check_header_mongrel
1983 # ac_fn_cxx_try_cpp LINENO
1984 # ------------------------
1985 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1986 ac_fn_cxx_try_cpp ()
1988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989 if { { ac_try="$ac_cpp conftest.$ac_ext"
1991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1992 *) ac_try_echo
=$ac_try;;
1994 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1998 if test -s conftest.err
; then
1999 grep -v '^ *+' conftest.err
>conftest.er1
2000 cat conftest.er1
>&5
2001 mv -f conftest.er1 conftest.err
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; } > conftest.i
&& {
2005 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2006 test ! -s conftest.err
2010 $as_echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.
$ac_ext >&5
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016 as_fn_set_status
$ac_retval
2018 } # ac_fn_cxx_try_cpp
2020 # ac_fn_cxx_try_link LINENO
2021 # -------------------------
2022 # Try to link conftest.$ac_ext, and return whether this succeeded.
2023 ac_fn_cxx_try_link
()
2025 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2026 rm -f conftest.
$ac_objext conftest
$ac_exeext
2027 if { { ac_try
="$ac_link"
2029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2030 *) ac_try_echo=$ac_try;;
2032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2033 $as_echo "$ac_try_echo"; } >&5
2034 (eval "$ac_link") 2>conftest.err
2036 if test -s conftest.err; then
2037 grep -v '^ *+' conftest.err >conftest.er1
2038 cat conftest.er1 >&5
2039 mv -f conftest.er1 conftest.err
2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042 test $ac_status = 0; } && {
2043 test -z "$ac_cxx_werror_flag" ||
2044 test ! -s conftest.err
2045 } && test -s conftest$ac_exeext && {
2046 test "$cross_compiling" = yes ||
2047 test -x conftest$ac_exeext
2051 $as_echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.$ac_ext >&5
2056 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2057 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2058 # interfere with the next link command; also delete a directory that is
2059 # left behind by Apple's compiler. We do this before executing the actions.
2060 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062 as_fn_set_status $ac_retval
2064 } # ac_fn_cxx_try_link
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2069 It was created by MIC Offload Runtime Library $as_me 1.0, which was
2070 generated by GNU Autoconf 2.69. Invocation command line was
2082 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2083 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2084 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2085 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2086 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2088 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2089 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2091 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2092 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2093 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2094 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2095 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2096 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2097 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 $as_echo "PATH: $as_dir"
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2130 ac_must_keep_next=false
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2141 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2144 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2146 as_fn_append ac_configure_args1 " '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2159 -* ) ac_must_keep_next=true ;;
2162 as_fn_append ac_configure_args " '$ac_arg'"
2167 { ac_configure_args0=; unset ac_configure_args0;}
2168 { ac_configure_args1=; unset ac_configure_args1;}
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2180 $as_echo "## ---------------- ##
2181 ## Cache variables. ##
2182 ## ---------------- ##"
2184 # The following way of writing the cache mishandles newlines in values,
2186 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2187 eval ac_val=\$$ac_var
2191 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2195 _ | IFS | as_nl) ;; #(
2196 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2197 *) { eval $ac_var=; unset $ac_var;} ;;
2202 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2203 *${as_nl}ac_space=\ *)
2205 "s/'\''/'\''\\\\'\'''\''/g;
2206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2216 $as_echo "## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##"
2220 for ac_var in $ac_subst_vars
2222 eval ac_val=\$$ac_var
2224 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 $as_echo "$ac_var='\''$ac_val'\''"
2230 if test -n "$ac_subst_files"; then
2231 $as_echo "## ------------------- ##
2232 ## File substitutions. ##
2233 ## ------------------- ##"
2235 for ac_var in $ac_subst_files
2237 eval ac_val=\$$ac_var
2239 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 $as_echo "$ac_var='\''$ac_val'\''"
2246 if test -s confdefs.h; then
2247 $as_echo "## ----------- ##
2254 test "$ac_signal" != 0 &&
2255 $as_echo "$as_me: caught signal $ac_signal"
2256 $as_echo "$as_me: exit $exit_status"
2258 rm -f core *.core core.conftest.* &&
2259 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2262 for ac_signal in 1 2 13 15; do
2263 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2267 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2268 rm -f -r conftest* confdefs.h
2270 $as_echo "/* confdefs.h */" > confdefs.h
2272 # Predefined preprocessor variables.
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_NAME "$PACKAGE_NAME"
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_STRING "$PACKAGE_STRING"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_URL "$PACKAGE_URL"
2299 # Let the site file select an alternate cache file if it wants to.
2300 # Prefer an explicitly selected file to automatically selected ones.
2303 if test -n "$CONFIG_SITE"; then
2304 # We do not want a PATH search for config.site.
2305 case $CONFIG_SITE in #((
2306 -*) ac_site_file1=./$CONFIG_SITE;;
2307 */*) ac_site_file1=$CONFIG_SITE;;
2308 *) ac_site_file1=./$CONFIG_SITE;;
2310 elif test "x$prefix" != xNONE; then
2311 ac_site_file1=$prefix/share/config.site
2312 ac_site_file2=$prefix/etc/config.site
2314 ac_site_file1=$ac_default_prefix/share/config.site
2315 ac_site_file2=$ac_default_prefix/etc/config.site
2317 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2319 test "x$ac_site_file" = xNONE && continue
2320 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2322 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2323 sed 's/^/| /' "$ac_site_file" >&5
2325 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 as_fn_error $? "failed to load site
script $ac_site_file
2328 See \
`config.log' for more details" "$LINENO" 5; }
2332 if test -r "$cache_file"; then
2333 # Some versions of bash will fail to source /dev/null (special files
2334 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2335 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2337 $as_echo "$as_me: loading cache $cache_file" >&6;}
2339 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2340 *) . "./$cache_file";;
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2345 $as_echo "$as_me: creating cache $cache_file" >&6;}
2349 # Check that the precious variables saved in the cache have kept the same
2351 ac_cache_corrupted=false
2352 for ac_var in $ac_precious_vars; do
2353 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2354 eval ac_new_set=\$ac_env_${ac_var}_set
2355 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2356 eval ac_new_val=\$ac_env_${ac_var}_value
2357 case $ac_old_set,$ac_new_set in
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2360 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2361 ac_cache_corrupted=: ;;
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2364 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2365 ac_cache_corrupted=: ;;
2368 if test "x$ac_old_val" != "x$ac_new_val"; then
2369 # differences in whitespace do not lead to failure.
2370 ac_old_val_w=`echo x
$ac_old_val`
2371 ac_new_val_w=`echo x
$ac_new_val`
2372 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2374 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2375 ac_cache_corrupted=:
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2378 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2379 eval $ac_var=\$ac_old_val
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2382 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2384 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2387 # Pass precious variables to config.status.
2388 if test "$ac_new_set" = set; then
2390 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2391 *) ac_arg=$ac_var=$ac_new_val ;;
2393 case " $ac_configure_args " in
2394 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2395 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2399 if $ac_cache_corrupted; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2403 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2404 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2406 ## -------------------- ##
2407 ## Main body of script. ##
2408 ## -------------------- ##
2411 ac_cpp='$CPP $CPPFLAGS'
2412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2422 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2423 if test -f "$ac_dir/install-sh"; then
2425 ac_install_sh="$ac_aux_dir/install-sh -c"
2427 elif test -f "$ac_dir/install.sh"; then
2429 ac_install_sh="$ac_aux_dir/install.sh -c"
2431 elif test -f "$ac_dir/shtool"; then
2433 ac_install_sh="$ac_aux_dir/shtool install -c"
2437 if test -z "$ac_aux_dir"; then
2438 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2441 # These three variables are undocumented and unsupported,
2442 # and are intended to be withdrawn in a future Autoconf release.
2443 # They can cause serious problems if a builder's source tree is in a directory
2444 # whose full name contains unusual characters.
2445 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2446 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2447 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2450 # Make sure we can run config.sub.
2451 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2452 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2455 $as_echo_n "checking build system type... " >&6; }
2456 if ${ac_cv_build+:} false; then :
2457 $as_echo_n "(cached) " >&6
2459 ac_build_alias=$build_alias
2460 test "x$ac_build_alias" = x &&
2461 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2462 test "x$ac_build_alias" = x &&
2463 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2464 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2465 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2469 $as_echo "$ac_cv_build" >&6; }
2470 case $ac_cv_build in
2472 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2475 ac_save_IFS=$IFS; IFS='-'
2481 # Remember, the first character of IFS is used to create $*,
2482 # except with old shells:
2485 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2489 $as_echo_n "checking host system type... " >&6; }
2490 if ${ac_cv_host+:} false; then :
2491 $as_echo_n "(cached) " >&6
2493 if test "x$host_alias" = x; then
2494 ac_cv_host=$ac_cv_build
2496 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2497 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2502 $as_echo "$ac_cv_host" >&6; }
2505 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2508 ac_save_IFS=$IFS; IFS='-'
2514 # Remember, the first character of IFS is used to create $*,
2515 # except with old shells:
2518 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2522 $as_echo_n "checking target system type... " >&6; }
2523 if ${ac_cv_target+:} false; then :
2524 $as_echo_n "(cached) " >&6
2526 if test "x$target_alias" = x; then
2527 ac_cv_target=$ac_cv_host
2529 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2530 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2535 $as_echo "$ac_cv_target" >&6; }
2536 case $ac_cv_target in
2538 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2540 target=$ac_cv_target
2541 ac_save_IFS=$IFS; IFS='-'
2547 # Remember, the first character of IFS is used to create $*,
2548 # except with old shells:
2551 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2554 # The aliases save the names the user supplied, while $host etc.
2555 # will get canonicalized.
2556 test -n "$target_alias" &&
2557 test "$program_prefix$program_suffix$program_transform_name" = \
2559 program_prefix=${target_alias}-
2561 target_alias=${target_alias-$host_alias}
2564 am__api_version='1.15'
2566 # Find a good install program. We prefer a C program (faster),
2567 # so one script is as good as another. But avoid the broken or
2568 # incompatible versions:
2569 # SysV /etc/install, /usr/sbin/install
2570 # SunOS /usr/etc/install
2571 # IRIX /sbin/install
2573 # AmigaOS /C/install, which installs bootblocks on floppy discs
2574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2577 # OS/2's system install, which has a completely different semantic
2578 # ./install, which can be erroneously created by make from ./install.sh.
2579 # Reject install programs that cannot install multiple files.
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2581 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2582 if test -z "$INSTALL"; then
2583 if ${ac_cv_path_install+:} false; then :
2584 $as_echo_n "(cached) " >&6
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 # Account for people who put trailing slashes in PATH elements.
2592 case $as_dir/ in #((
2593 ./ | .// | /[cC]/* | \
2594 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2595 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2598 # OSF1 and SCO ODT 3.0 have their own names for install.
2599 # Don't use installbsd from OSF since it installs stuff as root
2601 for ac_prog in ginstall scoinst install; do
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2604 if test $ac_prog = install &&
2605 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2606 # AIX install. It has an incompatible calling convention.
2608 elif test $ac_prog = install &&
2609 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2610 # program-specific install script used by HP pwplus--don't use.
2613 rm -rf conftest.one conftest.two conftest.dir
2614 echo one > conftest.one
2615 echo two > conftest.two
2617 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2618 test -s conftest.one && test -s conftest.two &&
2619 test -s conftest.dir/conftest.one &&
2620 test -s conftest.dir/conftest.two
2622 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2635 rm -rf conftest.one conftest.two conftest.dir
2638 if test "${ac_cv_path_install+set}" = set; then
2639 INSTALL=$ac_cv_path_install
2641 # As a last resort, use the slow shell script. Don't cache a
2642 # value for INSTALL within a source directory, because that will
2643 # break other packages using the cache if that directory is
2644 # removed, or if the value is a relative name.
2645 INSTALL=$ac_install_sh
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2649 $as_echo "$INSTALL" >&6; }
2651 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2652 # It thinks the first close brace ends the variable substitution.
2653 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2655 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2657 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2660 $as_echo_n "checking whether build environment is sane... " >&6; }
2661 # Reject unsafe characters in $srcdir or the absolute working directory
2662 # name. Accept space and tab only in the latter.
2666 *[\\\"\#\$\&\'\`$am_lf]*)
2667 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2670 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2671 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2674 # Do 'set' in a subshell so we don't clobber the current shell's
2675 # arguments. Must try -L first in case configure is actually a
2676 # symlink; some systems play weird games with the mod time of symlinks
2677 # (eg FreeBSD returns the mod time of the symlink's containing
2681 for am_try
in 1 2; do
2682 echo "timestamp, slept: $am_has_slept" > conftest.
file
2683 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2684 if test "$*" = "X"; then
2686 set X
`ls -t "$srcdir/configure" conftest.file`
2688 if test "$*" != "X $srcdir/configure conftest.file" \
2689 && test "$*" != "X conftest.file $srcdir/configure"; then
2691 # If neither matched, then we have a broken ls. This can happen
2692 # if, for instance, CONFIG_SHELL is bash and it inherits a
2693 # broken ls alias from the environment. This has actually
2694 # happened. Such a system could not be considered "sane".
2695 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2696 alias in your environment" "$LINENO" 5
2698 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2705 test "$2" = conftest.
file
2711 as_fn_error $?
"newly created file is older than distributed files!
2712 Check your system clock" "$LINENO" 5
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2715 $as_echo "yes" >&6; }
2716 # If we didn't sleep, we still need to ensure time stamps of config.status and
2717 # generated files are strictly newer.
2719 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2726 test "$program_prefix" != NONE
&&
2727 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2728 # Use a double $ so make ignores it.
2729 test "$program_suffix" != NONE
&&
2730 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2731 # Double any \ or $.
2732 # By default was `s,x,x', remove it if useless.
2733 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2734 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2736 # Expand $ac_aux_dir to an absolute path.
2737 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2739 if test x
"${MISSING+set}" != xset
; then
2742 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2744 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2747 # Use eval to expand $SHELL
2748 if eval "$MISSING --is-lightweight"; then
2749 am_missing_run
="$MISSING "
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2753 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2756 if test x
"${install_sh+set}" != xset
; then
2759 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2761 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2765 # Installed binaries are usually stripped using 'strip' when the user
2766 # run "make install-strip". However 'strip' might not be the right
2767 # tool to use in cross-compilation environments, therefore Automake
2768 # will honor the 'STRIP' environment variable to overrule this program.
2769 if test "$cross_compiling" != no
; then
2770 if test -n "$ac_tool_prefix"; then
2771 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2772 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2774 $as_echo_n "checking for $ac_word... " >&6; }
2775 if ${ac_cv_prog_STRIP+:} false
; then :
2776 $as_echo_n "(cached) " >&6
2778 if test -n "$STRIP"; then
2779 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir
=.
2786 for ac_exec_ext
in '' $ac_executable_extensions; do
2787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2788 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 STRIP
=$ac_cv_prog_STRIP
2799 if test -n "$STRIP"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2801 $as_echo "$STRIP" >&6; }
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2804 $as_echo "no" >&6; }
2809 if test -z "$ac_cv_prog_STRIP"; then
2811 # Extract the first word of "strip", so it can be a program name with args.
2812 set dummy strip
; ac_word
=$2
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2816 $as_echo_n "(cached) " >&6
2818 if test -n "$ac_ct_STRIP"; then
2819 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir
=.
2826 for ac_exec_ext
in '' $ac_executable_extensions; do
2827 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2828 ac_cv_prog_ac_ct_STRIP
="strip"
2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2839 if test -n "$ac_ct_STRIP"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2841 $as_echo "$ac_ct_STRIP" >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2847 if test "x$ac_ct_STRIP" = x
; then
2850 case $cross_compiling:$ac_tool_warned in
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2854 ac_tool_warned
=yes ;;
2859 STRIP
="$ac_cv_prog_STRIP"
2863 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2866 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2867 if test -z "$MKDIR_P"; then
2868 if ${ac_cv_path_mkdir+:} false
; then :
2869 $as_echo_n "(cached) " >&6
2871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2872 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2875 test -z "$as_dir" && as_dir
=.
2876 for ac_prog
in mkdir gmkdir
; do
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2879 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2880 'mkdir (GNU coreutils) '* | \
2881 'mkdir (coreutils) '* | \
2882 'mkdir (fileutils) '4.1*)
2883 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2893 test -d .
/--version && rmdir .
/--version
2894 if test "${ac_cv_path_mkdir+set}" = set; then
2895 MKDIR_P
="$ac_cv_path_mkdir -p"
2897 # As a last resort, use the slow shell script. Don't cache a
2898 # value for MKDIR_P within a source directory, because that will
2899 # break other packages using the cache if that directory is
2900 # removed, or if the value is a relative name.
2901 MKDIR_P
="$ac_install_sh -d"
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2905 $as_echo "$MKDIR_P" >&6; }
2907 for ac_prog
in gawk mawk nawk
awk
2909 # Extract the first word of "$ac_prog", so it can be a program name with args.
2910 set dummy
$ac_prog; ac_word
=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if ${ac_cv_prog_AWK+:} false
; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$AWK"; then
2917 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_AWK
="$ac_prog"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test -n "$AWK"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2939 $as_echo "$AWK" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2946 test -n "$AWK" && break
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2950 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2952 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2953 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2954 $as_echo_n "(cached) " >&6
2956 cat >conftest.
make <<\_ACEOF
2959 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2961 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2962 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2964 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2966 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2970 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2972 $as_echo "yes" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2977 SET_MAKE
="MAKE=${MAKE-make}"
2980 rm -rf .tst
2>/dev
/null
2981 mkdir .tst
2>/dev
/null
2982 if test -d .tst
; then
2987 rmdir .tst
2>/dev
/null
2989 # Check whether --enable-silent-rules was given.
2990 if test "${enable_silent_rules+set}" = set; then :
2991 enableval
=$enable_silent_rules;
2994 case $enable_silent_rules in # (((
2995 yes) AM_DEFAULT_VERBOSITY
=0;;
2996 no
) AM_DEFAULT_VERBOSITY
=1;;
2997 *) AM_DEFAULT_VERBOSITY
=1;;
2999 am_make
=${MAKE-make}
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3001 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3002 if ${am_cv_make_support_nested_variables+:} false
; then :
3003 $as_echo_n "(cached) " >&6
3005 if $as_echo 'TRUE=$(BAR$(V))
3011 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3012 am_cv_make_support_nested_variables
=yes
3014 am_cv_make_support_nested_variables
=no
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3018 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3019 if test $am_cv_make_support_nested_variables = yes; then
3021 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3023 AM_V
=$AM_DEFAULT_VERBOSITY
3024 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3028 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3029 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3030 # is not polluted with repeated "-I."
3031 am__isrc
=' -I$(srcdir)'
3032 # test to see if srcdir already configured
3033 if test -f $srcdir/config.status
; then
3034 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3038 # test whether we have cygpath
3039 if test -z "$CYGPATH_W"; then
3040 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3041 CYGPATH_W
='cygpath -w'
3048 # Define the identity of the package.
3049 PACKAGE
='liboffloadmic'
3053 cat >>confdefs.h
<<_ACEOF
3054 #define PACKAGE "$PACKAGE"
3058 cat >>confdefs.h
<<_ACEOF
3059 #define VERSION "$VERSION"
3062 # Some tools Automake needs.
3064 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3067 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3070 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3073 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3076 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3078 # For better backward compatibility. To be removed once Automake 1.9.x
3079 # dies out for good. For more background, see:
3080 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3081 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3082 mkdir_p
='$(MKDIR_P)'
3084 # We need awk for the "check" target (and possibly the TAP driver). The
3085 # system "awk" is bad on some platforms.
3086 # Always define AMTAR for backward compatibility. Yes, it's still used
3087 # in the wild :-( We should find a proper way to deprecate it ...
3091 # We'll loop over all known methods to create a tar archive until one works.
3092 _am_tools
='gnutar pax cpio none'
3094 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3101 # POSIX will say in a future version that running "rm -f" with no argument
3102 # is OK; and we want to be able to make that assumption in our Makefile
3103 # recipes. So use an aggressive probe to check that the usage we want is
3104 # actually supported "in the wild" to an acceptable degree.
3105 # See automake bug#10828.
3106 # To make any issue more visible, cause the running configure to be aborted
3107 # by default if the 'rm' program in use doesn't match our expectations; the
3108 # user can still override this though.
3109 if rm -f && rm -fr && rm -rf; then : OK
; else
3113 Your 'rm' program seems unable to run without file operands specified
3114 on the command line, even when the '-f' option is present. This is contrary
3115 to the behaviour of most rm programs out there, and not conforming with
3116 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3118 Please tell bug-automake@gnu.org about your system, including the value
3119 of your $PATH and any error possibly output before this message. This
3120 can help us improve future automake versions.
3123 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3124 echo 'Configuration will proceed anyway, since you have set the' >&2
3125 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3129 Aborting the configuration process, to ensure you take notice of the issue.
3131 You can download and install GNU coreutils to get an 'rm' implementation
3132 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3134 If you want to complete the configuration process using your problematic
3135 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3136 to "yes", and re-run configure.
3139 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3145 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3146 # Check whether --enable-maintainer-mode was given.
3147 if test "${enable_maintainer_mode+set}" = set; then :
3148 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3150 USE_MAINTAINER_MODE
=no
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3154 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3155 if test $USE_MAINTAINER_MODE = yes; then
3156 MAINTAINER_MODE_TRUE
=
3157 MAINTAINER_MODE_FALSE
='#'
3159 MAINTAINER_MODE_TRUE
='#'
3160 MAINTAINER_MODE_FALSE
=
3163 MAINT
=$MAINTAINER_MODE_TRUE
3168 ac_cpp
='$CPP $CPPFLAGS'
3169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3172 if test -n "$ac_tool_prefix"; then
3173 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3174 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_CC+:} false
; then :
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$CC"; then
3181 ac_cv_prog_CC
="$CC" # Let the user override the test.
3183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir
=.
3188 for ac_exec_ext
in '' $ac_executable_extensions; do
3189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 if test -n "$CC"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3203 $as_echo "$CC" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3211 if test -z "$ac_cv_prog_CC"; then
3213 # Extract the first word of "gcc", so it can be a program name with args.
3214 set dummy gcc
; ac_word
=$2
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3218 $as_echo_n "(cached) " >&6
3220 if test -n "$ac_ct_CC"; then
3221 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir
=.
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3230 ac_cv_prog_ac_ct_CC
="gcc"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3241 if test -n "$ac_ct_CC"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3243 $as_echo "$ac_ct_CC" >&6; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3249 if test "x$ac_ct_CC" = x
; then
3252 case $cross_compiling:$ac_tool_warned in
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3256 ac_tool_warned
=yes ;;
3264 if test -z "$CC"; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3267 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if ${ac_cv_prog_CC+:} false
; then :
3271 $as_echo_n "(cached) " >&6
3273 if test -n "$CC"; then
3274 ac_cv_prog_CC
="$CC" # Let the user override the test.
3276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3280 test -z "$as_dir" && as_dir
=.
3281 for ac_exec_ext
in '' $ac_executable_extensions; do
3282 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3283 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3294 if test -n "$CC"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3296 $as_echo "$CC" >&6; }
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3305 if test -z "$CC"; then
3306 # Extract the first word of "cc", so it can be a program name with args.
3307 set dummy cc
; ac_word
=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if ${ac_cv_prog_CC+:} false
; then :
3311 $as_echo_n "(cached) " >&6
3313 if test -n "$CC"; then
3314 ac_cv_prog_CC
="$CC" # Let the user override the test.
3317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3321 test -z "$as_dir" && as_dir
=.
3322 for ac_exec_ext
in '' $ac_executable_extensions; do
3323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3325 ac_prog_rejected
=yes
3329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3336 if test $ac_prog_rejected = yes; then
3337 # We found a bogon in the path, so make sure we never use it.
3338 set dummy
$ac_cv_prog_CC
3340 if test $# != 0; then
3341 # We chose a different compiler from the bogus one.
3342 # However, it has the same basename, so the bogon will be chosen
3343 # first if we set CC to just the basename; use the full file name.
3345 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3351 if test -n "$CC"; then
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3353 $as_echo "$CC" >&6; }
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 $as_echo "no" >&6; }
3361 if test -z "$CC"; then
3362 if test -n "$ac_tool_prefix"; then
3363 for ac_prog
in cl.exe
3365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3366 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3368 $as_echo_n "checking for $ac_word... " >&6; }
3369 if ${ac_cv_prog_CC+:} false
; then :
3370 $as_echo_n "(cached) " >&6
3372 if test -n "$CC"; then
3373 ac_cv_prog_CC
="$CC" # Let the user override the test.
3375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir
=.
3380 for ac_exec_ext
in '' $ac_executable_extensions; do
3381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3382 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 if test -n "$CC"; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3395 $as_echo "$CC" >&6; }
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398 $as_echo "no" >&6; }
3402 test -n "$CC" && break
3405 if test -z "$CC"; then
3407 for ac_prog
in cl.exe
3409 # Extract the first word of "$ac_prog", so it can be a program name with args.
3410 set dummy
$ac_prog; ac_word
=$2
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412 $as_echo_n "checking for $ac_word... " >&6; }
3413 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3414 $as_echo_n "(cached) " >&6
3416 if test -n "$ac_ct_CC"; then
3417 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3423 test -z "$as_dir" && as_dir
=.
3424 for ac_exec_ext
in '' $ac_executable_extensions; do
3425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3426 ac_cv_prog_ac_ct_CC
="$ac_prog"
3427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3437 if test -n "$ac_ct_CC"; then
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3439 $as_echo "$ac_ct_CC" >&6; }
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 $as_echo "no" >&6; }
3446 test -n "$ac_ct_CC" && break
3449 if test "x$ac_ct_CC" = x
; then
3452 case $cross_compiling:$ac_tool_warned in
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3456 ac_tool_warned
=yes ;;
3465 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467 as_fn_error $?
"no acceptable C compiler found in \$PATH
3468 See \`config.log' for more details" "$LINENO" 5; }
3470 # Provide some information about the compiler.
3471 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3474 for ac_option
in --version -v -V -qversion; do
3475 { { ac_try
="$ac_compiler $ac_option >&5"
3477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3484 if test -s conftest.err; then
3486 ... rest of stderr output deleted ...
3487 10q' conftest.err >conftest.er1
3488 cat conftest.er1 >&5
3490 rm -f conftest.er1 conftest.err
3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3506 ac_clean_files_save=$ac_clean_files
3507 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3508 # Try to create an executable without -o first, disregard a.out.
3509 # It will help us diagnose broken compilers, and finding out an intuition
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3512 $as_echo_n "checking whether the C compiler works... " >&6; }
3513 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3515 # The possible output files:
3516 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3519 for ac_file in $ac_files
3522 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3523 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3528 if { { ac_try="$ac_link_default"
3530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3531 *) ac_try_echo
=$ac_try;;
3533 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3534 $as_echo "$ac_try_echo"; } >&5
3535 (eval "$ac_link_default") 2>&5
3537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3538 test $ac_status = 0; }; then :
3539 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3540 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3541 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3542 # so that the user can short-circuit this test for compilers unknown to
3544 for ac_file
in $ac_files ''
3546 test -f "$ac_file" ||
continue
3548 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3551 # We found the default executable, but exeext='' is most
3555 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3557 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3559 # We set ac_cv_exeext here because the later test for it is not
3560 # safe: cross compilers may not add the suffix if given an `-o'
3561 # argument, so we may need to know it at that point already.
3562 # Even if this section looks crufty: it has the advantage of
3569 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3574 if test -z "$ac_file"; then :
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3577 $as_echo "$as_me: failed program was:" >&5
3578 sed 's/^/| /' conftest.
$ac_ext >&5
3580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3582 as_fn_error
77 "C compiler cannot create executables
3583 See \`config.log' for more details" "$LINENO" 5; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3586 $as_echo "yes" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3589 $as_echo_n "checking for C compiler default output file name... " >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3591 $as_echo "$ac_file" >&6; }
3592 ac_exeext
=$ac_cv_exeext
3594 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3595 ac_clean_files
=$ac_clean_files_save
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3597 $as_echo_n "checking for suffix of executables... " >&6; }
3598 if { { ac_try
="$ac_link"
3600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3601 *) ac_try_echo=$ac_try;;
3603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604 $as_echo "$ac_try_echo"; } >&5
3605 (eval "$ac_link") 2>&5
3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608 test $ac_status = 0; }; then :
3609 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3610 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3611 # work properly (i.e., refer to `conftest.exe'), while it won't with
3613 for ac_file
in conftest.exe conftest conftest.
*; do
3614 test -f "$ac_file" ||
continue
3616 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3617 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3625 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3626 See \`config.log' for more details" "$LINENO" 5; }
3628 rm -f conftest conftest
$ac_cv_exeext
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3630 $as_echo "$ac_cv_exeext" >&6; }
3632 rm -f conftest.
$ac_ext
3633 EXEEXT
=$ac_cv_exeext
3635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3641 FILE *f = fopen ("conftest.out", "w");
3642 return ferror (f) || fclose (f) != 0;
3648 ac_clean_files
="$ac_clean_files conftest.out"
3649 # Check that the compiler produces executables we can run. If not, either
3650 # the compiler is broken, or we cross compile.
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3652 $as_echo_n "checking whether we are cross compiling... " >&6; }
3653 if test "$cross_compiling" != yes; then
3654 { { ac_try
="$ac_link"
3656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660 $as_echo "$ac_try_echo"; } >&5
3661 (eval "$ac_link") 2>&5
3663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664 test $ac_status = 0; }
3665 if { ac_try='./conftest$ac_cv_exeext'
3666 { { case "(($ac_try" in
3667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3668 *) ac_try_echo
=$ac_try;;
3670 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3671 $as_echo "$ac_try_echo"; } >&5
3672 (eval "$ac_try") 2>&5
3674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3675 test $ac_status = 0; }; }; then
3678 if test "$cross_compiling" = maybe
; then
3681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3683 as_fn_error $?
"cannot run C compiled programs.
3684 If you meant to cross compile, use \`--host'.
3685 See \`config.log' for more details" "$LINENO" 5; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3690 $as_echo "$cross_compiling" >&6; }
3692 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3693 ac_clean_files
=$ac_clean_files_save
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3695 $as_echo_n "checking for suffix of object files... " >&6; }
3696 if ${ac_cv_objext+:} false
; then :
3697 $as_echo_n "(cached) " >&6
3699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3710 rm -f conftest.o conftest.obj
3711 if { { ac_try
="$ac_compile"
3713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3714 *) ac_try_echo=$ac_try;;
3716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3717 $as_echo "$ac_try_echo"; } >&5
3718 (eval "$ac_compile") 2>&5
3720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721 test $ac_status = 0; }; then :
3722 for ac_file in conftest.o conftest.obj conftest.*; do
3723 test -f "$ac_file" || continue;
3725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3726 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3731 $as_echo "$as_me: failed program was:" >&5
3732 sed 's/^/| /' conftest.$ac_ext >&5
3734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3736 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3737 See \
`config.log' for more details" "$LINENO" 5; }
3739 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3742 $as_echo "$ac_cv_objext" >&6; }
3743 OBJEXT=$ac_cv_objext
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3746 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3747 if ${ac_cv_c_compiler_gnu+:} false; then :
3748 $as_echo_n "(cached) " >&6
3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3764 if ac_fn_c_try_compile "$LINENO"; then :
3769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3774 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3775 if test $ac_compiler_gnu = yes; then
3780 ac_test_CFLAGS=${CFLAGS+set}
3781 ac_save_CFLAGS=$CFLAGS
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3783 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3784 if ${ac_cv_prog_cc_g+:} false; then :
3785 $as_echo_n "(cached) " >&6
3787 ac_save_c_werror_flag=$ac_c_werror_flag
3788 ac_c_werror_flag=yes
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3802 if ac_fn_c_try_compile "$LINENO"; then :
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3817 if ac_fn_c_try_compile "$LINENO"; then :
3820 ac_c_werror_flag=$ac_save_c_werror_flag
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3833 if ac_fn_c_try_compile "$LINENO"; then :
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3841 ac_c_werror_flag=$ac_save_c_werror_flag
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3844 $as_echo "$ac_cv_prog_cc_g" >&6; }
3845 if test "$ac_test_CFLAGS" = set; then
3846 CFLAGS=$ac_save_CFLAGS
3847 elif test $ac_cv_prog_cc_g = yes; then
3848 if test "$GCC" = yes; then
3854 if test "$GCC" = yes; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3861 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3862 if ${ac_cv_prog_cc_c89+:} false; then :
3863 $as_echo_n "(cached) " >&6
3865 ac_cv_prog_cc_c89=no
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3872 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3873 struct buf { int x; };
3874 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3875 static char *e (p, i)
3881 static char *f (char * (*g) (char **, int), char **p, ...)
3886 s = g (p, va_arg (v,int));
3891 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3892 function prototypes and stuff, but not '\xHH' hex character constants.
3893 These don't provoke an error unfortunately, instead are silently treated
3894 as 'x'. The following induces an error, until -std is added to get
3895 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3896 array size at least. It's necessary to write '\x00'==0 to get something
3897 that's true only with -std. */
3898 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3900 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3901 inside strings and character constants. */
3903 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3905 int test (int i, double x);
3906 struct s1 {int (*f) (int a);};
3907 struct s2 {int (*f) (double a);};
3908 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3914 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3919 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3920 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3922 CC="$ac_save_CC $ac_arg"
3923 if ac_fn_c_try_compile "$LINENO"; then :
3924 ac_cv_prog_cc_c89=$ac_arg
3926 rm -f core conftest.err conftest.$ac_objext
3927 test "x$ac_cv_prog_cc_c89" != "xno" && break
3929 rm -f conftest.$ac_ext
3934 case "x$ac_cv_prog_cc_c89" in
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3937 $as_echo "none needed" >&6; } ;;
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3940 $as_echo "unsupported" >&6; } ;;
3942 CC="$CC $ac_cv_prog_cc_c89"
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3944 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3946 if test "x$ac_cv_prog_cc_c89" != xno; then :
3951 ac_cpp='$CPP $CPPFLAGS'
3952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3962 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3963 if ${am_cv_prog_cc_c_o+:} false; then :
3964 $as_echo_n "(cached) " >&6
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3977 # Make sure it works both with $CC and with simple cc.
3978 # Following AC_PROG_CC_C_O, we do the test twice because some
3979 # compilers refuse to overwrite an existing .o file with -o,
3980 # though they will create one.
3981 am_cv_prog_cc_c_o=yes
3983 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3984 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); } \
3988 && test -f conftest2.$ac_objext; then
3991 am_cv_prog_cc_c_o=no
3995 rm -f core conftest*
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3999 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4000 if test "$am_cv_prog_cc_c_o" != yes; then
4001 # Losing compiler, so override with the script.
4002 # FIXME: It is wrong to rewrite CC.
4003 # But if we don't then we get into trouble of one sort or another.
4004 # A longer-term fix would be to have automake use am__CC in this case,
4005 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4006 CC="$am_aux_dir/compile $CC"
4009 ac_cpp='$CPP $CPPFLAGS'
4010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4014 DEPDIR="${am__leading_dot}deps"
4016 ac_config_commands="$ac_config_commands depfiles"
4019 am_make=${MAKE-make}
4020 cat > confinc << 'END'
4022 @echo this is the am__doit target
4025 # If we don't find an include directive, just comment out the code.
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4027 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4031 # First try GNU make style include.
4032 echo "include confinc" > confmf
4033 # Ignore all kinds of additional output from 'make'.
4034 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4035 *the\ am__doit\ target*)
4041 # Now try BSD make style include.
4042 if test "$am__include" = "#"; then
4043 echo '.include "confinc"' > confmf
4044 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4045 *the\ am__doit\ target*)
4046 am__include=.include
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4055 $as_echo "$_am_result" >&6; }
4056 rm -f confinc confmf
4058 # Check whether --enable-dependency-tracking was given.
4059 if test "${enable_dependency_tracking+set}" = set; then :
4060 enableval=$enable_dependency_tracking;
4063 if test "x$enable_dependency_tracking" != xno; then
4064 am_depcomp="$ac_aux_dir/depcomp"
4068 if test "x$enable_dependency_tracking" != xno; then
4078 depcc="$CC" am_compiler_list=
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4081 $as_echo_n "checking dependency style of $depcc... " >&6; }
4082 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4083 $as_echo_n "(cached) " >&6
4085 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4086 # We make a subdir and do the tests there. Otherwise we can end up
4087 # making bogus files that we don't know about and never remove. For
4088 # instance it was reported that on HP-UX the gcc test will end up
4089 # making a dummy file named 'D' -- because '-MD' means "put the output
4093 # Copy depcomp to subdir because otherwise we won't find it if we're
4094 # using a relative directory.
4095 cp "$am_depcomp" conftest.dir
4097 # We will build objects and dependencies in a subdirectory because
4098 # it helps to detect inapplicable dependency modes. For instance
4099 # both Tru64's cc and ICC support -MD to output dependencies as a
4100 # side effect of compilation, but ICC will put the dependencies in
4101 # the current directory while Tru64 will put them in the object
4105 am_cv_CC_dependencies_compiler_type=none
4106 if test "$am_compiler_list" = ""; then
4107 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4110 case " $depcc " in #(
4111 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4114 for depmode in $am_compiler_list; do
4115 # Setup a source with many dependencies, because some compilers
4116 # like to wrap large dependency lists on column 80 (with \), and
4117 # we should not choose a depcomp mode which is confused by this.
4119 # We need to recreate these files for each test, as the compiler may
4120 # overwrite some of them when testing with obscure command lines.
4121 # This happens at least with the AIX C compiler.
4123 for i in 1 2 3 4 5 6; do
4124 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4125 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4126 # Solaris 10 /bin/sh.
4127 echo '/* dummy */' > sub/conftst$i.h
4129 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4131 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4132 # mode. It turns out that the SunPro C++ compiler does not properly
4133 # handle '-M -o', and we need to detect this. Also, some Intel
4134 # versions had trouble with output in subdirs.
4135 am__obj=sub/conftest.${OBJEXT-o}
4136 am__minus_obj="-o $am__obj"
4139 # This depmode causes a compiler race in universal mode.
4140 test "$am__universal" = false || continue
4143 # After this tag, mechanisms are not by side-effect, so they'll
4144 # only be used when explicitly requested.
4145 if test "x$enable_dependency_tracking" = xyes; then
4151 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4152 # This compiler won't grok '-c -o', but also, the minuso test has
4153 # not run yet. These depmodes are late enough in the game, and
4154 # so weak that their functioning should not be impacted.
4155 am__obj=conftest.${OBJEXT-o}
4160 if depmode=$depmode \
4161 source=sub/conftest.c object=$am__obj \
4162 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4163 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4164 >/dev/null 2>conftest.err &&
4165 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4166 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4167 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4168 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4169 # icc doesn't choke on unknown options, it will just issue warnings
4170 # or remarks (even with -Werror). So we grep stderr for any message
4171 # that says an option was ignored or not supported.
4172 # When given -MP, icc 7.0 and 7.1 complain thusly:
4173 # icc: Command line warning: ignoring option '-M'; no argument required
4174 # The diagnosis changed in icc 8.0:
4175 # icc: Command line remark: option '-MP' not supported
4176 if (grep 'ignoring option' conftest.err ||
4177 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4178 am_cv_CC_dependencies_compiler_type=$depmode
4187 am_cv_CC_dependencies_compiler_type=none
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4192 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4193 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4196 test "x$enable_dependency_tracking" != xno \
4197 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4199 am__fastdepCC_FALSE='#'
4201 am__fastdepCC_TRUE='#'
4202 am__fastdepCC_FALSE=
4207 ac_cpp='$CXXCPP $CPPFLAGS'
4208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4211 if test -z "$CXX"; then
4212 if test -n "$CCC"; then
4215 if test -n "$ac_tool_prefix"; then
4216 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4219 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if ${ac_cv_prog_CXX+:} false; then :
4223 $as_echo_n "(cached) " >&6
4225 if test -n "$CXX"; then
4226 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 if test -n "$CXX"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4248 $as_echo "$CXX" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4255 test -n "$CXX" && break
4258 if test -z "$CXX"; then
4260 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4262 # Extract the first word of "$ac_prog", so it can be a program name with args.
4263 set dummy $ac_prog; ac_word=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$ac_ct_CXX"; then
4270 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir=.
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4279 ac_cv_prog_ac_ct_CXX="$ac_prog"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4290 if test -n "$ac_ct_CXX"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4292 $as_echo "$ac_ct_CXX" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4299 test -n "$ac_ct_CXX" && break
4302 if test "x$ac_ct_CXX" = x; then
4305 case $cross_compiling:$ac_tool_warned in
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4309 ac_tool_warned=yes ;;
4317 # Provide some information about the compiler.
4318 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4321 for ac_option in --version -v -V -qversion; do
4322 { { ac_try="$ac_compiler $ac_option >&5"
4324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4325 *) ac_try_echo
=$ac_try;;
4327 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328 $as_echo "$ac_try_echo"; } >&5
4329 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4331 if test -s conftest.err
; then
4333 ... rest of stderr output deleted ...
4334 10q' conftest.err
>conftest.er1
4335 cat conftest.er1
>&5
4337 rm -f conftest.er1 conftest.err
4338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4339 test $ac_status = 0; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4343 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4344 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4345 $as_echo_n "(cached) " >&6
4347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4361 if ac_fn_cxx_try_compile
"$LINENO"; then :
4366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4367 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4371 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4372 if test $ac_compiler_gnu = yes; then
4377 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4378 ac_save_CXXFLAGS
=$CXXFLAGS
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4380 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4381 if ${ac_cv_prog_cxx_g+:} false
; then :
4382 $as_echo_n "(cached) " >&6
4384 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4385 ac_cxx_werror_flag
=yes
4388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4399 if ac_fn_cxx_try_compile
"$LINENO"; then :
4400 ac_cv_prog_cxx_g
=yes
4403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4414 if ac_fn_cxx_try_compile
"$LINENO"; then :
4417 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4430 if ac_fn_cxx_try_compile
"$LINENO"; then :
4431 ac_cv_prog_cxx_g
=yes
4433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4438 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4441 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4442 if test "$ac_test_CXXFLAGS" = set; then
4443 CXXFLAGS
=$ac_save_CXXFLAGS
4444 elif test $ac_cv_prog_cxx_g = yes; then
4445 if test "$GXX" = yes; then
4451 if test "$GXX" = yes; then
4458 ac_cpp
='$CPP $CPPFLAGS'
4459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4463 depcc
="$CXX" am_compiler_list
=
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4466 $as_echo_n "checking dependency style of $depcc... " >&6; }
4467 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4468 $as_echo_n "(cached) " >&6
4470 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4471 # We make a subdir and do the tests there. Otherwise we can end up
4472 # making bogus files that we don't know about and never remove. For
4473 # instance it was reported that on HP-UX the gcc test will end up
4474 # making a dummy file named 'D' -- because '-MD' means "put the output
4478 # Copy depcomp to subdir because otherwise we won't find it if we're
4479 # using a relative directory.
4480 cp "$am_depcomp" conftest.dir
4482 # We will build objects and dependencies in a subdirectory because
4483 # it helps to detect inapplicable dependency modes. For instance
4484 # both Tru64's cc and ICC support -MD to output dependencies as a
4485 # side effect of compilation, but ICC will put the dependencies in
4486 # the current directory while Tru64 will put them in the object
4490 am_cv_CXX_dependencies_compiler_type
=none
4491 if test "$am_compiler_list" = ""; then
4492 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4495 case " $depcc " in #(
4496 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4499 for depmode
in $am_compiler_list; do
4500 # Setup a source with many dependencies, because some compilers
4501 # like to wrap large dependency lists on column 80 (with \), and
4502 # we should not choose a depcomp mode which is confused by this.
4504 # We need to recreate these files for each test, as the compiler may
4505 # overwrite some of them when testing with obscure command lines.
4506 # This happens at least with the AIX C compiler.
4508 for i
in 1 2 3 4 5 6; do
4509 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4510 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4511 # Solaris 10 /bin/sh.
4512 echo '/* dummy */' > sub
/conftst
$i.h
4514 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4516 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4517 # mode. It turns out that the SunPro C++ compiler does not properly
4518 # handle '-M -o', and we need to detect this. Also, some Intel
4519 # versions had trouble with output in subdirs.
4520 am__obj
=sub
/conftest.
${OBJEXT-o}
4521 am__minus_obj
="-o $am__obj"
4524 # This depmode causes a compiler race in universal mode.
4525 test "$am__universal" = false ||
continue
4528 # After this tag, mechanisms are not by side-effect, so they'll
4529 # only be used when explicitly requested.
4530 if test "x$enable_dependency_tracking" = xyes
; then
4536 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4537 # This compiler won't grok '-c -o', but also, the minuso test has
4538 # not run yet. These depmodes are late enough in the game, and
4539 # so weak that their functioning should not be impacted.
4540 am__obj
=conftest.
${OBJEXT-o}
4545 if depmode
=$depmode \
4546 source=sub
/conftest.c object
=$am__obj \
4547 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4548 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4549 >/dev
/null
2>conftest.err
&&
4550 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4551 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4552 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4553 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4554 # icc doesn't choke on unknown options, it will just issue warnings
4555 # or remarks (even with -Werror). So we grep stderr for any message
4556 # that says an option was ignored or not supported.
4557 # When given -MP, icc 7.0 and 7.1 complain thusly:
4558 # icc: Command line warning: ignoring option '-M'; no argument required
4559 # The diagnosis changed in icc 8.0:
4560 # icc: Command line remark: option '-MP' not supported
4561 if (grep 'ignoring option' conftest.err ||
4562 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4563 am_cv_CXX_dependencies_compiler_type
=$depmode
4572 am_cv_CXX_dependencies_compiler_type
=none
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4577 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4578 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4581 test "x$enable_dependency_tracking" != xno \
4582 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4583 am__fastdepCXX_TRUE
=
4584 am__fastdepCXX_FALSE
='#'
4586 am__fastdepCXX_TRUE
='#'
4587 am__fastdepCXX_FALSE
=
4591 ac_config_files
="$ac_config_files Makefile liboffloadmic_host.spec liboffloadmic_target.spec"
4593 # Default to --enable-multilib
4594 # Check whether --enable-multilib was given.
4595 if test "${enable_multilib+set}" = set; then :
4596 enableval
=$enable_multilib; case "$enableval" in
4597 yes) multilib
=yes ;;
4599 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
4606 # We may get other options which we leave undocumented:
4607 # --with-target-subdir, --with-multisrctop, --with-multisubdir
4608 # See config-ml.in if you want the gory details.
4610 if test "$srcdir" = "."; then
4611 if test "$with_target_subdir" != "."; then
4612 multi_basedir
="$srcdir/$with_multisrctop../.."
4614 multi_basedir
="$srcdir/$with_multisrctop.."
4617 multi_basedir
="$srcdir/.."
4621 # Even if the default multilib is not a cross compilation,
4622 # it may be that some of the other multilibs are.
4623 if test $cross_compiling = no
&& test $multilib = yes \
4624 && test "x${with_multisubdir}" != x
; then
4625 cross_compiling
=maybe
4628 ac_config_commands
="$ac_config_commands default-1"
4632 subdirs
="$subdirs plugin"
4636 ac_cpp
='$CPP $CPPFLAGS'
4637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4641 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4642 # On Suns, sometimes $CPP names a directory.
4643 if test -n "$CPP" && test -d "$CPP"; then
4646 if test -z "$CPP"; then
4647 if ${ac_cv_prog_CPP+:} false
; then :
4648 $as_echo_n "(cached) " >&6
4650 # Double quotes because CPP needs to be expanded
4651 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4654 for ac_c_preproc_warn_flag
in '' yes
4656 # Use a header file that comes with gcc, so configuring glibc
4657 # with a fresh cross-compiler works.
4658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4659 # <limits.h> exists even on freestanding compilers.
4660 # On the NeXT, cc -E runs the code through the compiler's parser,
4661 # not just through cpp. "Syntax error" is here to catch this case.
4662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4665 # include <limits.h>
4667 # include <assert.h>
4671 if ac_fn_c_try_cpp
"$LINENO"; then :
4674 # Broken: fails on valid input.
4677 rm -f conftest.err conftest.i conftest.
$ac_ext
4679 # OK, works on sane cases. Now check whether nonexistent headers
4680 # can be detected and how.
4681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4683 #include <ac_nonexistent.h>
4685 if ac_fn_c_try_cpp
"$LINENO"; then :
4686 # Broken: success on invalid input.
4689 # Passes both tests.
4693 rm -f conftest.err conftest.i conftest.
$ac_ext
4696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4697 rm -f conftest.i conftest.err conftest.
$ac_ext
4698 if $ac_preproc_ok; then :
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4711 $as_echo "$CPP" >&6; }
4713 for ac_c_preproc_warn_flag
in '' yes
4715 # Use a header file that comes with gcc, so configuring glibc
4716 # with a fresh cross-compiler works.
4717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4718 # <limits.h> exists even on freestanding compilers.
4719 # On the NeXT, cc -E runs the code through the compiler's parser,
4720 # not just through cpp. "Syntax error" is here to catch this case.
4721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4722 /* end confdefs.h. */
4724 # include <limits.h>
4726 # include <assert.h>
4730 if ac_fn_c_try_cpp
"$LINENO"; then :
4733 # Broken: fails on valid input.
4736 rm -f conftest.err conftest.i conftest.
$ac_ext
4738 # OK, works on sane cases. Now check whether nonexistent headers
4739 # can be detected and how.
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4742 #include <ac_nonexistent.h>
4744 if ac_fn_c_try_cpp
"$LINENO"; then :
4745 # Broken: success on invalid input.
4748 # Passes both tests.
4752 rm -f conftest.err conftest.i conftest.
$ac_ext
4755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4756 rm -f conftest.i conftest.err conftest.
$ac_ext
4757 if $ac_preproc_ok; then :
4760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4762 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4763 See \`config.log' for more details" "$LINENO" 5; }
4767 ac_cpp
='$CPP $CPPFLAGS'
4768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4774 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4775 if ${ac_cv_path_GREP+:} false
; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -z "$GREP"; then
4779 ac_path_GREP_found
=false
4780 # Loop through the user's path and test for each of PROGNAME-LIST
4781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4782 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4785 test -z "$as_dir" && as_dir
=.
4786 for ac_prog
in grep ggrep
; do
4787 for ac_exec_ext
in '' $ac_executable_extensions; do
4788 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4789 as_fn_executable_p
"$ac_path_GREP" ||
continue
4790 # Check for GNU ac_path_GREP and select it if it is found.
4791 # Check for GNU $ac_path_GREP
4792 case `"$ac_path_GREP" --version 2>&1` in
4794 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4797 $as_echo_n 0123456789 >"conftest.in"
4800 cat "conftest.in" "conftest.in" >"conftest.tmp"
4801 mv "conftest.tmp" "conftest.in"
4802 cp "conftest.in" "conftest.nl"
4803 $as_echo 'GREP' >> "conftest.nl"
4804 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4805 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4806 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4807 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4808 # Best one so far, save it but keep looking for a better one
4809 ac_cv_path_GREP
="$ac_path_GREP"
4810 ac_path_GREP_max
=$ac_count
4812 # 10*(2^10) chars as input seems more than enough
4813 test $ac_count -gt 10 && break
4815 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4818 $ac_path_GREP_found && break 3
4823 if test -z "$ac_cv_path_GREP"; then
4824 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4827 ac_cv_path_GREP
=$GREP
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4832 $as_echo "$ac_cv_path_GREP" >&6; }
4833 GREP
="$ac_cv_path_GREP"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4837 $as_echo_n "checking for egrep... " >&6; }
4838 if ${ac_cv_path_EGREP+:} false
; then :
4839 $as_echo_n "(cached) " >&6
4841 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4842 then ac_cv_path_EGREP
="$GREP -E"
4844 if test -z "$EGREP"; then
4845 ac_path_EGREP_found
=false
4846 # Loop through the user's path and test for each of PROGNAME-LIST
4847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4848 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4851 test -z "$as_dir" && as_dir
=.
4852 for ac_prog
in egrep; do
4853 for ac_exec_ext
in '' $ac_executable_extensions; do
4854 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4855 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4856 # Check for GNU ac_path_EGREP and select it if it is found.
4857 # Check for GNU $ac_path_EGREP
4858 case `"$ac_path_EGREP" --version 2>&1` in
4860 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4863 $as_echo_n 0123456789 >"conftest.in"
4866 cat "conftest.in" "conftest.in" >"conftest.tmp"
4867 mv "conftest.tmp" "conftest.in"
4868 cp "conftest.in" "conftest.nl"
4869 $as_echo 'EGREP' >> "conftest.nl"
4870 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4871 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4872 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4873 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4874 # Best one so far, save it but keep looking for a better one
4875 ac_cv_path_EGREP
="$ac_path_EGREP"
4876 ac_path_EGREP_max
=$ac_count
4878 # 10*(2^10) chars as input seems more than enough
4879 test $ac_count -gt 10 && break
4881 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4884 $ac_path_EGREP_found && break 3
4889 if test -z "$ac_cv_path_EGREP"; then
4890 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4893 ac_cv_path_EGREP
=$EGREP
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4899 $as_echo "$ac_cv_path_EGREP" >&6; }
4900 EGREP
="$ac_cv_path_EGREP"
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4904 $as_echo_n "checking for ANSI C header files... " >&6; }
4905 if ${ac_cv_header_stdc+:} false
; then :
4906 $as_echo_n "(cached) " >&6
4908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4923 if ac_fn_c_try_compile
"$LINENO"; then :
4924 ac_cv_header_stdc
=yes
4926 ac_cv_header_stdc
=no
4928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4930 if test $ac_cv_header_stdc = yes; then
4931 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4938 $EGREP "memchr" >/dev
/null
2>&1; then :
4941 ac_cv_header_stdc
=no
4947 if test $ac_cv_header_stdc = yes; then
4948 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4955 $EGREP "free" >/dev
/null
2>&1; then :
4958 ac_cv_header_stdc
=no
4964 if test $ac_cv_header_stdc = yes; then
4965 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4966 if test "$cross_compiling" = yes; then :
4969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4973 #if ((' ' & 0x0FF) == 0x020)
4974 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4975 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4977 # define ISLOWER(c) \
4978 (('a' <= (c) && (c) <= 'i') \
4979 || ('j' <= (c) && (c) <= 'r') \
4980 || ('s' <= (c) && (c) <= 'z'))
4981 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4984 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4989 for (i = 0; i < 256; i++)
4990 if (XOR (islower (i), ISLOWER (i))
4991 || toupper (i) != TOUPPER (i))
4996 if ac_fn_c_try_run
"$LINENO"; then :
4999 ac_cv_header_stdc
=no
5001 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5002 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5008 $as_echo "$ac_cv_header_stdc" >&6; }
5009 if test $ac_cv_header_stdc = yes; then
5011 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5015 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5016 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5017 inttypes.h stdint.h unistd.h
5019 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5020 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5022 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5023 cat >>confdefs.h
<<_ACEOF
5024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5032 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5033 if test "x$ac_cv_type_size_t" = xyes
; then :
5037 cat >>confdefs.h
<<_ACEOF
5038 #define size_t unsigned int
5043 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5044 # for constant arguments. Useless!
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5046 $as_echo_n "checking for working alloca.h... " >&6; }
5047 if ${ac_cv_working_alloca_h+:} false
; then :
5048 $as_echo_n "(cached) " >&6
5050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5056 char *p = (char *) alloca (2 * sizeof (int));
5062 if ac_fn_c_try_link
"$LINENO"; then :
5063 ac_cv_working_alloca_h
=yes
5065 ac_cv_working_alloca_h
=no
5067 rm -f core conftest.err conftest.
$ac_objext \
5068 conftest
$ac_exeext conftest.
$ac_ext
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5071 $as_echo "$ac_cv_working_alloca_h" >&6; }
5072 if test $ac_cv_working_alloca_h = yes; then
5074 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5079 $as_echo_n "checking for alloca... " >&6; }
5080 if ${ac_cv_func_alloca_works+:} false
; then :
5081 $as_echo_n "(cached) " >&6
5083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5086 # define alloca __builtin_alloca
5089 # include <malloc.h>
5090 # define alloca _alloca
5092 # ifdef HAVE_ALLOCA_H
5093 # include <alloca.h>
5098 # ifndef alloca /* predefined by HP cc +Olibcalls */
5099 void *alloca (size_t);
5109 char *p = (char *) alloca (1);
5115 if ac_fn_c_try_link
"$LINENO"; then :
5116 ac_cv_func_alloca_works
=yes
5118 ac_cv_func_alloca_works
=no
5120 rm -f core conftest.err conftest.
$ac_objext \
5121 conftest
$ac_exeext conftest.
$ac_ext
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5124 $as_echo "$ac_cv_func_alloca_works" >&6; }
5126 if test $ac_cv_func_alloca_works = yes; then
5128 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5131 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5132 # that cause trouble. Some versions do not even contain alloca or
5133 # contain a buggy version. If you still want to use their alloca,
5134 # use ar to extract alloca.o from them instead of compiling alloca.c.
5136 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5138 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5142 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5143 if ${ac_cv_os_cray+:} false
; then :
5144 $as_echo_n "(cached) " >&6
5146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5148 #if defined CRAY && ! defined CRAY2
5155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5156 $EGREP "webecray" >/dev
/null
2>&1; then :
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5165 $as_echo "$ac_cv_os_cray" >&6; }
5166 if test $ac_cv_os_cray = yes; then
5167 for ac_func
in _getb67 GETB67 getb67
; do
5168 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5169 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5170 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5172 cat >>confdefs.h
<<_ACEOF
5173 #define CRAY_STACKSEG_END $ac_func
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5183 $as_echo_n "checking stack direction for C alloca... " >&6; }
5184 if ${ac_cv_c_stack_direction+:} false
; then :
5185 $as_echo_n "(cached) " >&6
5187 if test "$cross_compiling" = yes; then :
5188 ac_cv_c_stack_direction
=0
5190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h. */
5192 $ac_includes_default
5194 find_stack_direction (int *addr, int depth)
5199 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5200 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5205 main (int argc, char **argv)
5207 return find_stack_direction (0, argc + !argv + 20) < 0;
5210 if ac_fn_c_try_run
"$LINENO"; then :
5211 ac_cv_c_stack_direction
=1
5213 ac_cv_c_stack_direction
=-1
5215 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5216 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5221 $as_echo "$ac_cv_c_stack_direction" >&6; }
5222 cat >>confdefs.h
<<_ACEOF
5223 #define STACK_DIRECTION $ac_cv_c_stack_direction
5229 for ac_header
in mm_malloc.h
5231 ac_fn_c_check_header_mongrel
"$LINENO" "mm_malloc.h" "ac_cv_header_mm_malloc_h" "$ac_includes_default"
5232 if test "x$ac_cv_header_mm_malloc_h" = xyes
; then :
5233 cat >>confdefs.h
<<_ACEOF
5234 #define HAVE_MM_MALLOC_H 1
5238 as_fn_error $?
"\"Couldn't find mm_malloc.h\"" "$LINENO" 5
5243 for ac_func
in __secure_getenv secure_getenv
5245 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5246 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5247 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5248 cat >>confdefs.h
<<_ACEOF
5249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5256 # Get target configure.
5257 .
${srcdir}/configure.tgt
5258 if test -n "$UNSUPPORTED"; then
5259 as_fn_error $?
"Configuration ${target} is unsupported" "$LINENO" 5
5262 if test "${multilib}" = "yes"; then
5263 multilib_arg
="--enable-multilib"
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
5269 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
5270 # Check whether --enable-version-specific-runtime-libs was given.
5271 if test "${enable_version_specific_runtime_libs+set}" = set; then :
5272 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
5273 yes) enable_version_specific_runtime_libs
=yes ;;
5274 no
) enable_version_specific_runtime_libs
=no
;;
5275 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
5278 enable_version_specific_runtime_libs
=no
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
5282 $as_echo "$enable_version_specific_runtime_libs" >&6; }
5284 # Make sure liboffloadmic is enabled
5285 case "$enable_liboffloadmic" in
5289 as_fn_error $?
"Liboffloadmic is disabled" "$LINENO" 5 ;;
5291 if test x
"$enable_liboffloadmic" = xhost
; then
5292 LIBOFFLOADMIC_HOST_TRUE
=
5293 LIBOFFLOADMIC_HOST_FALSE
='#'
5295 LIBOFFLOADMIC_HOST_TRUE
='#'
5296 LIBOFFLOADMIC_HOST_FALSE
=
5301 # Check whether --with-toolexeclibdir was given.
5302 if test "${with_toolexeclibdir+set}" = set; then :
5303 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5307 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5311 with_toolexeclibdir
=no
5316 # Calculate toolexeclibdir.
5317 # Also toolexecdir, though it's only used in toolexeclibdir.
5318 case ${enable_version_specific_runtime_libs} in
5320 # Need the gcc compiler version to know where to install libraries
5321 # and header files if --enable-version-specific-runtime-libs option
5323 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5324 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5327 if test -n "$with_cross_host" &&
5328 test x
"$with_cross_host" != x
"no"; then
5329 # Install a library built with a cross compiler in tooldir, not libdir.
5330 toolexecdir
='$(exec_prefix)/$(target_alias)'
5331 case ${with_toolexeclibdir} in
5333 toolexeclibdir
='$(toolexecdir)/lib'
5336 toolexeclibdir
=${with_toolexeclibdir}
5340 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5341 toolexeclibdir
='$(libdir)'
5343 multi_os_directory
=`$CC -print-multi-os-directory`
5344 case $multi_os_directory in
5345 .
) ;; # Avoid trailing /.
5346 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5358 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5363 macro_version
='2.2.7a'
5364 macro_revision
='1.3134'
5378 ltmain
="$ac_aux_dir/ltmain.sh"
5380 # Backslashify metacharacters that are still active within
5381 # double-quoted strings.
5382 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5384 # Same as above, but do not quote variable references.
5385 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5387 # Sed substitution to delay expansion of an escaped shell variable in a
5388 # double_quote_subst'ed string.
5389 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5391 # Sed substitution to delay expansion of an escaped single quote.
5392 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5394 # Sed substitution to avoid accidental globbing in evaled expressions
5395 no_glob_subst
='s/\*/\\\*/g'
5397 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5398 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5399 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5402 $as_echo_n "checking how to print strings... " >&6; }
5403 # Test print first, because it will be a builtin if present.
5404 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5405 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5407 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5410 # Use this function as a fallback that always works.
5411 func_fallback_echo ()
5413 eval 'cat <<_LTECHO_EOF
5417 ECHO='func_fallback_echo
'
5420 # func_echo_all arg...
5421 # Invoke $ECHO with all args, space-separated.
5428 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5429 $as_echo "printf" >&6; } ;;
5430 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5431 $as_echo "print -r" >&6; } ;;
5432 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5433 $as_echo "cat" >&6; } ;;
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5450 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5451 if ${ac_cv_path_SED+:} false; then :
5452 $as_echo_n "(cached) " >&6
5454 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5455 for ac_i in 1 2 3 4 5 6 7; do
5456 ac_script="$ac_script$as_nl$ac_script"
5458 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5459 { ac_script=; unset ac_script;}
5460 if test -z "$SED"; then
5461 ac_path_SED_found=false
5462 # Loop through the user's path and
test for each of PROGNAME-LIST
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_prog
in sed gsed
; do
5469 for ac_exec_ext
in '' $ac_executable_extensions; do
5470 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5471 as_fn_executable_p
"$ac_path_SED" ||
continue
5472 # Check for GNU ac_path_SED and select it if it is found.
5473 # Check for GNU $ac_path_SED
5474 case `"$ac_path_SED" --version 2>&1` in
5476 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5479 $as_echo_n 0123456789 >"conftest.in"
5482 cat "conftest.in" "conftest.in" >"conftest.tmp"
5483 mv "conftest.tmp" "conftest.in"
5484 cp "conftest.in" "conftest.nl"
5485 $as_echo '' >> "conftest.nl"
5486 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5487 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5488 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5489 if test $ac_count -gt ${ac_path_SED_max-0}; then
5490 # Best one so far, save it but keep looking for a better one
5491 ac_cv_path_SED
="$ac_path_SED"
5492 ac_path_SED_max
=$ac_count
5494 # 10*(2^10) chars as input seems more than enough
5495 test $ac_count -gt 10 && break
5497 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5500 $ac_path_SED_found && break 3
5505 if test -z "$ac_cv_path_SED"; then
5506 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5514 $as_echo "$ac_cv_path_SED" >&6; }
5515 SED
="$ac_cv_path_SED"
5518 test -z "$SED" && SED
=sed
5519 Xsed
="$SED -e 1s/^X//"
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5532 $as_echo_n "checking for fgrep... " >&6; }
5533 if ${ac_cv_path_FGREP+:} false
; then :
5534 $as_echo_n "(cached) " >&6
5536 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5537 then ac_cv_path_FGREP
="$GREP -F"
5539 if test -z "$FGREP"; then
5540 ac_path_FGREP_found
=false
5541 # Loop through the user's path and test for each of PROGNAME-LIST
5542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5543 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5546 test -z "$as_dir" && as_dir
=.
5547 for ac_prog
in fgrep
; do
5548 for ac_exec_ext
in '' $ac_executable_extensions; do
5549 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5550 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5551 # Check for GNU ac_path_FGREP and select it if it is found.
5552 # Check for GNU $ac_path_FGREP
5553 case `"$ac_path_FGREP" --version 2>&1` in
5555 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5558 $as_echo_n 0123456789 >"conftest.in"
5561 cat "conftest.in" "conftest.in" >"conftest.tmp"
5562 mv "conftest.tmp" "conftest.in"
5563 cp "conftest.in" "conftest.nl"
5564 $as_echo 'FGREP' >> "conftest.nl"
5565 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5566 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5567 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5568 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5569 # Best one so far, save it but keep looking for a better one
5570 ac_cv_path_FGREP
="$ac_path_FGREP"
5571 ac_path_FGREP_max
=$ac_count
5573 # 10*(2^10) chars as input seems more than enough
5574 test $ac_count -gt 10 && break
5576 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5579 $ac_path_FGREP_found && break 3
5584 if test -z "$ac_cv_path_FGREP"; then
5585 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5588 ac_cv_path_FGREP
=$FGREP
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5594 $as_echo "$ac_cv_path_FGREP" >&6; }
5595 FGREP
="$ac_cv_path_FGREP"
5598 test -z "$GREP" && GREP
=grep
5618 # Check whether --with-gnu-ld was given.
5619 if test "${with_gnu_ld+set}" = set; then :
5620 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5626 if test "$GCC" = yes; then
5627 # Check if gcc -print-prog-name=ld gives a path.
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5629 $as_echo_n "checking for ld used by $CC... " >&6; }
5632 # gcc leaves a trailing carriage return which upsets mingw
5633 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5635 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5638 # Accept absolute paths.
5640 re_direlt
='/[^/][^/]*/\.\./'
5641 # Canonicalize the pathname of ld
5642 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5643 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5644 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5646 test -z "$LD" && LD
="$ac_prog"
5649 # If it fails, then pretend we aren't using GCC.
5653 # If it is relative, then search for the first ld in PATH.
5657 elif test "$with_gnu_ld" = yes; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5659 $as_echo_n "checking for GNU ld... " >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5662 $as_echo_n "checking for non-GNU ld... " >&6; }
5664 if ${lt_cv_path_LD+:} false
; then :
5665 $as_echo_n "(cached) " >&6
5667 if test -z "$LD"; then
5668 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5669 for ac_dir
in $PATH; do
5671 test -z "$ac_dir" && ac_dir
=.
5672 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5673 lt_cv_path_LD
="$ac_dir/$ac_prog"
5674 # Check to see if the program is GNU ld. I'd rather use --version,
5675 # but apparently some variants of GNU ld only accept -v.
5676 # Break only if it was the GNU/non-GNU ld that we prefer.
5677 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5678 *GNU
* |
*'with BFD'*)
5679 test "$with_gnu_ld" != no
&& break
5682 test "$with_gnu_ld" != yes && break
5689 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5694 if test -n "$LD"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5696 $as_echo "$LD" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5701 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5703 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5704 if ${lt_cv_prog_gnu_ld+:} false
; then :
5705 $as_echo_n "(cached) " >&6
5707 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5708 case `$LD -v 2>&1 </dev/null` in
5709 *GNU
* |
*'with BFD'*)
5710 lt_cv_prog_gnu_ld
=yes
5713 lt_cv_prog_gnu_ld
=no
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5718 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5719 with_gnu_ld
=$lt_cv_prog_gnu_ld
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5730 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5731 if ${lt_cv_path_NM+:} false
; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -n "$NM"; then
5735 # Let the user override the test.
5738 lt_nm_to_check
="${ac_tool_prefix}nm"
5739 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5740 lt_nm_to_check
="$lt_nm_to_check nm"
5742 for lt_tmp_nm
in $lt_nm_to_check; do
5743 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5744 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5746 test -z "$ac_dir" && ac_dir
=.
5747 tmp_nm
="$ac_dir/$lt_tmp_nm"
5748 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5749 # Check to see if the nm accepts a BSD-compat flag.
5750 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5751 # nm: unknown option "B" ignored
5752 # Tru64's nm complains that /dev/null is an invalid object file
5753 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5754 */dev
/null
* |
*'Invalid file or object type'*)
5755 lt_cv_path_NM
="$tmp_nm -B"
5759 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5761 lt_cv_path_NM
="$tmp_nm -p"
5765 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5766 continue # so that we can try to find one that supports BSD flags
5775 : ${lt_cv_path_NM=no}
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5779 $as_echo "$lt_cv_path_NM" >&6; }
5780 if test "$lt_cv_path_NM" != "no"; then
5783 # Didn't find any BSD compatible name lister, look for dumpbin.
5784 if test -n "$DUMPBIN"; then :
5785 # Let the user override the test.
5787 if test -n "$ac_tool_prefix"; then
5788 for ac_prog
in dumpbin
"link -dump"
5790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5791 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5795 $as_echo_n "(cached) " >&6
5797 if test -n "$DUMPBIN"; then
5798 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5804 test -z "$as_dir" && as_dir
=.
5805 for ac_exec_ext
in '' $ac_executable_extensions; do
5806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5807 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 DUMPBIN
=$ac_cv_prog_DUMPBIN
5818 if test -n "$DUMPBIN"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5820 $as_echo "$DUMPBIN" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5827 test -n "$DUMPBIN" && break
5830 if test -z "$DUMPBIN"; then
5831 ac_ct_DUMPBIN
=$DUMPBIN
5832 for ac_prog
in dumpbin
"link -dump"
5834 # Extract the first word of "$ac_prog", so it can be a program name with args.
5835 set dummy
$ac_prog; ac_word
=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5839 $as_echo_n "(cached) " >&6
5841 if test -n "$ac_ct_DUMPBIN"; then
5842 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir
=.
5849 for ac_exec_ext
in '' $ac_executable_extensions; do
5850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5862 if test -n "$ac_ct_DUMPBIN"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5864 $as_echo "$ac_ct_DUMPBIN" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5871 test -n "$ac_ct_DUMPBIN" && break
5874 if test "x$ac_ct_DUMPBIN" = x
; then
5877 case $cross_compiling:$ac_tool_warned in
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5881 ac_tool_warned
=yes ;;
5883 DUMPBIN
=$ac_ct_DUMPBIN
5887 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5889 DUMPBIN
="$DUMPBIN -symbols"
5897 if test "$DUMPBIN" != ":"; then
5901 test -z "$NM" && NM
=nm
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5909 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5910 if ${lt_cv_nm_interface+:} false
; then :
5911 $as_echo_n "(cached) " >&6
5913 lt_cv_nm_interface
="BSD nm"
5914 echo "int some_variable = 0;" > conftest.
$ac_ext
5915 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5916 (eval "$ac_compile" 2>conftest.err
)
5917 cat conftest.err
>&5
5918 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5919 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5920 cat conftest.err
>&5
5921 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5922 cat conftest.out
>&5
5923 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5924 lt_cv_nm_interface
="MS dumpbin"
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5929 $as_echo "$lt_cv_nm_interface" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5932 $as_echo_n "checking whether ln -s works... " >&6; }
5934 if test "$LN_S" = "ln -s"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5936 $as_echo "yes" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5939 $as_echo "no, using $LN_S" >&6; }
5942 # find the maximum length of command line arguments
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5944 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5945 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5946 $as_echo_n "(cached) " >&6
5953 # On DJGPP, this test can blow up pretty badly due to problems in libc
5954 # (any single argument exceeding 2000 bytes causes a buffer overrun
5955 # during glob expansion). Even if it were fixed, the result of this
5956 # check would be larger than it should be.
5957 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5961 # Under GNU Hurd, this test is not required because there is
5962 # no limit to the length of command line arguments.
5963 # Libtool will interpret -1 as no limit whatsoever
5964 lt_cv_sys_max_cmd_len
=-1;
5967 cygwin
* | mingw
* | cegcc
*)
5968 # On Win9x/ME, this test blows up -- it succeeds, but takes
5969 # about 5 minutes as the teststring grows exponentially.
5970 # Worse, since 9x/ME are not pre-emptively multitasking,
5971 # you end up with a "frozen" computer, even though with patience
5972 # the test eventually succeeds (with a max line length of 256k).
5973 # Instead, let's just punt: use the minimum linelength reported by
5974 # all of the supported platforms: 8192 (on NT/2K/XP).
5975 lt_cv_sys_max_cmd_len
=8192;
5979 # On MiNT this can take a long time and run out of memory.
5980 lt_cv_sys_max_cmd_len
=8192;
5984 # On AmigaOS with pdksh, this test takes hours, literally.
5985 # So we just punt and use a minimum line length of 8192.
5986 lt_cv_sys_max_cmd_len
=8192;
5989 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5990 # This has been around since 386BSD, at least. Likely further.
5991 if test -x /sbin
/sysctl
; then
5992 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5993 elif test -x /usr
/sbin
/sysctl
; then
5994 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5996 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5998 # And add a safety zone
5999 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6000 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6004 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6005 lt_cv_sys_max_cmd_len
=196608
6009 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6010 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6011 # nice to cause kernel panics so lets avoid the loop below.
6012 # First set a reasonable default.
6013 lt_cv_sys_max_cmd_len
=16384
6015 if test -x /sbin
/sysconfig
; then
6016 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6017 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6022 lt_cv_sys_max_cmd_len
=102400
6024 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6025 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6026 if test -n "$kargmax"; then
6027 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6029 lt_cv_sys_max_cmd_len
=32768
6033 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6034 if test -n "$lt_cv_sys_max_cmd_len"; then
6035 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6036 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6038 # Make teststring a little bigger before we do anything with it.
6039 # a 1K string should be a reasonable start.
6040 for i
in 1 2 3 4 5 6 7 8 ; do
6041 teststring
=$teststring$teststring
6043 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6044 # If test is not a shell built-in, we'll probably end up computing a
6045 # maximum length that is only half of the actual maximum length, but
6047 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6048 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6049 test $i != 17 # 1/2 MB should be enough
6052 teststring
=$teststring$teststring
6054 # Only check the string length outside the loop.
6055 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6057 # Add a significant safety factor because C++ compilers can tack on
6058 # massive amounts of additional arguments before passing them to the
6059 # linker. It appears as though 1/2 is a usable value.
6060 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6067 if test -n $lt_cv_sys_max_cmd_len ; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6069 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6072 $as_echo "none" >&6; }
6074 max_cmd_len
=$lt_cv_sys_max_cmd_len
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6086 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6087 # Try some XSI features
6090 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6092 && eval 'test $(( 1 + 1 )) -eq 2 \
6093 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6096 $as_echo "$xsi_shell" >&6; }
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6100 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6102 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6104 && lt_shell_append=yes
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6106 $as_echo "$lt_shell_append" >&6; }
6109 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6119 # test EBCDIC or ASCII
6120 case `echo X|tr X '\101'` in
6121 A) # ASCII based system
6122 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6123 lt_SP2NL='tr \040 \012'
6124 lt_NL2SP='tr \015\012 \040\040'
6126 *) # EBCDIC based system
6127 lt_SP2NL='tr \100 \n'
6128 lt_NL2SP='tr \r\n \100\100'
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6141 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6142 if ${lt_cv_ld_reload_flag+:} false; then :
6143 $as_echo_n "(cached
) " >&6
6145 lt_cv_ld_reload_flag='-r'
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6148 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6149 reload_flag=$lt_cv_ld_reload_flag
6150 case $reload_flag in
6152 *) reload_flag=" $reload_flag" ;;
6154 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6157 if test "$GCC" = yes; then
6158 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6160 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6173 if test -n "$ac_tool_prefix"; then
6174 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6175 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6177 $as_echo_n "checking
for $ac_word...
" >&6; }
6178 if ${ac_cv_prog_OBJDUMP+:} false; then :
6179 $as_echo_n "(cached
) " >&6
6181 if test -n "$OBJDUMP"; then
6182 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 test -z "$as_dir" && as_dir=.
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6191 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6192 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6201 OBJDUMP=$ac_cv_prog_OBJDUMP
6202 if test -n "$OBJDUMP"; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6204 $as_echo "$OBJDUMP" >&6; }
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6207 $as_echo "no
" >&6; }
6212 if test -z "$ac_cv_prog_OBJDUMP"; then
6213 ac_ct_OBJDUMP=$OBJDUMP
6214 # Extract the first word of "objdump
", so it can be a program name with args.
6215 set dummy objdump; ac_word=$2
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6217 $as_echo_n "checking
for $ac_word...
" >&6; }
6218 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6219 $as_echo_n "(cached
) " >&6
6221 if test -n "$ac_ct_OBJDUMP"; then
6222 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 test -z "$as_dir" && as_dir=.
6229 for ac_exec_ext in '' $ac_executable_extensions; do
6230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6231 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6241 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6242 if test -n "$ac_ct_OBJDUMP"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6244 $as_echo "$ac_ct_OBJDUMP" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6247 $as_echo "no
" >&6; }
6250 if test "x
$ac_ct_OBJDUMP" = x; then
6253 case $cross_compiling:$ac_tool_warned in
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6256 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6257 ac_tool_warned=yes ;;
6259 OBJDUMP=$ac_ct_OBJDUMP
6262 OBJDUMP="$ac_cv_prog_OBJDUMP"
6265 test -z "$OBJDUMP" && OBJDUMP=objdump
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6276 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6277 if ${lt_cv_deplibs_check_method+:} false; then :
6278 $as_echo_n "(cached
) " >&6
6280 lt_cv_file_magic_cmd='$MAGIC_CMD'
6281 lt_cv_file_magic_test_file=
6282 lt_cv_deplibs_check_method='unknown'
6283 # Need to set the preceding variable on all platforms that support
6284 # interlibrary dependencies.
6285 # 'none' -- dependencies not supported.
6286 # `unknown' -- same as none, but documents that we really don't know.
6287 # 'pass_all' -- all dependencies passed with no checks.
6288 # 'test_compile' -- check by making test program.
6289 # 'file_magic [[regex]]' -- check by looking for files in library path
6290 # which responds to the $file_magic_cmd with a given extended regex.
6291 # If you have `file' or equivalent on your system and you're not sure
6292 # whether `pass_all' will *always* work, you probably want this one.
6296 lt_cv_deplibs_check_method=pass_all
6300 lt_cv_deplibs_check_method=pass_all
6304 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6305 lt_cv_file_magic_cmd='/usr/bin/file -L'
6306 lt_cv_file_magic_test_file=/shlib/libc.so
6310 # func_win32_libid is a shell function defined in ltmain.sh
6311 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6312 lt_cv_file_magic_cmd='func_win32_libid'
6316 # Base MSYS/MinGW do not provide the 'file' command needed by
6317 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6318 # unless we find 'file', for example because we are cross-compiling.
6319 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6320 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6321 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6322 lt_cv_file_magic_cmd='func_win32_libid'
6324 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6325 lt_cv_file_magic_cmd='$OBJDUMP -f'
6330 # use the weaker test based on 'objdump'. See mingw*.
6331 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6332 lt_cv_file_magic_cmd='$OBJDUMP -f'
6335 darwin* | rhapsody*)
6336 lt_cv_deplibs_check_method=pass_all
6339 freebsd* | dragonfly*)
6340 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6343 # Not sure whether the presence of OpenBSD here was a mistake.
6344 # Let's accept both of them until this is cleared up.
6345 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6346 lt_cv_file_magic_cmd=/usr/bin/file
6347 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6351 lt_cv_deplibs_check_method=pass_all
6356 lt_cv_deplibs_check_method=pass_all
6360 lt_cv_deplibs_check_method=pass_all
6363 hpux10.20* | hpux11*)
6364 lt_cv_file_magic_cmd=/usr/bin/file
6367 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6368 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6371 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]'
6372 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6376 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6382 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6383 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6386 irix5* | irix6* | nonstopux*)
6388 *-32|*"-32 ") libmagic=32-bit;;
6389 *-n32|*"-n32 ") libmagic=N32;;
6390 *-64|*"-64 ") libmagic=64-bit;;
6391 *) libmagic=never-match;;
6393 lt_cv_deplibs_check_method=pass_all
6396 # This must be Linux ELF.
6397 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6398 lt_cv_deplibs_check_method=pass_all
6402 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6405 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6410 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6411 lt_cv_file_magic_cmd=/usr/bin/file
6412 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6416 lt_cv_deplibs_check_method=pass_all
6420 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6421 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6423 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6427 osf3* | osf4* | osf5*)
6428 lt_cv_deplibs_check_method=pass_all
6432 lt_cv_deplibs_check_method=pass_all
6436 lt_cv_deplibs_check_method=pass_all
6439 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6440 lt_cv_deplibs_check_method=pass_all
6444 case $host_vendor in
6446 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]'
6447 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6450 lt_cv_deplibs_check_method=pass_all
6453 lt_cv_file_magic_cmd='/bin/file'
6454 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6457 lt_cv_file_magic_cmd='/bin/file'
6458 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6459 lt_cv_file_magic_test_file=/lib/libc.so
6462 lt_cv_deplibs_check_method=pass_all
6465 lt_cv_deplibs_check_method=pass_all
6471 lt_cv_deplibs_check_method=pass_all
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6477 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6478 file_magic_cmd=$lt_cv_file_magic_cmd
6479 deplibs_check_method=$lt_cv_deplibs_check_method
6480 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6493 if test -n "$ac_tool_prefix"; then
6494 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6495 set dummy ${ac_tool_prefix}ar; ac_word=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6497 $as_echo_n "checking
for $ac_word...
" >&6; }
6498 if ${ac_cv_prog_AR+:} false; then :
6499 $as_echo_n "(cached
) " >&6
6501 if test -n "$AR"; then
6502 ac_cv_prog_AR="$AR" # Let the user override the test.
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 test -z "$as_dir" && as_dir=.
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_AR="${ac_tool_prefix}ar"
6512 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6522 if test -n "$AR"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6524 $as_echo "$AR" >&6; }
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6527 $as_echo "no
" >&6; }
6532 if test -z "$ac_cv_prog_AR"; then
6534 # Extract the first word of "ar", so it can be a program name with args.
6535 set dummy ar; ac_word=$2
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6537 $as_echo_n "checking
for $ac_word...
" >&6; }
6538 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6539 $as_echo_n "(cached
) " >&6
6541 if test -n "$ac_ct_AR"; then
6542 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_ac_ct_AR="ar"
6552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6561 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6562 if test -n "$ac_ct_AR"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6564 $as_echo "$ac_ct_AR" >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6567 $as_echo "no
" >&6; }
6570 if test "x
$ac_ct_AR" = x; then
6573 case $cross_compiling:$ac_tool_warned in
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6576 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6577 ac_tool_warned=yes ;;
6585 test -z "$AR" && AR=ar
6586 test -z "$AR_FLAGS" && AR_FLAGS=cru
6598 if test -n "$ac_tool_prefix"; then
6599 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6600 set dummy ${ac_tool_prefix}strip; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6602 $as_echo_n "checking
for $ac_word...
" >&6; }
6603 if ${ac_cv_prog_STRIP+:} false; then :
6604 $as_echo_n "(cached
) " >&6
6606 if test -n "$STRIP"; then
6607 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6616 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6626 STRIP=$ac_cv_prog_STRIP
6627 if test -n "$STRIP"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6629 $as_echo "$STRIP" >&6; }
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6632 $as_echo "no
" >&6; }
6637 if test -z "$ac_cv_prog_STRIP"; then
6639 # Extract the first word of "strip
", so it can be a program name with args.
6640 set dummy strip; ac_word=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6642 $as_echo_n "checking
for $ac_word...
" >&6; }
6643 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6644 $as_echo_n "(cached
) " >&6
6646 if test -n "$ac_ct_STRIP"; then
6647 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir=.
6654 for ac_exec_ext in '' $ac_executable_extensions; do
6655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6656 ac_cv_prog_ac_ct_STRIP="strip
"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6666 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6667 if test -n "$ac_ct_STRIP"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6669 $as_echo "$ac_ct_STRIP" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6672 $as_echo "no
" >&6; }
6675 if test "x
$ac_ct_STRIP" = x; then
6678 case $cross_compiling:$ac_tool_warned in
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6681 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6682 ac_tool_warned=yes ;;
6687 STRIP="$ac_cv_prog_STRIP"
6690 test -z "$STRIP" && STRIP=:
6697 if test -n "$ac_tool_prefix"; then
6698 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6699 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6701 $as_echo_n "checking
for $ac_word...
" >&6; }
6702 if ${ac_cv_prog_RANLIB+:} false; then :
6703 $as_echo_n "(cached
) " >&6
6705 if test -n "$RANLIB"; then
6706 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 test -z "$as_dir" && as_dir=.
6713 for ac_exec_ext in '' $ac_executable_extensions; do
6714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6715 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6725 RANLIB=$ac_cv_prog_RANLIB
6726 if test -n "$RANLIB"; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6728 $as_echo "$RANLIB" >&6; }
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6731 $as_echo "no
" >&6; }
6736 if test -z "$ac_cv_prog_RANLIB"; then
6737 ac_ct_RANLIB=$RANLIB
6738 # Extract the first word of "ranlib
", so it can be a program name with args.
6739 set dummy ranlib; ac_word=$2
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6741 $as_echo_n "checking
for $ac_word...
" >&6; }
6742 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6743 $as_echo_n "(cached
) " >&6
6745 if test -n "$ac_ct_RANLIB"; then
6746 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752 test -z "$as_dir" && as_dir=.
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6765 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6766 if test -n "$ac_ct_RANLIB"; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6768 $as_echo "$ac_ct_RANLIB" >&6; }
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6771 $as_echo "no
" >&6; }
6774 if test "x
$ac_ct_RANLIB" = x; then
6777 case $cross_compiling:$ac_tool_warned in
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6780 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6781 ac_tool_warned=yes ;;
6783 RANLIB=$ac_ct_RANLIB
6786 RANLIB="$ac_cv_prog_RANLIB"
6789 test -z "$RANLIB" && RANLIB=:
6796 # Determine commands to create old-style static archives.
6797 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6798 old_postinstall_cmds='chmod 644 $oldlib'
6799 old_postuninstall_cmds=
6801 if test -n "$RANLIB"; then
6804 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6807 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6810 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6815 lock_old_archive_extraction=yes ;;
6817 lock_old_archive_extraction=no ;;
6858 # If no C compiler was specified, use CC.
6861 # If no C compiler flags were specified, use CFLAGS.
6862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6864 # Allow CC to be a program name with arguments.
6868 # Check for command to grab the raw symbol name followed by C symbol from nm.
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6870 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6871 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6872 $as_echo_n "(cached
) " >&6
6875 # These are sane defaults that work on at least a few old systems.
6876 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6878 # Character class describing NM global symbol codes.
6879 symcode='[BCDEGRST]'
6881 # Regexp to match symbols that can be accessed directly from C.
6882 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6884 # Define system-specific variables.
6889 cygwin* | mingw* | pw32* | cegcc*)
6890 symcode='[ABCDGISTW]'
6893 if test "$host_cpu" = ia64; then
6894 symcode='[ABCDEGRST]'
6898 symcode='[BCDEGRST]'
6901 symcode='[BCDEGQRST]'
6912 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6920 # If we're using GNU nm, then use its standard symbol codes.
6921 case `$NM -V 2>&1` in
6922 *GNU* | *'with BFD'*)
6923 symcode='[ABCDGIRSTW]' ;;
6926 # Transform an extracted symbol line into a proper C declaration.
6927 # Some systems (esp. on ia64) link data and code symbols differently,
6928 # so use this general approach.
6929 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6931 # Transform an extracted symbol line into symbol name and symbol address
6932 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6933 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'"
6935 # Handle CRLF in mingw tool chain
6939 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6943 # Try without a prefix underscore, then with it.
6944 for ac_symprfx in "" "_
"; do
6946 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6947 symxfrm="\\1 $ac_symprfx\\2 \\2"
6949 # Write the raw and C identifiers.
6950 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6951 # Fake it for dumpbin and say T for any non-static function
6952 # and D for any global variable.
6953 # Also find C++ and __fastcall symbols from MSVC++,
6954 # which start with @ or ?.
6955 lt_cv_sys_global_symbol_pipe="$AWK '"\
6956 " {last_section=section; section=\$ 3};"\
6957 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6958 " \$ 0!~/External *\|/{next};"\
6959 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6960 " {if(hide[section]) next};"\
6961 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6962 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6963 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6964 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6965 " ' prfx
=^
$ac_symprfx"
6967 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6970 # Check to see that the pipe works correctly.
6974 cat > conftest.$ac_ext <<_LT_EOF
6979 void nm_test_func(void);
6980 void nm_test_func(void){}
6984 int main(){nm_test_var='a';nm_test_func();return(0);}
6987 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6988 (eval $ac_compile) 2>&5
6990 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6991 test $ac_status = 0; }; then
6992 # Now try to grab the symbols.
6994 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6995 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6997 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6998 test $ac_status = 0; } && test -s "$nlist"; then
6999 # Try sorting and uniquifying the output.
7000 if sort "$nlist" | uniq > "$nlist"T; then
7001 mv -f "$nlist"T "$nlist"
7006 # Make sure that we snagged all the symbols we need.
7007 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7008 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7009 cat <<_LT_EOF > conftest.$ac_ext
7015 # Now generate the symbol file.
7016 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7018 cat <<_LT_EOF >> conftest.$ac_ext
7020 /* The mapping between symbol names and symbols. */
7025 lt__PROGRAM__LTX_preloaded_symbols[] =
7027 { "@PROGRAM@
", (void *) 0 },
7029 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7030 cat <<\_LT_EOF >> conftest.$ac_ext
7034 /* This works around a problem in FreeBSD linker */
7035 #ifdef FREEBSD_WORKAROUND
7036 static const void *lt_preloaded_setup() {
7037 return lt__PROGRAM__LTX_preloaded_symbols;
7045 # Now try linking the two files.
7046 mv conftest.$ac_objext conftstm.$ac_objext
7047 lt_save_LIBS="$LIBS"
7048 lt_save_CFLAGS="$CFLAGS"
7049 LIBS="conftstm.
$ac_objext"
7050 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7051 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7052 (eval $ac_link) 2>&5
7054 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7055 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7058 LIBS="$lt_save_LIBS"
7059 CFLAGS="$lt_save_CFLAGS"
7061 echo "cannot
find nm_test_func
in $nlist" >&5
7064 echo "cannot
find nm_test_var
in $nlist" >&5
7067 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7070 echo "$progname: failed program was
:" >&5
7071 cat conftest.$ac_ext >&5
7073 rm -rf conftest* conftst*
7075 # Do not use the global_symbol_pipe unless it works.
7076 if test "$pipe_works" = yes; then
7079 lt_cv_sys_global_symbol_pipe=
7085 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7086 lt_cv_sys_global_symbol_to_cdecl=
7088 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7090 $as_echo "failed
" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7093 $as_echo "ok
" >&6; }
7117 # Check whether --enable-libtool-lock was given.
7118 if test "${enable_libtool_lock+set}" = set; then :
7119 enableval=$enable_libtool_lock;
7122 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7124 # Some flags need to be propagated to the compiler or linker for good
7128 # Find out which ABI we are using.
7129 echo 'int i;' > conftest.$ac_ext
7130 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7131 (eval $ac_compile) 2>&5
7133 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7134 test $ac_status = 0; }; then
7135 case `/usr/bin/file conftest.$ac_objext` in
7147 # Find out which ABI we are using.
7148 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7149 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 if test "$lt_cv_prog_gnu_ld" = yes; then
7155 case `/usr/bin/file conftest.$ac_objext` in
7157 LD="${LD-ld} -melf32bsmip"
7160 LD="${LD-ld} -melf32bmipn32"
7163 LD="${LD-ld} -melf64bmip"
7167 case `/usr/bin/file conftest.$ac_objext` in
7183 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7184 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7185 # Find out which ABI we are using.
7186 echo 'int i;' > conftest.$ac_ext
7187 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7188 (eval $ac_compile) 2>&5
7190 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7191 test $ac_status = 0; }; then
7192 case `/usr/bin/file conftest.o` in
7195 x86_64-*kfreebsd*-gnu)
7196 LD="${LD-ld} -m elf_i386_fbsd
"
7199 case `/usr/bin/file conftest.o` in
7201 LD="${LD-ld} -m elf32_x86_64
"
7204 LD="${LD-ld} -m elf_i386
"
7208 powerpc64le-*linux*)
7209 LD="${LD-ld} -m elf32lppclinux
"
7212 LD="${LD-ld} -m elf32ppclinux
"
7215 LD="${LD-ld} -m elf_s390
"
7218 LD="${LD-ld} -m elf32_sparc
"
7224 x86_64-*kfreebsd*-gnu)
7225 LD="${LD-ld} -m elf_x86_64_fbsd
"
7228 LD="${LD-ld} -m elf_x86_64
"
7231 LD="${LD-ld} -m elf64lppc
"
7234 LD="${LD-ld} -m elf64ppc
"
7236 s390*-*linux*|s390*-*tpf*)
7237 LD="${LD-ld} -m elf64_s390
"
7240 LD="${LD-ld} -m elf64_sparc
"
7250 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7251 SAVE_CFLAGS="$CFLAGS"
7252 CFLAGS="$CFLAGS -belf"
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7254 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7255 if ${lt_cv_cc_needs_belf+:} false; then :
7256 $as_echo_n "(cached
) " >&6
7259 ac_cpp='$CPP $CPPFLAGS'
7260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7275 if ac_fn_c_try_link "$LINENO"; then :
7276 lt_cv_cc_needs_belf=yes
7278 lt_cv_cc_needs_belf=no
7280 rm -f core conftest.err conftest.$ac_objext \
7281 conftest$ac_exeext conftest.$ac_ext
7283 ac_cpp='$CPP $CPPFLAGS'
7284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7290 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7291 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7292 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7293 CFLAGS="$SAVE_CFLAGS"
7297 # Find out which ABI we are using.
7298 echo 'int i;' > conftest.$ac_ext
7299 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7300 (eval $ac_compile) 2>&5
7302 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7303 test $ac_status = 0; }; then
7304 case `/usr/bin/file conftest.o` in
7306 case $lt_cv_prog_gnu_ld in
7307 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7309 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7321 need_locks="$enable_libtool_lock"
7325 rhapsody* | darwin*)
7326 if test -n "$ac_tool_prefix"; then
7327 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7328 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7330 $as_echo_n "checking
for $ac_word...
" >&6; }
7331 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7332 $as_echo_n "(cached
) " >&6
7334 if test -n "$DSYMUTIL"; then
7335 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7354 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7355 if test -n "$DSYMUTIL"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7357 $as_echo "$DSYMUTIL" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7360 $as_echo "no
" >&6; }
7365 if test -z "$ac_cv_prog_DSYMUTIL"; then
7366 ac_ct_DSYMUTIL=$DSYMUTIL
7367 # Extract the first word of "dsymutil
", so it can be a program name with args.
7368 set dummy dsymutil; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7370 $as_echo_n "checking
for $ac_word...
" >&6; }
7371 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7372 $as_echo_n "(cached
) " >&6
7374 if test -n "$ac_ct_DSYMUTIL"; then
7375 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7394 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7395 if test -n "$ac_ct_DSYMUTIL"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7397 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7400 $as_echo "no
" >&6; }
7403 if test "x
$ac_ct_DSYMUTIL" = x; then
7406 case $cross_compiling:$ac_tool_warned in
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7409 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7410 ac_tool_warned=yes ;;
7412 DSYMUTIL=$ac_ct_DSYMUTIL
7415 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7418 if test -n "$ac_tool_prefix"; then
7419 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7420 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7422 $as_echo_n "checking
for $ac_word...
" >&6; }
7423 if ${ac_cv_prog_NMEDIT+:} false; then :
7424 $as_echo_n "(cached
) " >&6
7426 if test -n "$NMEDIT"; then
7427 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7436 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7446 NMEDIT=$ac_cv_prog_NMEDIT
7447 if test -n "$NMEDIT"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7449 $as_echo "$NMEDIT" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7452 $as_echo "no
" >&6; }
7457 if test -z "$ac_cv_prog_NMEDIT"; then
7458 ac_ct_NMEDIT=$NMEDIT
7459 # Extract the first word of "nmedit
", so it can be a program name with args.
7460 set dummy nmedit; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7462 $as_echo_n "checking
for $ac_word...
" >&6; }
7463 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7464 $as_echo_n "(cached
) " >&6
7466 if test -n "$ac_ct_NMEDIT"; then
7467 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 test -z "$as_dir" && as_dir=.
7474 for ac_exec_ext in '' $ac_executable_extensions; do
7475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7476 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7486 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7487 if test -n "$ac_ct_NMEDIT"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7489 $as_echo "$ac_ct_NMEDIT" >&6; }
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7492 $as_echo "no
" >&6; }
7495 if test "x
$ac_ct_NMEDIT" = x; then
7498 case $cross_compiling:$ac_tool_warned in
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7501 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7502 ac_tool_warned=yes ;;
7504 NMEDIT=$ac_ct_NMEDIT
7507 NMEDIT="$ac_cv_prog_NMEDIT"
7510 if test -n "$ac_tool_prefix"; then
7511 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7512 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7514 $as_echo_n "checking
for $ac_word...
" >&6; }
7515 if ${ac_cv_prog_LIPO+:} false; then :
7516 $as_echo_n "(cached
) " >&6
7518 if test -n "$LIPO"; then
7519 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7528 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7538 LIPO=$ac_cv_prog_LIPO
7539 if test -n "$LIPO"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7541 $as_echo "$LIPO" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7544 $as_echo "no
" >&6; }
7549 if test -z "$ac_cv_prog_LIPO"; then
7551 # Extract the first word of "lipo
", so it can be a program name with args.
7552 set dummy lipo; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7554 $as_echo_n "checking
for $ac_word...
" >&6; }
7555 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7556 $as_echo_n "(cached
) " >&6
7558 if test -n "$ac_ct_LIPO"; then
7559 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_ac_ct_LIPO="lipo
"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7578 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7579 if test -n "$ac_ct_LIPO"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7581 $as_echo "$ac_ct_LIPO" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7584 $as_echo "no
" >&6; }
7587 if test "x
$ac_ct_LIPO" = x; then
7590 case $cross_compiling:$ac_tool_warned in
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7593 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7594 ac_tool_warned=yes ;;
7599 LIPO="$ac_cv_prog_LIPO"
7602 if test -n "$ac_tool_prefix"; then
7603 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7604 set dummy ${ac_tool_prefix}otool; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7606 $as_echo_n "checking
for $ac_word...
" >&6; }
7607 if ${ac_cv_prog_OTOOL+:} false; then :
7608 $as_echo_n "(cached
) " >&6
7610 if test -n "$OTOOL"; then
7611 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7620 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7630 OTOOL=$ac_cv_prog_OTOOL
7631 if test -n "$OTOOL"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7633 $as_echo "$OTOOL" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7636 $as_echo "no
" >&6; }
7641 if test -z "$ac_cv_prog_OTOOL"; then
7643 # Extract the first word of "otool
", so it can be a program name with args.
7644 set dummy otool; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7646 $as_echo_n "checking
for $ac_word...
" >&6; }
7647 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7648 $as_echo_n "(cached
) " >&6
7650 if test -n "$ac_ct_OTOOL"; then
7651 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657 test -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7660 ac_cv_prog_ac_ct_OTOOL="otool
"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7670 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7671 if test -n "$ac_ct_OTOOL"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7673 $as_echo "$ac_ct_OTOOL" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7676 $as_echo "no
" >&6; }
7679 if test "x
$ac_ct_OTOOL" = x; then
7682 case $cross_compiling:$ac_tool_warned in
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7685 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7686 ac_tool_warned=yes ;;
7691 OTOOL="$ac_cv_prog_OTOOL"
7694 if test -n "$ac_tool_prefix"; then
7695 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7696 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7698 $as_echo_n "checking
for $ac_word...
" >&6; }
7699 if ${ac_cv_prog_OTOOL64+:} false; then :
7700 $as_echo_n "(cached
) " >&6
7702 if test -n "$OTOOL64"; then
7703 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7709 test -z "$as_dir" && as_dir=.
7710 for ac_exec_ext in '' $ac_executable_extensions; do
7711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7712 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7722 OTOOL64=$ac_cv_prog_OTOOL64
7723 if test -n "$OTOOL64"; then
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7725 $as_echo "$OTOOL64" >&6; }
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7728 $as_echo "no
" >&6; }
7733 if test -z "$ac_cv_prog_OTOOL64"; then
7734 ac_ct_OTOOL64=$OTOOL64
7735 # Extract the first word of "otool64
", so it can be a program name with args.
7736 set dummy otool64; ac_word=$2
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7738 $as_echo_n "checking
for $ac_word...
" >&6; }
7739 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7740 $as_echo_n "(cached
) " >&6
7742 if test -n "$ac_ct_OTOOL64"; then
7743 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749 test -z "$as_dir" && as_dir=.
7750 for ac_exec_ext in '' $ac_executable_extensions; do
7751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7752 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7762 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7763 if test -n "$ac_ct_OTOOL64"; then
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7765 $as_echo "$ac_ct_OTOOL64" >&6; }
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7768 $as_echo "no
" >&6; }
7771 if test "x
$ac_ct_OTOOL64" = x; then
7774 case $cross_compiling:$ac_tool_warned in
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7777 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7778 ac_tool_warned=yes ;;
7780 OTOOL64=$ac_ct_OTOOL64
7783 OTOOL64="$ac_cv_prog_OTOOL64"
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7813 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7814 if ${lt_cv_apple_cc_single_mod+:} false; then :
7815 $as_echo_n "(cached
) " >&6
7817 lt_cv_apple_cc_single_mod=no
7818 if test -z "${LT_MULTI_MODULE}"; then
7819 # By default we will add the -single_module flag. You can override
7820 # by either setting the environment variable LT_MULTI_MODULE
7821 # non-empty at configure time, or by adding -multi_module to the
7823 rm -rf libconftest.dylib*
7824 echo "int foo
(void
){return 1;}" > conftest.c
7825 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7826 -dynamiclib -Wl,-single_module conftest.c
" >&5
7827 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7828 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7830 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7831 lt_cv_apple_cc_single_mod=yes
7833 cat conftest.err >&5
7835 rm -rf libconftest.dylib*
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7840 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7842 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7843 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7844 $as_echo_n "(cached
) " >&6
7846 lt_cv_ld_exported_symbols_list=no
7847 save_LDFLAGS=$LDFLAGS
7848 echo "_main
" > conftest.sym
7849 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7861 if ac_fn_c_try_link "$LINENO"; then :
7862 lt_cv_ld_exported_symbols_list=yes
7864 lt_cv_ld_exported_symbols_list=no
7866 rm -f core conftest.err conftest.$ac_objext \
7867 conftest$ac_exeext conftest.$ac_ext
7868 LDFLAGS="$save_LDFLAGS"
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7872 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7874 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7875 if ${lt_cv_ld_force_load+:} false; then :
7876 $as_echo_n "(cached
) " >&6
7878 lt_cv_ld_force_load=no
7879 cat > conftest.c << _LT_EOF
7880 int forced_loaded() { return 2;}
7882 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7883 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7884 echo "$AR cru libconftest.a conftest.o
" >&5
7885 $AR cru libconftest.a conftest.o 2>&5
7886 cat > conftest.c << _LT_EOF
7887 int main() { return 0;}
7889 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7890 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7892 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7893 lt_cv_ld_force_load=yes
7895 cat conftest.err >&5
7897 rm -f conftest.err libconftest.a conftest conftest.c
7898 rm -rf conftest.dSYM
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7902 $as_echo "$lt_cv_ld_force_load" >&6; }
7904 rhapsody* | darwin1.[012])
7905 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7907 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7908 darwin*) # darwin 5.x on
7909 # if running on 10.5 or later, the deployment target defaults
7910 # to the OS version, if on x86, and 10.4, the deployment
7911 # target defaults to 10.4. Don't you love it?
7912 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7913 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7914 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7916 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7918 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7922 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7923 _lt_dar_single_mod='$single_module'
7925 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7926 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7928 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7930 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7931 _lt_dsymutil='~$DSYMUTIL $lib || :'
7938 for ac_header in dlfcn.h
7940 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7942 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
7943 cat >>confdefs.h <<_ACEOF
7944 #define HAVE_DLFCN_H 1
7964 # Check whether --enable-shared was given.
7965 if test "${enable_shared+set}" = set; then :
7966 enableval=$enable_shared; p=${PACKAGE-default}
7968 yes) enable_shared=yes ;;
7969 no) enable_shared=no ;;
7972 # Look at the argument we got. We use all the common list separators.
7973 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7974 for pkg in $enableval; do
7976 if test "X
$pkg" = "X
$p"; then
7995 # Check whether --enable-static was given.
7996 if test "${enable_static+set}" = set; then :
7997 enableval=$enable_static; p=${PACKAGE-default}
7999 yes) enable_static=yes ;;
8000 no) enable_static=no ;;
8003 # Look at the argument we got. We use all the common list separators.
8004 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8005 for pkg in $enableval; do
8007 if test "X
$pkg" = "X
$p"; then
8027 # Check whether --with-pic was given.
8028 if test "${with_pic+set}" = set; then :
8029 withval=$with_pic; pic_mode="$withval"
8035 test -z "$pic_mode" && pic_mode=default
8043 # Check whether --enable-fast-install was given.
8044 if test "${enable_fast_install+set}" = set; then :
8045 enableval=$enable_fast_install; p=${PACKAGE-default}
8047 yes) enable_fast_install=yes ;;
8048 no) enable_fast_install=no ;;
8050 enable_fast_install=no
8051 # Look at the argument we got. We use all the common list separators.
8052 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8053 for pkg in $enableval; do
8055 if test "X
$pkg" = "X
$p"; then
8056 enable_fast_install=yes
8063 enable_fast_install=yes
8076 # This can be used to rebuild libtool when needed
8077 LIBTOOL_DEPS="$ltmain"
8079 # Always use our own libtool.
8080 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8107 test -z "$LN_S" && LN_S="ln -s"
8122 if test -n "${ZSH_VERSION+set}" ; then
8123 setopt NO_GLOB_SUBST
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8127 $as_echo_n "checking
for objdir...
" >&6; }
8128 if ${lt_cv_objdir+:} false; then :
8129 $as_echo_n "(cached
) " >&6
8131 rm -f .libs 2>/dev/null
8132 mkdir .libs 2>/dev/null
8133 if test -d .libs; then
8136 # MS-DOS does not allow filenames that begin with a dot.
8139 rmdir .libs 2>/dev/null
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8142 $as_echo "$lt_cv_objdir" >&6; }
8143 objdir=$lt_cv_objdir
8149 cat >>confdefs.h <<_ACEOF
8150 #define LT_OBJDIR "$lt_cv_objdir/"
8158 # AIX sometimes has problems with the GCC collect2 program. For some
8159 # reason, if we set the COLLECT_NAMES environment variable, the problems
8160 # vanish in a puff of smoke.
8161 if test "X
${COLLECT_NAMES+set}" != Xset; then
8163 export COLLECT_NAMES
8170 can_build_shared=yes
8172 # All known linkers require a `.a' archive for static linking (except MSVC,
8173 # which needs '.lib').
8176 with_gnu_ld="$lt_cv_prog_gnu_ld"
8179 old_CFLAGS="$CFLAGS"
8181 # Set sane defaults for various variables
8182 test -z "$CC" && CC=cc
8183 test -z "$LTCC" && LTCC=$CC
8184 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8185 test -z "$LD" && LD=ld
8186 test -z "$ac_objext" && ac_objext=o
8188 for cc_temp in $compiler""; do
8190 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8191 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8196 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8199 # Only perform the check for file, if the check method requires it
8200 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8201 case $deplibs_check_method in
8203 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8205 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8206 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8207 $as_echo_n "(cached
) " >&6
8211 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8214 lt_save_MAGIC_CMD="$MAGIC_CMD"
8215 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8216 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8217 for ac_dir in $ac_dummy; do
8219 test -z "$ac_dir" && ac_dir=.
8220 if test -f $ac_dir/${ac_tool_prefix}file; then
8221 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8222 if test -n "$file_magic_test_file"; then
8223 case $deplibs_check_method in
8225 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8226 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8227 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8228 $EGREP "$file_magic_regex" > /dev/null; then
8233 *** Warning: the command libtool uses to detect shared libraries,
8234 *** $file_magic_cmd, produces output that libtool cannot recognize.
8235 *** The result is that libtool may fail to recognize shared libraries
8236 *** as such. This will affect the creation of libtool libraries that
8237 *** depend on shared libraries, but programs linked with such libtool
8238 *** libraries will work regardless of this problem. Nevertheless, you
8239 *** may want to report the problem to your system manager and/or to
8240 *** bug-libtool@gnu.org
8250 MAGIC_CMD="$lt_save_MAGIC_CMD"
8255 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8256 if test -n "$MAGIC_CMD"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8258 $as_echo "$MAGIC_CMD" >&6; }
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8261 $as_echo "no
" >&6; }
8268 if test -z "$lt_cv_path_MAGIC_CMD"; then
8269 if test -n "$ac_tool_prefix"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8271 $as_echo_n "checking
for file...
" >&6; }
8272 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8273 $as_echo_n "(cached
) " >&6
8277 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8280 lt_save_MAGIC_CMD="$MAGIC_CMD"
8281 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8282 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8283 for ac_dir in $ac_dummy; do
8285 test -z "$ac_dir" && ac_dir=.
8286 if test -f $ac_dir/file; then
8287 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8288 if test -n "$file_magic_test_file"; then
8289 case $deplibs_check_method in
8291 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8293 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8294 $EGREP "$file_magic_regex" > /dev/null; then
8299 *** Warning: the command libtool uses to detect shared libraries,
8300 *** $file_magic_cmd, produces output that libtool cannot recognize.
8301 *** The result is that libtool may fail to recognize shared libraries
8302 *** as such. This will affect the creation of libtool libraries that
8303 *** depend on shared libraries, but programs linked with such libtool
8304 *** libraries will work regardless of this problem. Nevertheless, you
8305 *** may want to report the problem to your system manager and/or to
8306 *** bug-libtool@gnu.org
8316 MAGIC_CMD="$lt_save_MAGIC_CMD"
8321 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8322 if test -n "$MAGIC_CMD"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8324 $as_echo "$MAGIC_CMD" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8327 $as_echo "no
" >&6; }
8340 # Use C for the default configuration in the libtool script
8344 ac_cpp='$CPP $CPPFLAGS'
8345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8350 # Source file extension for C test sources.
8353 # Object file extension for compiled C test sources.
8357 # Code to be used in simple compile tests
8358 lt_simple_compile_test_code="int some_variable
= 0;"
8360 # Code to be used in simple link tests
8361 lt_simple_link_test_code='int main(){return(0);}'
8369 # If no C compiler was specified, use CC.
8372 # If no C compiler flags were specified, use CFLAGS.
8373 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8375 # Allow CC to be a program name with arguments.
8378 # Save the default compiler, since it gets overwritten when the other
8379 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8380 compiler_DEFAULT=$CC
8382 # save warnings/boilerplate of simple test code
8383 ac_outfile=conftest.$ac_objext
8384 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8385 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8386 _lt_compiler_boilerplate=`cat conftest.err`
8389 ac_outfile=conftest.$ac_objext
8390 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8391 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8392 _lt_linker_boilerplate=`cat conftest.err`
8397 ## There is no encapsulation within the following macros, do not change
8398 ## the running order or otherwise move them around unless you know exactly
8399 ## what you are doing...
8400 if test -n "$compiler"; then
8402 lt_prog_compiler_no_builtin_flag=
8404 if test "$GCC" = yes; then
8405 case $cc_basename in
8407 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8409 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8413 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8414 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8415 $as_echo_n "(cached
) " >&6
8417 lt_cv_prog_compiler_rtti_exceptions=no
8418 ac_outfile=conftest.$ac_objext
8419 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8420 lt_compiler_flag="-fno-rtti -fno-exceptions"
8421 # Insert the option either (1) after the last *FLAGS variable, or
8422 # (2) before a word containing "conftest.
", or (3) at the end.
8423 # Note that $ac_compile itself does not contain backslashes and begins
8424 # with a dollar sign (not a hyphen), so the echo should work correctly.
8425 # The option is referenced via a variable to avoid confusing sed.
8426 lt_compile=`echo "$ac_compile" | $SED \
8427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8429 -e 's:$: $lt_compiler_flag:'`
8430 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8431 (eval "$lt_compile" 2>conftest.err)
8433 cat conftest.err >&5
8434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8435 if (exit $ac_status) && test -s "$ac_outfile"; then
8436 # The compiler can only warn and ignore the option if not recognized
8437 # So say no if there are warnings other than the usual output.
8438 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8439 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8440 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8441 lt_cv_prog_compiler_rtti_exceptions=yes
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8448 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8450 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8451 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8463 lt_prog_compiler_wl=
8464 lt_prog_compiler_pic=
8465 lt_prog_compiler_static=
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8468 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8470 if test "$GCC" = yes; then
8471 lt_prog_compiler_wl='-Wl,'
8472 lt_prog_compiler_static='-static'
8476 # All AIX code is PIC.
8477 if test "$host_cpu" = ia64; then
8478 # AIX 5 now supports IA64 processor
8479 lt_prog_compiler_static='-Bstatic'
8481 lt_prog_compiler_pic='-fPIC'
8487 # see comment about AmigaOS4 .so support
8488 lt_prog_compiler_pic='-fPIC'
8491 # FIXME: we need at least 68020 code to build shared libraries, but
8492 # adding the `-m68020' flag to GCC prevents building anything better,
8494 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8499 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8500 # PIC is the default for these OSes.
8503 mingw* | cygwin* | pw32* | os2* | cegcc*)
8504 # This hack is so that the source file can tell whether it is being
8505 # built for inclusion in a dll (and should export symbols for example).
8506 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8507 # (--disable-auto-import) libraries
8508 lt_prog_compiler_pic='-DDLL_EXPORT'
8511 darwin* | rhapsody*)
8512 # PIC is the default on this platform
8513 # Common symbols not allowed in MH_DYLIB files
8514 lt_prog_compiler_pic='-fno-common'
8518 # PIC is the default for Haiku.
8519 # The "-static" flag exists, but is broken.
8520 lt_prog_compiler_static=
8524 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8525 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8526 # sets the default TLS model and affects inlining.
8532 lt_prog_compiler_pic='-fPIC'
8538 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8539 # Instead, we relocate shared libraries at runtime.
8543 # Just because we use GCC doesn't mean we suddenly get shared libraries
8544 # on systems that don't support them.
8545 lt_prog_compiler_can_build_shared=no
8550 # QNX uses GNU C++, but need to define -shared option too, otherwise
8552 lt_prog_compiler_pic='-fPIC -shared'
8556 if test -d /usr/nec; then
8557 lt_prog_compiler_pic=-Kconform_pic
8562 lt_prog_compiler_pic='-fPIC'
8566 case $cc_basename in
8567 nvcc*) # Cuda Compiler Driver 2.2
8568 lt_prog_compiler_wl='-Xlinker '
8569 lt_prog_compiler_pic='-Xcompiler -fPIC'
8573 # PORTME Check for flag to pass linker flags through the system compiler.
8576 lt_prog_compiler_wl='-Wl,'
8577 if test "$host_cpu" = ia64; then
8578 # AIX 5 now supports IA64 processor
8579 lt_prog_compiler_static='-Bstatic'
8581 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8585 mingw* | cygwin* | pw32* | os2* | cegcc*)
8586 # This hack is so that the source file can tell whether it is being
8587 # built for inclusion in a dll (and should export symbols for example).
8588 lt_prog_compiler_pic='-DDLL_EXPORT'
8591 hpux9* | hpux10* | hpux11*)
8592 lt_prog_compiler_wl='-Wl,'
8593 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8600 lt_prog_compiler_pic='+Z'
8603 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8604 lt_prog_compiler_static='${wl}-a ${wl}archive'
8607 irix5* | irix6* | nonstopux*)
8608 lt_prog_compiler_wl='-Wl,'
8609 # PIC (with -KPIC) is the default.
8610 lt_prog_compiler_static='-non_shared'
8613 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8614 case $cc_basename in
8615 # old Intel for x86_64 which still supported -KPIC.
8617 lt_prog_compiler_wl='-Wl,'
8618 lt_prog_compiler_pic='-KPIC'
8619 lt_prog_compiler_static='-static'
8621 # icc used to be incompatible with GCC.
8622 # ICC 10 doesn't accept -KPIC any more.
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_pic='-fPIC'
8626 lt_prog_compiler_static='-static'
8628 # Lahey Fortran 8.1.
8630 lt_prog_compiler_wl='-Wl,'
8631 lt_prog_compiler_pic='--shared'
8632 lt_prog_compiler_static='--static'
8634 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8635 # Portland Group compilers (*not* the Pentium gcc compiler,
8636 # which looks to be a dead project)
8637 lt_prog_compiler_wl='-Wl,'
8638 lt_prog_compiler_pic='-fpic'
8639 lt_prog_compiler_static='-Bstatic'
8642 lt_prog_compiler_wl='-Wl,'
8643 # All Alpha code is PIC.
8644 lt_prog_compiler_static='-non_shared'
8646 xl* | bgxl* | bgf* | mpixl*)
8647 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8648 lt_prog_compiler_wl='-Wl,'
8649 lt_prog_compiler_pic='-qpic'
8650 lt_prog_compiler_static='-qstaticlink'
8653 case `$CC -V 2>&1 | sed 5q` in
8654 *Sun\ F* | *Sun*Fortran*)
8655 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8656 lt_prog_compiler_pic='-KPIC'
8657 lt_prog_compiler_static='-Bstatic'
8658 lt_prog_compiler_wl=''
8662 lt_prog_compiler_pic='-KPIC'
8663 lt_prog_compiler_static='-Bstatic'
8664 lt_prog_compiler_wl='-Wl,'
8672 lt_prog_compiler_pic='-KPIC'
8673 lt_prog_compiler_static='-Bstatic'
8677 # QNX uses GNU C++, but need to define -shared option too, otherwise
8679 lt_prog_compiler_pic='-fPIC -shared'
8682 osf3* | osf4* | osf5*)
8683 lt_prog_compiler_wl='-Wl,'
8684 # All OSF/1 code is PIC.
8685 lt_prog_compiler_static='-non_shared'
8689 lt_prog_compiler_static='-non_shared'
8693 lt_prog_compiler_pic='-KPIC'
8694 lt_prog_compiler_static='-Bstatic'
8695 case $cc_basename in
8697 lt_prog_compiler_wl='-Qoption ld ';;
8699 lt_prog_compiler_wl='-Wl,';;
8704 lt_prog_compiler_wl='-Qoption ld '
8705 lt_prog_compiler_pic='-PIC'
8706 lt_prog_compiler_static='-Bstatic'
8709 sysv4 | sysv4.2uw2* | sysv4.3*)
8710 lt_prog_compiler_wl='-Wl,'
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8716 if test -d /usr/nec ;then
8717 lt_prog_compiler_pic='-Kconform_pic'
8718 lt_prog_compiler_static='-Bstatic'
8722 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8723 lt_prog_compiler_wl='-Wl,'
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8729 lt_prog_compiler_wl='-Wl,'
8730 lt_prog_compiler_can_build_shared=no
8734 lt_prog_compiler_pic='-pic'
8735 lt_prog_compiler_static='-Bstatic'
8739 lt_prog_compiler_can_build_shared=no
8745 # For platforms which do not support PIC, -DPIC is meaningless:
8747 lt_prog_compiler_pic=
8750 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8754 $as_echo "$lt_prog_compiler_pic" >&6; }
8762 # Check to make sure the PIC flag actually works.
8764 if test -n "$lt_prog_compiler_pic"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8766 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8767 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8768 $as_echo_n "(cached
) " >&6
8770 lt_cv_prog_compiler_pic_works=no
8771 ac_outfile=conftest.$ac_objext
8772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8774 # Insert the option either (1) after the last *FLAGS variable, or
8775 # (2) before a word containing "conftest.
", or (3) at the end.
8776 # Note that $ac_compile itself does not contain backslashes and begins
8777 # with a dollar sign (not a hyphen), so the echo should work correctly.
8778 # The option is referenced via a variable to avoid confusing sed.
8779 lt_compile=`echo "$ac_compile" | $SED \
8780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782 -e 's:$: $lt_compiler_flag:'`
8783 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8784 (eval "$lt_compile" 2>conftest.err)
8786 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8788 if (exit $ac_status) && test -s "$ac_outfile"; then
8789 # The compiler can only warn and ignore the option if not recognized
8790 # So say no if there are warnings other than the usual output.
8791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8793 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8794 lt_cv_prog_compiler_pic_works=yes
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8801 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8803 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8804 case $lt_prog_compiler_pic in
8806 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8809 lt_prog_compiler_pic=
8810 lt_prog_compiler_can_build_shared=no
8821 # Check to make sure the static flag actually works.
8823 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8825 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8826 if ${lt_cv_prog_compiler_static_works+:} false; then :
8827 $as_echo_n "(cached
) " >&6
8829 lt_cv_prog_compiler_static_works=no
8830 save_LDFLAGS="$LDFLAGS"
8831 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8832 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8833 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8834 # The linker can only warn and ignore the option if not recognized
8835 # So say no if there are warnings
8836 if test -s conftest.err; then
8837 # Append any errors to the config.log.
8838 cat conftest.err 1>&5
8839 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8840 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8841 if diff conftest.exp conftest.er2 >/dev/null; then
8842 lt_cv_prog_compiler_static_works=yes
8845 lt_cv_prog_compiler_static_works=yes
8849 LDFLAGS="$save_LDFLAGS"
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8853 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8855 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8858 lt_prog_compiler_static=
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8868 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8869 if ${lt_cv_prog_compiler_c_o+:} false; then :
8870 $as_echo_n "(cached
) " >&6
8872 lt_cv_prog_compiler_c_o=no
8873 $RM -r conftest 2>/dev/null
8877 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8879 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8880 # Insert the option either (1) after the last *FLAGS variable, or
8881 # (2) before a word containing "conftest.
", or (3) at the end.
8882 # Note that $ac_compile itself does not contain backslashes and begins
8883 # with a dollar sign (not a hyphen), so the echo should work correctly.
8884 lt_compile=`echo "$ac_compile" | $SED \
8885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8887 -e 's:$: $lt_compiler_flag:'`
8888 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8889 (eval "$lt_compile" 2>out/conftest.err)
8891 cat out/conftest.err >&5
8892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8893 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8895 # The compiler can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8898 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8899 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8900 lt_cv_prog_compiler_c_o=yes
8905 # SGI C++ compiler will create directory out/ii_files/ for
8906 # template instantiation
8907 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8908 $RM out/* && rmdir out
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8915 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8923 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8924 if ${lt_cv_prog_compiler_c_o+:} false; then :
8925 $as_echo_n "(cached
) " >&6
8927 lt_cv_prog_compiler_c_o=no
8928 $RM -r conftest 2>/dev/null
8932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8934 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8935 # Insert the option either (1) after the last *FLAGS variable, or
8936 # (2) before a word containing "conftest.
", or (3) at the end.
8937 # Note that $ac_compile itself does not contain backslashes and begins
8938 # with a dollar sign (not a hyphen), so the echo should work correctly.
8939 lt_compile=`echo "$ac_compile" | $SED \
8940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8942 -e 's:$: $lt_compiler_flag:'`
8943 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8944 (eval "$lt_compile" 2>out/conftest.err)
8946 cat out/conftest.err >&5
8947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8950 # The compiler can only warn and ignore the option if not recognized
8951 # So say no if there are warnings
8952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8955 lt_cv_prog_compiler_c_o=yes
8960 # SGI C++ compiler will create directory out/ii_files/ for
8961 # template instantiation
8962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8963 $RM out/* && rmdir out
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8970 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8975 hard_links="nottested
"
8976 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8977 # do not overwrite the value of need_locks provided by the user
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8979 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8982 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8984 ln conftest.a conftest.b 2>&5 || hard_links=no
8985 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8987 $as_echo "$hard_links" >&6; }
8988 if test "$hard_links" = no; then
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8990 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9003 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9006 allow_undefined_flag=
9007 always_export_symbols=no
9009 archive_expsym_cmds=
9010 compiler_needs_object=no
9011 enable_shared_with_static_runtimes=no
9012 export_dynamic_flag_spec=
9013 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9014 hardcode_automatic=no
9016 hardcode_direct_absolute=no
9017 hardcode_libdir_flag_spec=
9018 hardcode_libdir_flag_spec_ld=
9019 hardcode_libdir_separator=
9021 hardcode_shlibpath_var=unsupported
9023 link_all_deplibs=unknown
9026 old_archive_from_new_cmds=
9027 old_archive_from_expsyms_cmds=
9028 thread_safe_flag_spec=
9029 whole_archive_flag_spec=
9030 # include_expsyms should be a list of space-separated symbols to be *always*
9031 # included in the symbol list
9033 # exclude_expsyms can be an extended regexp of symbols to exclude
9034 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9035 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9036 # as well as any symbol that contains `d'.
9037 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9038 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9039 # platforms (ab)use it in PIC code, but their linkers get confused if
9040 # the symbol is explicitly referenced. Since portable code cannot
9041 # rely on this symbol name, it's probably fine to never include it in
9042 # preloaded symbol tables.
9043 # Exclude shared library initialization/finalization symbols.
9044 extract_expsyms_cmds=
9047 cygwin* | mingw* | pw32* | cegcc*)
9048 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9049 # When not using gcc, we currently assume that we are using
9050 # Microsoft Visual C++.
9051 if test "$GCC" != yes; then
9056 # we just hope/assume this is gcc and not c89 (= MSVC++)
9066 # On some targets, GNU ld is compatible enough with the native linker
9067 # that we're better off using the native interface for both.
9068 lt_use_gnu_ld_interface=no
9069 if test "$with_gnu_ld" = yes; then
9072 # The AIX port of GNU ld has always aspired to compatibility
9073 # with the native linker. However, as the warning in the GNU ld
9074 # block says, versions before 2.19.5* couldn't really create working
9075 # shared libraries, regardless of the interface used.
9076 case `$LD -v 2>&1` in
9077 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9078 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9079 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9081 lt_use_gnu_ld_interface=yes
9086 lt_use_gnu_ld_interface=yes
9091 if test "$lt_use_gnu_ld_interface" = yes; then
9092 # If archive_cmds runs LD, not CC, wlarc should be empty
9095 # Set some defaults for GNU ld with shared library support. These
9096 # are reset later if shared libraries are not supported. Putting them
9097 # here allows them to be overridden if necessary.
9098 runpath_var=LD_RUN_PATH
9099 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9100 export_dynamic_flag_spec='${wl}--export-dynamic'
9101 # ancient GNU ld didn't support --whole-archive et. al.
9102 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9103 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9105 whole_archive_flag_spec=
9107 supports_anon_versioning=no
9108 case `$LD -v 2>&1` in
9109 *GNU\ gold*) supports_anon_versioning=yes ;;
9110 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9111 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9112 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9113 *\ 2.11.*) ;; # other 2.11 versions
9114 *) supports_anon_versioning=yes ;;
9117 # See if GNU ld supports shared libraries.
9120 # On AIX/PPC, the GNU linker is very broken
9121 if test "$host_cpu" != ia64; then
9125 *** Warning: the GNU linker, at least up to release 2.19, is reported
9126 *** to be unable to reliably create shared libraries on AIX.
9127 *** Therefore, libtool is disabling shared libraries support. If you
9128 *** really care for shared libraries, you may want to install binutils
9129 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9130 *** You will then need to restart the configuration process.
9139 # see comment about AmigaOS4 .so support
9140 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9141 archive_expsym_cmds=''
9144 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)'
9145 hardcode_libdir_flag_spec
='-L$libdir'
9146 hardcode_minus_L
=yes
9152 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9153 allow_undefined_flag
=unsupported
9154 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9155 # support --undefined. This deserves some investigation. FIXME
9156 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9162 cygwin
* | mingw
* | pw32
* | cegcc
*)
9163 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9164 # as there is no search path for DLLs.
9165 hardcode_libdir_flag_spec
='-L$libdir'
9166 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9167 allow_undefined_flag
=unsupported
9168 always_export_symbols
=no
9169 enable_shared_with_static_runtimes
=yes
9170 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9172 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9174 # If the export-symbols file already is a .def file (1st line
9175 # is EXPORTS), use it as is; otherwise, prepend...
9176 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9177 cp $export_symbols $output_objdir/$soname.def;
9179 echo EXPORTS > $output_objdir/$soname.def;
9180 cat $export_symbols >> $output_objdir/$soname.def;
9182 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9189 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9190 link_all_deplibs
=yes
9195 hardcode_shlibpath_var
=no
9196 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9197 export_dynamic_flag_spec
='${wl}-E'
9198 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9199 # Instead, shared libraries are loaded at an image base (0x10000000 by
9200 # default) and relocated if they conflict, which is a slow very memory
9201 # consuming and fragmenting process. To avoid this, we pick a random,
9202 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9203 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9204 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9205 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'
9208 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9210 if test "$host_os" = linux-dietlibc
; then
9211 case $cc_basename in
9212 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9215 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9216 && test "$tmp_diet" = no
9218 tmp_addflag
=' $pic_flag'
9219 tmp_sharedflag
='-shared'
9220 case $cc_basename,$host_cpu in
9221 pgcc
*) # Portland Group C compiler
9222 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'
9223 tmp_addflag
=' $pic_flag'
9225 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9226 # Portland Group f77 and f90 compilers
9227 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'
9228 tmp_addflag
=' $pic_flag -Mnomain' ;;
9229 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9230 tmp_addflag
=' -i_dynamic' ;;
9231 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9232 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9233 ifc
* | ifort
*) # Intel Fortran compiler
9234 tmp_addflag
=' -nofor_main' ;;
9235 lf95
*) # Lahey Fortran 8.1
9236 whole_archive_flag_spec
=
9237 tmp_sharedflag
='--shared' ;;
9238 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9239 tmp_sharedflag
='-qmkshrobj'
9241 nvcc
*) # Cuda Compiler Driver 2.2
9242 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'
9243 compiler_needs_object
=yes
9246 case `$CC -V 2>&1 | sed 5q` in
9247 *Sun\ C
*) # Sun C 5.9
9248 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'
9249 compiler_needs_object
=yes
9250 tmp_sharedflag
='-G' ;;
9251 *Sun\ F
*) # Sun Fortran 8.3
9252 tmp_sharedflag
='-G' ;;
9254 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9256 if test "x$supports_anon_versioning" = xyes
; then
9257 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9258 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9259 echo "local: *; };" >> $output_objdir/$libname.ver~
9260 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9263 case $cc_basename in
9264 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9265 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9266 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9267 hardcode_libdir_flag_spec
=
9268 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9269 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9270 if test "x$supports_anon_versioning" = xyes
; then
9271 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9272 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9273 echo "local: *; };" >> $output_objdir/$libname.ver~
9274 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9284 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9285 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9288 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9289 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9294 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9298 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9299 *** create shared libraries on Solaris systems. Therefore, libtool
9300 *** is disabling shared libraries support. We urge you to upgrade GNU
9301 *** binutils to release 2.9.1 or newer. Another option is to modify
9302 *** your PATH or compiler configuration so that the native linker is
9303 *** used, and then restart.
9306 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9307 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9308 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9314 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9315 case `$LD -v 2>&1` in
9316 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9320 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9321 *** reliably create shared libraries on SCO systems. Therefore, libtool
9322 *** is disabling shared libraries support. We urge you to upgrade GNU
9323 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9324 *** your PATH or compiler configuration so that the native linker is
9325 *** used, and then restart.
9330 # For security reasons, it is highly recommended that you always
9331 # use absolute paths for naming shared libraries, and exclude the
9332 # DT_RUNPATH tag from executables and libraries. But doing so
9333 # requires that you compile everything twice, which is a pain.
9334 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9335 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9336 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9346 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9349 hardcode_shlibpath_var
=no
9353 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9354 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9355 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9362 if test "$ld_shlibs" = no
; then
9364 hardcode_libdir_flag_spec
=
9365 export_dynamic_flag_spec
=
9366 whole_archive_flag_spec
=
9369 # PORTME fill in a description of your system's linker (not GNU ld)
9372 allow_undefined_flag
=unsupported
9373 always_export_symbols
=yes
9374 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'
9375 # Note: this linker hardcodes the directories in LIBPATH if there
9376 # are no directories specified by -L.
9377 hardcode_minus_L
=yes
9378 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9379 # Neither direct hardcoding nor static linking is supported with a
9381 hardcode_direct
=unsupported
9386 if test "$host_cpu" = ia64
; then
9387 # On IA64, the linker does run time linking by default, so we don't
9388 # have to do anything special.
9389 aix_use_runtimelinking
=no
9390 exp_sym_flag
='-Bexport'
9393 # If we're using GNU nm, then we don't want the "-C" option.
9394 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9395 # Also, AIX nm treats weak defined symbols like other global
9396 # defined symbols, whereas GNU nm marks them as "W".
9397 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9398 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'
9400 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'
9402 aix_use_runtimelinking
=no
9404 # Test if we are trying to use run time linking or normal
9405 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9406 # need to do runtime linking.
9407 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9408 for ld_flag
in $LDFLAGS; do
9409 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9410 aix_use_runtimelinking
=yes
9417 exp_sym_flag
='-bexport'
9418 no_entry_flag
='-bnoentry'
9421 # When large executables or shared objects are built, AIX ld can
9422 # have problems creating the table of contents. If linking a library
9423 # or program results in "error TOC overflow" add -mminimal-toc to
9424 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9425 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9429 hardcode_direct_absolute
=yes
9430 hardcode_libdir_separator
=':'
9431 link_all_deplibs
=yes
9432 file_list_spec
='${wl}-f,'
9434 if test "$GCC" = yes; then
9435 case $host_os in aix4.
[012]|aix4.
[012].
*)
9436 # We only want to do this on AIX 4.2 and lower, the check
9437 # below for broken collect2 doesn't work under 4.3+
9438 collect2name
=`${CC} -print-prog-name=collect2`
9439 if test -f "$collect2name" &&
9440 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9442 # We have reworked collect2
9445 # We have old collect2
9446 hardcode_direct
=unsupported
9447 # It fails to find uninstalled libraries when the uninstalled
9448 # path is not listed in the libpath. Setting hardcode_minus_L
9449 # to unsupported forces relinking
9450 hardcode_minus_L
=yes
9451 hardcode_libdir_flag_spec
='-L$libdir'
9452 hardcode_libdir_separator
=
9456 shared_flag
='-shared'
9457 if test "$aix_use_runtimelinking" = yes; then
9458 shared_flag
="$shared_flag "'${wl}-G'
9462 if test "$host_cpu" = ia64
; then
9463 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9464 # chokes on -Wl,-G. The following line is correct:
9467 if test "$aix_use_runtimelinking" = yes; then
9468 shared_flag
='${wl}-G'
9470 shared_flag
='${wl}-bM:SRE'
9475 export_dynamic_flag_spec
='${wl}-bexpall'
9476 # It seems that -bexpall does not export symbols beginning with
9477 # underscore (_), so it is better to generate a list of symbols to export.
9478 always_export_symbols
=yes
9479 if test "$aix_use_runtimelinking" = yes; then
9480 # Warning - without using the other runtime loading flags (-brtl),
9481 # -berok will link without error, but may produce a broken library.
9482 allow_undefined_flag
='-berok'
9483 # Determine the default libpath from the value encoded in an
9485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9496 if ac_fn_c_try_link
"$LINENO"; then :
9498 lt_aix_libpath_sed
='
9499 /Import File Strings/,/^$/ {
9505 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9506 # Check for a 64-bit object if we didn't find anything.
9507 if test -z "$aix_libpath"; then
9508 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9511 rm -f core conftest.err conftest.
$ac_objext \
9512 conftest
$ac_exeext conftest.
$ac_ext
9513 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9515 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9516 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"
9518 if test "$host_cpu" = ia64
; then
9519 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9520 allow_undefined_flag
="-z nodefs"
9521 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"
9523 # Determine the default libpath from the value encoded in an
9525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9536 if ac_fn_c_try_link
"$LINENO"; then :
9538 lt_aix_libpath_sed
='
9539 /Import File Strings/,/^$/ {
9545 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9546 # Check for a 64-bit object if we didn't find anything.
9547 if test -z "$aix_libpath"; then
9548 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9551 rm -f core conftest.err conftest.
$ac_objext \
9552 conftest
$ac_exeext conftest.
$ac_ext
9553 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9555 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9556 # Warning - without using the other run time loading flags,
9557 # -berok will link without error, but may produce a broken library.
9558 no_undefined_flag
=' ${wl}-bernotok'
9559 allow_undefined_flag
=' ${wl}-berok'
9560 if test "$with_gnu_ld" = yes; then
9561 # We only use this code for GNU lds that support --whole-archive.
9562 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9564 # Exported symbols can be pulled into shared objects from archives
9565 whole_archive_flag_spec
='$convenience'
9567 archive_cmds_need_lc
=yes
9568 # This is similar to how AIX traditionally builds its shared libraries.
9569 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'
9577 # see comment about AmigaOS4 .so support
9578 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9579 archive_expsym_cmds
=''
9582 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)'
9583 hardcode_libdir_flag_spec
='-L$libdir'
9584 hardcode_minus_L
=yes
9590 export_dynamic_flag_spec
=-rdynamic
9593 cygwin
* | mingw
* | pw32
* | cegcc
*)
9594 # When not using gcc, we currently assume that we are using
9595 # Microsoft Visual C++.
9596 # hardcode_libdir_flag_spec is actually meaningless, as there is
9597 # no search path for DLLs.
9598 hardcode_libdir_flag_spec
=' '
9599 allow_undefined_flag
=unsupported
9600 # Tell ltmain to make .lib files, not .a files.
9602 # Tell ltmain to make .dll files, not .so files.
9604 # FIXME: Setting linknames here is a bad hack.
9605 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9606 # The linker will automatically build a .lib file if we build a DLL.
9607 old_archive_from_new_cmds
='true'
9608 # FIXME: Should let the user specify the lib program.
9609 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9610 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9611 enable_shared_with_static_runtimes
=yes
9614 darwin
* | rhapsody
*)
9617 archive_cmds_need_lc
=no
9619 hardcode_automatic
=yes
9620 hardcode_shlibpath_var
=unsupported
9621 if test "$lt_cv_ld_force_load" = "yes"; then
9622 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\"`'
9624 whole_archive_flag_spec
=''
9626 link_all_deplibs
=yes
9627 allow_undefined_flag
="$_lt_dar_allow_undefined"
9628 case $cc_basename in
9629 ifort
*) _lt_dar_can_shared
=yes ;;
9630 *) _lt_dar_can_shared
=$GCC ;;
9632 if test "$_lt_dar_can_shared" = "yes"; then
9633 output_verbose_link_cmd
=func_echo_all
9634 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9635 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9636 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}"
9637 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}"
9646 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9647 hardcode_libdir_flag_spec
='-L$libdir'
9648 hardcode_shlibpath_var
=no
9651 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9652 # support. Future versions do this automatically, but an explicit c++rt0.o
9653 # does not break anything, and helps significantly (at the cost of a little
9656 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9657 hardcode_libdir_flag_spec
='-R$libdir'
9659 hardcode_shlibpath_var
=no
9662 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9664 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9666 hardcode_minus_L
=yes
9667 hardcode_shlibpath_var
=no
9670 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9671 freebsd
* | dragonfly
*)
9672 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9673 hardcode_libdir_flag_spec
='-R$libdir'
9675 hardcode_shlibpath_var
=no
9679 if test "$GCC" = yes; then
9680 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'
9682 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'
9684 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9685 hardcode_libdir_separator
=:
9688 # hardcode_minus_L: Not really in the search PATH,
9689 # but as the default location of the library.
9690 hardcode_minus_L
=yes
9691 export_dynamic_flag_spec
='${wl}-E'
9695 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9696 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9698 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9700 if test "$with_gnu_ld" = no
; then
9701 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9702 hardcode_libdir_flag_spec_ld
='+b $libdir'
9703 hardcode_libdir_separator
=:
9705 hardcode_direct_absolute
=yes
9706 export_dynamic_flag_spec
='${wl}-E'
9707 # hardcode_minus_L: Not really in the search PATH,
9708 # but as the default location of the library.
9709 hardcode_minus_L
=yes
9714 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9717 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9723 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9732 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9736 # Older versions of the 11.00 compiler do not understand -b yet
9737 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9739 $as_echo_n "checking if $CC understands -b... " >&6; }
9740 if ${lt_cv_prog_compiler__b+:} false
; then :
9741 $as_echo_n "(cached) " >&6
9743 lt_cv_prog_compiler__b
=no
9744 save_LDFLAGS
="$LDFLAGS"
9745 LDFLAGS
="$LDFLAGS -b"
9746 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9747 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9748 # The linker can only warn and ignore the option if not recognized
9749 # So say no if there are warnings
9750 if test -s conftest.err
; then
9751 # Append any errors to the config.log.
9752 cat conftest.err
1>&5
9753 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9754 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9755 if diff conftest.exp conftest.er2
>/dev
/null
; then
9756 lt_cv_prog_compiler__b
=yes
9759 lt_cv_prog_compiler__b
=yes
9763 LDFLAGS
="$save_LDFLAGS"
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9767 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9769 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9770 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9772 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9778 if test "$with_gnu_ld" = no
; then
9779 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9780 hardcode_libdir_separator
=:
9785 hardcode_shlibpath_var
=no
9789 hardcode_direct_absolute
=yes
9790 export_dynamic_flag_spec
='${wl}-E'
9792 # hardcode_minus_L: Not really in the search PATH,
9793 # but as the default location of the library.
9794 hardcode_minus_L
=yes
9800 irix5
* | irix6
* | nonstopux
*)
9801 if test "$GCC" = yes; then
9802 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'
9803 # Try to use the -exported_symbol ld option, if it does not
9804 # work, assume that -exports_file does not work either and
9805 # implicitly export all symbols.
9806 save_LDFLAGS
="$LDFLAGS"
9807 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9812 if ac_fn_c_try_link
"$LINENO"; then :
9813 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'
9816 rm -f core conftest.err conftest.
$ac_objext \
9817 conftest
$ac_exeext conftest.
$ac_ext
9818 LDFLAGS
="$save_LDFLAGS"
9820 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'
9821 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'
9823 archive_cmds_need_lc
='no'
9824 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9825 hardcode_libdir_separator
=:
9827 link_all_deplibs
=yes
9831 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9832 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9834 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9836 hardcode_libdir_flag_spec
='-R$libdir'
9838 hardcode_shlibpath_var
=no
9842 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9844 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9845 hardcode_libdir_separator
=:
9846 hardcode_shlibpath_var
=no
9853 if test -f /usr
/libexec
/ld.so
; then
9855 hardcode_shlibpath_var
=no
9856 hardcode_direct_absolute
=yes
9857 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9858 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9859 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9860 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9861 export_dynamic_flag_spec
='${wl}-E'
9864 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9865 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_libdir_flag_spec
='-R$libdir'
9869 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9870 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9880 hardcode_libdir_flag_spec
='-L$libdir'
9881 hardcode_minus_L
=yes
9882 allow_undefined_flag
=unsupported
9883 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'
9884 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9888 if test "$GCC" = yes; then
9889 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9890 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'
9892 allow_undefined_flag
=' -expect_unresolved \*'
9893 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'
9895 archive_cmds_need_lc
='no'
9896 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9897 hardcode_libdir_separator
=:
9900 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9901 if test "$GCC" = yes; then
9902 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9903 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'
9904 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9906 allow_undefined_flag
=' -expect_unresolved \*'
9907 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'
9908 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~
9909 $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'
9911 # Both c and cxx compiler support -rpath directly
9912 hardcode_libdir_flag_spec
='-rpath $libdir'
9914 archive_cmds_need_lc
='no'
9915 hardcode_libdir_separator
=:
9919 no_undefined_flag
=' -z defs'
9920 if test "$GCC" = yes; then
9922 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9923 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9924 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9926 case `$CC -V 2>&1` in
9929 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9930 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9931 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9935 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9937 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9941 hardcode_libdir_flag_spec
='-R$libdir'
9942 hardcode_shlibpath_var
=no
9944 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9946 # The compiler driver will combine and reorder linker options,
9947 # but understands `-z linker_flag'. GCC discards it without `$wl',
9948 # but is careful enough not to reorder.
9949 # Supported since Solaris 2.6 (maybe 2.5.1?)
9950 if test "$GCC" = yes; then
9951 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9953 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9957 link_all_deplibs
=yes
9961 if test "x$host_vendor" = xsequent
; then
9962 # Use $CC to link under sequent, because it throws in some extra .o
9963 # files that make .init and .fini sections work.
9964 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9968 hardcode_libdir_flag_spec
='-L$libdir'
9970 hardcode_minus_L
=yes
9971 hardcode_shlibpath_var
=no
9975 case $host_vendor in
9977 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9978 hardcode_direct
=yes # is this really true???
9981 ## LD is ld it makes a PLAMLIB
9982 ## CC just makes a GrossModule.
9983 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9984 reload_cmds
='$CC -r -o $output$reload_objs'
9988 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9989 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9992 runpath_var
='LD_RUN_PATH'
9993 hardcode_shlibpath_var
=no
9997 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9998 hardcode_shlibpath_var
=no
9999 export_dynamic_flag_spec
='-Bexport'
10003 if test -d /usr
/nec
; then
10004 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005 hardcode_shlibpath_var
=no
10006 runpath_var
=LD_RUN_PATH
10007 hardcode_runpath_var
=yes
10012 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10013 no_undefined_flag
='${wl}-z,text'
10014 archive_cmds_need_lc
=no
10015 hardcode_shlibpath_var
=no
10016 runpath_var
='LD_RUN_PATH'
10018 if test "$GCC" = yes; then
10019 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10020 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10023 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 sysv5
* | sco3.2v5
* | sco5v6
*)
10028 # Note: We can NOT use -z defs as we might desire, because we do not
10029 # link with -lc, and that would cause any symbols used from libc to
10030 # always be unresolved, which means just about no library would
10031 # ever link correctly. If we're not using GNU ld we use -z text
10032 # though, which does catch some bad symbols but isn't as heavy-handed
10034 no_undefined_flag
='${wl}-z,text'
10035 allow_undefined_flag
='${wl}-z,nodefs'
10036 archive_cmds_need_lc
=no
10037 hardcode_shlibpath_var
=no
10038 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10039 hardcode_libdir_separator
=':'
10040 link_all_deplibs
=yes
10041 export_dynamic_flag_spec
='${wl}-Bexport'
10042 runpath_var
='LD_RUN_PATH'
10044 if test "$GCC" = yes; then
10045 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10048 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10049 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10054 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_libdir_flag_spec
='-L$libdir'
10056 hardcode_shlibpath_var
=no
10064 if test x
$host_vendor = xsni
; then
10066 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10067 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10074 $as_echo "$ld_shlibs" >&6; }
10075 test "$ld_shlibs" = no
&& can_build_shared
=no
10077 with_gnu_ld
=$with_gnu_ld
10094 # Do we need to explicitly link libc?
10096 case "x$archive_cmds_need_lc" in
10098 # Assume -lc should be added
10099 archive_cmds_need_lc
=yes
10101 if test "$enable_shared" = yes && test "$GCC" = yes; then
10102 case $archive_cmds in
10104 # FIXME: we may have to deal with multi-command sequences.
10107 # Test whether the compiler implicitly links with -lc since on some
10108 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10109 # to ld, don't add -lc before -lgcc.
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10111 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10112 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10113 $as_echo_n "(cached) " >&6
10116 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10119 (eval $ac_compile) 2>&5
10121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10122 test $ac_status = 0; } 2>conftest.err
; then
10125 libobjs
=conftest.
$ac_objext
10127 wl
=$lt_prog_compiler_wl
10128 pic_flag
=$lt_prog_compiler_pic
10134 lt_save_allow_undefined_flag
=$allow_undefined_flag
10135 allow_undefined_flag
=
10136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10137 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10140 test $ac_status = 0; }
10142 lt_cv_archive_cmds_need_lc
=no
10144 lt_cv_archive_cmds_need_lc
=yes
10146 allow_undefined_flag
=$lt_save_allow_undefined_flag
10148 cat conftest.err
1>&5
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10154 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10155 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10319 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10321 if test "$GCC" = yes; then
10323 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10324 *) lt_awk_arg
="/^libraries:/" ;;
10327 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10328 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10330 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10331 case $lt_search_path_spec in
10333 # if the path contains ";" then we assume it to be the separator
10334 # otherwise default to the standard path separator (i.e. ":") - it is
10335 # assumed that no part of a normal pathname contains ";" but that should
10336 # okay in the real world where ";" in dirpaths is itself problematic.
10337 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10340 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10343 # Ok, now we have the path, separated by spaces, we can step through it
10344 # and add multilib dir if necessary.
10345 lt_tmp_lt_search_path_spec
=
10346 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10347 for lt_sys_path
in $lt_search_path_spec; do
10348 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10349 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10351 test -d "$lt_sys_path" && \
10352 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10355 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10356 BEGIN {RS=" "; FS="/|\n";} {
10359 for (lt_i = NF; lt_i > 0; lt_i--) {
10360 if ($lt_i != "" && $lt_i != ".") {
10361 if ($lt_i == "..") {
10364 if (lt_count == 0) {
10365 lt_foo="/" $lt_i lt_foo;
10372 if (lt_foo != "") { lt_freq[lt_foo]++; }
10373 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10375 # AWK program above erroneously prepends '/' to C:/dos/paths
10378 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10379 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10381 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10383 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10385 library_names_spec
=
10386 libname_spec
='lib$name'
10390 postuninstall_cmds
=
10394 shlibpath_overrides_runpath
=unknown
10396 dynamic_linker
="$host_os ld.so"
10397 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10398 need_lib_prefix
=unknown
10399 hardcode_into_libs
=no
10401 # when you set need_version to no, make sure it does not cause -set_version
10402 # flags to be left without arguments
10403 need_version
=unknown
10408 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10409 shlibpath_var
=LIBPATH
10411 # AIX 3 has no versioning support, so we append a major version to the name.
10412 soname_spec
='${libname}${release}${shared_ext}$major'
10419 hardcode_into_libs
=yes
10420 if test "$host_cpu" = ia64
; then
10421 # AIX 5 supports IA64
10422 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10423 shlibpath_var
=LD_LIBRARY_PATH
10425 # With GCC up to 2.95.x, collect2 would create an import file
10426 # for dependence libraries. The import file would start with
10427 # the line `#! .'. This would cause the generated library to
10428 # depend on `.', always an invalid library. This was fixed in
10429 # development snapshots of GCC prior to 3.0.
10431 aix4 | aix4.
[01] | aix4.
[01].
*)
10432 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10434 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10437 can_build_shared
=no
10441 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10442 # soname into executable. Probably we can add versioning support to
10443 # collect2, so additional links can be useful in future.
10444 if test "$aix_use_runtimelinking" = yes; then
10445 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10446 # instead of lib<name>.a to let people know that these are not
10447 # typical AIX shared libraries.
10448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450 # We preserve .a as extension for shared libraries through AIX4.2
10451 # and later when we are not doing run time linking.
10452 library_names_spec
='${libname}${release}.a $libname.a'
10453 soname_spec
='${libname}${release}${shared_ext}$major'
10455 shlibpath_var
=LIBPATH
10462 # Since July 2007 AmigaOS4 officially supports .so libraries.
10463 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467 library_names_spec
='$libname.ixlibrary $libname.a'
10468 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10469 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'
10475 library_names_spec
='${libname}${shared_ext}'
10476 dynamic_linker
="$host_os ld.so"
10477 shlibpath_var
=LIBRARY_PATH
10483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10484 soname_spec
='${libname}${release}${shared_ext}$major'
10485 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10486 shlibpath_var
=LD_LIBRARY_PATH
10487 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10488 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10489 # the default ld.so.conf also contains /usr/contrib/lib and
10490 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10491 # libtool to hard-code these into programs
10494 cygwin
* | mingw
* | pw32
* | cegcc
*)
10495 version_type
=windows
10500 case $GCC,$host_os in
10501 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10502 library_names_spec
='$libname.dll.a'
10503 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10504 postinstall_cmds
='base_file=`basename \${file}`~
10505 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10506 dldir=$destdir/`dirname \$dlpath`~
10507 test -d \$dldir || mkdir -p \$dldir~
10508 $install_prog $dir/$dlname \$dldir/$dlname~
10509 chmod a+x \$dldir/$dlname~
10510 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10511 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10513 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10514 dlpath=$dir/\$dldll~
10516 shlibpath_overrides_runpath
=yes
10520 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10521 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10523 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10526 # MinGW DLLs use traditional 'lib' prefix
10527 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10530 # pw32 DLLs use 'pw' prefix rather than 'lib'
10531 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10537 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10540 dynamic_linker
='Win32 ld.exe'
10541 # FIXME: first we should search . and the directory the executable is in
10545 darwin
* | rhapsody
*)
10546 dynamic_linker
="$host_os dyld"
10547 version_type
=darwin
10550 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10551 soname_spec
='${libname}${release}${major}$shared_ext'
10552 shlibpath_overrides_runpath
=yes
10553 shlibpath_var
=DYLD_LIBRARY_PATH
10554 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10556 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10557 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10565 soname_spec
='${libname}${release}${shared_ext}$major'
10566 shlibpath_var
=LD_LIBRARY_PATH
10569 freebsd
* | dragonfly
*)
10570 # DragonFly does not have aout. When/if they implement a new
10571 # versioning mechanism, adjust this.
10572 if test -x /usr
/bin
/objformat
; then
10573 objformat
=`/usr/bin/objformat`
10576 freebsd
[23].
*) objformat
=aout
;;
10577 *) objformat
=elf
;;
10580 version_type
=freebsd-
$objformat
10581 case $version_type in
10583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10588 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10592 shlibpath_var
=LD_LIBRARY_PATH
10595 shlibpath_overrides_runpath
=yes
10597 freebsd3.
[01]* | freebsdelf3.
[01]*)
10598 shlibpath_overrides_runpath
=yes
10599 hardcode_into_libs
=yes
10601 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10602 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10603 shlibpath_overrides_runpath
=no
10604 hardcode_into_libs
=yes
10606 *) # from 4.6 on, and DragonFly
10607 shlibpath_overrides_runpath
=yes
10608 hardcode_into_libs
=yes
10617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10618 soname_spec
='${libname}${release}${shared_ext}$major'
10619 shlibpath_var
=LD_LIBRARY_PATH
10620 hardcode_into_libs
=yes
10627 dynamic_linker
="$host_os runtime_loader"
10628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10629 soname_spec
='${libname}${release}${shared_ext}$major'
10630 shlibpath_var
=LIBRARY_PATH
10631 shlibpath_overrides_runpath
=yes
10632 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10633 hardcode_into_libs
=yes
10636 hpux9
* | hpux10
* | hpux11
*)
10637 # Give a soname corresponding to the major version so that dld.sl refuses to
10638 # link against other versions.
10645 hardcode_into_libs
=yes
10646 dynamic_linker
="$host_os dld.so"
10647 shlibpath_var
=LD_LIBRARY_PATH
10648 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650 soname_spec
='${libname}${release}${shared_ext}$major'
10651 if test "X$HPUX_IA64_MODE" = X32
; then
10652 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10654 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10656 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10660 hardcode_into_libs
=yes
10661 dynamic_linker
="$host_os dld.sl"
10662 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10663 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665 soname_spec
='${libname}${release}${shared_ext}$major'
10666 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10667 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10671 dynamic_linker
="$host_os dld.sl"
10672 shlibpath_var
=SHLIB_PATH
10673 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675 soname_spec
='${libname}${release}${shared_ext}$major'
10678 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10679 postinstall_cmds
='chmod 555 $lib'
10680 # or fails outright, so override atomically:
10681 install_override_mode
=555
10688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10689 soname_spec
='${libname}${release}${shared_ext}$major'
10690 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10691 shlibpath_var
=LD_LIBRARY_PATH
10692 shlibpath_overrides_runpath
=no
10693 hardcode_into_libs
=yes
10696 irix5
* | irix6
* | nonstopux
*)
10698 nonstopux
*) version_type
=nonstopux
;;
10700 if test "$lt_cv_prog_gnu_ld" = yes; then
10708 soname_spec
='${libname}${release}${shared_ext}$major'
10709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10711 irix5
* | nonstopux
*)
10712 libsuff
= shlibsuff
=
10715 case $LD in # libtool.m4 will add one of these switches to LD
10716 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10717 libsuff
= shlibsuff
= libmagic
=32-bit;;
10718 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10719 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10720 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10721 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10722 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10726 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10727 shlibpath_overrides_runpath
=no
10728 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10729 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10730 hardcode_into_libs
=yes
10733 # No shared lib support for Linux oldld, aout, or coff.
10734 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10738 # This must be Linux ELF.
10740 # uclinux* changes (here and below) have been submitted to the libtool
10741 # project, but have not yet been accepted: they are GCC-local changes
10742 # for the time being. (See
10743 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10744 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10749 soname_spec
='${libname}${release}${shared_ext}$major'
10750 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10751 shlibpath_var
=LD_LIBRARY_PATH
10752 shlibpath_overrides_runpath
=no
10754 # Some binutils ld are patched to set DT_RUNPATH
10755 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10756 $as_echo_n "(cached) " >&6
10758 lt_cv_shlibpath_overrides_runpath
=no
10759 save_LDFLAGS
=$LDFLAGS
10760 save_libdir
=$libdir
10761 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10762 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10774 if ac_fn_c_try_link
"$LINENO"; then :
10775 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10776 lt_cv_shlibpath_overrides_runpath
=yes
10779 rm -f core conftest.err conftest.
$ac_objext \
10780 conftest
$ac_exeext conftest.
$ac_ext
10781 LDFLAGS
=$save_LDFLAGS
10782 libdir
=$save_libdir
10786 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10788 # This implies no fast_install, which is unacceptable.
10789 # Some rework will be needed to allow for fast_install
10790 # before this can be enabled.
10791 hardcode_into_libs
=yes
10793 # Append ld.so.conf contents to the search path
10794 if test -f /etc
/ld.so.conf
; then
10795 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' ' '`
10796 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10799 # We used to test for /lib/ld.so.1 and disable shared libraries on
10800 # powerpc, because MkLinux only supported shared libraries with the
10801 # GNU dynamic linker. Since this was broken with cross compilers,
10802 # most powerpc-linux boxes support dynamic linking these days and
10803 # people can always --disable-shared, the test was removed, and we
10804 # assume the GNU/Linux dynamic linker is in use.
10805 dynamic_linker
='GNU/Linux ld.so'
10812 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10814 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10815 dynamic_linker
='NetBSD (a.out) ld.so'
10817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10818 soname_spec
='${libname}${release}${shared_ext}$major'
10819 dynamic_linker
='NetBSD ld.elf_so'
10821 shlibpath_var
=LD_LIBRARY_PATH
10822 shlibpath_overrides_runpath
=yes
10823 hardcode_into_libs
=yes
10828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 shlibpath_var
=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath
=yes
10837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 soname_spec
='${libname}${release}${shared_ext}$major'
10839 shlibpath_var
=LD_LIBRARY_PATH
10840 shlibpath_overrides_runpath
=no
10841 hardcode_into_libs
=yes
10842 dynamic_linker
='ldqnx.so'
10847 sys_lib_dlsearch_path_spec
="/usr/lib"
10849 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10851 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10852 *) need_version
=no
;;
10854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10855 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10856 shlibpath_var
=LD_LIBRARY_PATH
10857 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10859 openbsd2.
[89] | openbsd2.
[89].
*)
10860 shlibpath_overrides_runpath
=no
10863 shlibpath_overrides_runpath
=yes
10867 shlibpath_overrides_runpath
=yes
10872 libname_spec
='$name'
10875 library_names_spec
='$libname${shared_ext} $libname.a'
10876 dynamic_linker
='OS/2 ld.exe'
10877 shlibpath_var
=LIBPATH
10880 osf3
* | osf4
* | osf5
*)
10884 soname_spec
='${libname}${release}${shared_ext}$major'
10885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10886 shlibpath_var
=LD_LIBRARY_PATH
10887 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10888 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10900 soname_spec
='${libname}${release}${shared_ext}$major'
10901 shlibpath_var
=LD_LIBRARY_PATH
10902 shlibpath_overrides_runpath
=yes
10903 hardcode_into_libs
=yes
10904 # ldd complains unless libraries are executable
10905 postinstall_cmds
='chmod +x $lib'
10910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10911 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10912 shlibpath_var
=LD_LIBRARY_PATH
10913 shlibpath_overrides_runpath
=yes
10914 if test "$with_gnu_ld" = yes; then
10922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 soname_spec
='${libname}${release}${shared_ext}$major'
10924 shlibpath_var
=LD_LIBRARY_PATH
10925 case $host_vendor in
10927 shlibpath_overrides_runpath
=no
10929 runpath_var
=LD_RUN_PATH
10937 shlibpath_overrides_runpath
=no
10938 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10944 if test -d /usr
/nec
;then
10946 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10947 soname_spec
='$libname${shared_ext}.$major'
10948 shlibpath_var
=LD_LIBRARY_PATH
10952 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10953 version_type
=freebsd-elf
10956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10957 soname_spec
='${libname}${release}${shared_ext}$major'
10958 shlibpath_var
=LD_LIBRARY_PATH
10959 shlibpath_overrides_runpath
=yes
10960 hardcode_into_libs
=yes
10961 if test "$with_gnu_ld" = yes; then
10962 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10964 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10967 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10971 sys_lib_dlsearch_path_spec
='/usr/lib'
10975 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var
=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath
=no
10982 hardcode_into_libs
=yes
10987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10988 soname_spec
='${libname}${release}${shared_ext}$major'
10989 shlibpath_var
=LD_LIBRARY_PATH
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10997 $as_echo "$dynamic_linker" >&6; }
10998 test "$dynamic_linker" = no
&& can_build_shared
=no
11000 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11001 if test "$GCC" = yes; then
11002 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11005 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11006 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11008 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11009 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11104 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11106 if test -n "$hardcode_libdir_flag_spec" ||
11107 test -n "$runpath_var" ||
11108 test "X$hardcode_automatic" = "Xyes" ; then
11110 # We can hardcode non-existent directories.
11111 if test "$hardcode_direct" != no
&&
11112 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11113 # have to relink, otherwise we might link with an installed library
11114 # when we should be linking with a yet-to-be-installed one
11115 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11116 test "$hardcode_minus_L" != no
; then
11117 # Linking always hardcodes the temporary library directory.
11118 hardcode_action
=relink
11120 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11121 hardcode_action
=immediate
11124 # We cannot hardcode anything, or else we can only hardcode existing
11126 hardcode_action
=unsupported
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11129 $as_echo "$hardcode_action" >&6; }
11131 if test "$hardcode_action" = relink ||
11132 test "$inherit_rpath" = yes; then
11133 # Fast installation is not supported
11134 enable_fast_install
=no
11135 elif test "$shlibpath_overrides_runpath" = yes ||
11136 test "$enable_shared" = no
; then
11137 # Fast installation is not necessary
11138 enable_fast_install
=needless
11146 if test "x$enable_dlopen" != xyes
; then
11147 enable_dlopen
=unknown
11148 enable_dlopen_self
=unknown
11149 enable_dlopen_self_static
=unknown
11156 lt_cv_dlopen
="load_add_on"
11158 lt_cv_dlopen_self
=yes
11161 mingw
* | pw32
* | cegcc
*)
11162 lt_cv_dlopen
="LoadLibrary"
11167 lt_cv_dlopen
="dlopen"
11172 # if libdl is installed we need to link against it
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11174 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11175 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11176 $as_echo_n "(cached) " >&6
11178 ac_check_lib_save_LIBS
=$LIBS
11180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11198 if ac_fn_c_try_link
"$LINENO"; then :
11199 ac_cv_lib_dl_dlopen
=yes
11201 ac_cv_lib_dl_dlopen
=no
11203 rm -f core conftest.err conftest.
$ac_objext \
11204 conftest
$ac_exeext conftest.
$ac_ext
11205 LIBS
=$ac_check_lib_save_LIBS
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11208 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11209 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11210 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11213 lt_cv_dlopen
="dyld"
11215 lt_cv_dlopen_self
=yes
11222 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11223 if test "x$ac_cv_func_shl_load" = xyes
; then :
11224 lt_cv_dlopen
="shl_load"
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11227 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11228 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11229 $as_echo_n "(cached) " >&6
11231 ac_check_lib_save_LIBS
=$LIBS
11233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11246 return shl_load ();
11251 if ac_fn_c_try_link
"$LINENO"; then :
11252 ac_cv_lib_dld_shl_load
=yes
11254 ac_cv_lib_dld_shl_load
=no
11256 rm -f core conftest.err conftest.
$ac_objext \
11257 conftest
$ac_exeext conftest.
$ac_ext
11258 LIBS
=$ac_check_lib_save_LIBS
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11261 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11262 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11263 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11265 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11266 if test "x$ac_cv_func_dlopen" = xyes
; then :
11267 lt_cv_dlopen
="dlopen"
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11270 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11271 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11272 $as_echo_n "(cached) " >&6
11274 ac_check_lib_save_LIBS
=$LIBS
11276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11294 if ac_fn_c_try_link
"$LINENO"; then :
11295 ac_cv_lib_dl_dlopen
=yes
11297 ac_cv_lib_dl_dlopen
=no
11299 rm -f core conftest.err conftest.
$ac_objext \
11300 conftest
$ac_exeext conftest.
$ac_ext
11301 LIBS
=$ac_check_lib_save_LIBS
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11304 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11305 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11306 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11309 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11310 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11311 $as_echo_n "(cached) " >&6
11313 ac_check_lib_save_LIBS
=$LIBS
11314 LIBS
="-lsvld $LIBS"
11315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11333 if ac_fn_c_try_link
"$LINENO"; then :
11334 ac_cv_lib_svld_dlopen
=yes
11336 ac_cv_lib_svld_dlopen
=no
11338 rm -f core conftest.err conftest.
$ac_objext \
11339 conftest
$ac_exeext conftest.
$ac_ext
11340 LIBS
=$ac_check_lib_save_LIBS
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11343 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11344 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11345 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11348 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11349 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11350 $as_echo_n "(cached) " >&6
11352 ac_check_lib_save_LIBS
=$LIBS
11354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11367 return dld_link ();
11372 if ac_fn_c_try_link
"$LINENO"; then :
11373 ac_cv_lib_dld_dld_link
=yes
11375 ac_cv_lib_dld_dld_link
=no
11377 rm -f core conftest.err conftest.
$ac_objext \
11378 conftest
$ac_exeext conftest.
$ac_ext
11379 LIBS
=$ac_check_lib_save_LIBS
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11382 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11383 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11384 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11405 if test "x$lt_cv_dlopen" != xno
; then
11411 case $lt_cv_dlopen in
11413 save_CPPFLAGS
="$CPPFLAGS"
11414 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11416 save_LDFLAGS
="$LDFLAGS"
11417 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11420 LIBS
="$lt_cv_dlopen_libs $LIBS"
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11423 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11424 if ${lt_cv_dlopen_self+:} false
; then :
11425 $as_echo_n "(cached) " >&6
11427 if test "$cross_compiling" = yes; then :
11428 lt_cv_dlopen_self
=cross
11430 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11431 lt_status
=$lt_dlunknown
11432 cat > conftest.
$ac_ext <<_LT_EOF
11433 #line 11433 "configure"
11434 #include "confdefs.h"
11443 # define LT_DLGLOBAL RTLD_GLOBAL
11446 # define LT_DLGLOBAL DL_GLOBAL
11448 # define LT_DLGLOBAL 0
11452 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11453 find out it does not work in some platform. */
11454 #ifndef LT_DLLAZY_OR_NOW
11456 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11459 # define LT_DLLAZY_OR_NOW DL_LAZY
11462 # define LT_DLLAZY_OR_NOW RTLD_NOW
11465 # define LT_DLLAZY_OR_NOW DL_NOW
11467 # define LT_DLLAZY_OR_NOW 0
11474 /* When -fvisbility=hidden is used, assume the code has been annotated
11475 correspondingly for the symbols needed. */
11476 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11477 void fnord () __attribute__((visibility("default")));
11480 void fnord () { int i=42; }
11483 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11484 int status = $lt_dlunknown;
11488 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11491 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11492 else puts (dlerror ());
11494 /* dlclose (self); */
11502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11503 (eval $ac_link) 2>&5
11505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11506 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11507 (.
/conftest
; exit; ) >&5 2>/dev
/null
11509 case x
$lt_status in
11510 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11511 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11512 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11515 # compilation failed
11516 lt_cv_dlopen_self
=no
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11524 $as_echo "$lt_cv_dlopen_self" >&6; }
11526 if test "x$lt_cv_dlopen_self" = xyes
; then
11527 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11529 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11530 if ${lt_cv_dlopen_self_static+:} false
; then :
11531 $as_echo_n "(cached) " >&6
11533 if test "$cross_compiling" = yes; then :
11534 lt_cv_dlopen_self_static
=cross
11536 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11537 lt_status
=$lt_dlunknown
11538 cat > conftest.
$ac_ext <<_LT_EOF
11539 #line 11539 "configure"
11540 #include "confdefs.h"
11549 # define LT_DLGLOBAL RTLD_GLOBAL
11552 # define LT_DLGLOBAL DL_GLOBAL
11554 # define LT_DLGLOBAL 0
11558 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11559 find out it does not work in some platform. */
11560 #ifndef LT_DLLAZY_OR_NOW
11562 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11565 # define LT_DLLAZY_OR_NOW DL_LAZY
11568 # define LT_DLLAZY_OR_NOW RTLD_NOW
11571 # define LT_DLLAZY_OR_NOW DL_NOW
11573 # define LT_DLLAZY_OR_NOW 0
11580 /* When -fvisbility=hidden is used, assume the code has been annotated
11581 correspondingly for the symbols needed. */
11582 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11583 void fnord () __attribute__((visibility("default")));
11586 void fnord () { int i=42; }
11589 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11590 int status = $lt_dlunknown;
11594 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11597 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11598 else puts (dlerror ());
11600 /* dlclose (self); */
11608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11609 (eval $ac_link) 2>&5
11611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11612 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11613 (.
/conftest
; exit; ) >&5 2>/dev
/null
11615 case x
$lt_status in
11616 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11617 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11618 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11621 # compilation failed
11622 lt_cv_dlopen_self_static
=no
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11630 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11633 CPPFLAGS
="$save_CPPFLAGS"
11634 LDFLAGS
="$save_LDFLAGS"
11639 case $lt_cv_dlopen_self in
11640 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11641 *) enable_dlopen_self
=unknown
;;
11644 case $lt_cv_dlopen_self_static in
11645 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11646 *) enable_dlopen_self_static
=unknown
;;
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11669 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11670 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11671 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11672 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11674 $as_echo "yes" >&6; }
11676 # FIXME - insert some real tests, host_os isn't really good enough
11679 if test -n "$STRIP" ; then
11680 striplib
="$STRIP -x"
11681 old_striplib
="$STRIP -S"
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11683 $as_echo "yes" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11686 $as_echo "no" >&6; }
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11691 $as_echo "no" >&6; }
11707 # Report which library types will actually be built
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11709 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11711 $as_echo "$can_build_shared" >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11714 $as_echo_n "checking whether to build shared libraries... " >&6; }
11715 test "$can_build_shared" = "no" && enable_shared
=no
11717 # On AIX, shared libraries and static libraries use the same namespace, and
11718 # are all built from PIC.
11721 test "$enable_shared" = yes && enable_static
=no
11722 if test -n "$RANLIB"; then
11723 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11724 postinstall_cmds
='$RANLIB $lib'
11729 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11730 test "$enable_shared" = yes && enable_static
=no
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11735 $as_echo "$enable_shared" >&6; }
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11738 $as_echo_n "checking whether to build static libraries... " >&6; }
11739 # Make sure either enable_shared or enable_static is yes.
11740 test "$enable_shared" = yes || enable_static
=yes
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11742 $as_echo "$enable_static" >&6; }
11749 ac_cpp
='$CPP $CPPFLAGS'
11750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11756 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11757 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11758 (test "X$CXX" != "Xg++"))) ; then
11760 ac_cpp
='$CXXCPP $CPPFLAGS'
11761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11765 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11766 if test -z "$CXXCPP"; then
11767 if ${ac_cv_prog_CXXCPP+:} false
; then :
11768 $as_echo_n "(cached) " >&6
11770 # Double quotes because CXXCPP needs to be expanded
11771 for CXXCPP
in "$CXX -E" "/lib/cpp"
11773 ac_preproc_ok
=false
11774 for ac_cxx_preproc_warn_flag
in '' yes
11776 # Use a header file that comes with gcc, so configuring glibc
11777 # with a fresh cross-compiler works.
11778 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11779 # <limits.h> exists even on freestanding compilers.
11780 # On the NeXT, cc -E runs the code through the compiler's parser,
11781 # not just through cpp. "Syntax error" is here to catch this case.
11782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11785 # include <limits.h>
11787 # include <assert.h>
11791 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11794 # Broken: fails on valid input.
11797 rm -f conftest.err conftest.i conftest.
$ac_ext
11799 # OK, works on sane cases. Now check whether nonexistent headers
11800 # can be detected and how.
11801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11803 #include <ac_nonexistent.h>
11805 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11806 # Broken: success on invalid input.
11809 # Passes both tests.
11813 rm -f conftest.err conftest.i conftest.
$ac_ext
11816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11817 rm -f conftest.i conftest.err conftest.
$ac_ext
11818 if $ac_preproc_ok; then :
11823 ac_cv_prog_CXXCPP
=$CXXCPP
11826 CXXCPP
=$ac_cv_prog_CXXCPP
11828 ac_cv_prog_CXXCPP
=$CXXCPP
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11831 $as_echo "$CXXCPP" >&6; }
11832 ac_preproc_ok
=false
11833 for ac_cxx_preproc_warn_flag
in '' yes
11835 # Use a header file that comes with gcc, so configuring glibc
11836 # with a fresh cross-compiler works.
11837 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11838 # <limits.h> exists even on freestanding compilers.
11839 # On the NeXT, cc -E runs the code through the compiler's parser,
11840 # not just through cpp. "Syntax error" is here to catch this case.
11841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11844 # include <limits.h>
11846 # include <assert.h>
11850 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11853 # Broken: fails on valid input.
11856 rm -f conftest.err conftest.i conftest.
$ac_ext
11858 # OK, works on sane cases. Now check whether nonexistent headers
11859 # can be detected and how.
11860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h. */
11862 #include <ac_nonexistent.h>
11864 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11865 # Broken: success on invalid input.
11868 # Passes both tests.
11872 rm -f conftest.err conftest.i conftest.
$ac_ext
11875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11876 rm -f conftest.i conftest.err conftest.
$ac_ext
11877 if $ac_preproc_ok; then :
11880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11882 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11883 See \`config.log' for more details" "$LINENO" 5; }
11887 ac_cpp
='$CPP $CPPFLAGS'
11888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11893 _lt_caught_CXX_error
=yes
11897 ac_cpp
='$CXXCPP $CPPFLAGS'
11898 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11899 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11900 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11902 archive_cmds_need_lc_CXX
=no
11903 allow_undefined_flag_CXX
=
11904 always_export_symbols_CXX
=no
11905 archive_expsym_cmds_CXX
=
11906 compiler_needs_object_CXX
=no
11907 export_dynamic_flag_spec_CXX
=
11908 hardcode_direct_CXX
=no
11909 hardcode_direct_absolute_CXX
=no
11910 hardcode_libdir_flag_spec_CXX
=
11911 hardcode_libdir_flag_spec_ld_CXX
=
11912 hardcode_libdir_separator_CXX
=
11913 hardcode_minus_L_CXX
=no
11914 hardcode_shlibpath_var_CXX
=unsupported
11915 hardcode_automatic_CXX
=no
11916 inherit_rpath_CXX
=no
11918 module_expsym_cmds_CXX
=
11919 link_all_deplibs_CXX
=unknown
11920 old_archive_cmds_CXX
=$old_archive_cmds
11921 reload_flag_CXX
=$reload_flag
11922 reload_cmds_CXX
=$reload_cmds
11923 no_undefined_flag_CXX
=
11924 whole_archive_flag_spec_CXX
=
11925 enable_shared_with_static_runtimes_CXX
=no
11927 # Source file extension for C++ test sources.
11930 # Object file extension for compiled C++ test sources.
11934 # No sense in running all these tests if we already determined that
11935 # the CXX compiler isn't working. Some variables (like enable_shared)
11936 # are currently assumed to apply to all compilers on this platform,
11937 # and will be corrupted by setting them based on a non-working compiler.
11938 if test "$_lt_caught_CXX_error" != yes; then
11939 # Code to be used in simple compile tests
11940 lt_simple_compile_test_code
="int some_variable = 0;"
11942 # Code to be used in simple link tests
11943 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11945 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11952 # If no C compiler was specified, use CC.
11955 # If no C compiler flags were specified, use CFLAGS.
11956 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11958 # Allow CC to be a program name with arguments.
11962 # save warnings/boilerplate of simple test code
11963 ac_outfile
=conftest.
$ac_objext
11964 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11965 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11966 _lt_compiler_boilerplate
=`cat conftest.err`
11969 ac_outfile
=conftest.
$ac_objext
11970 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11971 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11972 _lt_linker_boilerplate
=`cat conftest.err`
11976 # Allow CC to be a program name with arguments.
11981 lt_save_with_gnu_ld
=$with_gnu_ld
11982 lt_save_path_LD
=$lt_cv_path_LD
11983 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11984 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11986 $as_unset lt_cv_prog_gnu_ld
11988 if test -n "${lt_cv_path_LDCXX+set}"; then
11989 lt_cv_path_LD
=$lt_cv_path_LDCXX
11991 $as_unset lt_cv_path_LD
11993 test -z "${LDCXX+set}" || LD
=$LDCXX
11997 for cc_temp
in $compiler""; do
11999 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12000 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12005 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12008 if test -n "$compiler"; then
12009 # We don't want -fno-exception when compiling C++ code, so set the
12010 # no_builtin_flag separately
12011 if test "$GXX" = yes; then
12012 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12014 lt_prog_compiler_no_builtin_flag_CXX
=
12017 if test "$GXX" = yes; then
12018 # Set up default GNU C++ configuration
12022 # Check whether --with-gnu-ld was given.
12023 if test "${with_gnu_ld+set}" = set; then :
12024 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12030 if test "$GCC" = yes; then
12031 # Check if gcc -print-prog-name=ld gives a path.
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12033 $as_echo_n "checking for ld used by $CC... " >&6; }
12036 # gcc leaves a trailing carriage return which upsets mingw
12037 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12039 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12042 # Accept absolute paths.
12044 re_direlt
='/[^/][^/]*/\.\./'
12045 # Canonicalize the pathname of ld
12046 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12047 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12048 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12050 test -z "$LD" && LD
="$ac_prog"
12053 # If it fails, then pretend we aren't using GCC.
12057 # If it is relative, then search for the first ld in PATH.
12058 with_gnu_ld
=unknown
12061 elif test "$with_gnu_ld" = yes; then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12063 $as_echo_n "checking for GNU ld... " >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12066 $as_echo_n "checking for non-GNU ld... " >&6; }
12068 if ${lt_cv_path_LD+:} false
; then :
12069 $as_echo_n "(cached) " >&6
12071 if test -z "$LD"; then
12072 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12073 for ac_dir
in $PATH; do
12075 test -z "$ac_dir" && ac_dir
=.
12076 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12077 lt_cv_path_LD
="$ac_dir/$ac_prog"
12078 # Check to see if the program is GNU ld. I'd rather use --version,
12079 # but apparently some variants of GNU ld only accept -v.
12080 # Break only if it was the GNU/non-GNU ld that we prefer.
12081 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12082 *GNU
* |
*'with BFD'*)
12083 test "$with_gnu_ld" != no
&& break
12086 test "$with_gnu_ld" != yes && break
12093 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12097 LD
="$lt_cv_path_LD"
12098 if test -n "$LD"; then
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12100 $as_echo "$LD" >&6; }
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12103 $as_echo "no" >&6; }
12105 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12107 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12108 if ${lt_cv_prog_gnu_ld+:} false
; then :
12109 $as_echo_n "(cached) " >&6
12111 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12112 case `$LD -v 2>&1 </dev/null` in
12113 *GNU
* |
*'with BFD'*)
12114 lt_cv_prog_gnu_ld
=yes
12117 lt_cv_prog_gnu_ld
=no
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12122 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12123 with_gnu_ld
=$lt_cv_prog_gnu_ld
12131 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12132 # archiving commands below assume that GNU ld is being used.
12133 if test "$with_gnu_ld" = yes; then
12134 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12135 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'
12137 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12138 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12140 # If archive_cmds runs LD, not CC, wlarc should be empty
12141 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12142 # investigate it a little bit more. (MM)
12145 # ancient GNU ld didn't support --whole-archive et. al.
12146 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12147 $GREP 'no-whole-archive' > /dev
/null
; then
12148 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12150 whole_archive_flag_spec_CXX
=
12156 # A generic and very simple default shared library creation
12157 # command for GNU C++ for the case where it uses the native
12158 # linker, instead of GNU ld. If possible, this setting should
12159 # overridden to take advantage of the native linker features on
12160 # the platform it is being used on.
12161 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12164 # Commands to make compiler produce verbose output that lists
12165 # what "hidden" libraries, object files and flags are used when
12166 # linking a shared library.
12167 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12175 # PORTME: fill in a description of your system's C++ link characteristics
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12177 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12181 # FIXME: insert proper C++ library support
12185 if test "$host_cpu" = ia64
; then
12186 # On IA64, the linker does run time linking by default, so we don't
12187 # have to do anything special.
12188 aix_use_runtimelinking
=no
12189 exp_sym_flag
='-Bexport'
12192 aix_use_runtimelinking
=no
12194 # Test if we are trying to use run time linking or normal
12195 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12196 # need to do runtime linking.
12197 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12198 for ld_flag
in $LDFLAGS; do
12201 aix_use_runtimelinking
=yes
12209 exp_sym_flag
='-bexport'
12210 no_entry_flag
='-bnoentry'
12213 # When large executables or shared objects are built, AIX ld can
12214 # have problems creating the table of contents. If linking a library
12215 # or program results in "error TOC overflow" add -mminimal-toc to
12216 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12217 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12219 archive_cmds_CXX
=''
12220 hardcode_direct_CXX
=yes
12221 hardcode_direct_absolute_CXX
=yes
12222 hardcode_libdir_separator_CXX
=':'
12223 link_all_deplibs_CXX
=yes
12224 file_list_spec_CXX
='${wl}-f,'
12226 if test "$GXX" = yes; then
12227 case $host_os in aix4.
[012]|aix4.
[012].
*)
12228 # We only want to do this on AIX 4.2 and lower, the check
12229 # below for broken collect2 doesn't work under 4.3+
12230 collect2name
=`${CC} -print-prog-name=collect2`
12231 if test -f "$collect2name" &&
12232 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12234 # We have reworked collect2
12237 # We have old collect2
12238 hardcode_direct_CXX
=unsupported
12239 # It fails to find uninstalled libraries when the uninstalled
12240 # path is not listed in the libpath. Setting hardcode_minus_L
12241 # to unsupported forces relinking
12242 hardcode_minus_L_CXX
=yes
12243 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12244 hardcode_libdir_separator_CXX
=
12247 shared_flag
='-shared'
12248 if test "$aix_use_runtimelinking" = yes; then
12249 shared_flag
="$shared_flag "'${wl}-G'
12253 if test "$host_cpu" = ia64
; then
12254 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12255 # chokes on -Wl,-G. The following line is correct:
12258 if test "$aix_use_runtimelinking" = yes; then
12259 shared_flag
='${wl}-G'
12261 shared_flag
='${wl}-bM:SRE'
12266 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12267 # It seems that -bexpall does not export symbols beginning with
12268 # underscore (_), so it is better to generate a list of symbols to
12270 always_export_symbols_CXX
=yes
12271 if test "$aix_use_runtimelinking" = yes; then
12272 # Warning - without using the other runtime loading flags (-brtl),
12273 # -berok will link without error, but may produce a broken library.
12274 allow_undefined_flag_CXX
='-berok'
12275 # Determine the default libpath from the value encoded in an empty
12277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12288 if ac_fn_cxx_try_link
"$LINENO"; then :
12290 lt_aix_libpath_sed
='
12291 /Import File Strings/,/^$/ {
12297 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12298 # Check for a 64-bit object if we didn't find anything.
12299 if test -z "$aix_libpath"; then
12300 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12303 rm -f core conftest.err conftest.
$ac_objext \
12304 conftest
$ac_exeext conftest.
$ac_ext
12305 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12307 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12309 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"
12311 if test "$host_cpu" = ia64
; then
12312 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12313 allow_undefined_flag_CXX
="-z nodefs"
12314 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"
12316 # Determine the default libpath from the value encoded in an
12317 # empty executable.
12318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12329 if ac_fn_cxx_try_link
"$LINENO"; then :
12331 lt_aix_libpath_sed
='
12332 /Import File Strings/,/^$/ {
12338 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12339 # Check for a 64-bit object if we didn't find anything.
12340 if test -z "$aix_libpath"; then
12341 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12344 rm -f core conftest.err conftest.
$ac_objext \
12345 conftest
$ac_exeext conftest.
$ac_ext
12346 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12348 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12349 # Warning - without using the other run time loading flags,
12350 # -berok will link without error, but may produce a broken library.
12351 no_undefined_flag_CXX
=' ${wl}-bernotok'
12352 allow_undefined_flag_CXX
=' ${wl}-berok'
12353 if test "$with_gnu_ld" = yes; then
12354 # We only use this code for GNU lds that support --whole-archive.
12355 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12357 # Exported symbols can be pulled into shared objects from archives
12358 whole_archive_flag_spec_CXX
='$convenience'
12360 archive_cmds_need_lc_CXX
=yes
12361 # This is similar to how AIX traditionally builds its shared
12363 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'
12369 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12370 allow_undefined_flag_CXX
=unsupported
12371 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12372 # support --undefined. This deserves some investigation. FIXME
12373 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12380 case $cc_basename in
12382 # FIXME: insert proper C++ library support
12388 cygwin
* | mingw
* | pw32
* | cegcc
*)
12389 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12390 # as there is no search path for DLLs.
12391 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12392 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12393 allow_undefined_flag_CXX
=unsupported
12394 always_export_symbols_CXX
=no
12395 enable_shared_with_static_runtimes_CXX
=yes
12397 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12398 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'
12399 # If the export-symbols file already is a .def file (1st line
12400 # is EXPORTS), use it as is; otherwise, prepend...
12401 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12402 cp $export_symbols $output_objdir/$soname.def;
12404 echo EXPORTS > $output_objdir/$soname.def;
12405 cat $export_symbols >> $output_objdir/$soname.def;
12407 $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'
12412 darwin
* | rhapsody
*)
12415 archive_cmds_need_lc_CXX
=no
12416 hardcode_direct_CXX
=no
12417 hardcode_automatic_CXX
=yes
12418 hardcode_shlibpath_var_CXX
=unsupported
12419 if test "$lt_cv_ld_force_load" = "yes"; then
12420 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\"`'
12422 whole_archive_flag_spec_CXX
=''
12424 link_all_deplibs_CXX
=yes
12425 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12426 case $cc_basename in
12427 ifort
*) _lt_dar_can_shared
=yes ;;
12428 *) _lt_dar_can_shared
=$GCC ;;
12430 if test "$_lt_dar_can_shared" = "yes"; then
12431 output_verbose_link_cmd
=func_echo_all
12432 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}"
12433 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12434 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}"
12435 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}"
12436 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12437 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}"
12438 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}"
12448 case $cc_basename in
12450 # FIXME: insert proper C++ library support
12454 # Green Hills C++ Compiler
12455 # FIXME: insert proper C++ library support
12459 # FIXME: insert proper C++ library support
12466 # C++ shared libraries reported to be fairly broken before
12472 archive_cmds_need_lc_CXX
=no
12475 freebsd
* | dragonfly
*)
12476 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12485 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12486 link_all_deplibs_CXX
=yes
12490 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12491 hardcode_libdir_separator_CXX
=:
12492 export_dynamic_flag_spec_CXX
='${wl}-E'
12493 hardcode_direct_CXX
=yes
12494 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12495 # but as the default
12496 # location of the library.
12498 case $cc_basename in
12500 # FIXME: insert proper C++ library support
12504 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'
12505 # Commands to make compiler produce verbose output that lists
12506 # what "hidden" libraries, object files and flags are used when
12507 # linking a shared library.
12509 # There doesn't appear to be a way to prevent this compiler from
12510 # explicitly linking system object files so we need to strip them
12511 # from the output so that they don't get included in the library
12513 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"'
12516 if test "$GXX" = yes; then
12517 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'
12519 # FIXME: insert proper C++ library support
12527 if test $with_gnu_ld = no
; then
12528 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12529 hardcode_libdir_separator_CXX
=:
12535 export_dynamic_flag_spec_CXX
='${wl}-E'
12541 hardcode_direct_CXX
=no
12542 hardcode_shlibpath_var_CXX
=no
12545 hardcode_direct_CXX
=yes
12546 hardcode_direct_absolute_CXX
=yes
12547 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12548 # but as the default
12549 # location of the library.
12553 case $cc_basename in
12555 # FIXME: insert proper C++ library support
12561 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12564 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12567 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12570 # Commands to make compiler produce verbose output that lists
12571 # what "hidden" libraries, object files and flags are used when
12572 # linking a shared library.
12574 # There doesn't appear to be a way to prevent this compiler from
12575 # explicitly linking system object files so we need to strip them
12576 # from the output so that they don't get included in the library
12578 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"'
12581 if test "$GXX" = yes; then
12582 if test $with_gnu_ld = no
; then
12585 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12588 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12591 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'
12596 # FIXME: insert proper C++ library support
12604 hardcode_direct_CXX
=no
12605 hardcode_shlibpath_var_CXX
=no
12606 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12607 export_dynamic_flag_spec_CXX
='${wl}-E'
12608 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12609 # Instead, shared libraries are loaded at an image base (0x10000000 by
12610 # default) and relocated if they conflict, which is a slow very memory
12611 # consuming and fragmenting process. To avoid this, we pick a random,
12612 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12613 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12614 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'
12615 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'
12618 case $cc_basename in
12621 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'
12623 # Archives containing C++ object files must be created using
12624 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12625 # necessary to make sure instantiated templates are included
12627 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12630 if test "$GXX" = yes; then
12631 if test "$with_gnu_ld" = no
; then
12632 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'
12634 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'
12637 link_all_deplibs_CXX
=yes
12640 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12641 hardcode_libdir_separator_CXX
=:
12642 inherit_rpath_CXX
=yes
12645 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12646 case $cc_basename in
12648 # Kuck and Associates, Inc. (KAI) C++ Compiler
12650 # KCC will only create a shared library if the output file
12651 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12652 # to its proper name (with version) after linking.
12653 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'
12654 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'
12655 # Commands to make compiler produce verbose output that lists
12656 # what "hidden" libraries, object files and flags are used when
12657 # linking a shared library.
12659 # There doesn't appear to be a way to prevent this compiler from
12660 # explicitly linking system object files so we need to strip them
12661 # from the output so that they don't get included in the library
12663 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"'
12665 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12666 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12668 # Archives containing C++ object files must be created using
12669 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12670 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12675 # version 8.0 and above of icpc choke on multiply defined symbols
12676 # if we add $predep_objects and $postdep_objects, however 7.1 and
12677 # earlier do not add the objects themselves.
12678 case `$CC -V 2>&1` in
12680 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12681 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'
12683 *) # Version 8.0 or newer
12686 ia64
*) tmp_idyn
=' -i_dynamic';;
12688 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12689 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'
12692 archive_cmds_need_lc_CXX
=no
12693 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12694 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12695 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12698 # Portland Group C++ compiler
12700 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12701 prelink_cmds_CXX
='tpldir=Template.dir~
12703 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12704 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12705 old_archive_cmds_CXX
='tpldir=Template.dir~
12707 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12708 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12710 archive_cmds_CXX
='tpldir=Template.dir~
12712 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12713 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12714 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12716 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12717 $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'
12719 *) # Version 6 and above use weak symbols
12720 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12721 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'
12725 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12726 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12727 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'
12731 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12732 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'
12734 runpath_var
=LD_RUN_PATH
12735 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12736 hardcode_libdir_separator_CXX
=:
12738 # Commands to make compiler produce verbose output that lists
12739 # what "hidden" libraries, object files and flags are used when
12740 # linking a shared library.
12742 # There doesn't appear to be a way to prevent this compiler from
12743 # explicitly linking system object files so we need to strip them
12744 # from the output so that they don't get included in the library
12746 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'
12748 xl
* | mpixl
* | bgxl
*)
12749 # IBM XL 8.0 on PPC, with GNU ld
12750 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12751 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12752 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12753 if test "x$supports_anon_versioning" = xyes
; then
12754 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12755 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12756 echo "local: *; };" >> $output_objdir/$libname.ver~
12757 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12761 case `$CC -V 2>&1 | sed 5q` in
12764 no_undefined_flag_CXX
=' -zdefs'
12765 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12766 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'
12767 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12768 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'
12769 compiler_needs_object_CXX
=yes
12771 # Not sure whether something based on
12772 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12774 output_verbose_link_cmd
='func_echo_all'
12776 # Archives containing C++ object files must be created using
12777 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12778 # necessary to make sure instantiated templates are included
12780 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12788 # FIXME: insert proper C++ library support
12793 # FIXME: insert proper C++ library support
12798 case $cc_basename in
12800 # FIXME: insert proper C++ library support
12804 # FIXME: insert proper C++ library support
12811 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12812 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12814 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12815 hardcode_direct_CXX
=yes
12816 hardcode_shlibpath_var_CXX
=no
12818 # Workaround some broken pre-1.5 toolchains
12819 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12827 # C++ shared libraries are fairly broken
12832 if test -f /usr
/libexec
/ld.so
; then
12833 hardcode_direct_CXX
=yes
12834 hardcode_shlibpath_var_CXX
=no
12835 hardcode_direct_absolute_CXX
=yes
12836 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12837 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12838 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12839 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12840 export_dynamic_flag_spec_CXX
='${wl}-E'
12841 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12843 output_verbose_link_cmd
=func_echo_all
12849 osf3
* | osf4
* | osf5
*)
12850 case $cc_basename in
12852 # Kuck and Associates, Inc. (KAI) C++ Compiler
12854 # KCC will only create a shared library if the output file
12855 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12856 # to its proper name (with version) after linking.
12857 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'
12859 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12860 hardcode_libdir_separator_CXX
=:
12862 # Archives containing C++ object files must be created using
12863 # the KAI C++ compiler.
12865 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12866 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12870 # Rational C++ 2.4.1
12871 # FIXME: insert proper C++ library support
12877 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12878 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'
12879 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12882 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12883 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'
12884 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12885 echo "-hidden">> $lib.exp~
12886 $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~
12888 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12892 hardcode_libdir_separator_CXX
=:
12894 # Commands to make compiler produce verbose output that lists
12895 # what "hidden" libraries, object files and flags are used when
12896 # linking a shared library.
12898 # There doesn't appear to be a way to prevent this compiler from
12899 # explicitly linking system object files so we need to strip them
12900 # from the output so that they don't get included in the library
12902 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"'
12905 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12906 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12909 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'
12912 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'
12916 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12917 hardcode_libdir_separator_CXX
=:
12919 # Commands to make compiler produce verbose output that lists
12920 # what "hidden" libraries, object files and flags are used when
12921 # linking a shared library.
12922 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12925 # FIXME: insert proper C++ library support
12933 # FIXME: insert proper C++ library support
12938 case $cc_basename in
12941 # FIXME: insert proper C++ library support
12946 # FIXME: insert proper C++ library support
12950 # FIXME: insert proper C++ library support
12957 case $cc_basename in
12959 # Sun C++ 4.2, 5.x and Centerline C++
12960 archive_cmds_need_lc_CXX
=yes
12961 no_undefined_flag_CXX
=' -zdefs'
12962 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12963 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12964 $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'
12966 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12967 hardcode_shlibpath_var_CXX
=no
12969 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12971 # The compiler driver will combine and reorder linker options,
12972 # but understands `-z linker_flag'.
12973 # Supported since Solaris 2.6 (maybe 2.5.1?)
12974 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12977 link_all_deplibs_CXX
=yes
12979 output_verbose_link_cmd
='func_echo_all'
12981 # Archives containing C++ object files must be created using
12982 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12983 # necessary to make sure instantiated templates are included
12985 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12988 # Green Hills C++ Compiler
12989 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12991 # The C++ compiler must be used to create the archive.
12992 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12995 # GNU C++ compiler with Solaris linker
12996 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12997 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12998 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12999 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13000 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13001 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13003 # Commands to make compiler produce verbose output that lists
13004 # what "hidden" libraries, object files and flags are used when
13005 # linking a shared library.
13006 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13008 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13010 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13011 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13012 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13014 # Commands to make compiler produce verbose output that lists
13015 # what "hidden" libraries, object files and flags are used when
13016 # linking a shared library.
13017 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13020 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13022 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13024 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13032 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13033 no_undefined_flag_CXX
='${wl}-z,text'
13034 archive_cmds_need_lc_CXX
=no
13035 hardcode_shlibpath_var_CXX
=no
13036 runpath_var
='LD_RUN_PATH'
13038 case $cc_basename in
13040 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13041 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13044 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13045 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13050 sysv5
* | sco3.2v5
* | sco5v6
*)
13051 # Note: We can NOT use -z defs as we might desire, because we do not
13052 # link with -lc, and that would cause any symbols used from libc to
13053 # always be unresolved, which means just about no library would
13054 # ever link correctly. If we're not using GNU ld we use -z text
13055 # though, which does catch some bad symbols but isn't as heavy-handed
13057 no_undefined_flag_CXX
='${wl}-z,text'
13058 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13059 archive_cmds_need_lc_CXX
=no
13060 hardcode_shlibpath_var_CXX
=no
13061 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13062 hardcode_libdir_separator_CXX
=':'
13063 link_all_deplibs_CXX
=yes
13064 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13065 runpath_var
='LD_RUN_PATH'
13067 case $cc_basename in
13069 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13070 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13071 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13072 '"$old_archive_cmds_CXX"
13073 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13074 '"$reload_cmds_CXX"
13077 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13078 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13084 case $cc_basename in
13086 # NonStop-UX NCC 3.20
13087 # FIXME: insert proper C++ library support
13091 # FIXME: insert proper C++ library support
13098 # FIXME: insert proper C++ library support
13103 # FIXME: insert proper C++ library support
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13109 $as_echo "$ld_shlibs_CXX" >&6; }
13110 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13116 ## There is no encapsulation within the following macros, do not change
13117 ## the running order or otherwise move them around unless you know exactly
13118 ## what you are doing...
13119 # Dependencies to place before and after the object being linked:
13120 predep_objects_CXX
=
13121 postdep_objects_CXX
=
13124 compiler_lib_search_path_CXX
=
13126 cat > conftest.
$ac_ext <<_LT_EOF
13130 Foo (void) { a = 0; }
13136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13137 (eval $ac_compile) 2>&5
13139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13140 test $ac_status = 0; }; then
13141 # Parse the compiler output and extract the necessary
13142 # objects, libraries and library flags.
13144 # Sentinel used to keep track of whether or not we are before
13145 # the conftest object file.
13146 pre_test_object_deps_done
=no
13148 for p
in `eval "$output_verbose_link_cmd"`; do
13152 # Some compilers place space between "-{L,R}" and the path.
13153 # Remove the space.
13154 if test $p = "-L" ||
13155 test $p = "-R"; then
13162 if test "$pre_test_object_deps_done" = no
; then
13165 # Internal compiler library paths should come after those
13166 # provided the user. The postdeps already come after the
13167 # user supplied libs so there is no need to process them.
13168 if test -z "$compiler_lib_search_path_CXX"; then
13169 compiler_lib_search_path_CXX
="${prev}${p}"
13171 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13174 # The "-l" case would never come before the object being
13175 # linked, so don't bother handling this case.
13178 if test -z "$postdeps_CXX"; then
13179 postdeps_CXX
="${prev}${p}"
13181 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13187 # This assumes that the test object file only shows up
13188 # once in the compiler output.
13189 if test "$p" = "conftest.$objext"; then
13190 pre_test_object_deps_done
=yes
13194 if test "$pre_test_object_deps_done" = no
; then
13195 if test -z "$predep_objects_CXX"; then
13196 predep_objects_CXX
="$p"
13198 predep_objects_CXX
="$predep_objects_CXX $p"
13201 if test -z "$postdep_objects_CXX"; then
13202 postdep_objects_CXX
="$p"
13204 postdep_objects_CXX
="$postdep_objects_CXX $p"
13209 *) ;; # Ignore the rest.
13217 echo "libtool.m4: error: problem compiling CXX test program"
13220 $RM -f confest.
$objext
13222 # PORTME: override above test on systems where it is broken
13225 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13226 # hack all around it, let's just trust "g++" to DTRT.
13227 predep_objects_CXX
=
13228 postdep_objects_CXX
=
13233 case `$CC -V 2>&1 | sed 5q` in
13237 # The more standards-conforming stlport4 library is
13238 # incompatible with the Cstd library. Avoid specifying
13239 # it if it's in CXXFLAGS. Ignore libCrun as
13240 # -library=stlport4 depends on it.
13241 case " $CXX $CXXFLAGS " in
13242 *" -library=stlport4 "*)
13243 solaris_use_stlport4
=yes
13247 if test "$solaris_use_stlport4" != yes; then
13248 postdeps_CXX
='-library=Cstd -library=Crun'
13255 case $cc_basename in
13257 # The more standards-conforming stlport4 library is
13258 # incompatible with the Cstd library. Avoid specifying
13259 # it if it's in CXXFLAGS. Ignore libCrun as
13260 # -library=stlport4 depends on it.
13261 case " $CXX $CXXFLAGS " in
13262 *" -library=stlport4 "*)
13263 solaris_use_stlport4
=yes
13267 # Adding this requires a known-good setup of shared libraries for
13268 # Sun compiler versions before 5.6, else PIC objects from an old
13269 # archive will be linked into the output, leading to subtle bugs.
13270 if test "$solaris_use_stlport4" != yes; then
13271 postdeps_CXX
='-library=Cstd -library=Crun'
13279 case " $postdeps_CXX " in
13280 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13282 compiler_lib_search_dirs_CXX
=
13283 if test -n "${compiler_lib_search_path_CXX}"; then
13284 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13317 lt_prog_compiler_wl_CXX
=
13318 lt_prog_compiler_pic_CXX
=
13319 lt_prog_compiler_static_CXX
=
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13322 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13324 # C++ specific cases for pic, static, wl, etc.
13325 if test "$GXX" = yes; then
13326 lt_prog_compiler_wl_CXX
='-Wl,'
13327 lt_prog_compiler_static_CXX
='-static'
13331 # All AIX code is PIC.
13332 if test "$host_cpu" = ia64
; then
13333 # AIX 5 now supports IA64 processor
13334 lt_prog_compiler_static_CXX
='-Bstatic'
13336 lt_prog_compiler_pic_CXX
='-fPIC'
13342 # see comment about AmigaOS4 .so support
13343 lt_prog_compiler_pic_CXX
='-fPIC'
13346 # FIXME: we need at least 68020 code to build shared libraries, but
13347 # adding the `-m68020' flag to GCC prevents building anything better,
13349 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13354 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13355 # PIC is the default for these OSes.
13357 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13358 # This hack is so that the source file can tell whether it is being
13359 # built for inclusion in a dll (and should export symbols for example).
13360 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13361 # (--disable-auto-import) libraries
13362 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13364 darwin
* | rhapsody
*)
13365 # PIC is the default on this platform
13366 # Common symbols not allowed in MH_DYLIB files
13367 lt_prog_compiler_pic_CXX
='-fno-common'
13370 # DJGPP does not support shared libraries at all
13371 lt_prog_compiler_pic_CXX
=
13374 # PIC is the default for Haiku.
13375 # The "-static" flag exists, but is broken.
13376 lt_prog_compiler_static_CXX
=
13379 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13380 # Instead, we relocate shared libraries at runtime.
13383 if test -d /usr
/nec
; then
13384 lt_prog_compiler_pic_CXX
=-Kconform_pic
13388 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13389 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13390 # sets the default TLS model and affects inlining.
13395 lt_prog_compiler_pic_CXX
='-fPIC'
13400 # QNX uses GNU C++, but need to define -shared option too, otherwise
13401 # it will coredump.
13402 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13405 lt_prog_compiler_pic_CXX
='-fPIC'
13411 # All AIX code is PIC.
13412 if test "$host_cpu" = ia64
; then
13413 # AIX 5 now supports IA64 processor
13414 lt_prog_compiler_static_CXX
='-Bstatic'
13416 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13420 case $cc_basename in
13422 # Green Hills C++ Compiler
13423 # _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"
13428 case $cc_basename in
13430 lt_prog_compiler_pic_CXX
='-KPIC'
13433 # Green Hills C++ Compiler
13434 lt_prog_compiler_pic_CXX
='-pic'
13440 freebsd
* | dragonfly
*)
13441 # FreeBSD uses GNU C++
13443 hpux9
* | hpux10
* | hpux11
*)
13444 case $cc_basename in
13446 lt_prog_compiler_wl_CXX
='-Wl,'
13447 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13448 if test "$host_cpu" != ia64
; then
13449 lt_prog_compiler_pic_CXX
='+Z'
13453 lt_prog_compiler_wl_CXX
='-Wl,'
13454 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13460 lt_prog_compiler_pic_CXX
='+Z'
13469 # This is c89, which is MS Visual C++ (no shared libs)
13470 # Anyone wants to do a port?
13472 irix5
* | irix6
* | nonstopux
*)
13473 case $cc_basename in
13475 lt_prog_compiler_wl_CXX
='-Wl,'
13476 lt_prog_compiler_static_CXX
='-non_shared'
13477 # CC pic flag -KPIC is the default.
13483 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13484 case $cc_basename in
13487 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13488 lt_prog_compiler_pic_CXX
='-fPIC'
13491 # old Intel C++ for x86_64 which still supported -KPIC.
13492 lt_prog_compiler_wl_CXX
='-Wl,'
13493 lt_prog_compiler_pic_CXX
='-KPIC'
13494 lt_prog_compiler_static_CXX
='-static'
13497 # Intel C++, used to be incompatible with GCC.
13498 # ICC 10 doesn't accept -KPIC any more.
13499 lt_prog_compiler_wl_CXX
='-Wl,'
13500 lt_prog_compiler_pic_CXX
='-fPIC'
13501 lt_prog_compiler_static_CXX
='-static'
13504 # Portland Group C++ compiler
13505 lt_prog_compiler_wl_CXX
='-Wl,'
13506 lt_prog_compiler_pic_CXX
='-fpic'
13507 lt_prog_compiler_static_CXX
='-Bstatic'
13511 # Make sure the PIC flag is empty. It appears that all Alpha
13512 # Linux and Compaq Tru64 Unix objects are PIC.
13513 lt_prog_compiler_pic_CXX
=
13514 lt_prog_compiler_static_CXX
='-non_shared'
13516 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13517 # IBM XL 8.0, 9.0 on PPC and BlueGene
13518 lt_prog_compiler_wl_CXX
='-Wl,'
13519 lt_prog_compiler_pic_CXX
='-qpic'
13520 lt_prog_compiler_static_CXX
='-qstaticlink'
13523 case `$CC -V 2>&1 | sed 5q` in
13526 lt_prog_compiler_pic_CXX
='-KPIC'
13527 lt_prog_compiler_static_CXX
='-Bstatic'
13528 lt_prog_compiler_wl_CXX
='-Qoption ld '
13539 case $cc_basename in
13541 lt_prog_compiler_pic_CXX
='-W c,exportall'
13550 # QNX uses GNU C++, but need to define -shared option too, otherwise
13551 # it will coredump.
13552 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13554 osf3
* | osf4
* | osf5
*)
13555 case $cc_basename in
13557 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13560 # Rational C++ 2.4.1
13561 lt_prog_compiler_pic_CXX
='-pic'
13564 # Digital/Compaq C++
13565 lt_prog_compiler_wl_CXX
='-Wl,'
13566 # Make sure the PIC flag is empty. It appears that all Alpha
13567 # Linux and Compaq Tru64 Unix objects are PIC.
13568 lt_prog_compiler_pic_CXX
=
13569 lt_prog_compiler_static_CXX
='-non_shared'
13578 case $cc_basename in
13580 # Sun C++ 4.2, 5.x and Centerline C++
13581 lt_prog_compiler_pic_CXX
='-KPIC'
13582 lt_prog_compiler_static_CXX
='-Bstatic'
13583 lt_prog_compiler_wl_CXX
='-Qoption ld '
13586 # Green Hills C++ Compiler
13587 lt_prog_compiler_pic_CXX
='-PIC'
13594 case $cc_basename in
13597 lt_prog_compiler_pic_CXX
='-pic'
13598 lt_prog_compiler_static_CXX
='-Bstatic'
13602 lt_prog_compiler_pic_CXX
='-pic'
13608 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13609 case $cc_basename in
13611 lt_prog_compiler_wl_CXX
='-Wl,'
13612 lt_prog_compiler_pic_CXX
='-KPIC'
13613 lt_prog_compiler_static_CXX
='-Bstatic'
13618 case $cc_basename in
13620 # NonStop-UX NCC 3.20
13621 lt_prog_compiler_pic_CXX
='-KPIC'
13630 lt_prog_compiler_can_build_shared_CXX
=no
13636 # For platforms which do not support PIC, -DPIC is meaningless:
13638 lt_prog_compiler_pic_CXX
=
13641 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13645 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13650 # Check to make sure the PIC flag actually works.
13652 if test -n "$lt_prog_compiler_pic_CXX"; then
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13654 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13655 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13656 $as_echo_n "(cached) " >&6
13658 lt_cv_prog_compiler_pic_works_CXX
=no
13659 ac_outfile
=conftest.
$ac_objext
13660 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13661 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13662 # Insert the option either (1) after the last *FLAGS variable, or
13663 # (2) before a word containing "conftest.", or (3) at the end.
13664 # Note that $ac_compile itself does not contain backslashes and begins
13665 # with a dollar sign (not a hyphen), so the echo should work correctly.
13666 # The option is referenced via a variable to avoid confusing sed.
13667 lt_compile
=`echo "$ac_compile" | $SED \
13668 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13670 -e 's:$: $lt_compiler_flag:'`
13671 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13672 (eval "$lt_compile" 2>conftest.err
)
13674 cat conftest.err
>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 if (exit $ac_status) && test -s "$ac_outfile"; then
13677 # The compiler can only warn and ignore the option if not recognized
13678 # So say no if there are warnings other than the usual output.
13679 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13680 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13681 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13682 lt_cv_prog_compiler_pic_works_CXX
=yes
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13689 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13691 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13692 case $lt_prog_compiler_pic_CXX in
13694 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13697 lt_prog_compiler_pic_CXX
=
13698 lt_prog_compiler_can_build_shared_CXX
=no
13706 # Check to make sure the static flag actually works.
13708 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13710 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13711 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13712 $as_echo_n "(cached) " >&6
13714 lt_cv_prog_compiler_static_works_CXX
=no
13715 save_LDFLAGS
="$LDFLAGS"
13716 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13717 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13718 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13719 # The linker can only warn and ignore the option if not recognized
13720 # So say no if there are warnings
13721 if test -s conftest.err
; then
13722 # Append any errors to the config.log.
13723 cat conftest.err
1>&5
13724 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13725 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13726 if diff conftest.exp conftest.er2
>/dev
/null
; then
13727 lt_cv_prog_compiler_static_works_CXX
=yes
13730 lt_cv_prog_compiler_static_works_CXX
=yes
13734 LDFLAGS
="$save_LDFLAGS"
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13738 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13740 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13743 lt_prog_compiler_static_CXX
=
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13750 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13751 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13752 $as_echo_n "(cached) " >&6
13754 lt_cv_prog_compiler_c_o_CXX
=no
13755 $RM -r conftest
2>/dev
/null
13759 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13761 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13762 # Insert the option either (1) after the last *FLAGS variable, or
13763 # (2) before a word containing "conftest.", or (3) at the end.
13764 # Note that $ac_compile itself does not contain backslashes and begins
13765 # with a dollar sign (not a hyphen), so the echo should work correctly.
13766 lt_compile
=`echo "$ac_compile" | $SED \
13767 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13768 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13769 -e 's:$: $lt_compiler_flag:'`
13770 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13771 (eval "$lt_compile" 2>out
/conftest.err
)
13773 cat out
/conftest.err
>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13777 # The compiler can only warn and ignore the option if not recognized
13778 # So say no if there are warnings
13779 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13780 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13781 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13782 lt_cv_prog_compiler_c_o_CXX
=yes
13787 # SGI C++ compiler will create directory out/ii_files/ for
13788 # template instantiation
13789 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13790 $RM out
/* && rmdir out
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13797 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13802 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13803 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13804 $as_echo_n "(cached) " >&6
13806 lt_cv_prog_compiler_c_o_CXX
=no
13807 $RM -r conftest
2>/dev
/null
13811 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13813 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13814 # Insert the option either (1) after the last *FLAGS variable, or
13815 # (2) before a word containing "conftest.", or (3) at the end.
13816 # Note that $ac_compile itself does not contain backslashes and begins
13817 # with a dollar sign (not a hyphen), so the echo should work correctly.
13818 lt_compile
=`echo "$ac_compile" | $SED \
13819 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13820 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13821 -e 's:$: $lt_compiler_flag:'`
13822 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13823 (eval "$lt_compile" 2>out
/conftest.err
)
13825 cat out
/conftest.err
>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13829 # The compiler can only warn and ignore the option if not recognized
13830 # So say no if there are warnings
13831 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13832 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13833 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13834 lt_cv_prog_compiler_c_o_CXX
=yes
13839 # SGI C++ compiler will create directory out/ii_files/ for
13840 # template instantiation
13841 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13842 $RM out
/* && rmdir out
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13849 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13854 hard_links
="nottested"
13855 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13856 # do not overwrite the value of need_locks provided by the user
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13858 $as_echo_n "checking if we can lock with hard links... " >&6; }
13861 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13863 ln conftest.a conftest.b
2>&5 || hard_links
=no
13864 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13866 $as_echo "$hard_links" >&6; }
13867 if test "$hard_links" = no
; then
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13869 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13879 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13881 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13884 # If we're using GNU nm, then we don't want the "-C" option.
13885 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13886 # Also, AIX nm treats weak defined symbols like other global defined
13887 # symbols, whereas GNU nm marks them as "W".
13888 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13889 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'
13891 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'
13895 export_symbols_cmds_CXX
="$ltdll_cmds"
13897 cygwin
* | mingw
* | cegcc
*)
13898 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'
13901 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13904 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13907 $as_echo "$ld_shlibs_CXX" >&6; }
13908 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13910 with_gnu_ld_CXX
=$with_gnu_ld
13918 # Do we need to explicitly link libc?
13920 case "x$archive_cmds_need_lc_CXX" in
13922 # Assume -lc should be added
13923 archive_cmds_need_lc_CXX
=yes
13925 if test "$enable_shared" = yes && test "$GCC" = yes; then
13926 case $archive_cmds_CXX in
13928 # FIXME: we may have to deal with multi-command sequences.
13931 # Test whether the compiler implicitly links with -lc since on some
13932 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13933 # to ld, don't add -lc before -lgcc.
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13935 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13936 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
13937 $as_echo_n "(cached) " >&6
13940 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13943 (eval $ac_compile) 2>&5
13945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13946 test $ac_status = 0; } 2>conftest.err
; then
13949 libobjs
=conftest.
$ac_objext
13951 wl
=$lt_prog_compiler_wl_CXX
13952 pic_flag
=$lt_prog_compiler_pic_CXX
13958 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13959 allow_undefined_flag_CXX
=
13960 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13961 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13964 test $ac_status = 0; }
13966 lt_cv_archive_cmds_need_lc_CXX
=no
13968 lt_cv_archive_cmds_need_lc_CXX
=yes
13970 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13972 cat conftest.err
1>&5
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13978 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13979 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14050 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14052 library_names_spec
=
14053 libname_spec
='lib$name'
14057 postuninstall_cmds
=
14061 shlibpath_overrides_runpath
=unknown
14063 dynamic_linker
="$host_os ld.so"
14064 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14065 need_lib_prefix
=unknown
14066 hardcode_into_libs
=no
14068 # when you set need_version to no, make sure it does not cause -set_version
14069 # flags to be left without arguments
14070 need_version
=unknown
14075 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14076 shlibpath_var
=LIBPATH
14078 # AIX 3 has no versioning support, so we append a major version to the name.
14079 soname_spec
='${libname}${release}${shared_ext}$major'
14086 hardcode_into_libs
=yes
14087 if test "$host_cpu" = ia64
; then
14088 # AIX 5 supports IA64
14089 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14090 shlibpath_var
=LD_LIBRARY_PATH
14092 # With GCC up to 2.95.x, collect2 would create an import file
14093 # for dependence libraries. The import file would start with
14094 # the line `#! .'. This would cause the generated library to
14095 # depend on `.', always an invalid library. This was fixed in
14096 # development snapshots of GCC prior to 3.0.
14098 aix4 | aix4.
[01] | aix4.
[01].
*)
14099 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14101 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14104 can_build_shared
=no
14108 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14109 # soname into executable. Probably we can add versioning support to
14110 # collect2, so additional links can be useful in future.
14111 if test "$aix_use_runtimelinking" = yes; then
14112 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14113 # instead of lib<name>.a to let people know that these are not
14114 # typical AIX shared libraries.
14115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14117 # We preserve .a as extension for shared libraries through AIX4.2
14118 # and later when we are not doing run time linking.
14119 library_names_spec
='${libname}${release}.a $libname.a'
14120 soname_spec
='${libname}${release}${shared_ext}$major'
14122 shlibpath_var
=LIBPATH
14129 # Since July 2007 AmigaOS4 officially supports .so libraries.
14130 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14134 library_names_spec
='$libname.ixlibrary $libname.a'
14135 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14136 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'
14142 library_names_spec
='${libname}${shared_ext}'
14143 dynamic_linker
="$host_os ld.so"
14144 shlibpath_var
=LIBRARY_PATH
14150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14151 soname_spec
='${libname}${release}${shared_ext}$major'
14152 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14153 shlibpath_var
=LD_LIBRARY_PATH
14154 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14155 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14156 # the default ld.so.conf also contains /usr/contrib/lib and
14157 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14158 # libtool to hard-code these into programs
14161 cygwin
* | mingw
* | pw32
* | cegcc
*)
14162 version_type
=windows
14167 case $GCC,$host_os in
14168 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14169 library_names_spec
='$libname.dll.a'
14170 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14171 postinstall_cmds
='base_file=`basename \${file}`~
14172 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14173 dldir=$destdir/`dirname \$dlpath`~
14174 test -d \$dldir || mkdir -p \$dldir~
14175 $install_prog $dir/$dlname \$dldir/$dlname~
14176 chmod a+x \$dldir/$dlname~
14177 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14178 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14180 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14181 dlpath=$dir/\$dldll~
14183 shlibpath_overrides_runpath
=yes
14187 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14188 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14192 # MinGW DLLs use traditional 'lib' prefix
14193 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14196 # pw32 DLLs use 'pw' prefix rather than 'lib'
14197 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14203 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14206 dynamic_linker
='Win32 ld.exe'
14207 # FIXME: first we should search . and the directory the executable is in
14211 darwin
* | rhapsody
*)
14212 dynamic_linker
="$host_os dyld"
14213 version_type
=darwin
14216 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14217 soname_spec
='${libname}${release}${major}$shared_ext'
14218 shlibpath_overrides_runpath
=yes
14219 shlibpath_var
=DYLD_LIBRARY_PATH
14220 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14222 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14230 soname_spec
='${libname}${release}${shared_ext}$major'
14231 shlibpath_var
=LD_LIBRARY_PATH
14234 freebsd
* | dragonfly
*)
14235 # DragonFly does not have aout. When/if they implement a new
14236 # versioning mechanism, adjust this.
14237 if test -x /usr
/bin
/objformat
; then
14238 objformat
=`/usr/bin/objformat`
14241 freebsd
[23].
*) objformat
=aout
;;
14242 *) objformat
=elf
;;
14245 version_type
=freebsd-
$objformat
14246 case $version_type in
14248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14253 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14257 shlibpath_var
=LD_LIBRARY_PATH
14260 shlibpath_overrides_runpath
=yes
14262 freebsd3.
[01]* | freebsdelf3.
[01]*)
14263 shlibpath_overrides_runpath
=yes
14264 hardcode_into_libs
=yes
14266 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14267 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14268 shlibpath_overrides_runpath
=no
14269 hardcode_into_libs
=yes
14271 *) # from 4.6 on, and DragonFly
14272 shlibpath_overrides_runpath
=yes
14273 hardcode_into_libs
=yes
14282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14283 soname_spec
='${libname}${release}${shared_ext}$major'
14284 shlibpath_var
=LD_LIBRARY_PATH
14285 hardcode_into_libs
=yes
14292 dynamic_linker
="$host_os runtime_loader"
14293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14294 soname_spec
='${libname}${release}${shared_ext}$major'
14295 shlibpath_var
=LIBRARY_PATH
14296 shlibpath_overrides_runpath
=yes
14297 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14298 hardcode_into_libs
=yes
14301 hpux9
* | hpux10
* | hpux11
*)
14302 # Give a soname corresponding to the major version so that dld.sl refuses to
14303 # link against other versions.
14310 hardcode_into_libs
=yes
14311 dynamic_linker
="$host_os dld.so"
14312 shlibpath_var
=LD_LIBRARY_PATH
14313 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14315 soname_spec
='${libname}${release}${shared_ext}$major'
14316 if test "X$HPUX_IA64_MODE" = X32
; then
14317 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14319 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14321 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14325 hardcode_into_libs
=yes
14326 dynamic_linker
="$host_os dld.sl"
14327 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14328 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14330 soname_spec
='${libname}${release}${shared_ext}$major'
14331 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14332 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14336 dynamic_linker
="$host_os dld.sl"
14337 shlibpath_var
=SHLIB_PATH
14338 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14340 soname_spec
='${libname}${release}${shared_ext}$major'
14343 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14344 postinstall_cmds
='chmod 555 $lib'
14345 # or fails outright, so override atomically:
14346 install_override_mode
=555
14353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14354 soname_spec
='${libname}${release}${shared_ext}$major'
14355 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14356 shlibpath_var
=LD_LIBRARY_PATH
14357 shlibpath_overrides_runpath
=no
14358 hardcode_into_libs
=yes
14361 irix5
* | irix6
* | nonstopux
*)
14363 nonstopux
*) version_type
=nonstopux
;;
14365 if test "$lt_cv_prog_gnu_ld" = yes; then
14373 soname_spec
='${libname}${release}${shared_ext}$major'
14374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14376 irix5
* | nonstopux
*)
14377 libsuff
= shlibsuff
=
14380 case $LD in # libtool.m4 will add one of these switches to LD
14381 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14382 libsuff
= shlibsuff
= libmagic
=32-bit;;
14383 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14384 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14385 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14386 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14387 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14391 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14392 shlibpath_overrides_runpath
=no
14393 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14394 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14395 hardcode_into_libs
=yes
14398 # No shared lib support for Linux oldld, aout, or coff.
14399 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14403 # This must be Linux ELF.
14405 # uclinux* changes (here and below) have been submitted to the libtool
14406 # project, but have not yet been accepted: they are GCC-local changes
14407 # for the time being. (See
14408 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
14409 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14414 soname_spec
='${libname}${release}${shared_ext}$major'
14415 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14416 shlibpath_var
=LD_LIBRARY_PATH
14417 shlibpath_overrides_runpath
=no
14419 # Some binutils ld are patched to set DT_RUNPATH
14420 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14421 $as_echo_n "(cached) " >&6
14423 lt_cv_shlibpath_overrides_runpath
=no
14424 save_LDFLAGS
=$LDFLAGS
14425 save_libdir
=$libdir
14426 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14427 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14429 /* end confdefs.h. */
14439 if ac_fn_cxx_try_link
"$LINENO"; then :
14440 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14441 lt_cv_shlibpath_overrides_runpath
=yes
14444 rm -f core conftest.err conftest.
$ac_objext \
14445 conftest
$ac_exeext conftest.
$ac_ext
14446 LDFLAGS
=$save_LDFLAGS
14447 libdir
=$save_libdir
14451 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14453 # This implies no fast_install, which is unacceptable.
14454 # Some rework will be needed to allow for fast_install
14455 # before this can be enabled.
14456 hardcode_into_libs
=yes
14458 # Append ld.so.conf contents to the search path
14459 if test -f /etc
/ld.so.conf
; then
14460 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' ' '`
14461 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14464 # We used to test for /lib/ld.so.1 and disable shared libraries on
14465 # powerpc, because MkLinux only supported shared libraries with the
14466 # GNU dynamic linker. Since this was broken with cross compilers,
14467 # most powerpc-linux boxes support dynamic linking these days and
14468 # people can always --disable-shared, the test was removed, and we
14469 # assume the GNU/Linux dynamic linker is in use.
14470 dynamic_linker
='GNU/Linux ld.so'
14477 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14479 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14480 dynamic_linker
='NetBSD (a.out) ld.so'
14482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14483 soname_spec
='${libname}${release}${shared_ext}$major'
14484 dynamic_linker
='NetBSD ld.elf_so'
14486 shlibpath_var
=LD_LIBRARY_PATH
14487 shlibpath_overrides_runpath
=yes
14488 hardcode_into_libs
=yes
14493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14494 shlibpath_var
=LD_LIBRARY_PATH
14495 shlibpath_overrides_runpath
=yes
14502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14503 soname_spec
='${libname}${release}${shared_ext}$major'
14504 shlibpath_var
=LD_LIBRARY_PATH
14505 shlibpath_overrides_runpath
=no
14506 hardcode_into_libs
=yes
14507 dynamic_linker
='ldqnx.so'
14512 sys_lib_dlsearch_path_spec
="/usr/lib"
14514 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14516 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14517 *) need_version
=no
;;
14519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14520 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14521 shlibpath_var
=LD_LIBRARY_PATH
14522 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14524 openbsd2.
[89] | openbsd2.
[89].
*)
14525 shlibpath_overrides_runpath
=no
14528 shlibpath_overrides_runpath
=yes
14532 shlibpath_overrides_runpath
=yes
14537 libname_spec
='$name'
14540 library_names_spec
='$libname${shared_ext} $libname.a'
14541 dynamic_linker
='OS/2 ld.exe'
14542 shlibpath_var
=LIBPATH
14545 osf3
* | osf4
* | osf5
*)
14549 soname_spec
='${libname}${release}${shared_ext}$major'
14550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14551 shlibpath_var
=LD_LIBRARY_PATH
14552 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14553 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14565 soname_spec
='${libname}${release}${shared_ext}$major'
14566 shlibpath_var
=LD_LIBRARY_PATH
14567 shlibpath_overrides_runpath
=yes
14568 hardcode_into_libs
=yes
14569 # ldd complains unless libraries are executable
14570 postinstall_cmds
='chmod +x $lib'
14575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14576 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14577 shlibpath_var
=LD_LIBRARY_PATH
14578 shlibpath_overrides_runpath
=yes
14579 if test "$with_gnu_ld" = yes; then
14587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14588 soname_spec
='${libname}${release}${shared_ext}$major'
14589 shlibpath_var
=LD_LIBRARY_PATH
14590 case $host_vendor in
14592 shlibpath_overrides_runpath
=no
14594 runpath_var
=LD_RUN_PATH
14602 shlibpath_overrides_runpath
=no
14603 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14609 if test -d /usr
/nec
;then
14611 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14612 soname_spec
='$libname${shared_ext}.$major'
14613 shlibpath_var
=LD_LIBRARY_PATH
14617 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14618 version_type
=freebsd-elf
14621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14622 soname_spec
='${libname}${release}${shared_ext}$major'
14623 shlibpath_var
=LD_LIBRARY_PATH
14624 shlibpath_overrides_runpath
=yes
14625 hardcode_into_libs
=yes
14626 if test "$with_gnu_ld" = yes; then
14627 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14629 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14632 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14636 sys_lib_dlsearch_path_spec
='/usr/lib'
14640 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14645 shlibpath_var
=LD_LIBRARY_PATH
14646 shlibpath_overrides_runpath
=no
14647 hardcode_into_libs
=yes
14652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14653 soname_spec
='${libname}${release}${shared_ext}$major'
14654 shlibpath_var
=LD_LIBRARY_PATH
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14662 $as_echo "$dynamic_linker" >&6; }
14663 test "$dynamic_linker" = no
&& can_build_shared
=no
14665 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14666 if test "$GCC" = yes; then
14667 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14670 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14671 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14673 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14674 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14715 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14716 hardcode_action_CXX
=
14717 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14718 test -n "$runpath_var_CXX" ||
14719 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14721 # We can hardcode non-existent directories.
14722 if test "$hardcode_direct_CXX" != no
&&
14723 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14724 # have to relink, otherwise we might link with an installed library
14725 # when we should be linking with a yet-to-be-installed one
14726 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14727 test "$hardcode_minus_L_CXX" != no
; then
14728 # Linking always hardcodes the temporary library directory.
14729 hardcode_action_CXX
=relink
14731 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14732 hardcode_action_CXX
=immediate
14735 # We cannot hardcode anything, or else we can only hardcode existing
14737 hardcode_action_CXX
=unsupported
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14740 $as_echo "$hardcode_action_CXX" >&6; }
14742 if test "$hardcode_action_CXX" = relink ||
14743 test "$inherit_rpath_CXX" = yes; then
14744 # Fast installation is not supported
14745 enable_fast_install
=no
14746 elif test "$shlibpath_overrides_runpath" = yes ||
14747 test "$enable_shared" = no
; then
14748 # Fast installation is not necessary
14749 enable_fast_install
=needless
14758 fi # test -n "$compiler"
14764 with_gnu_ld
=$lt_save_with_gnu_ld
14765 lt_cv_path_LDCXX
=$lt_cv_path_LD
14766 lt_cv_path_LD
=$lt_save_path_LD
14767 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14768 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14769 fi # test "$_lt_caught_CXX_error" != yes
14772 ac_cpp
='$CPP $CPPFLAGS'
14773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14789 ac_config_commands
="$ac_config_commands libtool"
14794 # Only expand once:
14797 # Forbid libtool to hardcode RPATH, because we want to be able to specify
14798 # library search directory using LD_LIBRARY_PATH
14799 hardcode_into_libs
=no
14805 if test $enable_shared = yes; then
14806 link_offloadmic_host
="-loffloadmic_host %{static: $LIBS}"
14807 link_offloadmic_target
="-loffloadmic_target %{static: $LIBS}"
14809 link_offloadmic_host
="-loffloadmic_host $LIBS"
14810 link_offloadmic_target
="-loffloadmic_target $LIBS"
14815 # Determine what GCC version number to use in filesystem paths.
14817 get_gcc_base_ver
="cat"
14819 # Check whether --with-gcc-major-version-only was given.
14820 if test "${with_gcc_major_version_only+set}" = set; then :
14821 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
14822 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
14831 cat >confcache
<<\_ACEOF
14832 # This file is a shell script that caches the results of configure
14833 # tests run on this system so they can be shared between configure
14834 # scripts and configure runs, see configure's option --config-cache.
14835 # It is not useful on other systems. If it contains results you don't
14836 # want to keep, you may remove or edit it.
14838 # config.status only pays attention to the cache file if you give it
14839 # the --recheck option to rerun configure.
14841 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14842 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14843 # following values.
14847 # The following way of writing the cache mishandles newlines in values,
14848 # but we know of no workaround that is simple, portable, and efficient.
14849 # So, we kill variables containing newlines.
14850 # Ultrix sh set writes to stderr and can't be redirected directly,
14851 # and sets the high bit in the cache file unless we assign to the vars.
14853 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14854 eval ac_val
=\$
$ac_var
14858 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14859 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14862 _ | IFS | as_nl
) ;; #(
14863 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14864 *) { eval $ac_var=; unset $ac_var;} ;;
14870 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14871 *${as_nl}ac_space
=\
*)
14872 # `set' does not quote correctly, so add quotes: double-quote
14873 # substitution turns \\\\ into \\, and sed turns \\ into \.
14876 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14879 # `set' quotes correctly as required by POSIX, so do not add quotes.
14880 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14889 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14891 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14893 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14894 if test -w "$cache_file"; then
14895 if test "x$cache_file" != "x/dev/null"; then
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14897 $as_echo "$as_me: updating cache $cache_file" >&6;}
14898 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14899 cat confcache
>"$cache_file"
14901 case $cache_file in #(
14903 mv -f confcache
"$cache_file"$$
&&
14904 mv -f "$cache_file"$$
"$cache_file" ;; #(
14906 mv -f confcache
"$cache_file" ;;
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14912 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14917 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14918 # Let make expand exec_prefix.
14919 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14921 # Transform confdefs.h into DEFS.
14922 # Protect against shell expansion while executing Makefile rules.
14923 # Protect against Makefile macro expansion.
14925 # If the first sed substitution is executed (which looks for macros that
14926 # take arguments), then branch to the quote section. Otherwise,
14927 # look for a macro that doesn't take arguments.
14937 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14939 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14943 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14956 DEFS
=`sed -n "$ac_script" confdefs.h`
14962 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14963 # 1. Remove the extension, and $U if already installed.
14964 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14965 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14966 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14967 # will be set to the directory where LIBOBJS objects are built.
14968 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14969 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14971 LIBOBJS
=$ac_libobjs
14973 LTLIBOBJS
=$ac_ltlibobjs
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14977 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14978 if test -n "$am_sleep_pid"; then
14979 # Hide warnings about reused PIDs.
14980 wait $am_sleep_pid 2>/dev
/null
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14983 $as_echo "done" >&6; }
14984 if test -n "$EXEEXT"; then
14986 am__EXEEXT_FALSE
='#'
14988 am__EXEEXT_TRUE
='#'
14992 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14993 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14996 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14997 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15000 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15001 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15004 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15005 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
15006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15008 if test -z "${LIBOFFLOADMIC_HOST_TRUE}" && test -z "${LIBOFFLOADMIC_HOST_FALSE}"; then
15009 as_fn_error $?
"conditional \"LIBOFFLOADMIC_HOST\" was never defined.
15010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15013 : "${CONFIG_STATUS=./config.status}"
15015 ac_clean_files_save
=$ac_clean_files
15016 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15018 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15020 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15022 # Generated by $as_me.
15023 # Run this file to recreate the current configuration.
15024 # Compiler output produced by configure, useful for debugging
15025 # configure, is in config.log if it exists.
15028 ac_cs_recheck=false
15031 SHELL=\${CONFIG_SHELL-$SHELL}
15034 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15035 ## -------------------- ##
15036 ## M4sh Initialization. ##
15037 ## -------------------- ##
15039 # Be more Bourne compatible
15040 DUALCASE
=1; export DUALCASE
# for MKS sh
15041 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15044 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15045 # is contrary to our usage. Disable this feature.
15046 alias -g '${1+"$@"}'='"$@"'
15047 setopt NO_GLOB_SUBST
15049 case `(set -o) 2>/dev/null` in #(
15061 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15062 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15063 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15064 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15065 # Prefer a ksh shell builtin over an external printf program on Solaris,
15066 # but without wasting forks for bash or zsh.
15067 if test -z "$BASH_VERSION$ZSH_VERSION" \
15068 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15069 as_echo='print
-r --'
15070 as_echo_n='print
-rn --'
15071 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15072 as_echo='printf %s
\n'
15073 as_echo_n='printf %s
'
15075 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15076 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15077 as_echo_n='/usr
/ucb
/echo -n'
15079 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15080 as_echo_n_body='eval
15084 expr "X$arg" : "X\\(.*\\)$as_nl";
15085 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15087 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15089 export as_echo_n_body
15090 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15092 export as_echo_body
15093 as_echo='sh
-c $as_echo_body as_echo
'
15096 # The user is always right.
15097 if test "${PATH_SEPARATOR+set}" != set; then
15099 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15100 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15107 # We need space, tab and new line, in precisely that order. Quoting is
15108 # there to prevent editors from complaining about space-tab.
15109 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15110 # splitting by setting IFS to empty value.)
15113 # Find who we are. Look in the path if we contain no directory separator.
15116 *[\\/]* ) as_myself=$0 ;;
15117 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15118 for as_dir in $PATH
15121 test -z "$as_dir" && as_dir=.
15122 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15128 # We did not find ourselves, most probably we were run as `sh COMMAND'
15129 # in which case we are not to be found in the path.
15130 if test "x$as_myself" = x
; then
15133 if test ! -f "$as_myself"; then
15134 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15138 # Unset variables that we do not need and which cause bugs (e.g. in
15139 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15140 # suppresses any "Segmentation fault" message there. '((' could
15141 # trigger a bug in pdksh 5.2.14.
15142 for as_var
in BASH_ENV ENV MAIL MAILPATH
15143 do eval test x\
${$as_var+set} = xset \
15144 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15157 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15160 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15161 # ----------------------------------------
15162 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15163 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15164 # script with STATUS, using 1 if that was 0.
15167 as_status
=$1; test $as_status -eq 0 && as_status
=1
15169 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15170 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15172 $as_echo "$as_me: error: $2" >&2
15173 as_fn_exit
$as_status
15177 # as_fn_set_status STATUS
15178 # -----------------------
15179 # Set $? to STATUS, without forking.
15180 as_fn_set_status
()
15183 } # as_fn_set_status
15185 # as_fn_exit STATUS
15186 # -----------------
15187 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15191 as_fn_set_status
$1
15197 # Portably unset VAR.
15200 { eval $1=; unset $1;}
15202 as_unset
=as_fn_unset
15203 # as_fn_append VAR VALUE
15204 # ----------------------
15205 # Append the text in VALUE to the end of the definition contained in VAR. Take
15206 # advantage of any shell optimizations that allow amortized linear growth over
15207 # repeated appends, instead of the typical quadratic growth present in naive
15209 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15210 eval 'as_fn_append ()
15221 # as_fn_arith ARG...
15222 # ------------------
15223 # Perform arithmetic evaluation on the ARGs, and store the result in the
15224 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15225 # must be portable across $(()) and expr.
15226 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15227 eval 'as_fn_arith ()
15234 as_val
=`expr "$@" || test $? -eq 1`
15239 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15240 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15246 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15247 as_basename
=basename
15252 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15258 as_me
=`$as_basename -- "$0" ||
15259 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15260 X"$0" : 'X\(//\)$' \| \
15261 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15263 sed '/^.*\/\([^/][^/]*\)\/*$/{
15277 # Avoid depending upon Character Ranges.
15278 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15279 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15280 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15281 as_cr_digits
='0123456789'
15282 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15284 ECHO_C
= ECHO_N
= ECHO_T
=
15285 case `echo -n x` in #(((((
15287 case `echo 'xy\c'` in
15288 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15290 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15297 rm -f conf$$ conf$$.exe conf$$.
file
15298 if test -d conf$$.dir
; then
15299 rm -f conf$$.dir
/conf$$.
file
15302 mkdir conf$$.dir
2>/dev
/null
15304 if (echo >conf$$.
file) 2>/dev
/null
; then
15305 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15307 # ... but there are two gotchas:
15308 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15309 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15310 # In both cases, we have to default to `cp -pR'.
15311 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15313 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15321 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15322 rmdir conf$$.dir
2>/dev
/null
15327 # Create "$as_dir" as a directory, including parents if necessary.
15332 -*) as_dir
=.
/$as_dir;;
15334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15339 *) as_qdir
=$as_dir;;
15341 as_dirs
="'$as_qdir' $as_dirs"
15342 as_dir
=`$as_dirname -- "$as_dir" ||
15343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15344 X"$as_dir" : 'X\(//\)[^/]' \| \
15345 X"$as_dir" : 'X\(//\)$' \| \
15346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15347 $as_echo X"$as_dir" |
15348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15352 /^X\(\/\/\)[^/].*/{
15365 test -d "$as_dir" && break
15367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15372 if mkdir
-p .
2>/dev
/null
; then
15373 as_mkdir_p
='mkdir -p "$as_dir"'
15375 test -d .
/-p && rmdir .
/-p
15380 # as_fn_executable_p FILE
15381 # -----------------------
15382 # Test if FILE is an executable regular file.
15383 as_fn_executable_p
()
15385 test -f "$1" && test -x "$1"
15386 } # as_fn_executable_p
15387 as_test_x
='test -x'
15388 as_executable_p
=as_fn_executable_p
15390 # Sed expression to map a string onto a valid CPP name.
15391 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15393 # Sed expression to map a string onto a valid variable name.
15394 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15398 ## ----------------------------------- ##
15399 ## Main body of $CONFIG_STATUS script. ##
15400 ## ----------------------------------- ##
15402 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15405 # Save the log message, to keep $0 and so on meaningful, and to
15406 # report actual input values of CONFIG_FILES etc. instead of their
15407 # values after options handling.
15409 This file was extended by MIC Offload Runtime Library $as_me 1.0, which was
15410 generated by GNU Autoconf 2.69. Invocation command line was
15412 CONFIG_FILES = $CONFIG_FILES
15413 CONFIG_HEADERS = $CONFIG_HEADERS
15414 CONFIG_LINKS = $CONFIG_LINKS
15415 CONFIG_COMMANDS = $CONFIG_COMMANDS
15418 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15423 case $ac_config_files in *"
15424 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15430 # Files that config.status was made for.
15431 config_files="$ac_config_files"
15432 config_commands="$ac_config_commands"
15436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15438 \`$as_me' instantiates files and other configuration actions
15439 from templates according to the current configuration. Unless the files
15440 and actions are specified as TAGs, all are instantiated by default.
15442 Usage: $0 [OPTION]... [TAG]...
15444 -h, --help print this help, then exit
15445 -V, --version print version number and configuration settings, then exit
15446 --config print configuration, then exit
15447 -q, --quiet, --silent
15448 do not print progress messages
15449 -d, --debug don't remove temporary files
15450 --recheck update $as_me by reconfiguring in the same conditions
15451 --file=FILE[:TEMPLATE]
15452 instantiate the configuration file FILE
15454 Configuration files:
15457 Configuration commands:
15460 Report bugs to the package provider."
15463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15464 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15466 MIC Offload Runtime Library config.status 1.0
15467 configured by $0, generated by GNU Autoconf 2.69,
15468 with options \\"\$ac_cs_config\\"
15470 Copyright (C) 2012 Free Software Foundation, Inc.
15471 This config.status script is free software; the Free Software Foundation
15472 gives unlimited permission to copy, distribute and modify it."
15479 test -n "\$AWK" || AWK=awk
15482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15483 # The default lists apply if the user does not specify any file.
15489 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15490 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15494 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15506 # Handling of the options.
15507 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15509 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15510 $as_echo "$ac_cs_version"; exit ;;
15511 --config |
--confi |
--conf |
--con |
--co |
--c )
15512 $as_echo "$ac_cs_config"; exit ;;
15513 --debug |
--debu |
--deb |
--de |
--d |
-d )
15515 --file |
--fil |
--fi |
--f )
15518 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15519 '') as_fn_error $?
"missing file argument" ;;
15521 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15522 ac_need_defaults
=false
;;
15523 --he |
--h |
--help |
--hel |
-h )
15524 $as_echo "$ac_cs_usage"; exit ;;
15525 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15526 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15529 # This is an error.
15530 -*) as_fn_error $?
"unrecognized option: \`$1'
15531 Try \`$0 --help' for more information." ;;
15533 *) as_fn_append ac_config_targets
" $1"
15534 ac_need_defaults
=false
;;
15540 ac_configure_extra_args
=
15542 if $ac_cs_silent; then
15544 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15549 if \$ac_cs_recheck; then
15550 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15552 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15553 CONFIG_SHELL='$SHELL'
15554 export CONFIG_SHELL
15559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15563 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15564 ## Running $as_me. ##
15570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15574 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15579 with_multisubdir="$with_multisubdir"
15580 with_multisrctop="$with_multisrctop"
15581 with_target_subdir="$with_target_subdir"
15582 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15583 multi_basedir="$multi_basedir"
15584 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15587 GFORTRAN="$GFORTRAN"
15591 # The HP-UX ksh and POSIX shell print the target directory to stdout
15592 # if CDPATH is set.
15593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15595 sed_quote_subst='$sed_quote_subst'
15596 double_quote_subst='$double_quote_subst'
15597 delay_variable_subst='$delay_variable_subst'
15598 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15599 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15600 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15601 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15602 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15603 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15604 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15605 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15606 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15607 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15608 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15609 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15610 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15611 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15612 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15613 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15614 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15615 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15616 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15617 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15618 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15619 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15620 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15621 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15622 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15623 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15624 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15625 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15626 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15627 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15628 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15629 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15630 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15631 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15632 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15633 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15634 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15635 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15636 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15637 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15638 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15639 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15640 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15641 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15642 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15643 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15644 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15645 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15646 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"`'
15647 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15648 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15649 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15650 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15651 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15652 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15653 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15654 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15655 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15656 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15657 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15658 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15659 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15660 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15661 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15662 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15663 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15664 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15665 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15666 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15667 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15668 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15669 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15670 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15671 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15672 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15673 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15674 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15675 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15676 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15677 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15678 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15679 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15680 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15681 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15682 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15683 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15684 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15685 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15686 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15687 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15688 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15689 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15690 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15691 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15692 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15693 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15694 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15695 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15696 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15697 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15698 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15699 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15700 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15701 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15702 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15703 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15704 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15705 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15706 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15707 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15708 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15709 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15710 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15711 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15712 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15713 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15714 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15715 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15716 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15717 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15718 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15719 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15720 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15721 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15722 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15723 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15724 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15725 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15726 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15727 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15728 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15729 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15730 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15731 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15732 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15733 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15734 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15735 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15736 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15737 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15738 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15739 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15740 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15741 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15742 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15743 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15744 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15745 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15746 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15747 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15748 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15749 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15750 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15751 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15752 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15753 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15754 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15755 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15756 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15757 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15758 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15759 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15760 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15761 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15762 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15763 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15764 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15765 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15766 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15767 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15768 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15769 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15770 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15771 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15772 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15775 LTCFLAGS='$LTCFLAGS'
15776 compiler='$compiler_DEFAULT'
15778 # A function that is used when there is no print builtin or printf.
15779 func_fallback_echo ()
15781 eval 'cat <<_LTECHO_EOF
15786 # Quote evaled strings.
15800 deplibs_check_method \
15809 lt_cv_sys_global_symbol_pipe \
15810 lt_cv_sys_global_symbol_to_cdecl \
15811 lt_cv_sys_global_symbol_to_c_name_address \
15812 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15813 lt_prog_compiler_no_builtin_flag \
15814 lt_prog_compiler_wl \
15815 lt_prog_compiler_pic \
15816 lt_prog_compiler_static \
15817 lt_cv_prog_compiler_c_o \
15825 export_dynamic_flag_spec \
15826 whole_archive_flag_spec \
15827 compiler_needs_object \
15829 allow_undefined_flag \
15830 no_undefined_flag \
15831 hardcode_libdir_flag_spec \
15832 hardcode_libdir_flag_spec_ld \
15833 hardcode_libdir_separator \
15838 variables_saved_for_relink \
15840 library_names_spec \
15842 install_override_mode \
15846 compiler_lib_search_dirs \
15851 compiler_lib_search_path \
15855 lt_prog_compiler_no_builtin_flag_CXX \
15856 lt_prog_compiler_wl_CXX \
15857 lt_prog_compiler_pic_CXX \
15858 lt_prog_compiler_static_CXX \
15859 lt_cv_prog_compiler_c_o_CXX \
15860 export_dynamic_flag_spec_CXX \
15861 whole_archive_flag_spec_CXX \
15862 compiler_needs_object_CXX \
15864 allow_undefined_flag_CXX \
15865 no_undefined_flag_CXX \
15866 hardcode_libdir_flag_spec_CXX \
15867 hardcode_libdir_flag_spec_ld_CXX \
15868 hardcode_libdir_separator_CXX \
15869 fix_srcfile_path_CXX \
15870 exclude_expsyms_CXX \
15871 include_expsyms_CXX \
15872 file_list_spec_CXX \
15873 compiler_lib_search_dirs_CXX \
15874 predep_objects_CXX \
15875 postdep_objects_CXX \
15878 compiler_lib_search_path_CXX; do
15879 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15880 *[\\\\\\\`\\"\\\$]*)
15881 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15884 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15889 # Double-quote double-evaled strings.
15890 for var in reload_cmds \
15891 old_postinstall_cmds \
15892 old_postuninstall_cmds \
15894 extract_expsyms_cmds \
15895 old_archive_from_new_cmds \
15896 old_archive_from_expsyms_cmds \
15898 archive_expsym_cmds \
15900 module_expsym_cmds \
15901 export_symbols_cmds \
15904 postuninstall_cmds \
15906 sys_lib_search_path_spec \
15907 sys_lib_dlsearch_path_spec \
15909 old_archive_cmds_CXX \
15910 old_archive_from_new_cmds_CXX \
15911 old_archive_from_expsyms_cmds_CXX \
15913 archive_expsym_cmds_CXX \
15915 module_expsym_cmds_CXX \
15916 export_symbols_cmds_CXX \
15917 prelink_cmds_CXX; do
15918 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15919 *[\\\\\\\`\\"\\\$]*)
15920 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15923 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15928 ac_aux_dir='$ac_aux_dir'
15929 xsi_shell='$xsi_shell'
15930 lt_shell_append='$lt_shell_append'
15932 # See if we are running on zsh, and set the options which allow our
15933 # commands through without removal of \ escapes INIT.
15934 if test -n "\${ZSH_VERSION+set}" ; then
15935 setopt NO_GLOB_SUBST
15941 TIMESTAMP='$TIMESTAMP'
15952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15954 # Handling of arguments.
15955 for ac_config_target
in $ac_config_targets
15957 case $ac_config_target in
15958 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15959 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15960 "liboffloadmic_host.spec") CONFIG_FILES
="$CONFIG_FILES liboffloadmic_host.spec" ;;
15961 "liboffloadmic_target.spec") CONFIG_FILES
="$CONFIG_FILES liboffloadmic_target.spec" ;;
15962 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15963 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15965 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15970 # If the user did not use the arguments to specify the items to instantiate,
15971 # then the envvar interface is used. Set only those that are not.
15972 # We use the long form for the default assignment because of an extremely
15973 # bizarre bug on SunOS 4.1.3.
15974 if $ac_need_defaults; then
15975 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15976 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15979 # Have a temporary directory for convenience. Make it in the build tree
15980 # simply because there is no reason against having it here, and in addition,
15981 # creating and moving files from /tmp can sometimes cause problems.
15982 # Hook for its removal unless debugging.
15983 # Note that there is a small window in which the directory will not be cleaned:
15984 # after its creation but before its name has been assigned to `$tmp'.
15988 trap 'exit_status=$?
15989 : "${ac_tmp:=$tmp}"
15990 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15992 trap 'as_fn_exit 1' 1 2 13 15
15994 # Create a (secure) tmp directory for tmp files.
15997 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16001 tmp
=.
/conf$$
-$RANDOM
16002 (umask 077 && mkdir
"$tmp")
16003 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16006 # Set up the scripts for CONFIG_FILES section.
16007 # No need to generate them if there are no CONFIG_FILES.
16008 # This happens for instance with `./config.status config.h'.
16009 if test -n "$CONFIG_FILES"; then
16012 ac_cr
=`echo X | tr X '\015'`
16013 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16014 # But we know of no other shell where ac_cr would be empty at this
16015 # point, so we can use a bashism as a fallback.
16016 if test "x$ac_cr" = x
; then
16017 eval ac_cr
=\$
\'\\r
\'
16019 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16020 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16023 ac_cs_awk_cr
=$ac_cr
16026 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16031 echo "cat >conf$$subs.awk <<_ACEOF" &&
16032 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16034 } >conf$$subs.sh ||
16035 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16036 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16038 for ac_last_try in false false false false false :; do
16039 . ./conf$$subs.sh ||
16040 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16042 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16043 if test $ac_delim_n = $ac_delim_num; then
16045 elif $ac_last_try; then
16046 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16048 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16051 rm -f conf$$subs.sh
16053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16054 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16058 s/^/S["/; s
/!.
*/"]=/
16068 s/\(.\{148\}\)..*/\1/
16070 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16075 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16082 s/\(.\{148\}\)..*/\1/
16084 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16088 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16093 ' <conf$$subs.awk | sed '
16098 ' >>$CONFIG_STATUS || ac_write_fail=1
16099 rm -f conf$$subs.awk
16100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16102 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16103 for (key in S) S_is_set[key] = 1
16109 nfields = split(line, field, "@
")
16111 len = length(field[1])
16112 for (i = 2; i < nfields; i++) {
16114 keylen = length(key)
16115 if (S_is_set[key]) {
16117 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16118 len += length(value) + length(field[++i])
16129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16130 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16131 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16134 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16135 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16138 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16139 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16140 # trailing colons and then remove the whole line if VPATH becomes empty
16141 # (actually we leave an empty line to preserve line numbers).
16142 if test "x
$srcdir" = x.; then
16143 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16162 fi # test -n "$CONFIG_FILES"
16165 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16170 :[FHLC]) ac_mode=$ac_tag; continue;;
16172 case $ac_mode$ac_tag in
16174 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16175 :[FH]-) ac_tag=-:-;;
16176 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16193 -) ac_f="$ac_tmp/stdin";;
16194 *) # Look for the file first in the build tree, then in the source tree
16195 # (if the path is not absolute). The absolute path cannot be DOS-style,
16196 # because $ac_f cannot contain `:'.
16200 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16202 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16204 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16205 as_fn_append ac_file_inputs " '$ac_f'"
16208 # Let's still pretend it is `configure' which instantiates (i.e., don't
16209 # use $as_me), people would be surprised to read:
16210 # /* config.h. Generated by config.status. */
16211 configure_input='Generated from '`
16212 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16214 if test x"$ac_file" != x-; then
16215 configure_input="$ac_file.
$configure_input"
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16217 $as_echo "$as_me: creating
$ac_file" >&6;}
16219 # Neutralize special characters interpreted by sed in replacement strings.
16220 case $configure_input in #(
16221 *\&* | *\|* | *\\* )
16222 ac_sed_conf_input=`$as_echo "$configure_input" |
16223 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16224 *) ac_sed_conf_input=$configure_input;;
16228 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16229 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16234 ac_dir=`$as_dirname -- "$ac_file" ||
16235 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16236 X"$ac_file" : 'X\(//\)[^/]' \| \
16237 X"$ac_file" : 'X\(//\)$' \| \
16238 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16239 $as_echo X"$ac_file" |
16240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16244 /^X\(\/\/\)[^/].*/{
16257 as_dir="$ac_dir"; as_fn_mkdir_p
16261 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16263 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16264 # A "..
" for each directory in $ac_dir_suffix.
16265 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16266 case $ac_top_builddir_sub in
16267 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16268 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16271 ac_abs_top_builddir=$ac_pwd
16272 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16273 # for backward compatibility:
16274 ac_top_builddir=$ac_top_build_prefix
16277 .) # We are building in place.
16279 ac_top_srcdir=$ac_top_builddir_sub
16280 ac_abs_top_srcdir=$ac_pwd ;;
16281 [\\/]* | ?:[\\/]* ) # Absolute name.
16282 ac_srcdir=$srcdir$ac_dir_suffix;
16283 ac_top_srcdir=$srcdir
16284 ac_abs_top_srcdir=$srcdir ;;
16285 *) # Relative name.
16286 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16287 ac_top_srcdir=$ac_top_build_prefix$srcdir
16288 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16290 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16300 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16301 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16303 ac_MKDIR_P=$MKDIR_P
16305 [\\/$]* | ?:[\\/]* ) ;;
16306 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16311 # If the template does not know about datarootdir, expand it.
16312 # FIXME: This hack should be removed a few years after 2.60.
16313 ac_datarootdir_hack=; ac_datarootdir_seen=
16324 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16325 *datarootdir*) ac_datarootdir_seen=yes;;
16326 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16328 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16331 ac_datarootdir_hack='
16332 s&@datadir@&$datadir&g
16333 s&@docdir@&$docdir&g
16334 s&@infodir@&$infodir&g
16335 s&@localedir@&$localedir&g
16336 s&@mandir@&$mandir&g
16337 s&\\\${datarootdir}&$datarootdir&g' ;;
16341 # Neutralize VPATH when `$srcdir' = `.'.
16342 # Shell code in configure.ac might set extrasub.
16343 # FIXME: do we really want to maintain this feature?
16344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16345 ac_sed_extra="$ac_vpsub
16348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16350 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16351 s|@configure_input@|
$ac_sed_conf_input|
;t t
16352 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16353 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16354 s
&@srcdir@
&$ac_srcdir&;t t
16355 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16356 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16357 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16358 s
&@builddir@
&$ac_builddir&;t t
16359 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16360 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16361 s
&@INSTALL@
&$ac_INSTALL&;t t
16362 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16363 $ac_datarootdir_hack
16365 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16366 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16368 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16369 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16370 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16371 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16373 which seems to be undefined. Please make sure it is defined" >&5
16374 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16375 which seems to be undefined. Please make sure it is defined" >&2;}
16377 rm -f "$ac_tmp/stdin"
16379 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16380 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16382 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16386 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16387 $as_echo "$as_me: executing $ac_file commands" >&6;}
16392 case $ac_file$ac_mode in
16393 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16394 # Older Autoconf quotes --file arguments for eval, but not when files
16395 # are listed without --file. Let's play safe and only
enable the
eval
16396 # if we detect the quoting.
16397 case $CONFIG_FILES in
16398 *\'*) eval set x
"$CONFIG_FILES" ;;
16399 *) set x
$CONFIG_FILES ;;
16404 # Strip MF so we end up with the name of the file.
16405 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16406 # Check whether this is an Automake generated Makefile or not.
16407 # We used to match only the files named 'Makefile.in', but
16408 # some people rename them; so instead we look at the file content.
16409 # Grep'ing the first line is not enough: some people post-process
16410 # each Makefile.in and add a new line on top of each file to say so.
16411 # Grep'ing the whole file is not good either: AIX grep has a line
16412 # limit of 2048, but all sed's we know have understand at least 4000.
16413 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16414 dirpart
=`$as_dirname -- "$mf" ||
16415 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16416 X"$mf" : 'X\(//\)[^/]' \| \
16417 X"$mf" : 'X\(//\)$' \| \
16418 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16424 /^X\(\/\/\)[^/].*/{
16440 # Extract the definition of DEPDIR, am__include, and am__quote
16441 # from the Makefile without running 'make'.
16442 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16443 test -z "$DEPDIR" && continue
16444 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16445 test -z "$am__include" && continue
16446 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16447 # Find all dependency output files, they are included files with
16448 # $(DEPDIR) in their names. We invoke sed twice because it is the
16449 # simplest approach to changing $(DEPDIR) to its actual value in the
16451 for file in `sed -n "
16452 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16453 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16454 # Make sure the directory exists.
16455 test -f "$dirpart/$file" && continue
16456 fdir
=`$as_dirname -- "$file" ||
16457 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16458 X"$file" : 'X\(//\)[^/]' \| \
16459 X"$file" : 'X\(//\)$' \| \
16460 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16461 $as_echo X"$file" |
16462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16466 /^X\(\/\/\)[^/].*/{
16479 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16480 # echo "creating $dirpart/$file"
16481 echo '# dummy' > "$dirpart/$file"
16487 # Only add multilib support code if we just rebuilt the top-level
16489 case " $CONFIG_FILES " in
16491 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16496 # See if we are running on zsh, and set the options which allow our
16497 # commands through without removal of \ escapes.
16498 if test -n "${ZSH_VERSION+set}" ; then
16499 setopt NO_GLOB_SUBST
16502 cfgfile
="${ofile}T"
16503 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16506 cat <<_LT_EOF >> "$cfgfile"
16509 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16510 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16511 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16512 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16514 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16515 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16516 # Written by Gordon Matzigkeit, 1996
16518 # This file is part of GNU Libtool.
16520 # GNU Libtool is free software; you can redistribute it and/or
16521 # modify it under the terms of the GNU General Public License as
16522 # published by the Free Software Foundation; either version 2 of
16523 # the License, or (at your option) any later version.
16525 # As a special exception to the GNU General Public License,
16526 # if you distribute this file as part of a program or library that
16527 # is built using GNU Libtool, you may include this file under the
16528 # same distribution terms that you use for the rest of that program.
16530 # GNU Libtool is distributed in the hope that it will be useful,
16531 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16532 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16533 # GNU General Public License for more details.
16535 # You should have received a copy of the GNU General Public License
16536 # along with GNU Libtool; see the file COPYING. If not, a copy
16537 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16538 # obtained by writing to the Free Software Foundation, Inc.,
16539 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16542 # The names of the tagged configurations supported by this script.
16543 available_tags="CXX "
16545 # ### BEGIN LIBTOOL CONFIG
16547 # Which release of libtool.m4 was used?
16548 macro_version=$macro_version
16549 macro_revision=$macro_revision
16551 # Whether or not to build shared libraries.
16552 build_libtool_libs=$enable_shared
16554 # Whether or not to build static libraries.
16555 build_old_libs=$enable_static
16557 # What type of objects to build.
16560 # Whether or not to optimize for fast installation.
16561 fast_install=$enable_fast_install
16563 # Shell to use when invoking shell scripts.
16566 # An echo program that protects backslashes.
16570 host_alias=$host_alias
16574 # The build system.
16575 build_alias=$build_alias
16579 # A sed program that does not truncate output.
16582 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16583 Xsed="\$SED -e 1s/^X//"
16585 # A grep program that handles long lines.
16591 # A literal string matcher.
16594 # A BSD- or MS-compatible name lister.
16597 # Whether we need soft or hard links.
16600 # What is the maximum length of a command?
16601 max_cmd_len=$max_cmd_len
16603 # Object file suffix (normally "o").
16606 # Executable file suffix (normally "").
16609 # whether the shell understands "unset".
16612 # turn spaces into newlines.
16615 # turn newlines into spaces.
16618 # An object symbol dumper.
16619 OBJDUMP=$lt_OBJDUMP
16621 # Method to check whether dependent libraries are shared objects.
16622 deplibs_check_method=$lt_deplibs_check_method
16624 # Command to use when deplibs_check_method == "file_magic".
16625 file_magic_cmd=$lt_file_magic_cmd
16629 AR_FLAGS=$lt_AR_FLAGS
16631 # A symbol stripping program.
16634 # Commands used to install an old-style archive.
16636 old_postinstall_cmds=$lt_old_postinstall_cmds
16637 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16639 # Whether to use a lock for old archive extraction.
16640 lock_old_archive_extraction=$lock_old_archive_extraction
16645 # LTCC compiler flags.
16646 LTCFLAGS=$lt_CFLAGS
16648 # Take the output of nm and produce a listing of raw symbols and C names.
16649 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16651 # Transform the output of nm in a proper C declaration.
16652 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16654 # Transform the output of nm in a C name address pair.
16655 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16657 # Transform the output of nm in a C name address pair when lib prefix is needed.
16658 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16660 # The name of the directory that contains temporary libtool files.
16663 # Used to examine libraries when file_magic_cmd begins with "file".
16664 MAGIC_CMD=$MAGIC_CMD
16666 # Must we lock files when doing compilation?
16667 need_locks=$lt_need_locks
16669 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16670 DSYMUTIL=$lt_DSYMUTIL
16672 # Tool to change global to local symbols on Mac OS X.
16675 # Tool to manipulate fat objects and archives on Mac OS X.
16678 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16681 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16682 OTOOL64=$lt_OTOOL64
16684 # Old archive suffix (normally "a").
16687 # Shared library suffix (normally ".so").
16688 shrext_cmds=$lt_shrext_cmds
16690 # The commands to extract the exported symbol list from a shared archive.
16691 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16693 # Variables whose values should be saved in libtool wrapper scripts and
16694 # restored at link time.
16695 variables_saved_for_relink=$lt_variables_saved_for_relink
16697 # Do we need the "lib" prefix for modules?
16698 need_lib_prefix=$need_lib_prefix
16700 # Do we need a version for libraries?
16701 need_version=$need_version
16703 # Library versioning type.
16704 version_type=$version_type
16706 # Shared library runtime path variable.
16707 runpath_var=$runpath_var
16709 # Shared library path variable.
16710 shlibpath_var=$shlibpath_var
16712 # Is shlibpath searched before the hard-coded library search path?
16713 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16715 # Format of library name prefix.
16716 libname_spec=$lt_libname_spec
16718 # List of archive names. First name is the real one, the rest are links.
16719 # The last name is the one that the linker finds with -lNAME
16720 library_names_spec=$lt_library_names_spec
16722 # The coded name of the library, if different from the real name.
16723 soname_spec=$lt_soname_spec
16725 # Permission mode override for installation of shared libraries.
16726 install_override_mode=$lt_install_override_mode
16728 # Command to use after installation of a shared archive.
16729 postinstall_cmds=$lt_postinstall_cmds
16731 # Command to use after uninstallation of a shared archive.
16732 postuninstall_cmds=$lt_postuninstall_cmds
16734 # Commands used to finish a libtool library installation in a directory.
16735 finish_cmds=$lt_finish_cmds
16737 # As "finish_cmds", except a single script fragment to be evaled but
16739 finish_eval=$lt_finish_eval
16741 # Whether we should hardcode library paths into libraries.
16742 hardcode_into_libs=$hardcode_into_libs
16744 # Compile-time system search path for libraries.
16745 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16747 # Run-time system search path for libraries.
16748 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16750 # Whether dlopen is supported.
16751 dlopen_support=$enable_dlopen
16753 # Whether dlopen of programs is supported.
16754 dlopen_self=$enable_dlopen_self
16756 # Whether dlopen of statically linked programs is supported.
16757 dlopen_self_static=$enable_dlopen_self_static
16759 # Commands to strip libraries.
16760 old_striplib=$lt_old_striplib
16761 striplib=$lt_striplib
16764 # The linker used to build libraries.
16767 # How to create reloadable object files.
16768 reload_flag=$lt_reload_flag
16769 reload_cmds=$lt_reload_cmds
16771 # Commands used to build an old-style archive.
16772 old_archive_cmds=$lt_old_archive_cmds
16774 # A language specific compiler.
16777 # Is the compiler the GNU compiler?
16780 # Compiler flag to turn off builtin functions.
16781 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16783 # How to pass a linker flag through the compiler.
16784 wl=$lt_lt_prog_compiler_wl
16786 # Additional compiler flags for building library objects.
16787 pic_flag=$lt_lt_prog_compiler_pic
16789 # Compiler flag to prevent dynamic linking.
16790 link_static_flag=$lt_lt_prog_compiler_static
16792 # Does compiler simultaneously support -c and -o options?
16793 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16795 # Whether or not to add -lc for building shared libraries.
16796 build_libtool_need_lc=$archive_cmds_need_lc
16798 # Whether or not to disallow shared libs when runtime libs are static.
16799 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16801 # Compiler flag to allow reflexive dlopens.
16802 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16804 # Compiler flag to generate shared objects directly from archives.
16805 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16807 # Whether the compiler copes with passing no objects directly.
16808 compiler_needs_object=$lt_compiler_needs_object
16810 # Create an old-style archive from a shared archive.
16811 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16813 # Create a temporary old-style archive to link instead of a shared archive.
16814 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16816 # Commands used to build a shared archive.
16817 archive_cmds=$lt_archive_cmds
16818 archive_expsym_cmds=$lt_archive_expsym_cmds
16820 # Commands used to build a loadable module if different from building
16821 # a shared archive.
16822 module_cmds=$lt_module_cmds
16823 module_expsym_cmds=$lt_module_expsym_cmds
16825 # Whether we are building with GNU ld or not.
16826 with_gnu_ld=$lt_with_gnu_ld
16828 # Flag that allows shared libraries with undefined symbols to be built.
16829 allow_undefined_flag=$lt_allow_undefined_flag
16831 # Flag that enforces no undefined symbols.
16832 no_undefined_flag=$lt_no_undefined_flag
16834 # Flag to hardcode \$libdir into a binary during linking.
16835 # This must work even if \$libdir does not exist
16836 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16838 # If ld is used when linking, flag to hardcode \$libdir into a binary
16839 # during linking. This must work even if \$libdir does not exist.
16840 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16842 # Whether we need a single "-rpath" flag with a separated argument.
16843 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16845 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16846 # DIR into the resulting binary.
16847 hardcode_direct=$hardcode_direct
16849 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16850 # DIR into the resulting binary and the resulting library dependency is
16851 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16852 # library is relocated.
16853 hardcode_direct_absolute=$hardcode_direct_absolute
16855 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16856 # into the resulting binary.
16857 hardcode_minus_L=$hardcode_minus_L
16859 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16860 # into the resulting binary.
16861 hardcode_shlibpath_var=$hardcode_shlibpath_var
16863 # Set to "yes" if building a shared library automatically hardcodes DIR
16864 # into the library and all subsequent libraries and executables linked
16866 hardcode_automatic=$hardcode_automatic
16868 # Set to yes if linker adds runtime paths of dependent libraries
16869 # to runtime path list.
16870 inherit_rpath=$inherit_rpath
16872 # Whether libtool must link a program against all its dependency libraries.
16873 link_all_deplibs=$link_all_deplibs
16875 # Fix the shell variable \$srcfile for the compiler.
16876 fix_srcfile_path=$lt_fix_srcfile_path
16878 # Set to "yes" if exported symbols are required.
16879 always_export_symbols=$always_export_symbols
16881 # The commands to list exported symbols.
16882 export_symbols_cmds=$lt_export_symbols_cmds
16884 # Symbols that should not be listed in the preloaded symbols.
16885 exclude_expsyms=$lt_exclude_expsyms
16887 # Symbols that must always be exported.
16888 include_expsyms=$lt_include_expsyms
16890 # Commands necessary for linking programs (against libraries) with templates.
16891 prelink_cmds=$lt_prelink_cmds
16893 # Specify filename containing input files.
16894 file_list_spec=$lt_file_list_spec
16896 # How to hardcode a shared library path into an executable.
16897 hardcode_action=$hardcode_action
16899 # The directories searched by this compiler when creating a shared library.
16900 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16902 # Dependencies to place before and after the objects being linked to
16903 # create a shared library.
16904 predep_objects=$lt_predep_objects
16905 postdep_objects=$lt_postdep_objects
16906 predeps=$lt_predeps
16907 postdeps=$lt_postdeps
16909 # The library search path used internally by the compiler when linking
16910 # a shared library.
16911 compiler_lib_search_path=$lt_compiler_lib_search_path
16913 # ### END LIBTOOL CONFIG
16919 cat <<\_LT_EOF
>> "$cfgfile"
16920 # AIX sometimes has problems with the GCC collect2 program. For some
16921 # reason, if we set the COLLECT_NAMES environment variable, the problems
16922 # vanish in a puff of smoke.
16923 if test "X${COLLECT_NAMES+set}" != Xset
; then
16925 export COLLECT_NAMES
16932 ltmain
="$ac_aux_dir/ltmain.sh"
16935 # We use sed instead of cat because bash on DJGPP gets confused if
16936 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16937 # text mode, it properly converts lines to CR/LF. This bash problem
16938 # is reportedly fixed, but why not run on old versions too?
16939 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16940 ||
(rm -f "$cfgfile"; exit 1)
16944 cat << \_LT_EOF
>> "$cfgfile"
16946 # func_dirname file append nondir_replacement
16947 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16948 # otherwise set result to NONDIR_REPLACEMENT.
16952 */*) func_dirname_result
="${1%/*}${2}" ;;
16953 * ) func_dirname_result
="${3}" ;;
16957 # func_basename file
16960 func_basename_result
="${1##*/}"
16963 # func_dirname_and_basename file append nondir_replacement
16964 # perform func_basename and func_dirname in a single function
16966 # dirname: Compute the dirname of FILE. If nonempty,
16967 # add APPEND to the result, otherwise set result
16968 # to NONDIR_REPLACEMENT.
16969 # value returned in "$func_dirname_result"
16970 # basename: Compute filename of FILE.
16971 # value retuned in "$func_basename_result"
16972 # Implementation must be kept synchronized with func_dirname
16973 # and func_basename. For efficiency, we do not delegate to
16974 # those functions but instead duplicate the functionality here.
16975 func_dirname_and_basename
()
16978 */*) func_dirname_result
="${1%/*}${2}" ;;
16979 * ) func_dirname_result
="${3}" ;;
16981 func_basename_result
="${1##*/}"
16984 # func_stripname prefix suffix name
16985 # strip PREFIX and SUFFIX off of NAME.
16986 # PREFIX and SUFFIX must not contain globbing or regex special
16987 # characters, hashes, percent signs, but SUFFIX may contain a leading
16988 # dot (in which case that matches only a dot).
16991 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16992 # positional parameters, so assign one to ordinary parameter first.
16993 func_stripname_result
=${3}
16994 func_stripname_result
=${func_stripname_result#"${1}"}
16995 func_stripname_result
=${func_stripname_result%"${2}"}
17001 func_opt_split_opt
=${1%%=*}
17002 func_opt_split_arg
=${1#*=}
17009 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17010 *) func_lo2o_result
=${1} ;;
17014 # func_xform libobj-or-source
17017 func_xform_result
=${1%.*}.lo
17020 # func_arith arithmetic-term...
17023 func_arith_result
=$
(( $
* ))
17027 # STRING may not start with a hyphen.
17030 func_len_result
=${#1}
17035 *) # Bourne compatible functions.
17036 cat << \_LT_EOF
>> "$cfgfile"
17038 # func_dirname file append nondir_replacement
17039 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17040 # otherwise set result to NONDIR_REPLACEMENT.
17043 # Extract subdirectory from the argument.
17044 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17045 if test "X$func_dirname_result" = "X${1}"; then
17046 func_dirname_result
="${3}"
17048 func_dirname_result
="$func_dirname_result${2}"
17052 # func_basename file
17055 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17059 # func_stripname prefix suffix name
17060 # strip PREFIX and SUFFIX off of NAME.
17061 # PREFIX and SUFFIX must not contain globbing or regex special
17062 # characters, hashes, percent signs, but SUFFIX may contain a leading
17063 # dot (in which case that matches only a dot).
17064 # func_strip_suffix prefix name
17068 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17069 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17074 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17075 my_sed_long_arg
='1s/^-[^=]*=//'
17080 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17081 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17087 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17090 # func_xform libobj-or-source
17093 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17096 # func_arith arithmetic-term...
17099 func_arith_result
=`expr "$@"`
17103 # STRING may not start with a hyphen.
17106 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17112 case $lt_shell_append in
17114 cat << \_LT_EOF
>> "$cfgfile"
17116 # func_append var value
17117 # Append VALUE to the end of shell variable VAR.
17125 cat << \_LT_EOF
>> "$cfgfile"
17127 # func_append var value
17128 # Append VALUE to the end of shell variable VAR.
17139 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17140 ||
(rm -f "$cfgfile"; exit 1)
17142 mv -f "$cfgfile" "$ofile" ||
17143 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17147 cat <<_LT_EOF >> "$ofile"
17149 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17151 # The linker used to build libraries.
17154 # How to create reloadable object files.
17155 reload_flag=$lt_reload_flag_CXX
17156 reload_cmds=$lt_reload_cmds_CXX
17158 # Commands used to build an old-style archive.
17159 old_archive_cmds=$lt_old_archive_cmds_CXX
17161 # A language specific compiler.
17162 CC=$lt_compiler_CXX
17164 # Is the compiler the GNU compiler?
17167 # Compiler flag to turn off builtin functions.
17168 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17170 # How to pass a linker flag through the compiler.
17171 wl=$lt_lt_prog_compiler_wl_CXX
17173 # Additional compiler flags for building library objects.
17174 pic_flag=$lt_lt_prog_compiler_pic_CXX
17176 # Compiler flag to prevent dynamic linking.
17177 link_static_flag=$lt_lt_prog_compiler_static_CXX
17179 # Does compiler simultaneously support -c and -o options?
17180 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17182 # Whether or not to add -lc for building shared libraries.
17183 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17185 # Whether or not to disallow shared libs when runtime libs are static.
17186 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17188 # Compiler flag to allow reflexive dlopens.
17189 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17191 # Compiler flag to generate shared objects directly from archives.
17192 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17194 # Whether the compiler copes with passing no objects directly.
17195 compiler_needs_object=$lt_compiler_needs_object_CXX
17197 # Create an old-style archive from a shared archive.
17198 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17200 # Create a temporary old-style archive to link instead of a shared archive.
17201 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17203 # Commands used to build a shared archive.
17204 archive_cmds=$lt_archive_cmds_CXX
17205 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17207 # Commands used to build a loadable module if different from building
17208 # a shared archive.
17209 module_cmds=$lt_module_cmds_CXX
17210 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17212 # Whether we are building with GNU ld or not.
17213 with_gnu_ld=$lt_with_gnu_ld_CXX
17215 # Flag that allows shared libraries with undefined symbols to be built.
17216 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17218 # Flag that enforces no undefined symbols.
17219 no_undefined_flag=$lt_no_undefined_flag_CXX
17221 # Flag to hardcode \$libdir into a binary during linking.
17222 # This must work even if \$libdir does not exist
17223 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17225 # If ld is used when linking, flag to hardcode \$libdir into a binary
17226 # during linking. This must work even if \$libdir does not exist.
17227 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17229 # Whether we need a single "-rpath" flag with a separated argument.
17230 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17232 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17233 # DIR into the resulting binary.
17234 hardcode_direct=$hardcode_direct_CXX
17236 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17237 # DIR into the resulting binary and the resulting library dependency is
17238 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17239 # library is relocated.
17240 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17242 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17243 # into the resulting binary.
17244 hardcode_minus_L=$hardcode_minus_L_CXX
17246 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17247 # into the resulting binary.
17248 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17250 # Set to "yes" if building a shared library automatically hardcodes DIR
17251 # into the library and all subsequent libraries and executables linked
17253 hardcode_automatic=$hardcode_automatic_CXX
17255 # Set to yes if linker adds runtime paths of dependent libraries
17256 # to runtime path list.
17257 inherit_rpath=$inherit_rpath_CXX
17259 # Whether libtool must link a program against all its dependency libraries.
17260 link_all_deplibs=$link_all_deplibs_CXX
17262 # Fix the shell variable \$srcfile for the compiler.
17263 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17265 # Set to "yes" if exported symbols are required.
17266 always_export_symbols=$always_export_symbols_CXX
17268 # The commands to list exported symbols.
17269 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17271 # Symbols that should not be listed in the preloaded symbols.
17272 exclude_expsyms=$lt_exclude_expsyms_CXX
17274 # Symbols that must always be exported.
17275 include_expsyms=$lt_include_expsyms_CXX
17277 # Commands necessary for linking programs (against libraries) with templates.
17278 prelink_cmds=$lt_prelink_cmds_CXX
17280 # Specify filename containing input files.
17281 file_list_spec=$lt_file_list_spec_CXX
17283 # How to hardcode a shared library path into an executable.
17284 hardcode_action=$hardcode_action_CXX
17286 # The directories searched by this compiler when creating a shared library.
17287 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17289 # Dependencies to place before and after the objects being linked to
17290 # create a shared library.
17291 predep_objects=$lt_predep_objects_CXX
17292 postdep_objects=$lt_postdep_objects_CXX
17293 predeps=$lt_predeps_CXX
17294 postdeps=$lt_postdeps_CXX
17296 # The library search path used internally by the compiler when linking
17297 # a shared library.
17298 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17300 # ### END LIBTOOL TAG CONFIG: CXX
17311 ac_clean_files
=$ac_clean_files_save
17313 test $ac_write_fail = 0 ||
17314 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17317 # configure is writing to config.log, and then calls config.status.
17318 # config.status does its own redirection, appending to config.log.
17319 # Unfortunately, on DOS this fails, as config.log is still kept open
17320 # by configure, so config.status won't be able to write to it; its
17321 # output is simply discarded. So we exec the FD to /dev/null,
17322 # effectively closing config.log, so it can be properly (re)opened and
17323 # appended to by config.status. When coming back to configure, we
17324 # need to make the FD available again.
17325 if test "$no_create" != yes; then
17327 ac_config_status_args
=
17328 test "$silent" = yes &&
17329 ac_config_status_args
="$ac_config_status_args --quiet"
17331 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17333 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17334 # would make configure fail if this is the last instruction.
17335 $ac_cs_success || as_fn_exit
1
17339 # CONFIG_SUBDIRS section.
17341 if test "$no_recursion" != yes; then
17343 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
17344 # so they do not pile up.
17345 ac_sub_configure_args
=
17347 eval "set x $ac_configure_args"
17351 if test -n "$ac_prev"; then
17356 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
17357 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
17358 ac_prev
=cache_file
;;
17359 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
17360 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
17363 --config-cache |
-C)
17365 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
17367 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
17369 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
17371 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
17373 --disable-option-checking)
17377 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17379 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
17383 # Always prepend --prefix to ensure using the same prefix
17384 # in subdir configurations.
17385 ac_arg
="--prefix=$prefix"
17387 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17389 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
17392 if test "$silent" = yes; then
17393 ac_sub_configure_args
="--silent $ac_sub_configure_args"
17396 # Always prepend --disable-option-checking to silence warnings, since
17397 # different subdirs can have different --enable and --with options.
17398 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
17401 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
17403 # Do not complain, so a configure script can configure whichever
17404 # parts of a large source tree are present.
17405 test -d "$srcdir/$ac_dir" ||
continue
17407 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
17408 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
17409 $as_echo "$ac_msg" >&6
17410 as_dir
="$ac_dir"; as_fn_mkdir_p
17414 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17416 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17417 # A ".." for each directory in $ac_dir_suffix.
17418 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17419 case $ac_top_builddir_sub in
17420 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17421 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17424 ac_abs_top_builddir
=$ac_pwd
17425 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17426 # for backward compatibility:
17427 ac_top_builddir
=$ac_top_build_prefix
17430 .
) # We are building in place.
17432 ac_top_srcdir
=$ac_top_builddir_sub
17433 ac_abs_top_srcdir
=$ac_pwd ;;
17434 [\\/]* | ?
:[\\/]* ) # Absolute name.
17435 ac_srcdir
=$srcdir$ac_dir_suffix;
17436 ac_top_srcdir
=$srcdir
17437 ac_abs_top_srcdir
=$srcdir ;;
17438 *) # Relative name.
17439 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17440 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17441 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17443 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17448 # Check for guested configure; otherwise get Cygnus style configure.
17449 if test -f "$ac_srcdir/configure.gnu"; then
17450 ac_sub_configure
=$ac_srcdir/configure.gnu
17451 elif test -f "$ac_srcdir/configure"; then
17452 ac_sub_configure
=$ac_srcdir/configure
17453 elif test -f "$ac_srcdir/configure.in"; then
17454 # This should be Cygnus configure.
17455 ac_sub_configure
=$ac_aux_dir/configure
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
17458 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
17462 # The recursion is here.
17463 if test -n "$ac_sub_configure"; then
17464 # Make the cache file name correct relative to the subdirectory.
17465 case $cache_file in
17466 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
17467 *) # Relative name.
17468 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
17472 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
17473 # The eval makes quoting arguments work.
17474 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
17475 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
17476 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
17482 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17484 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}